From 7f0edb6a783d9a50f94f65c815c1280baecaac89 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Fri, 5 May 2023 19:03:44 +0200 Subject: wallet-core: refund DD37 refactoring --- packages/taler-wallet-core/src/util/query.ts | 2 +- packages/taler-wallet-core/src/util/retries.ts | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'packages/taler-wallet-core/src/util') diff --git a/packages/taler-wallet-core/src/util/query.ts b/packages/taler-wallet-core/src/util/query.ts index 647e5e4b5..1de1e9a0d 100644 --- a/packages/taler-wallet-core/src/util/query.ts +++ b/packages/taler-wallet-core/src/util/query.ts @@ -35,7 +35,7 @@ import { IDBKeyPath, IDBKeyRange, } from "@gnu-taler/idb-bridge"; -import { Logger } from "@gnu-taler/taler-util"; +import { Logger, j2s } from "@gnu-taler/taler-util"; const logger = new Logger("query.ts"); diff --git a/packages/taler-wallet-core/src/util/retries.ts b/packages/taler-wallet-core/src/util/retries.ts index 12e1df7e9..7607a6583 100644 --- a/packages/taler-wallet-core/src/util/retries.ts +++ b/packages/taler-wallet-core/src/util/retries.ts @@ -76,6 +76,11 @@ export namespace OperationAttemptResult { result: undefined, }; } + export function longpoll(): OperationAttemptResult { + return { + type: OperationAttemptResultType.Longpoll, + } + } } export interface OperationAttemptFinishedResult { -- cgit v1.2.3