summaryrefslogtreecommitdiff
path: root/packages/taler-wallet-core/src/wallet.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2020-09-09 12:45:49 +0530
committerFlorian Dold <florian.dold@gmail.com>2020-09-09 12:45:49 +0530
commit71abddec5e3dc9cc407f468feaaa3284ef528aba (patch)
treefbd4c329d8f8b866fdd6549430f0d1bcfcd5ebd5 /packages/taler-wallet-core/src/wallet.ts
parent0566406abb74008a5d7796fc047ca98a6dd590b0 (diff)
downloadwallet-core-71abddec5e3dc9cc407f468feaaa3284ef528aba.tar.gz
wallet-core-71abddec5e3dc9cc407f468feaaa3284ef528aba.tar.bz2
wallet-core-71abddec5e3dc9cc407f468feaaa3284ef528aba.zip
make withdrawal, pay and refunds work in the WebExtension
Diffstat (limited to 'packages/taler-wallet-core/src/wallet.ts')
-rw-r--r--packages/taler-wallet-core/src/wallet.ts5
1 files changed, 2 insertions, 3 deletions
diff --git a/packages/taler-wallet-core/src/wallet.ts b/packages/taler-wallet-core/src/wallet.ts
index 768d5eb0f..1140a13c3 100644
--- a/packages/taler-wallet-core/src/wallet.ts
+++ b/packages/taler-wallet-core/src/wallet.ts
@@ -70,7 +70,6 @@ import {
AcceptManualWithdrawalResult,
BalancesResponse,
TestPayArgs,
- PreparePayResultType,
IntegrationTestArgs,
codecForAddExchangeRequest,
codecForGetWithdrawalDetailsForUri,
@@ -80,7 +79,6 @@ import {
codecForApplyRefundRequest,
codecForAcceptBankIntegratedWithdrawalRequest,
codecForGetExchangeTosRequest,
- codecForAbortProposalRequest,
codecForConfirmPayRequest,
CoreApiResponse,
codecForPreparePayRequest,
@@ -95,6 +93,7 @@ import {
codecForPrepareTipRequest,
codecForAcceptTipRequest,
codecForAbortPayWithRefundRequest,
+ ApplyRefundResponse,
} from "./types/walletTypes";
import { Logger } from "./util/logging";
@@ -723,7 +722,7 @@ export class Wallet {
*/
async applyRefund(
talerRefundUri: string,
- ): Promise<{ contractTermsHash: string; proposalId: string }> {
+ ): Promise<ApplyRefundResponse> {
return applyRefund(this.ws, talerRefundUri);
}