@sema-lang/sema-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
@@ -2,7 +2,7 @@
2
2
  "name": "@sema-lang/sema-wasm",
3
3
  "type": "module",
4
4
  "description": "WebAssembly bindings for the Sema Lisp interpreter",
5
- "version": "1.19.0",
5
+ "version": "1.19.2",
6
6
  "license": "MIT",
7
7
  "repository": {
8
8
  "type": "git",
package/sema_wasm.d.ts CHANGED
@@ -185,11 +185,10 @@ export interface InitOutput {
185
185
  readonly semainterpreter_version: (a: number) => [number, number];
186
186
  readonly semainterpreter_vfsStats: (a: number) => any;
187
187
  readonly semainterpreter_writeFile: (a: number, b: number, c: number, d: number, e: number) => any;
188
- readonly wasm_bindgen__closure__destroy__he66a5a361c9d594c: (a: number, b: number) => void;
189
- readonly wasm_bindgen__closure__destroy__h9d93f7a1700d9cb1: (a: number, b: number) => void;
190
- readonly wasm_bindgen__convert__closures_____invoke__h657571cdcabda118: (a: number, b: number, c: any) => [number, number];
191
- readonly wasm_bindgen__convert__closures_____invoke__h11cf443fa67993f6: (a: number, b: number, c: any, d: any) => void;
192
- readonly wasm_bindgen__convert__closures_____invoke__h570a435bff50d28f: (a: number, b: number) => void;
188
+ readonly wasm_bindgen__closure__destroy__h66b83ba196b9e002: (a: number, b: number) => void;
189
+ readonly wasm_bindgen__convert__closures_____invoke__h6d7c8ec94fdfda71: (a: number, b: number, c: any) => [number, number];
190
+ readonly wasm_bindgen__convert__closures_____invoke__h0eb89207c65c07af: (a: number, b: number, c: any, d: any) => void;
191
+ readonly wasm_bindgen__convert__closures_____invoke__h5792f68bac04c3d7: (a: number, b: number) => void;
193
192
  readonly __wbindgen_malloc: (a: number, b: number) => number;
194
193
  readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
195
194
  readonly __wbindgen_exn_store: (a: number) => void;
package/sema_wasm.js CHANGED
@@ -574,7 +574,7 @@ function __wbg_get_imports() {
574
574
  const a = state0.a;
575
575
  state0.a = 0;
576
576
  try {
577
- return wasm_bindgen__convert__closures_____invoke__h11cf443fa67993f6(a, state0.b, arg0, arg1);
577
+ return wasm_bindgen__convert__closures_____invoke__h0eb89207c65c07af(a, state0.b, arg0, arg1);
578
578
  } finally {
579
579
  state0.a = a;
580
580
  }
@@ -715,13 +715,13 @@ function __wbg_get_imports() {
715
715
  return ret;
716
716
  }, arguments); },
717
717
  __wbindgen_cast_0000000000000001: function(arg0, arg1) {
718
- // Cast intrinsic for `Closure(Closure { dtor_idx: 1580, function: Function { arguments: [], shim_idx: 1581, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
719
- const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__he66a5a361c9d594c, wasm_bindgen__convert__closures_____invoke__h570a435bff50d28f);
718
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 2, function: Function { arguments: [Externref], shim_idx: 3, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
719
+ const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h66b83ba196b9e002, wasm_bindgen__convert__closures_____invoke__h6d7c8ec94fdfda71);
720
720
  return ret;
721
721
  },
722
722
  __wbindgen_cast_0000000000000002: function(arg0, arg1) {
723
- // Cast intrinsic for `Closure(Closure { dtor_idx: 1886, function: Function { arguments: [Externref], shim_idx: 1887, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
724
- const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h9d93f7a1700d9cb1, wasm_bindgen__convert__closures_____invoke__h657571cdcabda118);
723
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 2, function: Function { arguments: [], shim_idx: 6, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
724
+ const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h66b83ba196b9e002, wasm_bindgen__convert__closures_____invoke__h5792f68bac04c3d7);
725
725
  return ret;
726
726
  },
727
727
  __wbindgen_cast_0000000000000003: function(arg0) {
@@ -750,19 +750,19 @@ function __wbg_get_imports() {
750
750
  };
751
751
  }
752
752
 
753
- function wasm_bindgen__convert__closures_____invoke__h570a435bff50d28f(arg0, arg1) {
754
- wasm.wasm_bindgen__convert__closures_____invoke__h570a435bff50d28f(arg0, arg1);
753
+ function wasm_bindgen__convert__closures_____invoke__h5792f68bac04c3d7(arg0, arg1) {
754
+ wasm.wasm_bindgen__convert__closures_____invoke__h5792f68bac04c3d7(arg0, arg1);
755
755
  }
756
756
 
757
- function wasm_bindgen__convert__closures_____invoke__h657571cdcabda118(arg0, arg1, arg2) {
758
- const ret = wasm.wasm_bindgen__convert__closures_____invoke__h657571cdcabda118(arg0, arg1, arg2);
757
+ function wasm_bindgen__convert__closures_____invoke__h6d7c8ec94fdfda71(arg0, arg1, arg2) {
758
+ const ret = wasm.wasm_bindgen__convert__closures_____invoke__h6d7c8ec94fdfda71(arg0, arg1, arg2);
759
759
  if (ret[1]) {
760
760
  throw takeFromExternrefTable0(ret[0]);
761
761
  }
762
762
  }
763
763
 
764
- function wasm_bindgen__convert__closures_____invoke__h11cf443fa67993f6(arg0, arg1, arg2, arg3) {
765
- wasm.wasm_bindgen__convert__closures_____invoke__h11cf443fa67993f6(arg0, arg1, arg2, arg3);
764
+ function wasm_bindgen__convert__closures_____invoke__h0eb89207c65c07af(arg0, arg1, arg2, arg3) {
765
+ wasm.wasm_bindgen__convert__closures_____invoke__h0eb89207c65c07af(arg0, arg1, arg2, arg3);
766
766
  }
767
767
 
768
768
 
package/sema_wasm_bg.wasm CHANGED
Binary file