[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-wallet-core] 02/02: fix: timer API should be exported from src/in
From: |
gnunet |
Subject: |
[taler-wallet-core] 02/02: fix: timer API should be exported from src/index |
Date: |
Wed, 13 Apr 2022 18:55:04 +0200 |
This is an automated email from the git hooks/post-receive script.
sebasjm pushed a commit to branch master
in repository wallet-core.
commit ec9aed276a5c837a9a93bae2a4c2e61d77256cc1
Author: Sebastian <sebasjm@gmail.com>
AuthorDate: Wed Apr 13 13:54:54 2022 -0300
fix: timer API should be exported from src/index
---
packages/taler-wallet-core/src/index.ts | 2 ++
packages/taler-wallet-webextension/src/serviceWorkerTimerAPI.ts | 4 ++--
packages/taler-wallet-webextension/src/wxBackend.ts | 2 +-
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 6b97f56f..8b0f1749 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 89b46c79..e88da680 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 91c12c57..c6ab3ed8 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";
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.