@ifc-lite/wasm 1.16.10 → 1.17.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/README.md CHANGED
@@ -131,11 +131,11 @@ All classes implement `free()` and `[Symbol.dispose]()` — call `free()` (or us
131
131
 
132
132
  ## Rust source
133
133
 
134
- This package ships the bindings only. The Rust source lives in [`rust/wasm-bindings/`](https://github.com/louistrue/ifc-lite/tree/main/rust/wasm-bindings) and the core in [`rust/core/`](https://github.com/louistrue/ifc-lite/tree/main/rust/core). Available on crates.io as `ifc-lite-core`.
134
+ This package ships the bindings only. The Rust source lives in [`rust/wasm-bindings/`](https://github.com/LTplus-AG/ifc-lite/tree/main/rust/wasm-bindings) and the core in [`rust/core/`](https://github.com/LTplus-AG/ifc-lite/tree/main/rust/core). Available on crates.io as `ifc-lite-core`.
135
135
 
136
136
  ## API
137
137
 
138
- See the [WASM API Reference](https://louistrue.github.io/ifc-lite/api/wasm/).
138
+ See the [WASM API Reference](https://ltplus-ag.github.io/ifc-lite/api/wasm/).
139
139
 
140
140
  ## License
141
141
 
package/package.json CHANGED
@@ -5,11 +5,11 @@
5
5
  "IFC-Lite Contributors"
6
6
  ],
7
7
  "description": "WebAssembly bindings for IFC-Lite",
8
- "version": "1.16.10",
8
+ "version": "1.17.0",
9
9
  "license": "MPL-2.0",
10
10
  "repository": {
11
11
  "type": "git",
12
- "url": "https://github.com/louistrue/ifc-lite"
12
+ "url": "https://github.com/LTplus-AG/ifc-lite"
13
13
  },
14
14
  "files": [
15
15
  "pkg/ifc-lite_bg.wasm",
@@ -23,7 +23,8 @@
23
23
  ".": {
24
24
  "import": "./pkg/ifc-lite.js",
25
25
  "types": "./pkg/ifc-lite.d.ts"
26
- }
26
+ },
27
+ "./ifc-lite_bg.wasm": "./pkg/ifc-lite_bg.wasm"
27
28
  },
28
29
  "sideEffects": false,
29
30
  "keywords": [
@@ -34,6 +35,7 @@
34
35
  "aec"
35
36
  ],
36
37
  "scripts": {
38
+ "build": "bash ../../scripts/build-wasm.sh",
37
39
  "test": "node --test test/*.test.mjs"
38
40
  }
39
41
  }
package/pkg/ifc-lite.d.ts CHANGED
@@ -1300,9 +1300,9 @@ export interface InitOutput {
1300
1300
  readonly profileentryjs_expressId: (a: number) => number;
1301
1301
  readonly symboliccircle_expressId: (a: number) => number;
1302
1302
  readonly __wbg_gpuinstancedgeometryref_free: (a: number, b: number) => void;
1303
- readonly __wasm_bindgen_func_elem_1267: (a: number, b: number, c: number) => void;
1304
- readonly __wasm_bindgen_func_elem_1266: (a: number, b: number) => void;
1305
- readonly __wasm_bindgen_func_elem_1306: (a: number, b: number, c: number, d: number) => void;
1303
+ readonly __wasm_bindgen_func_elem_1480: (a: number, b: number, c: number) => void;
1304
+ readonly __wasm_bindgen_func_elem_1479: (a: number, b: number) => void;
1305
+ readonly __wasm_bindgen_func_elem_1520: (a: number, b: number, c: number, d: number) => void;
1306
1306
  readonly __wbindgen_export: (a: number) => void;
1307
1307
  readonly __wbindgen_export2: (a: number, b: number, c: number) => void;
1308
1308
  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_1267(arg0, arg1, arg2) {
224
- wasm.__wasm_bindgen_func_elem_1267(arg0, arg1, addHeapObject(arg2));
223
+ function __wasm_bindgen_func_elem_1480(arg0, arg1, arg2) {
224
+ wasm.__wasm_bindgen_func_elem_1480(arg0, arg1, addHeapObject(arg2));
225
225
  }
226
226
 
227
- function __wasm_bindgen_func_elem_1306(arg0, arg1, arg2, arg3) {
228
- wasm.__wasm_bindgen_func_elem_1306(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
227
+ function __wasm_bindgen_func_elem_1520(arg0, arg1, arg2, arg3) {
228
+ wasm.__wasm_bindgen_func_elem_1520(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
229
229
  }
230
230
 
231
231
  const GeoReferenceJsFinalization = (typeof FinalizationRegistry === 'undefined')
@@ -3263,7 +3263,7 @@ function __wbg_get_imports() {
3263
3263
  const a = state0.a;
3264
3264
  state0.a = 0;
3265
3265
  try {
3266
- return __wasm_bindgen_func_elem_1306(a, state0.b, arg0, arg1);
3266
+ return __wasm_bindgen_func_elem_1520(a, state0.b, arg0, arg1);
3267
3267
  } finally {
3268
3268
  state0.a = a;
3269
3269
  }
@@ -3375,9 +3375,9 @@ function __wbg_get_imports() {
3375
3375
  const ret = BigInt.asUintN(64, arg0);
3376
3376
  return addHeapObject(ret);
3377
3377
  };
3378
- imports.wbg.__wbindgen_cast_87cdb333eb97349f = function(arg0, arg1) {
3379
- // Cast intrinsic for `Closure(Closure { dtor_idx: 168, function: Function { arguments: [Externref], shim_idx: 169, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
3380
- const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_1266, __wasm_bindgen_func_elem_1267);
3378
+ imports.wbg.__wbindgen_cast_73cbb7b49382c492 = function(arg0, arg1) {
3379
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 179, function: Function { arguments: [Externref], shim_idx: 180, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
3380
+ const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_1479, __wasm_bindgen_func_elem_1480);
3381
3381
  return addHeapObject(ret);
3382
3382
  };
3383
3383
  imports.wbg.__wbindgen_cast_d6cd19b81560fd6e = function(arg0) {
Binary file