diff options
Diffstat (limited to 'packages/taler-util/src')
-rw-r--r-- | packages/taler-util/src/wallet-types.ts | 14 |
1 files changed, 12 insertions, 2 deletions
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<AcceptTipRequest> => .property("walletTipId", codecForString()) .build("AcceptTipRequest"); +export interface CancelAbortingTransactionRequest { + transactionId: TransactionIdStr; +} + +export const codecForCancelAbortingTransactionRequest = + (): Codec<CancelAbortingTransactionRequest> => + buildCodecForObject<CancelAbortingTransactionRequest>() + .property("transactionId", codecForTransactionIdStr()) + .build("CancelAbortingTransactionRequest"); + export interface SuspendTransactionRequest { transactionId: TransactionIdStr; } |