@typeberry/jam 0.1.0-08a9db1 → 0.1.0-3c30204

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.js CHANGED
@@ -31320,17 +31320,10 @@ async function initAll() {
31320
31320
  await init.ed25519();
31321
31321
  await init.reedSolomon();
31322
31322
  }
31323
- function initOnce(doInit) {
31324
- let ready = null;
31325
- return async () => {
31326
- if (ready === null) ready = doInit();
31327
- return await ready;
31328
- };
31329
- }
31330
31323
  const init = {
31331
- bandersnatch: initOnce(async () => await bandersnatch_default({ module_or_path: await bandersnatch_bg_default() })),
31332
- ed25519: initOnce(async () => await ed25519_wasm_default({ module_or_path: await ed25519_wasm_bg_default() })),
31333
- reedSolomon: initOnce(async () => await reed_solomon_wasm_default({ module_or_path: await reed_solomon_wasm_bg_default() }))
31324
+ bandersnatch: async () => await bandersnatch_default({ module_or_path: await bandersnatch_bg_default() }),
31325
+ ed25519: async () => await ed25519_wasm_default({ module_or_path: await ed25519_wasm_bg_default() }),
31326
+ reedSolomon: async () => await reed_solomon_wasm_default({ module_or_path: await reed_solomon_wasm_bg_default() })
31334
31327
  };
31335
31328
 
31336
31329
  //#endregion