@sema-lang/sema-wasm 1.16.0 → 1.18.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/package.json +1 -1
- package/sema_wasm.d.ts +4 -3
- package/sema_wasm.js +6 -5
- package/sema_wasm_bg.wasm +0 -0
package/package.json
CHANGED
package/sema_wasm.d.ts
CHANGED
|
@@ -40,7 +40,8 @@ export class SemaInterpreter {
|
|
|
40
40
|
*/
|
|
41
41
|
eval(code: string): any;
|
|
42
42
|
/**
|
|
43
|
-
* Evaluate code with async HTTP support
|
|
43
|
+
* Evaluate code with async HTTP support in the persistent global env
|
|
44
|
+
* (top-level defines persist across calls). Runs on the bytecode VM.
|
|
44
45
|
*/
|
|
45
46
|
evalAsync(code: string): Promise<any>;
|
|
46
47
|
/**
|
|
@@ -151,11 +152,11 @@ export interface InitOutput {
|
|
|
151
152
|
readonly semainterpreter_version: (a: number) => [number, number];
|
|
152
153
|
readonly semainterpreter_vfsStats: (a: number) => any;
|
|
153
154
|
readonly semainterpreter_writeFile: (a: number, b: number, c: number, d: number, e: number) => any;
|
|
154
|
-
readonly
|
|
155
|
+
readonly wasm_bindgen__closure__destroy__h111457dfe7036899: (a: number, b: number) => void;
|
|
155
156
|
readonly wasm_bindgen__closure__destroy__h9d93f7a1700d9cb1: (a: number, b: number) => void;
|
|
156
157
|
readonly wasm_bindgen__convert__closures_____invoke__h657571cdcabda118: (a: number, b: number, c: any) => [number, number];
|
|
157
158
|
readonly wasm_bindgen__convert__closures_____invoke__h11cf443fa67993f6: (a: number, b: number, c: any, d: any) => void;
|
|
158
|
-
readonly
|
|
159
|
+
readonly wasm_bindgen__convert__closures_____invoke__h849430ab2f115f99: (a: number, b: number) => void;
|
|
159
160
|
readonly __wbindgen_malloc: (a: number, b: number) => number;
|
|
160
161
|
readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
|
|
161
162
|
readonly __wbindgen_exn_store: (a: number) => void;
|
package/sema_wasm.js
CHANGED
|
@@ -143,7 +143,8 @@ export class SemaInterpreter {
|
|
|
143
143
|
return ret;
|
|
144
144
|
}
|
|
145
145
|
/**
|
|
146
|
-
* Evaluate code with async HTTP support
|
|
146
|
+
* Evaluate code with async HTTP support in the persistent global env
|
|
147
|
+
* (top-level defines persist across calls). Runs on the bytecode VM.
|
|
147
148
|
* @param {string} code
|
|
148
149
|
* @returns {Promise<any>}
|
|
149
150
|
*/
|
|
@@ -627,11 +628,11 @@ function __wbg_get_imports() {
|
|
|
627
628
|
},
|
|
628
629
|
__wbindgen_cast_0000000000000001: function(arg0, arg1) {
|
|
629
630
|
// Cast intrinsic for `Closure(Closure { dtor_idx: 1654, function: Function { arguments: [], shim_idx: 1655, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
630
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
631
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h111457dfe7036899, wasm_bindgen__convert__closures_____invoke__h849430ab2f115f99);
|
|
631
632
|
return ret;
|
|
632
633
|
},
|
|
633
634
|
__wbindgen_cast_0000000000000002: function(arg0, arg1) {
|
|
634
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
635
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 1962, function: Function { arguments: [Externref], shim_idx: 1963, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
635
636
|
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h9d93f7a1700d9cb1, wasm_bindgen__convert__closures_____invoke__h657571cdcabda118);
|
|
636
637
|
return ret;
|
|
637
638
|
},
|
|
@@ -661,8 +662,8 @@ function __wbg_get_imports() {
|
|
|
661
662
|
};
|
|
662
663
|
}
|
|
663
664
|
|
|
664
|
-
function
|
|
665
|
-
wasm.
|
|
665
|
+
function wasm_bindgen__convert__closures_____invoke__h849430ab2f115f99(arg0, arg1) {
|
|
666
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h849430ab2f115f99(arg0, arg1);
|
|
666
667
|
}
|
|
667
668
|
|
|
668
669
|
function wasm_bindgen__convert__closures_____invoke__h657571cdcabda118(arg0, arg1, arg2) {
|
package/sema_wasm_bg.wasm
CHANGED
|
Binary file
|