summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2023-12-06 19:19:08 +0100
committerFlorian Dold <florian@dold.me>2023-12-06 19:19:52 +0100
commit4fb474baa255d0244b8f83cb3a6f30506b376716 (patch)
tree821262e2798de7b7406fa32351bd1d2483b2095b
parentfa29c1494b029e195892d07dd74f4beebd78cf08 (diff)
downloadwallet-core-4fb474baa255d0244b8f83cb3a6f30506b376716.tar.gz
wallet-core-4fb474baa255d0244b8f83cb3a6f30506b376716.tar.bz2
wallet-core-4fb474baa255d0244b8f83cb3a6f30506b376716.zip
wallet-core: deprecate boolean tos status
-rw-r--r--API_CHANGES.md3
-rw-r--r--packages/taler-util/src/wallet-types.ts2
2 files changed, 5 insertions, 0 deletions
diff --git a/API_CHANGES.md b/API_CHANGES.md
index 8ccce9af6..3777dc068 100644
--- a/API_CHANGES.md
+++ b/API_CHANGES.md
@@ -16,3 +16,6 @@ This files contains all the API changes for the current release:
The older call "getExchangeDetailedInfo" also computes loads of information
for fee comparison and we should eventually rename it to something more appropriate
(like getExchangeFeeDetailsForUri).
+- 2023-12-06 dold: Deprecate the tosStatus in the withdrawal details response.
+ This field does not conform to DD48 semantics and the client should
+ request the ToS status separately via a getExchangeEntryForUri request.
diff --git a/packages/taler-util/src/wallet-types.ts b/packages/taler-util/src/wallet-types.ts
index 45e0860b2..e900d76cb 100644
--- a/packages/taler-util/src/wallet-types.ts
+++ b/packages/taler-util/src/wallet-types.ts
@@ -1417,6 +1417,8 @@ export interface ManualWithdrawalDetails {
/**
* Did the user accept the current version of the exchange's
* terms of service?
+ *
+ * @deprecated the client should query the exchange entry instead
*/
tosAccepted: boolean;