From fe8749c3f81547d080ea23d580497750d52fed91 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Thu, 25 May 2023 19:26:40 +0200 Subject: wallet-core: implement cancelAbortingTransaction for deposit groups --- packages/taler-util/src/wallet-types.ts | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'packages/taler-util/src') diff --git a/packages/taler-util/src/wallet-types.ts b/packages/taler-util/src/wallet-types.ts index 1ede15919..38358e734 100644 --- a/packages/taler-util/src/wallet-types.ts +++ b/packages/taler-util/src/wallet-types.ts @@ -396,7 +396,7 @@ export interface PrepareTipResult { /** * Unique ID for the tip assigned by the wallet. * Typically different from the merchant-generated tip ID. - * + * * @deprecated use transactionId instead */ walletTipId: string; @@ -1144,7 +1144,7 @@ export interface ManualWithdrawalDetails { /** * Number of coins that would be used for withdrawal. - * + * * The UIs should warn if this number is too high (rougly at >100). */ numCoins: number; @@ -1713,6 +1713,16 @@ export const codecForAcceptTipRequest = (): Codec => .property("walletTipId", codecForString()) .build("AcceptTipRequest"); +export interface CancelAbortingTransactionRequest { + transactionId: TransactionIdStr; +} + +export const codecForCancelAbortingTransactionRequest = + (): Codec => + buildCodecForObject() + .property("transactionId", codecForTransactionIdStr()) + .build("CancelAbortingTransactionRequest"); + export interface SuspendTransactionRequest { transactionId: TransactionIdStr; } -- cgit v1.2.3