]> zoso.dev Git - libnemo.git/commitdiff
Start prepping pow worker.
authorChris Duncan <chris@zoso.dev>
Sat, 30 Nov 2024 20:48:12 +0000 (12:48 -0800)
committerChris Duncan <chris@zoso.dev>
Sat, 30 Nov 2024 20:48:12 +0000 (12:48 -0800)
src/lib/workers.ts
src/lib/workers/pow.ts [new file with mode: 0644]

index c8e5202504e33cb55ac58932fc8dbd855e6b2bad..d3c9e765d48a5c220c9ce6e3e8efb1f3c5f20a30 100644 (file)
@@ -1,4 +1,5 @@
 import ckdBip44 from './workers/ckdBip44.js'
 import NanoNaCl from './workers/nano-nacl.js'
 // import './workers/passkey.js'
+import pow from './workers/pow.js'
 export { ckdBip44, NanoNaCl }
diff --git a/src/lib/workers/pow.ts b/src/lib/workers/pow.ts
new file mode 100644 (file)
index 0000000..f75adb4
--- /dev/null
@@ -0,0 +1,8 @@
+// SPDX-FileCopyrightText: 2024 Chris Duncan <chris@zoso.dev>
+// SPDX-License-Identifier: GPL-3.0-or-later
+
+const pow = () => {
+
+}
+
+export default pow.toString().substring(pow.toString().indexOf('{') + 1, pow.toString().lastIndexOf('}'))