From e81ae0f3e5a510424076b611ac32385057cbdaed Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Fri, 21 Apr 2023 22:02:34 +0200 Subject: wallet-harness: make sure events are not lost in deposit test --- packages/taler-util/src/wallet-types.ts | 8 ++++++++ 1 file changed, 8 insertions(+) (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 5979f14b4..4297e838d 100644 --- a/packages/taler-util/src/wallet-types.ts +++ b/packages/taler-util/src/wallet-types.ts @@ -1708,6 +1708,13 @@ export interface DepositGroupFees { } export interface CreateDepositGroupRequest { + /** + * Pre-allocated transaction ID. + * Allows clients to easily handle notifications + * that occur while the operation has been created but + * before the creation request has returned. + */ + transactionId?: string; depositPaytoUri: string; amount: AmountString; } @@ -1733,6 +1740,7 @@ export const codecForCreateDepositGroupRequest = buildCodecForObject() .property("amount", codecForAmountString()) .property("depositPaytoUri", codecForString()) + .property("transactionId", codecOptional(codecForString())) .build("CreateDepositGroupRequest"); export interface CreateDepositGroupResponse { -- cgit v1.2.3