Skip to content

Commit

Permalink
chore: also return handle for intraledger payment destination (#293)
Browse files Browse the repository at this point in the history
  • Loading branch information
sandipndev authored Aug 2, 2023
1 parent 415d547 commit 2787c1c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/parsing/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,7 @@ export type IntraledgerPaymentDestination =
paymentType: typeof PaymentType.Intraledger
valid: false
invalidReason: InvalidIntraledgerReason
handle: string
}

export type ParsedPaymentDestination =
Expand Down Expand Up @@ -318,6 +319,7 @@ const getIntraLedgerPayResponse = ({
return {
valid: false,
paymentType,
handle,
invalidReason: InvalidIntraledgerReason.WrongDomain,
}
}
Expand Down

0 comments on commit 2787c1c

Please sign in to comment.