commit 471ca366c20b6a2eedf491c486df96b2d148e4be
parent 024f306a20b7dfe583a7c5e70fb465e20b662007
Author: Florian Dold <florian@dold.me>
Date: Wed, 7 May 2025 16:36:10 +0200
wallet-core: deprecate getWithdrawalDetailsForUri
Diffstat:
1 file changed, 10 insertions(+), 4 deletions(-)
diff --git a/packages/taler-wallet-core/src/wallet-api-types.ts b/packages/taler-wallet-core/src/wallet-api-types.ts
@@ -208,7 +208,6 @@ export enum WalletApiOperation {
GetBankAccountById = "getBankAccountById",
AddBankAccount = "addBankAccount",
ForgetBankAccount = "forgetBankAccount",
- GetWithdrawalDetailsForUri = "getWithdrawalDetailsForUri",
GetWithdrawalDetailsForAmount = "getWithdrawalDetailsForAmount",
AcceptManualWithdrawal = "acceptManualWithdrawal",
GetBalances = "getBalances",
@@ -308,9 +307,14 @@ export enum WalletApiOperation {
HintApplicationResumed = "hintApplicationResumed",
/**
+ * @deprecated (2025-05-07)
+ * Use {@link WalletApiOperation.PrepareBankIntegratedWithdrawal} instead.
+ */
+ GetWithdrawalDetailsForUri = "getWithdrawalDetailsForUri",
+
+ /**
* @deprecated (2024-12-04)
- *
- * use checkDeposit instead
+ * Use checkDeposit instead
*/
PrepareDeposit = "prepareDeposit",
@@ -526,6 +530,8 @@ export type GetWithdrawalDetailsForAmountOp = {
/**
* Get details for withdrawing via a particular taler:// URI.
+ *
+ * @deprecated Use {@link PrepareBankIntegratedWithdrawalOp} instead
*/
export type GetWithdrawalDetailsForUriOp = {
op: WalletApiOperation.GetWithdrawalDetailsForUri;
@@ -598,7 +604,7 @@ export type GetChoicesForPaymentOp = {
op: WalletApiOperation.GetChoicesForPayment;
request: GetChoicesForPaymentRequest;
response: GetChoicesForPaymentResult;
-}
+};
export type SharePaymentOp = {
op: WalletApiOperation.SharePayment;