diff options
-rw-r--r-- | API_CHANGES.md | 1 | ||||
-rw-r--r-- | packages/taler-util/src/wallet-types.ts | 1 | ||||
-rw-r--r-- | packages/taler-wallet-core/src/operations/pay-peer-push-debit.ts | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/API_CHANGES.md b/API_CHANGES.md index 3705aca3f..d497e4d08 100644 --- a/API_CHANGES.md +++ b/API_CHANGES.md @@ -21,3 +21,4 @@ This files contains all the API changes for the current release: request the ToS status separately via a getExchangeEntryForUri request. - 2023-12-07 dold: Add the prepareWithdrawExchange request for withdrawals via a taler://withdraw-exchange URI. +- 2023-12-11 dold: Add exchangeBaseUrl to the checkPeerPushDebit response.
\ No newline at end of file diff --git a/packages/taler-util/src/wallet-types.ts b/packages/taler-util/src/wallet-types.ts index d0bf5006d..77800857c 100644 --- a/packages/taler-util/src/wallet-types.ts +++ b/packages/taler-util/src/wallet-types.ts @@ -2470,6 +2470,7 @@ export const codecForCheckPeerPushDebitRequest = export interface CheckPeerPushDebitResponse { amountRaw: AmountString; amountEffective: AmountString; + exchangeBaseUrl: string; } export interface InitiatePeerPushDebitRequest { diff --git a/packages/taler-wallet-core/src/operations/pay-peer-push-debit.ts b/packages/taler-wallet-core/src/operations/pay-peer-push-debit.ts index 6cbd6bf47..0608ec763 100644 --- a/packages/taler-wallet-core/src/operations/pay-peer-push-debit.ts +++ b/packages/taler-wallet-core/src/operations/pay-peer-push-debit.ts @@ -103,6 +103,7 @@ export async function checkPeerPushDebit( coinSelRes.result.coins, ); return { + exchangeBaseUrl: coinSelRes.result.exchangeBaseUrl, amountEffective: Amounts.stringify(totalAmount), amountRaw: req.amount, }; |