hermes-wasm 0.3.5 → 0.4.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/hermes_wasm.d.ts +4 -4
- package/hermes_wasm.js +22 -22
- package/hermes_wasm_bg.wasm +0 -0
- package/package.json +1 -1
package/hermes_wasm.d.ts
CHANGED
|
@@ -249,12 +249,12 @@ export interface InitOutput {
|
|
|
249
249
|
readonly rust_zstd_wasm_shim_memmove: (a: number, b: number, c: number) => number;
|
|
250
250
|
readonly rust_zstd_wasm_shim_memset: (a: number, b: number, c: number) => number;
|
|
251
251
|
readonly rust_zstd_wasm_shim_qsort: (a: number, b: number, c: number, d: number) => void;
|
|
252
|
-
readonly wasm_bindgen__convert__closures_____invoke__hcba3af65fb139e59: (a: number, b: number, c: any) => void;
|
|
253
|
-
readonly wasm_bindgen__closure__destroy__h53578dc83273c112: (a: number, b: number) => void;
|
|
254
|
-
readonly wasm_bindgen__convert__closures_____invoke__haa072074c85bd216: (a: number, b: number, c: any) => void;
|
|
255
|
-
readonly wasm_bindgen__closure__destroy__h7b55ee774e6ec527: (a: number, b: number) => void;
|
|
256
252
|
readonly wasm_bindgen__convert__closures_____invoke__h31cab8129ff204d7: (a: number, b: number) => void;
|
|
257
253
|
readonly wasm_bindgen__closure__destroy__hb957e677ca4e125e: (a: number, b: number) => void;
|
|
254
|
+
readonly wasm_bindgen__convert__closures_____invoke__h12877b00f5ff97b2: (a: number, b: number, c: any) => void;
|
|
255
|
+
readonly wasm_bindgen__closure__destroy__h5be40c6ebdfff08c: (a: number, b: number) => void;
|
|
256
|
+
readonly wasm_bindgen__convert__closures_____invoke__haa072074c85bd216: (a: number, b: number, c: any) => void;
|
|
257
|
+
readonly wasm_bindgen__closure__destroy__h7b55ee774e6ec527: (a: number, b: number) => void;
|
|
258
258
|
readonly wasm_bindgen__convert__closures_____invoke__h1d5a4b72e8f7feb4: (a: number, b: number, c: any, d: any) => void;
|
|
259
259
|
readonly __wbindgen_malloc: (a: number, b: number) => number;
|
|
260
260
|
readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
|
package/hermes_wasm.js
CHANGED
|
@@ -221,16 +221,16 @@ if (!('encodeInto' in cachedTextEncoder)) {
|
|
|
221
221
|
|
|
222
222
|
let WASM_VECTOR_LEN = 0;
|
|
223
223
|
|
|
224
|
-
function
|
|
225
|
-
wasm.
|
|
224
|
+
function wasm_bindgen__convert__closures_____invoke__h31cab8129ff204d7(arg0, arg1) {
|
|
225
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h31cab8129ff204d7(arg0, arg1);
|
|
226
226
|
}
|
|
227
227
|
|
|
228
|
-
function
|
|
229
|
-
wasm.
|
|
228
|
+
function wasm_bindgen__convert__closures_____invoke__h12877b00f5ff97b2(arg0, arg1, arg2) {
|
|
229
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h12877b00f5ff97b2(arg0, arg1, arg2);
|
|
230
230
|
}
|
|
231
231
|
|
|
232
|
-
function
|
|
233
|
-
wasm.
|
|
232
|
+
function wasm_bindgen__convert__closures_____invoke__haa072074c85bd216(arg0, arg1, arg2) {
|
|
233
|
+
wasm.wasm_bindgen__convert__closures_____invoke__haa072074c85bd216(arg0, arg1, arg2);
|
|
234
234
|
}
|
|
235
235
|
|
|
236
236
|
function wasm_bindgen__convert__closures_____invoke__h1d5a4b72e8f7feb4(arg0, arg1, arg2, arg3) {
|
|
@@ -1203,16 +1203,6 @@ function __wbg_get_imports() {
|
|
|
1203
1203
|
imports.wbg.__wbg_warn_6e567d0d926ff881 = function(arg0) {
|
|
1204
1204
|
console.warn(arg0);
|
|
1205
1205
|
};
|
|
1206
|
-
imports.wbg.__wbindgen_cast_0c8e8791e842c642 = function(arg0, arg1) {
|
|
1207
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx: 137, function: Function { arguments: [NamedExternref("IDBVersionChangeEvent")], shim_idx: 138, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1208
|
-
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h53578dc83273c112, wasm_bindgen__convert__closures_____invoke__hcba3af65fb139e59);
|
|
1209
|
-
return ret;
|
|
1210
|
-
};
|
|
1211
|
-
imports.wbg.__wbindgen_cast_1e096971952e54dc = function(arg0, arg1) {
|
|
1212
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx: 137, function: Function { arguments: [NamedExternref("Event")], shim_idx: 138, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1213
|
-
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h53578dc83273c112, wasm_bindgen__convert__closures_____invoke__hcba3af65fb139e59);
|
|
1214
|
-
return ret;
|
|
1215
|
-
};
|
|
1216
1206
|
imports.wbg.__wbindgen_cast_2241b6af4c4b2941 = function(arg0, arg1) {
|
|
1217
1207
|
// Cast intrinsic for `Ref(String) -> Externref`.
|
|
1218
1208
|
const ret = getStringFromWasm0(arg0, arg1);
|
|
@@ -1223,14 +1213,14 @@ function __wbg_get_imports() {
|
|
|
1223
1213
|
const ret = BigInt.asUintN(64, arg0);
|
|
1224
1214
|
return ret;
|
|
1225
1215
|
};
|
|
1226
|
-
imports.wbg.
|
|
1227
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
1228
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
1216
|
+
imports.wbg.__wbindgen_cast_7727c787a531a20f = function(arg0, arg1) {
|
|
1217
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 347, function: Function { arguments: [], shim_idx: 348, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1218
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__hb957e677ca4e125e, wasm_bindgen__convert__closures_____invoke__h31cab8129ff204d7);
|
|
1229
1219
|
return ret;
|
|
1230
1220
|
};
|
|
1231
|
-
imports.wbg.
|
|
1232
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
1233
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
1221
|
+
imports.wbg.__wbindgen_cast_931570d93c3b5212 = function(arg0, arg1) {
|
|
1222
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 156, function: Function { arguments: [NamedExternref("IDBVersionChangeEvent")], shim_idx: 157, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1223
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h5be40c6ebdfff08c, wasm_bindgen__convert__closures_____invoke__h12877b00f5ff97b2);
|
|
1234
1224
|
return ret;
|
|
1235
1225
|
};
|
|
1236
1226
|
imports.wbg.__wbindgen_cast_9ae0607507abb057 = function(arg0) {
|
|
@@ -1238,11 +1228,21 @@ function __wbg_get_imports() {
|
|
|
1238
1228
|
const ret = arg0;
|
|
1239
1229
|
return ret;
|
|
1240
1230
|
};
|
|
1231
|
+
imports.wbg.__wbindgen_cast_b823710538eed405 = function(arg0, arg1) {
|
|
1232
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 156, function: Function { arguments: [NamedExternref("Event")], shim_idx: 157, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1233
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h5be40c6ebdfff08c, wasm_bindgen__convert__closures_____invoke__h12877b00f5ff97b2);
|
|
1234
|
+
return ret;
|
|
1235
|
+
};
|
|
1241
1236
|
imports.wbg.__wbindgen_cast_d6cd19b81560fd6e = function(arg0) {
|
|
1242
1237
|
// Cast intrinsic for `F64 -> Externref`.
|
|
1243
1238
|
const ret = arg0;
|
|
1244
1239
|
return ret;
|
|
1245
1240
|
};
|
|
1241
|
+
imports.wbg.__wbindgen_cast_f5c6fabb752f0257 = function(arg0, arg1) {
|
|
1242
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 370, function: Function { arguments: [Externref], shim_idx: 371, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1243
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h7b55ee774e6ec527, wasm_bindgen__convert__closures_____invoke__haa072074c85bd216);
|
|
1244
|
+
return ret;
|
|
1245
|
+
};
|
|
1246
1246
|
imports.wbg.__wbindgen_init_externref_table = function() {
|
|
1247
1247
|
const table = wasm.__wbindgen_externrefs;
|
|
1248
1248
|
const offset = table.grow(4);
|
package/hermes_wasm_bg.wasm
CHANGED
|
Binary file
|