}
const bip44ckd = `const Bip44Ckd = ${Bip44Ckd}\n`
-const nanonacl = `const NanoNaCl = () => {\n${NanoNaClWorker}\n}\n`
+const nanonacl = `const NanoNaCl = (()=>{${NanoNaClWorker}return n()})()\n`
const pow = `const Pow = ${Pow}\n`
const start = w.toString().indexOf('{') + 1
const end = w.toString().lastIndexOf('}')
export const NanoNaCl = n()\r
\r
const start = n.toString().indexOf('{') + 1\r
-const end = n.toString().lastIndexOf('return')\r
+const end = n.toString().lastIndexOf('}')\r
const blake2b = `const Blake2b = ${Blake2b}\n`\r
export const worker = `${blake2b}${n.toString().substring(start, end)}`\r