From c62bea948a3c678336ce4de8687af0370d184f07 Mon Sep 17 00:00:00 2001 From: Chris Duncan Date: Sat, 30 Nov 2024 12:48:12 -0800 Subject: [PATCH] Start prepping pow worker. --- src/lib/workers.ts | 1 + src/lib/workers/pow.ts | 8 ++++++++ 2 files changed, 9 insertions(+) create mode 100644 src/lib/workers/pow.ts 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('}')) -- 2.34.1