diff options
Diffstat (limited to 'packages/taler-wallet-core/src/wallet.ts')
-rw-r--r-- | packages/taler-wallet-core/src/wallet.ts | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/packages/taler-wallet-core/src/wallet.ts b/packages/taler-wallet-core/src/wallet.ts index b20791241..85b0b9250 100644 --- a/packages/taler-wallet-core/src/wallet.ts +++ b/packages/taler-wallet-core/src/wallet.ts @@ -65,6 +65,7 @@ import { codecForApplyDevExperiment, codecForApplyRefundFromPurchaseIdRequest, codecForApplyRefundRequest, + codecForCancelAbortingTransactionRequest, codecForCheckPeerPullPaymentRequest, codecForCheckPeerPushDebitRequest, codecForConfirmPayRequest, @@ -231,6 +232,7 @@ import { import { acceptTip, prepareTip, processTip } from "./operations/tip.js"; import { abortTransaction, + cancelAbortingTransaction, deleteTransaction, getTransactionById, getTransactions, @@ -1229,6 +1231,11 @@ async function dispatchRequestInternal<Op extends WalletApiOperation>( await suspendTransaction(ws, req.transactionId); return {}; } + case WalletApiOperation.CancelAbortingTransaction: { + const req = codecForCancelAbortingTransactionRequest().decode(payload); + await cancelAbortingTransaction(ws, req.transactionId); + return {}; + } case WalletApiOperation.ResumeTransaction: { const req = codecForResumeTransaction().decode(payload); await resumeTransaction(ws, req.transactionId); |