From 71abddec5e3dc9cc407f468feaaa3284ef528aba Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Wed, 9 Sep 2020 12:45:49 +0530 Subject: make withdrawal, pay and refunds work in the WebExtension --- packages/taler-wallet-core/src/wallet.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'packages/taler-wallet-core/src/wallet.ts') 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 { return applyRefund(this.ws, talerRefundUri); } -- cgit v1.2.3