commit 272868277415383dc80671657f158c5c08c7c6d5
parent 387416f02dec4a7f948ba96e918e3cacaf92639e
Author: Florian Dold <florian@dold.me>
Date: Tue, 12 Dec 2023 21:48:06 +0100
-rename type
Diffstat:
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
@@ -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
@@ -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
@@ -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,