From 557213f9c4fd834fadb189799073dc64cdb00a07 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Wed, 30 Aug 2023 09:54:47 +0200 Subject: wallet-core,harness: get p2p tests to pass again --- packages/taler-wallet-core/src/wallet-api-types.ts | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'packages/taler-wallet-core/src/wallet-api-types.ts') diff --git a/packages/taler-wallet-core/src/wallet-api-types.ts b/packages/taler-wallet-core/src/wallet-api-types.ts index 2a7c96ad1..06ccdf6f3 100644 --- a/packages/taler-wallet-core/src/wallet-api-types.ts +++ b/packages/taler-wallet-core/src/wallet-api-types.ts @@ -212,6 +212,7 @@ export enum WalletApiOperation { ApplyDevExperiment = "applyDevExperiment", ValidateIban = "validateIban", TestingWaitTransactionsFinal = "testingWaitTransactionsFinal", + TestingWaitRefreshesFinal = "testingWaitRefreshesFinal", GetScopedCurrencyInfo = "getScopedCurrencyInfo", } @@ -976,6 +977,15 @@ export type TestingWaitTransactionsFinal = { response: EmptyObject; }; +/** + * Wait until all refresh transactions are in a final state. + */ +export type TestingWaitRefreshesFinal = { + op: WalletApiOperation.TestingWaitRefreshesFinal; + request: EmptyObject; + response: EmptyObject; +}; + /** * Set a coin as (un-)suspended. * Suspended coins won't be used for payments. @@ -1080,6 +1090,7 @@ export type WalletOperations = { [WalletApiOperation.ApplyDevExperiment]: ApplyDevExperimentOp; [WalletApiOperation.ValidateIban]: ValidateIbanOp; [WalletApiOperation.TestingWaitTransactionsFinal]: TestingWaitTransactionsFinal; + [WalletApiOperation.TestingWaitRefreshesFinal]: TestingWaitRefreshesFinal; [WalletApiOperation.GetScopedCurrencyInfo]: GetScopedCurrencyInfoOp; }; -- cgit v1.2.3