@ifc-lite/wasm 1.19.0 → 1.19.2

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/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "IFC-Lite Contributors"
6
6
  ],
7
7
  "description": "WebAssembly bindings for IFC-Lite",
8
- "version": "1.19.0",
8
+ "version": "1.19.2",
9
9
  "license": "MPL-2.0",
10
10
  "repository": {
11
11
  "type": "git",
@@ -35,7 +35,7 @@
35
35
  "aec"
36
36
  ],
37
37
  "scripts": {
38
- "build": "bash ../../scripts/build-wasm.sh",
38
+ "build": "node ../../scripts/run-build-wasm.mjs",
39
39
  "test": "node --test test/*.test.mjs"
40
40
  }
41
41
  }
package/pkg/ifc-lite.d.ts CHANGED
@@ -1424,9 +1424,9 @@ export interface InitOutput {
1424
1424
  readonly symbolictext_x: (a: number) => number;
1425
1425
  readonly symbolictext_y: (a: number) => number;
1426
1426
  readonly __wbg_gpuinstancedgeometryref_free: (a: number, b: number) => void;
1427
- readonly __wasm_bindgen_func_elem_1529: (a: number, b: number, c: number) => void;
1428
- readonly __wasm_bindgen_func_elem_1528: (a: number, b: number) => void;
1429
- readonly __wasm_bindgen_func_elem_1569: (a: number, b: number, c: number, d: number) => void;
1427
+ readonly __wasm_bindgen_func_elem_1568: (a: number, b: number, c: number) => void;
1428
+ readonly __wasm_bindgen_func_elem_1567: (a: number, b: number) => void;
1429
+ readonly __wasm_bindgen_func_elem_1608: (a: number, b: number, c: number, d: number) => void;
1430
1430
  readonly __wbindgen_export: (a: number) => void;
1431
1431
  readonly __wbindgen_export2: (a: number, b: number, c: number) => void;
1432
1432
  readonly __wbindgen_export3: (a: number, b: number) => number;
package/pkg/ifc-lite.js CHANGED
@@ -220,12 +220,12 @@ if (!('encodeInto' in cachedTextEncoder)) {
220
220
 
221
221
  let WASM_VECTOR_LEN = 0;
222
222
 
223
- function __wasm_bindgen_func_elem_1529(arg0, arg1, arg2) {
224
- wasm.__wasm_bindgen_func_elem_1529(arg0, arg1, addHeapObject(arg2));
223
+ function __wasm_bindgen_func_elem_1568(arg0, arg1, arg2) {
224
+ wasm.__wasm_bindgen_func_elem_1568(arg0, arg1, addHeapObject(arg2));
225
225
  }
226
226
 
227
- function __wasm_bindgen_func_elem_1569(arg0, arg1, arg2, arg3) {
228
- wasm.__wasm_bindgen_func_elem_1569(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
227
+ function __wasm_bindgen_func_elem_1608(arg0, arg1, arg2, arg3) {
228
+ wasm.__wasm_bindgen_func_elem_1608(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
229
229
  }
230
230
 
231
231
  const GeoReferenceJsFinalization = (typeof FinalizationRegistry === 'undefined')
@@ -3713,7 +3713,7 @@ function __wbg_get_imports() {
3713
3713
  const a = state0.a;
3714
3714
  state0.a = 0;
3715
3715
  try {
3716
- return __wasm_bindgen_func_elem_1569(a, state0.b, arg0, arg1);
3716
+ return __wasm_bindgen_func_elem_1608(a, state0.b, arg0, arg1);
3717
3717
  } finally {
3718
3718
  state0.a = a;
3719
3719
  }
@@ -3812,6 +3812,11 @@ function __wbg_get_imports() {
3812
3812
  imports.wbg.__wbg_warn_6e567d0d926ff881 = function(arg0) {
3813
3813
  console.warn(getObject(arg0));
3814
3814
  };
3815
+ imports.wbg.__wbindgen_cast_059fe8fea69d1ac8 = function(arg0, arg1) {
3816
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 182, function: Function { arguments: [Externref], shim_idx: 183, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
3817
+ const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_1567, __wasm_bindgen_func_elem_1568);
3818
+ return addHeapObject(ret);
3819
+ };
3815
3820
  imports.wbg.__wbindgen_cast_2241b6af4c4b2941 = function(arg0, arg1) {
3816
3821
  // Cast intrinsic for `Ref(String) -> Externref`.
3817
3822
  const ret = getStringFromWasm0(arg0, arg1);
@@ -3822,11 +3827,6 @@ function __wbg_get_imports() {
3822
3827
  const ret = BigInt.asUintN(64, arg0);
3823
3828
  return addHeapObject(ret);
3824
3829
  };
3825
- imports.wbg.__wbindgen_cast_56b148ee1abaedad = function(arg0, arg1) {
3826
- // Cast intrinsic for `Closure(Closure { dtor_idx: 180, function: Function { arguments: [Externref], shim_idx: 181, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
3827
- const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_1528, __wasm_bindgen_func_elem_1529);
3828
- return addHeapObject(ret);
3829
- };
3830
3830
  imports.wbg.__wbindgen_cast_d6cd19b81560fd6e = function(arg0) {
3831
3831
  // Cast intrinsic for `F64 -> Externref`.
3832
3832
  const ret = arg0;
Binary file