]> zoso.dev Git - libnemo.git/commitdiff
Simplify worker exports.
authorChris Duncan <chris@zoso.dev>
Mon, 25 Nov 2024 23:07:23 +0000 (15:07 -0800)
committerChris Duncan <chris@zoso.dev>
Mon, 25 Nov 2024 23:07:23 +0000 (15:07 -0800)
src/lib/workers/ckdBip44.ts
src/lib/workers/ckdBlake2b.ts

index e48156e4c081546557392e059445fa483f09330d..42216eb7dc9ecb648618b1345fd2816555f75e9e 100644 (file)
@@ -104,6 +104,4 @@ async function ckdBip44 () {
        }
 }
 
-const ckdBip44Worker = `(${ckdBip44.toString()})()`
-export { ckdBip44Worker }
-
+export const ckdBip44Worker = `(${ckdBip44.toString()})()`
index a9662404bfbe93493a06a8857bc0b3416a1e6453..55f974320532dba59e476598dc980c9b7adc81fe 100644 (file)
@@ -41,5 +41,4 @@ async function ckdBlake2b () {
        }
 }
 
-const ckdBlake2bWorker = `(${ckdBlake2b.toString()})()`
-export { ckdBlake2bWorker }
+export const ckdBlake2bWorker = `(${ckdBlake2b.toString()})()`