From: Chris Duncan Date: Mon, 25 Nov 2024 23:07:23 +0000 (-0800) Subject: Simplify worker exports. X-Git-Url: https://zoso.dev/?a=commitdiff_plain;h=4f22a417b683c05a4452a0690ded8dee97988b57;p=libnemo.git Simplify worker exports. --- 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()})()`