diff options
author | Florian Dold <florian@dold.me> | 2023-12-12 21:48:06 +0100 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2023-12-12 21:48:06 +0100 |
commit | 272868277415383dc80671657f158c5c08c7c6d5 (patch) | |
tree | af1b37f60c40396ba00b3933b6aff4f8d7cffd2a /packages/taler-wallet-core/src | |
parent | 387416f02dec4a7f948ba96e918e3cacaf92639e (diff) |
-rename type
Diffstat (limited to 'packages/taler-wallet-core/src')
-rw-r--r-- | packages/taler-wallet-core/src/wallet-api-types.ts | 4 | ||||
-rw-r--r-- | packages/taler-wallet-core/src/wallet.ts | 4 |
2 files changed, 4 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 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, |