diff options
Diffstat (limited to 'packages')
-rw-r--r-- | packages/taler-util/src/wallet-types.ts | 2 | ||||
-rw-r--r-- | packages/taler-wallet-core/src/wallet-api-types.ts | 4 | ||||
-rw-r--r-- | packages/taler-wallet-core/src/wallet.ts | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/packages/taler-util/src/wallet-types.ts b/packages/taler-util/src/wallet-types.ts index 3b4bc6a29..b25b3e406 100644 --- a/packages/taler-util/src/wallet-types.ts +++ b/packages/taler-util/src/wallet-types.ts @@ -1415,7 +1415,7 @@ export interface AcceptManualWithdrawalResult { transactionId: TransactionIdStr; } -export interface ManualWithdrawalDetails { +export interface WithdrawalDetailsForAmount { /** * Did the user accept the current version of the exchange's * terms of service? diff --git a/packages/taler-wallet-core/src/wallet-api-types.ts b/packages/taler-wallet-core/src/wallet-api-types.ts index b83813874..a4be0f448 100644 --- a/packages/taler-wallet-core/src/wallet-api-types.ts +++ b/packages/taler-wallet-core/src/wallet-api-types.ts @@ -82,7 +82,7 @@ import { KnownBankAccounts, ListExchangesForScopedCurrencyRequest, ListKnownBankAccountsRequest, - ManualWithdrawalDetails, + WithdrawalDetailsForAmount, PrepareDepositRequest, PrepareDepositResponse, PreparePayRequest, @@ -448,7 +448,7 @@ export type ResumeTransactionOp = { export type GetWithdrawalDetailsForAmountOp = { op: WalletApiOperation.GetWithdrawalDetailsForAmount; request: GetWithdrawalDetailsForAmountRequest; - response: ManualWithdrawalDetails; + response: WithdrawalDetailsForAmount; }; /** diff --git a/packages/taler-wallet-core/src/wallet.ts b/packages/taler-wallet-core/src/wallet.ts index 580b30864..94d55806e 100644 --- a/packages/taler-wallet-core/src/wallet.ts +++ b/packages/taler-wallet-core/src/wallet.ts @@ -41,7 +41,7 @@ import { KnownBankAccounts, KnownBankAccountsInfo, Logger, - ManualWithdrawalDetails, + WithdrawalDetailsForAmount, MerchantUsingTemplateDetails, NotificationType, PrepareWithdrawExchangeRequest, @@ -1053,7 +1053,7 @@ async function dispatchRequestInternal<Op extends WalletApiOperation>( numCoins += x.count; } const amt = Amounts.parseOrThrow(req.amount); - const resp: ManualWithdrawalDetails = { + const resp: WithdrawalDetailsForAmount = { amountRaw: req.amount, amountEffective: Amounts.stringify(wi.selectedDenoms.totalCoinValue), paytoUris: wi.exchangePaytoUris, |