@typeberry/native 0.3.0-462f2ab → 0.3.0-5dae93e

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
@@ -28,7 +28,7 @@ async function loadNativeBinding() {
28
28
  return null;
29
29
  }
30
30
  try {
31
- return (await import("./native-C3xbsznx.js")).loadNativeBinding();
31
+ return (await import("./native-BRZYJzAh.js")).loadNativeBinding();
32
32
  } catch (e) {
33
33
  nativeBindingError = `${e}`;
34
34
  return null;
@@ -1,6 +1,7 @@
1
+ import { createRequire } from "module";
2
+
1
3
  //#region bandersnatch/src/native.ts
2
4
  async function loadNativeBinding() {
3
- const { createRequire } = await import("module");
4
5
  const require = createRequire(import.meta.url);
5
6
  const platform = process?.platform;
6
7
  const arch = process?.arch;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@typeberry/native",
3
- "version": "0.3.0-462f2ab",
3
+ "version": "0.3.0-5dae93e",
4
4
  "description": "Native libraries for typeberry - bundles bandersnatch, ed25519 and reed-solomon with WASM and optional native bindings",
5
5
  "main": "./index.js",
6
6
  "types": "./index.d.ts",
@@ -23,8 +23,8 @@
23
23
  "node": ">=18"
24
24
  },
25
25
  "optionalDependencies": {
26
- "@typeberry/bandersnatch-native-darwin-arm64": "0.3.0-462f2ab",
27
- "@typeberry/bandersnatch-native-linux-x64-gnu": "0.3.0-462f2ab"
26
+ "@typeberry/bandersnatch-native-darwin-arm64": "0.3.0-5dae93e",
27
+ "@typeberry/bandersnatch-native-linux-x64-gnu": "0.3.0-5dae93e"
28
28
  },
29
29
  "scripts": {
30
30
  "lint": "true",