[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-wallet-core] branch master updated: wallet-core: add exchangeBase
From: |
gnunet |
Subject: |
[taler-wallet-core] branch master updated: wallet-core: add exchangeBaseUrl to the checkPeerPushDebit response |
Date: |
Mon, 11 Dec 2023 10:40:17 +0100 |
This is an automated email from the git hooks/post-receive script.
dold pushed a commit to branch master
in repository wallet-core.
The following commit(s) were added to refs/heads/master by this push:
new 3c2e2aeba wallet-core: add exchangeBaseUrl to the checkPeerPushDebit
response
3c2e2aeba is described below
commit 3c2e2aeba979dbafaed6c4ed749175da0ef93426
Author: Florian Dold <florian@dold.me>
AuthorDate: Mon Dec 11 10:40:13 2023 +0100
wallet-core: add exchangeBaseUrl to the checkPeerPushDebit response
---
API_CHANGES.md | 1 +
packages/taler-util/src/wallet-types.ts | 1 +
packages/taler-wallet-core/src/operations/pay-peer-push-debit.ts | 1 +
3 files changed, 3 insertions(+)
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,
};
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-wallet-core] branch master updated: wallet-core: add exchangeBaseUrl to the checkPeerPushDebit response,
gnunet <=