hermes-wasm 0.3.5 → 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,8 +249,8 @@ 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;
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;
254
254
  readonly wasm_bindgen__convert__closures_____invoke__haa072074c85bd216: (a: number, b: number, c: any) => void;
255
255
  readonly wasm_bindgen__closure__destroy__h7b55ee774e6ec527: (a: number, b: number) => void;
256
256
  readonly wasm_bindgen__convert__closures_____invoke__h31cab8129ff204d7: (a: number, b: number) => void;
package/hermes_wasm.js CHANGED
@@ -221,8 +221,8 @@ if (!('encodeInto' in cachedTextEncoder)) {
221
221
 
222
222
  let WASM_VECTOR_LEN = 0;
223
223
 
224
- function wasm_bindgen__convert__closures_____invoke__hcba3af65fb139e59(arg0, arg1, arg2) {
225
- wasm.wasm_bindgen__convert__closures_____invoke__hcba3af65fb139e59(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);
226
226
  }
227
227
 
228
228
  function wasm_bindgen__convert__closures_____invoke__haa072074c85bd216(arg0, arg1, arg2) {
@@ -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__h53578dc83273c112, wasm_bindgen__convert__closures_____invoke__hcba3af65fb139e59);
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__h53578dc83273c112, wasm_bindgen__convert__closures_____invoke__hcba3af65fb139e59);
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.5",
8
+ "version": "0.3.6",
9
9
  "license": "MIT",
10
10
  "repository": {
11
11
  "type": "git",