hermes-wasm 0.3.6 → 0.4.1

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__h38e371bc748b984a: (a: number, b: number, c: any) => void;
253
- readonly wasm_bindgen__closure__destroy__h4b245fd49c835d22: (a: number, b: number) => void;
252
+ readonly wasm_bindgen__convert__closures_____invoke__h627f97cbcb0e52ad: (a: number, b: number, c: any) => void;
253
+ readonly wasm_bindgen__closure__destroy__h2591e220c75608eb: (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__h38e371bc748b984a(arg0, arg1, arg2) {
225
- wasm.wasm_bindgen__convert__closures_____invoke__h38e371bc748b984a(arg0, arg1, arg2);
224
+ function wasm_bindgen__convert__closures_____invoke__h627f97cbcb0e52ad(arg0, arg1, arg2) {
225
+ wasm.wasm_bindgen__convert__closures_____invoke__h627f97cbcb0e52ad(arg0, arg1, arg2);
226
226
  }
227
227
 
228
228
  function wasm_bindgen__convert__closures_____invoke__haa072074c85bd216(arg0, arg1, arg2) {
@@ -1203,21 +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__h4b245fd49c835d22, wasm_bindgen__convert__closures_____invoke__h38e371bc748b984a);
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__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);
1219
- return ret;
1220
- };
1221
1206
  imports.wbg.__wbindgen_cast_2241b6af4c4b2941 = function(arg0, arg1) {
1222
1207
  // Cast intrinsic for `Ref(String) -> Externref`.
1223
1208
  const ret = getStringFromWasm0(arg0, arg1);
@@ -1228,18 +1213,33 @@ function __wbg_get_imports() {
1228
1213
  const ret = BigInt.asUintN(64, arg0);
1229
1214
  return ret;
1230
1215
  };
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);
1219
+ return ret;
1220
+ };
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__h2591e220c75608eb, wasm_bindgen__convert__closures_____invoke__h627f97cbcb0e52ad);
1224
+ return ret;
1225
+ };
1231
1226
  imports.wbg.__wbindgen_cast_9ae0607507abb057 = function(arg0) {
1232
1227
  // Cast intrinsic for `I64 -> Externref`.
1233
1228
  const ret = arg0;
1234
1229
  return ret;
1235
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__h2591e220c75608eb, wasm_bindgen__convert__closures_____invoke__h627f97cbcb0e52ad);
1234
+ return ret;
1235
+ };
1236
1236
  imports.wbg.__wbindgen_cast_d6cd19b81560fd6e = function(arg0) {
1237
1237
  // Cast intrinsic for `F64 -> Externref`.
1238
1238
  const ret = arg0;
1239
1239
  return ret;
1240
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`.
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
1243
  const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h7b55ee774e6ec527, wasm_bindgen__convert__closures_____invoke__haa072074c85bd216);
1244
1244
  return ret;
1245
1245
  };
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.6",
8
+ "version": "0.4.1",
9
9
  "license": "MIT",
10
10
  "repository": {
11
11
  "type": "git",