diff options
author | Florian Dold <florian@dold.me> | 2023-02-12 19:30:59 +0100 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2023-02-12 19:31:37 +0100 |
commit | 13f0442736479fb6ea8d1ecc7311cdac354a4de5 (patch) | |
tree | a39badc56b57a5039ec04267adb4df42b84cee7a /packages/taler-wallet-cli/src/index.ts | |
parent | 04ab9f37801f6a42b85581cc79667239d3fc79e5 (diff) | |
download | wallet-core-13f0442736479fb6ea8d1ecc7311cdac354a4de5.tar.xz |
harness: finish kyc test
We mock the KYC gateway now, use the new notification-based wallet API
and the test is not experimental anymore.
Diffstat (limited to 'packages/taler-wallet-cli/src/index.ts')
-rw-r--r-- | packages/taler-wallet-cli/src/index.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/taler-wallet-cli/src/index.ts b/packages/taler-wallet-cli/src/index.ts index 6641dab09..7e942ede7 100644 --- a/packages/taler-wallet-cli/src/index.ts +++ b/packages/taler-wallet-cli/src/index.ts @@ -228,9 +228,9 @@ export interface WalletContext { * Return a promise that resolves after the wallet has emitted a notification * that meets the criteria of the "cond" predicate. */ - waitForNotificationCond( - cond: (n: WalletNotification) => boolean, - ): Promise<void>; + waitForNotificationCond<T>( + cond: (n: WalletNotification) => T | false | undefined, + ): Promise<T>; } async function createLocalWallet( |