chia_wasm 0.11.0 → 0.19.0

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/chia_wasm.d.ts CHANGED
@@ -1,6 +1,3 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
- /**
4
- * @returns {bigint}
5
- */
6
3
  export function a_test_function(): bigint;
package/chia_wasm.js CHANGED
@@ -1,4 +1,5 @@
1
1
  import * as wasm from "./chia_wasm_bg.wasm";
2
+ export * from "./chia_wasm_bg.js";
2
3
  import { __wbg_set_wasm } from "./chia_wasm_bg.js";
3
4
  __wbg_set_wasm(wasm);
4
- export * from "./chia_wasm_bg.js";
5
+ wasm.__wbindgen_start();
package/chia_wasm_bg.js CHANGED
@@ -4,10 +4,21 @@ export function __wbg_set_wasm(val) {
4
4
  }
5
5
 
6
6
  /**
7
- * @returns {bigint}
8
- */
7
+ * @returns {bigint}
8
+ */
9
9
  export function a_test_function() {
10
10
  const ret = wasm.a_test_function();
11
11
  return BigInt.asUintN(64, ret);
12
12
  }
13
13
 
14
+ export function __wbindgen_init_externref_table() {
15
+ const table = wasm.__wbindgen_export_0;
16
+ const offset = table.grow(4);
17
+ table.set(0, undefined);
18
+ table.set(offset + 0, undefined);
19
+ table.set(offset + 1, null);
20
+ table.set(offset + 2, true);
21
+ table.set(offset + 3, false);
22
+ ;
23
+ };
24
+
package/chia_wasm_bg.wasm CHANGED
Binary file
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "Richard Kiss <him@richardkiss.com>"
6
6
  ],
7
7
  "description": "Code useful for implementing chia consensus.",
8
- "version": "0.11.0",
8
+ "version": "0.19.0",
9
9
  "license": "Apache-2.0",
10
10
  "repository": {
11
11
  "type": "git",