commit 4fb474baa255d0244b8f83cb3a6f30506b376716 parent fa29c1494b029e195892d07dd74f4beebd78cf08 Author: Florian Dold <florian@dold.me> Date: Wed, 6 Dec 2023 19:19:08 +0100 wallet-core: deprecate boolean tos status Diffstat:
| M | API_CHANGES.md | | | 3 | +++ |
| M | packages/taler-util/src/wallet-types.ts | | | 2 | ++ |
2 files changed, 5 insertions(+), 0 deletions(-)
diff --git 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 @@ -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;