aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian <sebasjm@gmail.com>2022-04-13 13:54:54 -0300
committerSebastian <sebasjm@gmail.com>2022-04-13 13:54:54 -0300
commitec9aed276a5c837a9a93bae2a4c2e61d77256cc1 (patch)
treea0bbb7a22eb004e27509b25c18dc0d7db8652a84
parent5044db65955dc7aff74abc78fb7ec93e25e67b7e (diff)
fix: timer API should be exported from src/index
-rw-r--r--packages/taler-wallet-core/src/index.ts2
-rw-r--r--packages/taler-wallet-webextension/src/serviceWorkerTimerAPI.ts4
-rw-r--r--packages/taler-wallet-webextension/src/wxBackend.ts2
3 files changed, 5 insertions, 3 deletions
diff --git a/packages/taler-wallet-core/src/index.ts b/packages/taler-wallet-core/src/index.ts
index 6b97f56f4..8b0f1749d 100644
--- a/packages/taler-wallet-core/src/index.ts
+++ b/packages/taler-wallet-core/src/index.ts
@@ -64,3 +64,5 @@ export {
nativeCrypto,
nullCrypto,
} from "./crypto/cryptoImplementation.js";
+
+export * from "./util/timer.js";
diff --git a/packages/taler-wallet-webextension/src/serviceWorkerTimerAPI.ts b/packages/taler-wallet-webextension/src/serviceWorkerTimerAPI.ts
index 89b46c796..e88da680c 100644
--- a/packages/taler-wallet-webextension/src/serviceWorkerTimerAPI.ts
+++ b/packages/taler-wallet-webextension/src/serviceWorkerTimerAPI.ts
@@ -17,8 +17,8 @@
/**
* Imports.
*/
-import { Duration, Logger } from "@gnu-taler/taler-util";
-import { TimerAPI, TimerGroup, TimerHandle } from "@gnu-taler/taler-wallet-core/src/util/timer";
+import { Logger } from "@gnu-taler/taler-util";
+import { TimerAPI, TimerHandle } from "@gnu-taler/taler-wallet-core";
const nullTimerHandle = {
diff --git a/packages/taler-wallet-webextension/src/wxBackend.ts b/packages/taler-wallet-webextension/src/wxBackend.ts
index 91c12c578..c6ab3ed8e 100644
--- a/packages/taler-wallet-webextension/src/wxBackend.ts
+++ b/packages/taler-wallet-webextension/src/wxBackend.ts
@@ -40,7 +40,7 @@ import {
Wallet,
WalletStoresV1
} from "@gnu-taler/taler-wallet-core";
-import { SetTimeoutTimerAPI, TimerGroup } from "@gnu-taler/taler-wallet-core/src/util/timer";
+import { SetTimeoutTimerAPI } from "@gnu-taler/taler-wallet-core";
import { BrowserCryptoWorkerFactory } from "./browserCryptoWorkerFactory.js";
import { BrowserHttpLib } from "./browserHttpLib.js";
import { getReadRequestPermissions } from "./permissions.js";