[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-wallet-core] branch master updated: wallet-core: deprecate peerPu
From: |
gnunet |
Subject: |
[taler-wallet-core] branch master updated: wallet-core: deprecate peerPushCreditId field |
Date: |
Thu, 07 Dec 2023 11:59:44 +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 1fb9f1eb5 wallet-core: deprecate peerPushCreditId field
1fb9f1eb5 is described below
commit 1fb9f1eb55a9648614b66cdbac6e2052cf705223
Author: Florian Dold <florian@dold.me>
AuthorDate: Thu Dec 7 11:59:37 2023 +0100
wallet-core: deprecate peerPushCreditId field
---
packages/taler-util/src/wallet-types.ts | 15 ++++++++++-----
packages/taler-wallet-core/src/operations/testing.ts | 4 ++--
2 files changed, 12 insertions(+), 7 deletions(-)
diff --git a/packages/taler-util/src/wallet-types.ts
b/packages/taler-util/src/wallet-types.ts
index e900d76cb..bca8a92a8 100644
--- a/packages/taler-util/src/wallet-types.ts
+++ b/packages/taler-util/src/wallet-types.ts
@@ -2501,17 +2501,22 @@ export interface PreparePeerPullDebitRequest {
export interface PreparePeerPushCreditResponse {
contractTerms: PeerContractTerms;
- /**
- * @deprecated
- */
- amount: AmountString;
amountRaw: AmountString;
amountEffective: AmountString;
- peerPushCreditId: string;
transactionId: string;
exchangeBaseUrl: string;
+
+ /**
+ * @deprecated use transaction ID instead.
+ */
+ peerPushCreditId: string;
+
+ /**
+ * @deprecated
+ */
+ amount: AmountString;
}
export interface PreparePeerPullDebitResponse {
diff --git a/packages/taler-wallet-core/src/operations/testing.ts
b/packages/taler-wallet-core/src/operations/testing.ts
index 1981519f1..b30c5f80b 100644
--- a/packages/taler-wallet-core/src/operations/testing.ts
+++ b/packages/taler-wallet-core/src/operations/testing.ts
@@ -684,7 +684,7 @@ export async function runIntegrationTest2(
type: TalerUriAction.PayPush,
exchangeBaseUrl: peerPushInit.exchangeBaseUrl,
contractPriv: peerPushInit.contractPriv,
- })
+ });
const txDetails = await getTransactionById(ws, {
transactionId: peerPushInit.transactionId,
@@ -703,7 +703,7 @@ export async function runIntegrationTest2(
});
await confirmPeerPushCredit(ws, {
- peerPushCreditId: peerPushCredit.peerPushCreditId,
+ transactionId: peerPushCredit.transactionId,
});
const peerPullInit = await initiatePeerPullPayment(ws, {
--
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: deprecate peerPushCreditId field,
gnunet <=