diff options
author | Florian Dold <florian@dold.me> | 2023-02-16 03:23:42 +0100 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2023-02-16 03:23:42 +0100 |
commit | a906263f74627dd928c581f388cf12faa3b43476 (patch) | |
tree | 1497bad4effb9298b2a08659b9b37d9fb5a3440a /packages/taler-wallet-core | |
parent | 08b120bc8d4a738b80c3e0d3f1703b1320f32080 (diff) | |
download | wallet-core-a906263f74627dd928c581f388cf12faa3b43476.tar.xz |
use node16 module resolution
Diffstat (limited to 'packages/taler-wallet-core')
-rw-r--r-- | packages/taler-wallet-core/package.json | 4 | ||||
-rw-r--r-- | packages/taler-wallet-core/src/index.browser.ts | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/packages/taler-wallet-core/package.json b/packages/taler-wallet-core/package.json index 72b4eb410..14c407e99 100644 --- a/packages/taler-wallet-core/package.json +++ b/packages/taler-wallet-core/package.json @@ -43,8 +43,10 @@ }, "imports": { "#host-impl": { + "types": "./lib/host-impl.node.js", "node": "./lib/host-impl.node.js", - "qtart": "./lib/host-impl.qtart.js" + "qtart": "./lib/host-impl.qtart.js", + "default": "./lib/host-impl.missing.js" } }, "devDependencies": { diff --git a/packages/taler-wallet-core/src/index.browser.ts b/packages/taler-wallet-core/src/index.browser.ts index 02d3665c2..9409673a0 100644 --- a/packages/taler-wallet-core/src/index.browser.ts +++ b/packages/taler-wallet-core/src/index.browser.ts @@ -15,4 +15,4 @@ */ export * from "./index.js"; -export { SynchronousCryptoWorkerPlain as SynchronousCryptoWorker } from "./crypto/workers/synchronousWorkerPlain.js"; +export { SynchronousCryptoWorkerPlain } from "./crypto/workers/synchronousWorkerPlain.js"; |