From: Chris Duncan Date: Sat, 30 Nov 2024 20:48:12 +0000 (-0800) Subject: Start prepping pow worker. X-Git-Url: https://zoso.dev/?a=commitdiff_plain;h=c62bea948a3c678336ce4de8687af0370d184f07;p=libnemo.git Start prepping pow worker. --- diff --git a/src/lib/workers.ts b/src/lib/workers.ts index c8e5202..d3c9e76 100644 --- a/src/lib/workers.ts +++ b/src/lib/workers.ts @@ -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 index 0000000..f75adb4 --- /dev/null +++ b/src/lib/workers/pow.ts @@ -0,0 +1,8 @@ +// SPDX-FileCopyrightText: 2024 Chris Duncan +// SPDX-License-Identifier: GPL-3.0-or-later + +const pow = () => { + +} + +export default pow.toString().substring(pow.toString().indexOf('{') + 1, pow.toString().lastIndexOf('}'))