@utoo/web 1.2.0-rc.11 → 1.2.0-rc.12

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
@@ -297,11 +297,14 @@ function passArray8ToWasm0(arg, malloc) {
297
297
  export function wasm_thread_entry_point(ptr) {
298
298
  wasm.wasm_thread_entry_point(ptr);
299
299
  }
300
- function __wbg_adapter_8(arg0, arg1) {
301
- wasm.__wbindgen_export_6(arg0, arg1);
300
+ function __wbg_adapter_6(arg0, arg1, arg2) {
301
+ wasm.__wbindgen_export_6(arg0, arg1, addHeapObject(arg2));
302
302
  }
303
- function __wbg_adapter_19(arg0, arg1, arg2) {
304
- wasm.__wbindgen_export_7(arg0, arg1, addHeapObject(arg2));
303
+ function __wbg_adapter_11(arg0, arg1) {
304
+ wasm.__wbindgen_export_7(arg0, arg1);
305
+ }
306
+ function __wbg_adapter_24(arg0, arg1, arg2) {
307
+ wasm.__wbindgen_export_8(arg0, arg1, addHeapObject(arg2));
305
308
  }
306
309
  let stack_pointer = 128;
307
310
  function addBorrowedObject(obj) {
@@ -310,17 +313,14 @@ function addBorrowedObject(obj) {
310
313
  heap[--stack_pointer] = obj;
311
314
  return stack_pointer;
312
315
  }
313
- function __wbg_adapter_24(arg0, arg1, arg2) {
316
+ function __wbg_adapter_27(arg0, arg1, arg2) {
314
317
  try {
315
- wasm.__wbindgen_export_8(arg0, arg1, addBorrowedObject(arg2));
318
+ wasm.__wbindgen_export_9(arg0, arg1, addBorrowedObject(arg2));
316
319
  }
317
320
  finally {
318
321
  heap[stack_pointer++] = undefined;
319
322
  }
320
323
  }
321
- function __wbg_adapter_27(arg0, arg1, arg2) {
322
- wasm.__wbindgen_export_9(arg0, arg1, addHeapObject(arg2));
323
- }
324
324
  function __wbg_adapter_94(arg0, arg1, arg2, arg3) {
325
325
  wasm.__wbindgen_export_10(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
326
326
  }
@@ -1736,14 +1736,9 @@ function __wbg_get_imports() {
1736
1736
  return ret;
1737
1737
  }, arguments);
1738
1738
  };
1739
- imports.wbg.__wbindgen_cast_0336f6e3114862a9 = function (arg0, arg1) {
1740
- // Cast intrinsic for `Closure(Closure { dtor_idx: 8677, function: Function { arguments: [], shim_idx: 1993, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1741
- const ret = makeMutClosure(arg0, arg1, 8677, __wbg_adapter_8);
1742
- return addHeapObject(ret);
1743
- };
1744
- imports.wbg.__wbindgen_cast_1fa25394258c7b5c = function (arg0, arg1) {
1745
- // Cast intrinsic for `Closure(Closure { dtor_idx: 1992, function: Function { arguments: [], shim_idx: 1993, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1746
- const ret = makeMutClosure(arg0, arg1, 1992, __wbg_adapter_8);
1739
+ imports.wbg.__wbindgen_cast_1ce8880aad03523b = function (arg0, arg1) {
1740
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 1994, function: Function { arguments: [], shim_idx: 1995, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1741
+ const ret = makeMutClosure(arg0, arg1, 1994, __wbg_adapter_11);
1747
1742
  return addHeapObject(ret);
1748
1743
  };
1749
1744
  imports.wbg.__wbindgen_cast_2241b6af4c4b2941 = function (arg0, arg1) {
@@ -1751,19 +1746,19 @@ function __wbg_get_imports() {
1751
1746
  const ret = getStringFromWasm0(arg0, arg1);
1752
1747
  return addHeapObject(ret);
1753
1748
  };
1754
- imports.wbg.__wbindgen_cast_267b46f6d4f9531c = function (arg0, arg1) {
1755
- // Cast intrinsic for `Closure(Closure { dtor_idx: 8677, function: Function { arguments: [NamedExternref("MessageEvent")], shim_idx: 8678, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1756
- const ret = makeMutClosure(arg0, arg1, 8677, __wbg_adapter_19);
1757
- return addHeapObject(ret);
1758
- };
1759
1749
  imports.wbg.__wbindgen_cast_4625c577ab2ec9ee = function (arg0) {
1760
1750
  // Cast intrinsic for `U64 -> Externref`.
1761
1751
  const ret = BigInt.asUintN(64, arg0);
1762
1752
  return addHeapObject(ret);
1763
1753
  };
1764
- imports.wbg.__wbindgen_cast_71a8823e0cdbb969 = function (arg0, arg1) {
1765
- // Cast intrinsic for `Closure(Closure { dtor_idx: 8677, function: Function { arguments: [Externref], shim_idx: 8678, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1766
- const ret = makeMutClosure(arg0, arg1, 8677, __wbg_adapter_19);
1754
+ imports.wbg.__wbindgen_cast_535e935a655d72df = function (arg0, arg1) {
1755
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 8680, function: Function { arguments: [Externref], shim_idx: 8681, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1756
+ const ret = makeMutClosure(arg0, arg1, 8680, __wbg_adapter_6);
1757
+ return addHeapObject(ret);
1758
+ };
1759
+ imports.wbg.__wbindgen_cast_70947068ae5ba5a2 = function (arg0, arg1) {
1760
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 8685, function: Function { arguments: [Ref(NamedExternref("MessageEvent"))], shim_idx: 8686, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1761
+ const ret = makeMutClosure(arg0, arg1, 8685, __wbg_adapter_27);
1767
1762
  return addHeapObject(ret);
1768
1763
  };
1769
1764
  imports.wbg.__wbindgen_cast_76322aab70622876 = function (arg0, arg1) {
@@ -1773,6 +1768,11 @@ function __wbg_get_imports() {
1773
1768
  const ret = v0;
1774
1769
  return addHeapObject(ret);
1775
1770
  };
1771
+ imports.wbg.__wbindgen_cast_7772c37e4aae5280 = function (arg0, arg1) {
1772
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 8664, function: Function { arguments: [NamedExternref("Array<any>")], shim_idx: 8665, ret: Unit, inner_ret: Some(Unit) }, mutable: false }) -> Externref`.
1773
+ const ret = makeClosure(arg0, arg1, 8664, __wbg_adapter_24);
1774
+ return addHeapObject(ret);
1775
+ };
1776
1776
  imports.wbg.__wbindgen_cast_77bc3e92745e9a35 = function (arg0, arg1) {
1777
1777
  var v0 = getArrayU8FromWasm0(arg0, arg1).slice();
1778
1778
  wasm.__wbindgen_export_4(arg0, arg1 * 1, 1);
@@ -1785,9 +1785,9 @@ function __wbg_get_imports() {
1785
1785
  const ret = arg0;
1786
1786
  return addHeapObject(ret);
1787
1787
  };
1788
- imports.wbg.__wbindgen_cast_b7dc63dcdfc8d728 = function (arg0, arg1) {
1789
- // Cast intrinsic for `Closure(Closure { dtor_idx: 8682, function: Function { arguments: [Ref(NamedExternref("MessageEvent"))], shim_idx: 8683, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1790
- const ret = makeMutClosure(arg0, arg1, 8682, __wbg_adapter_24);
1788
+ imports.wbg.__wbindgen_cast_bd7c9fba3dcd0558 = function (arg0, arg1) {
1789
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 8680, function: Function { arguments: [], shim_idx: 1995, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1790
+ const ret = makeMutClosure(arg0, arg1, 8680, __wbg_adapter_11);
1791
1791
  return addHeapObject(ret);
1792
1792
  };
1793
1793
  imports.wbg.__wbindgen_cast_d6cd19b81560fd6e = function (arg0) {
@@ -1795,9 +1795,9 @@ function __wbg_get_imports() {
1795
1795
  const ret = arg0;
1796
1796
  return addHeapObject(ret);
1797
1797
  };
1798
- imports.wbg.__wbindgen_cast_ffa04fbd359d627f = function (arg0, arg1) {
1799
- // Cast intrinsic for `Closure(Closure { dtor_idx: 8661, function: Function { arguments: [NamedExternref("Array<any>")], shim_idx: 8662, ret: Unit, inner_ret: Some(Unit) }, mutable: false }) -> Externref`.
1800
- const ret = makeClosure(arg0, arg1, 8661, __wbg_adapter_27);
1798
+ imports.wbg.__wbindgen_cast_ded0188a991d8b3c = function (arg0, arg1) {
1799
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 8680, function: Function { arguments: [NamedExternref("MessageEvent")], shim_idx: 8681, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1800
+ const ret = makeMutClosure(arg0, arg1, 8680, __wbg_adapter_6);
1801
1801
  return addHeapObject(ret);
1802
1802
  };
1803
1803
  imports.wbg.__wbindgen_link_dd5153a359f2e504 = function (arg0) {
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@utoo/web",
3
- "version": "1.2.0-rc.11",
3
+ "version": "1.2.0-rc.12",
4
4
  "module": "esm/index.js",
5
5
  "types": "esm/index.d.ts",
6
6
  "files": [