aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-util
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2023-12-07 11:59:37 +0100
committerFlorian Dold <florian@dold.me>2023-12-07 11:59:37 +0100
commit1fb9f1eb55a9648614b66cdbac6e2052cf705223 (patch)
tree66af569ba84c46cf258bf631b03a037537143885 /packages/taler-util
parent79809b22f0f395c6a2324e059e82e94a1b0e1955 (diff)
downloadwallet-core-1fb9f1eb55a9648614b66cdbac6e2052cf705223.tar.xz
wallet-core: deprecate peerPushCreditId field
Diffstat (limited to 'packages/taler-util')
-rw-r--r--packages/taler-util/src/wallet-types.ts15
1 files changed, 10 insertions, 5 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 {