From 4f22a417b683c05a4452a0690ded8dee97988b57 Mon Sep 17 00:00:00 2001 From: Chris Duncan Date: Mon, 25 Nov 2024 15:07:23 -0800 Subject: [PATCH] Simplify worker exports. --- src/lib/workers/ckdBip44.ts | 4 +--- src/lib/workers/ckdBlake2b.ts | 3 +-- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/src/lib/workers/ckdBip44.ts b/src/lib/workers/ckdBip44.ts index e48156e..42216eb 100644 --- a/src/lib/workers/ckdBip44.ts +++ b/src/lib/workers/ckdBip44.ts @@ -104,6 +104,4 @@ async function ckdBip44 () { } } -const ckdBip44Worker = `(${ckdBip44.toString()})()` -export { ckdBip44Worker } - +export const ckdBip44Worker = `(${ckdBip44.toString()})()` diff --git a/src/lib/workers/ckdBlake2b.ts b/src/lib/workers/ckdBlake2b.ts index a966240..55f9743 100644 --- a/src/lib/workers/ckdBlake2b.ts +++ b/src/lib/workers/ckdBlake2b.ts @@ -41,5 +41,4 @@ async function ckdBlake2b () { } } -const ckdBlake2bWorker = `(${ckdBlake2b.toString()})()` -export { ckdBlake2bWorker } +export const ckdBlake2bWorker = `(${ckdBlake2b.toString()})()` -- 2.34.1