hermes-wasm 0.4.2 → 0.4.3

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__ha321675473457a2d: (a: number, b: number, c: any) => void;
255
- readonly wasm_bindgen__closure__destroy__h460381bbea3881da: (a: number, b: number) => void;
252
+ readonly wasm_bindgen__convert__closures_____invoke__h439efdfeda72ac88: (a: number, b: number, c: any) => void;
253
+ readonly wasm_bindgen__closure__destroy__h4fdfb4a1331c6e84: (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__ha321675473457a2d(arg0, arg1, arg2) {
229
- wasm.wasm_bindgen__convert__closures_____invoke__ha321675473457a2d(arg0, arg1, arg2);
224
+ function wasm_bindgen__convert__closures_____invoke__h439efdfeda72ac88(arg0, arg1, arg2) {
225
+ wasm.wasm_bindgen__convert__closures_____invoke__h439efdfeda72ac88(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
  }
@@ -1203,6 +1203,11 @@ 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_06d4cd02c2a59fb5 = function(arg0, arg1) {
1207
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 367, function: Function { arguments: [Externref], shim_idx: 368, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1208
+ const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h7b55ee774e6ec527, wasm_bindgen__convert__closures_____invoke__haa072074c85bd216);
1209
+ return ret;
1210
+ };
1206
1211
  imports.wbg.__wbindgen_cast_2241b6af4c4b2941 = function(arg0, arg1) {
1207
1212
  // Cast intrinsic for `Ref(String) -> Externref`.
1208
1213
  const ret = getStringFromWasm0(arg0, arg1);
@@ -1213,14 +1218,14 @@ function __wbg_get_imports() {
1213
1218
  const ret = BigInt.asUintN(64, arg0);
1214
1219
  return ret;
1215
1220
  };
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`.
1221
+ imports.wbg.__wbindgen_cast_49fd795b9eea6c2f = function(arg0, arg1) {
1222
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 344, function: Function { arguments: [], shim_idx: 345, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1218
1223
  const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__hb957e677ca4e125e, wasm_bindgen__convert__closures_____invoke__h31cab8129ff204d7);
1219
1224
  return ret;
1220
1225
  };
1221
1226
  imports.wbg.__wbindgen_cast_931570d93c3b5212 = function(arg0, arg1) {
1222
1227
  // 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__h460381bbea3881da, wasm_bindgen__convert__closures_____invoke__ha321675473457a2d);
1228
+ const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h4fdfb4a1331c6e84, wasm_bindgen__convert__closures_____invoke__h439efdfeda72ac88);
1224
1229
  return ret;
1225
1230
  };
1226
1231
  imports.wbg.__wbindgen_cast_9ae0607507abb057 = function(arg0) {
@@ -1230,7 +1235,7 @@ function __wbg_get_imports() {
1230
1235
  };
1231
1236
  imports.wbg.__wbindgen_cast_b823710538eed405 = function(arg0, arg1) {
1232
1237
  // 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__h460381bbea3881da, wasm_bindgen__convert__closures_____invoke__ha321675473457a2d);
1238
+ const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h4fdfb4a1331c6e84, wasm_bindgen__convert__closures_____invoke__h439efdfeda72ac88);
1234
1239
  return ret;
1235
1240
  };
1236
1241
  imports.wbg.__wbindgen_cast_d6cd19b81560fd6e = function(arg0) {
@@ -1238,11 +1243,6 @@ function __wbg_get_imports() {
1238
1243
  const ret = arg0;
1239
1244
  return ret;
1240
1245
  };
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);
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.4.2",
8
+ "version": "0.4.3",
9
9
  "license": "MIT",
10
10
  "repository": {
11
11
  "type": "git",