From 6acddd6d70abc568e4b3740f56662691278aa645 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Fri, 14 Oct 2022 18:40:04 +0200 Subject: wallet-core: get rid of duplicated withdrawal info API --- packages/taler-wallet-webextension/src/wxApi.ts | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) (limited to 'packages/taler-wallet-webextension/src/wxApi.ts') diff --git a/packages/taler-wallet-webextension/src/wxApi.ts b/packages/taler-wallet-webextension/src/wxApi.ts index e0a1ee238..17083cb5b 100644 --- a/packages/taler-wallet-webextension/src/wxApi.ts +++ b/packages/taler-wallet-webextension/src/wxApi.ts @@ -51,8 +51,8 @@ import { ExchangesListResponse, ForgetKnownBankAccountsRequest, GetExchangeTosResult, - GetExchangeWithdrawalInfo, GetFeeForDepositRequest, + GetWithdrawalDetailsForAmountRequest, GetWithdrawalDetailsForUriRequest, InitiatePeerPullPaymentRequest, InitiatePeerPullPaymentResponse, @@ -60,6 +60,7 @@ import { InitiatePeerPushPaymentResponse, KnownBankAccounts, Logger, + ManualWithdrawalDetails, NotificationType, PaytoUri, PrepareDepositRequest, @@ -81,7 +82,6 @@ import { import { AddBackupProviderRequest, BackupInfo, - ExchangeWithdrawDetails, PendingOperationsResponse, RemoveBackupProviderRequest, TalerError, @@ -459,14 +459,12 @@ export function getWithdrawalDetailsForUri( return callBackend("getWithdrawalDetailsForUri", req); } -/** - * Get diagnostics information - */ -export function getExchangeWithdrawalInfo( - req: GetExchangeWithdrawalInfo, -): Promise { - return callBackend("getExchangeWithdrawalInfo", req); +export function getWithdrawalDetailsForAmount( + req: GetWithdrawalDetailsForAmountRequest, +): Promise { + return callBackend("getWithdrawalDetailsForAmount", req); } + export function getExchangeTos( exchangeBaseUrl: string, acceptedFormat: string[], -- cgit v1.2.3