@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.
@@ -28311,17 +28311,10 @@ async function initAll() {
28311
28311
  await init.ed25519();
28312
28312
  await init.reedSolomon();
28313
28313
  }
28314
- function initOnce(doInit) {
28315
- let ready = null;
28316
- return async () => {
28317
- if (ready === null) ready = doInit();
28318
- return await ready;
28319
- };
28320
- }
28321
28314
  const init = {
28322
- bandersnatch: initOnce(async () => await bandersnatch_default({ module_or_path: await bandersnatch_bg_default() })),
28323
- ed25519: initOnce(async () => await ed25519_wasm_default({ module_or_path: await ed25519_wasm_bg_default() })),
28324
- reedSolomon: initOnce(async () => await reed_solomon_wasm_default({ module_or_path: await reed_solomon_wasm_bg_default() }))
28315
+ bandersnatch: async () => await bandersnatch_default({ module_or_path: await bandersnatch_bg_default() }),
28316
+ ed25519: async () => await ed25519_wasm_default({ module_or_path: await ed25519_wasm_bg_default() }),
28317
+ reedSolomon: async () => await reed_solomon_wasm_default({ module_or_path: await reed_solomon_wasm_bg_default() })
28325
28318
  };
28326
28319
 
28327
28320
  //#endregion