hermes-wasm 0.3.4 → 0.3.6

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 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__h31cab8129ff204d7: (a: number, b: number) => void;
253
- readonly wasm_bindgen__closure__destroy__hb957e677ca4e125e: (a: number, b: number) => void;
254
- readonly wasm_bindgen__convert__closures_____invoke__h085cc9b7f0fc77bb: (a: number, b: number, c: any) => void;
255
- readonly wasm_bindgen__closure__destroy__h23fc176c3403c0ea: (a: number, b: number) => void;
252
+ readonly wasm_bindgen__convert__closures_____invoke__h38e371bc748b984a: (a: number, b: number, c: any) => void;
253
+ readonly wasm_bindgen__closure__destroy__h4b245fd49c835d22: (a: number, b: number) => void;
256
254
  readonly wasm_bindgen__convert__closures_____invoke__haa072074c85bd216: (a: number, b: number, c: any) => void;
257
255
  readonly wasm_bindgen__closure__destroy__h7b55ee774e6ec527: (a: number, b: number) => void;
256
+ readonly wasm_bindgen__convert__closures_____invoke__h31cab8129ff204d7: (a: number, b: number) => void;
257
+ readonly wasm_bindgen__closure__destroy__hb957e677ca4e125e: (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,18 +221,18 @@ if (!('encodeInto' in cachedTextEncoder)) {
221
221
 
222
222
  let WASM_VECTOR_LEN = 0;
223
223
 
224
- function wasm_bindgen__convert__closures_____invoke__h31cab8129ff204d7(arg0, arg1) {
225
- wasm.wasm_bindgen__convert__closures_____invoke__h31cab8129ff204d7(arg0, arg1);
226
- }
227
-
228
- function wasm_bindgen__convert__closures_____invoke__h085cc9b7f0fc77bb(arg0, arg1, arg2) {
229
- wasm.wasm_bindgen__convert__closures_____invoke__h085cc9b7f0fc77bb(arg0, arg1, arg2);
224
+ function wasm_bindgen__convert__closures_____invoke__h38e371bc748b984a(arg0, arg1, arg2) {
225
+ wasm.wasm_bindgen__convert__closures_____invoke__h38e371bc748b984a(arg0, arg1, arg2);
230
226
  }
231
227
 
232
228
  function wasm_bindgen__convert__closures_____invoke__haa072074c85bd216(arg0, arg1, arg2) {
233
229
  wasm.wasm_bindgen__convert__closures_____invoke__haa072074c85bd216(arg0, arg1, arg2);
234
230
  }
235
231
 
232
+ function wasm_bindgen__convert__closures_____invoke__h31cab8129ff204d7(arg0, arg1) {
233
+ wasm.wasm_bindgen__convert__closures_____invoke__h31cab8129ff204d7(arg0, arg1);
234
+ }
235
+
236
236
  function wasm_bindgen__convert__closures_____invoke__h1d5a4b72e8f7feb4(arg0, arg1, arg2, arg3) {
237
237
  wasm.wasm_bindgen__convert__closures_____invoke__h1d5a4b72e8f7feb4(arg0, arg1, arg2, arg3);
238
238
  }
@@ -1205,12 +1205,17 @@ function __wbg_get_imports() {
1205
1205
  };
1206
1206
  imports.wbg.__wbindgen_cast_0c8e8791e842c642 = function(arg0, arg1) {
1207
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__h23fc176c3403c0ea, wasm_bindgen__convert__closures_____invoke__h085cc9b7f0fc77bb);
1208
+ const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h4b245fd49c835d22, wasm_bindgen__convert__closures_____invoke__h38e371bc748b984a);
1209
1209
  return ret;
1210
1210
  };
1211
1211
  imports.wbg.__wbindgen_cast_1e096971952e54dc = function(arg0, arg1) {
1212
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__h23fc176c3403c0ea, wasm_bindgen__convert__closures_____invoke__h085cc9b7f0fc77bb);
1213
+ const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h4b245fd49c835d22, wasm_bindgen__convert__closures_____invoke__h38e371bc748b984a);
1214
+ return ret;
1215
+ };
1216
+ imports.wbg.__wbindgen_cast_2194d188bb0e03c1 = function(arg0, arg1) {
1217
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 336, function: Function { arguments: [], shim_idx: 337, 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);
1214
1219
  return ret;
1215
1220
  };
1216
1221
  imports.wbg.__wbindgen_cast_2241b6af4c4b2941 = function(arg0, arg1) {
@@ -1223,16 +1228,6 @@ function __wbg_get_imports() {
1223
1228
  const ret = BigInt.asUintN(64, arg0);
1224
1229
  return ret;
1225
1230
  };
1226
- imports.wbg.__wbindgen_cast_5cd376b701f56c0e = function(arg0, arg1) {
1227
- // Cast intrinsic for `Closure(Closure { dtor_idx: 360, function: Function { arguments: [Externref], shim_idx: 361, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1228
- const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h7b55ee774e6ec527, wasm_bindgen__convert__closures_____invoke__haa072074c85bd216);
1229
- return ret;
1230
- };
1231
- imports.wbg.__wbindgen_cast_829978f7e672581b = function(arg0, arg1) {
1232
- // Cast intrinsic for `Closure(Closure { dtor_idx: 337, function: Function { arguments: [], shim_idx: 338, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1233
- const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__hb957e677ca4e125e, wasm_bindgen__convert__closures_____invoke__h31cab8129ff204d7);
1234
- return ret;
1235
- };
1236
1231
  imports.wbg.__wbindgen_cast_9ae0607507abb057 = function(arg0) {
1237
1232
  // Cast intrinsic for `I64 -> Externref`.
1238
1233
  const ret = arg0;
@@ -1243,6 +1238,11 @@ function __wbg_get_imports() {
1243
1238
  const ret = arg0;
1244
1239
  return ret;
1245
1240
  };
1241
+ imports.wbg.__wbindgen_cast_e424aac48c10ba33 = function(arg0, arg1) {
1242
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 359, function: Function { arguments: [Externref], shim_idx: 360, 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);
Binary file
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "izihawa"
6
6
  ],
7
7
  "description": "WASM bindings for Hermes search engine",
8
- "version": "0.3.4",
8
+ "version": "0.3.6",
9
9
  "license": "MIT",
10
10
  "repository": {
11
11
  "type": "git",