@utoo/web 1.2.3 → 1.2.4

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/esm/utoo/index.js CHANGED
@@ -255,25 +255,25 @@ if (cachedTextEncoder) {
255
255
  };
256
256
  }
257
257
  let WASM_VECTOR_LEN = 0;
258
- function __wasm_bindgen_func_elem_152840(arg0, arg1, arg2) {
258
+ function __wasm_bindgen_func_elem_22631(arg0, arg1) {
259
+ wasm.__wasm_bindgen_func_elem_22631(arg0, arg1);
260
+ }
261
+ function __wasm_bindgen_func_elem_83500(arg0, arg1, arg2) {
262
+ wasm.__wasm_bindgen_func_elem_83500(arg0, arg1, addHeapObject(arg2));
263
+ }
264
+ function __wasm_bindgen_func_elem_83302(arg0, arg1, arg2) {
265
+ wasm.__wasm_bindgen_func_elem_83302(arg0, arg1, addHeapObject(arg2));
266
+ }
267
+ function __wasm_bindgen_func_elem_83555(arg0, arg1, arg2) {
259
268
  try {
260
- wasm.__wasm_bindgen_func_elem_152840(arg0, arg1, addBorrowedObject(arg2));
269
+ wasm.__wasm_bindgen_func_elem_83555(arg0, arg1, addBorrowedObject(arg2));
261
270
  }
262
271
  finally {
263
272
  heap[stack_pointer++] = undefined;
264
273
  }
265
274
  }
266
- function __wasm_bindgen_func_elem_29447(arg0, arg1) {
267
- wasm.__wasm_bindgen_func_elem_29447(arg0, arg1);
268
- }
269
- function __wasm_bindgen_func_elem_152670(arg0, arg1, arg2) {
270
- wasm.__wasm_bindgen_func_elem_152670(arg0, arg1, addHeapObject(arg2));
271
- }
272
- function __wasm_bindgen_func_elem_152785(arg0, arg1, arg2) {
273
- wasm.__wasm_bindgen_func_elem_152785(arg0, arg1, addHeapObject(arg2));
274
- }
275
- function __wasm_bindgen_func_elem_3511(arg0, arg1, arg2, arg3) {
276
- wasm.__wasm_bindgen_func_elem_3511(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
275
+ function __wasm_bindgen_func_elem_3406(arg0, arg1, arg2, arg3) {
276
+ wasm.__wasm_bindgen_func_elem_3406(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
277
277
  }
278
278
  const __wbindgen_enum_DirEntryType = ["file", "directory"];
279
279
  const __wbindgen_enum_FileSystemChangeRecordType = ["appeared", "disappeared", "errored", "modified", "moved", "unknown"];
@@ -1537,7 +1537,7 @@ function __wbg_get_imports(memory) {
1537
1537
  const a = state0.a;
1538
1538
  state0.a = 0;
1539
1539
  try {
1540
- return __wasm_bindgen_func_elem_3511(a, state0.b, arg0, arg1);
1540
+ return __wasm_bindgen_func_elem_3406(a, state0.b, arg0, arg1);
1541
1541
  }
1542
1542
  finally {
1543
1543
  state0.a = a;
@@ -1866,19 +1866,24 @@ function __wbg_get_imports(memory) {
1866
1866
  return ret;
1867
1867
  }, arguments);
1868
1868
  };
1869
+ imports.wbg.__wbindgen_cast_0e5b713b593f81d2 = function (arg0, arg1) {
1870
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 7395, function: Function { arguments: [], shim_idx: 1843, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1871
+ const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_83562, __wasm_bindgen_func_elem_22631);
1872
+ return addHeapObject(ret);
1873
+ };
1874
+ imports.wbg.__wbindgen_cast_128a6cb04f687bdb = function (arg0, arg1) {
1875
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 7392, function: Function { arguments: [Ref(NamedExternref("MessageEvent"))], shim_idx: 7393, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1876
+ const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_83554, __wasm_bindgen_func_elem_83555);
1877
+ return addHeapObject(ret);
1878
+ };
1869
1879
  imports.wbg.__wbindgen_cast_2241b6af4c4b2941 = function (arg0, arg1) {
1870
1880
  // Cast intrinsic for `Ref(String) -> Externref`.
1871
1881
  const ret = getStringFromWasm0(arg0, arg1);
1872
1882
  return addHeapObject(ret);
1873
1883
  };
1874
- imports.wbg.__wbindgen_cast_35bebb901e7f6fa2 = function (arg0, arg1) {
1875
- // Cast intrinsic for `Closure(Closure { dtor_idx: 8668, function: Function { arguments: [NamedExternref("MessageEvent")], shim_idx: 8669, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1876
- const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_152784, __wasm_bindgen_func_elem_152785);
1877
- return addHeapObject(ret);
1878
- };
1879
- imports.wbg.__wbindgen_cast_45cac5d4264cc30c = function (arg0, arg1) {
1880
- // Cast intrinsic for `Closure(Closure { dtor_idx: 8676, function: Function { arguments: [], shim_idx: 1966, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1881
- const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_152847, __wasm_bindgen_func_elem_29447);
1884
+ imports.wbg.__wbindgen_cast_3e92ac1544ddfe96 = function (arg0, arg1) {
1885
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 7370, function: Function { arguments: [Externref], shim_idx: 7388, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1886
+ const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_83301, __wasm_bindgen_func_elem_83500);
1882
1887
  return addHeapObject(ret);
1883
1888
  };
1884
1889
  imports.wbg.__wbindgen_cast_4625c577ab2ec9ee = function (arg0) {
@@ -1886,6 +1891,11 @@ function __wbg_get_imports(memory) {
1886
1891
  const ret = BigInt.asUintN(64, arg0);
1887
1892
  return addHeapObject(ret);
1888
1893
  };
1894
+ imports.wbg.__wbindgen_cast_59119310efc0809b = function (arg0, arg1) {
1895
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 7370, function: Function { arguments: [NamedExternref("Array<any>")], shim_idx: 7371, ret: Unit, inner_ret: Some(Unit) }, mutable: false }) -> Externref`.
1896
+ const ret = makeClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_83301, __wasm_bindgen_func_elem_83302);
1897
+ return addHeapObject(ret);
1898
+ };
1889
1899
  imports.wbg.__wbindgen_cast_76322aab70622876 = function (arg0, arg1) {
1890
1900
  var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
1891
1901
  wasm.__wbindgen_export4(arg0, arg1 * 4, 4);
@@ -1893,14 +1903,14 @@ function __wbg_get_imports(memory) {
1893
1903
  const ret = v0;
1894
1904
  return addHeapObject(ret);
1895
1905
  };
1896
- imports.wbg.__wbindgen_cast_8df4b0c353715d78 = function (arg0, arg1) {
1897
- // Cast intrinsic for `Closure(Closure { dtor_idx: 8673, function: Function { arguments: [Ref(NamedExternref("MessageEvent"))], shim_idx: 8674, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1898
- const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_152839, __wasm_bindgen_func_elem_152840);
1906
+ imports.wbg.__wbindgen_cast_77028afeba0f6822 = function (arg0, arg1) {
1907
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 1842, function: Function { arguments: [], shim_idx: 1843, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1908
+ const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_22629, __wasm_bindgen_func_elem_22631);
1899
1909
  return addHeapObject(ret);
1900
1910
  };
1901
- imports.wbg.__wbindgen_cast_9997df6dde705618 = function (arg0, arg1) {
1902
- // Cast intrinsic for `Closure(Closure { dtor_idx: 1965, function: Function { arguments: [], shim_idx: 1966, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1903
- const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_29445, __wasm_bindgen_func_elem_29447);
1911
+ imports.wbg.__wbindgen_cast_8403c3c3f1a760d4 = function (arg0, arg1) {
1912
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 7370, function: Function { arguments: [NamedExternref("MessageEvent")], shim_idx: 7388, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1913
+ const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_83301, __wasm_bindgen_func_elem_83500);
1904
1914
  return addHeapObject(ret);
1905
1915
  };
1906
1916
  imports.wbg.__wbindgen_cast_9ae0607507abb057 = function (arg0) {
@@ -1908,16 +1918,6 @@ function __wbg_get_imports(memory) {
1908
1918
  const ret = arg0;
1909
1919
  return addHeapObject(ret);
1910
1920
  };
1911
- imports.wbg.__wbindgen_cast_b9410f9b8278ccec = function (arg0, arg1) {
1912
- // Cast intrinsic for `Closure(Closure { dtor_idx: 8668, function: Function { arguments: [Externref], shim_idx: 8669, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1913
- const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_152784, __wasm_bindgen_func_elem_152785);
1914
- return addHeapObject(ret);
1915
- };
1916
- imports.wbg.__wbindgen_cast_d21c3c0a752e2b7a = function (arg0, arg1) {
1917
- // Cast intrinsic for `Closure(Closure { dtor_idx: 8651, function: Function { arguments: [NamedExternref("Array<any>")], shim_idx: 8652, ret: Unit, inner_ret: Some(Unit) }, mutable: false }) -> Externref`.
1918
- const ret = makeClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_152591, __wasm_bindgen_func_elem_152670);
1919
- return addHeapObject(ret);
1920
- };
1921
1921
  imports.wbg.__wbindgen_cast_d6cd19b81560fd6e = function (arg0) {
1922
1922
  // Cast intrinsic for `F64 -> Externref`.
1923
1923
  const ret = arg0;
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@utoo/web",
3
- "version": "1.2.3",
3
+ "version": "1.2.4",
4
4
  "module": "esm/index.js",
5
5
  "types": "esm/index.d.ts",
6
6
  "files": [