@utoo/web 1.2.0-rc.1 → 1.2.0-rc.2

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,9 +297,6 @@ export function registerWorkerScheduler(creator, terminator) {
297
297
  export function wasm_thread_entry_point(ptr) {
298
298
  wasm.wasm_thread_entry_point(ptr);
299
299
  }
300
- function __wbg_adapter_4(arg0, arg1, arg2) {
301
- wasm.__wbindgen_export_6(arg0, arg1, addHeapObject(arg2));
302
- }
303
300
  let stack_pointer = 128;
304
301
  function addBorrowedObject(obj) {
305
302
  if (stack_pointer == 1)
@@ -307,18 +304,21 @@ function addBorrowedObject(obj) {
307
304
  heap[--stack_pointer] = obj;
308
305
  return stack_pointer;
309
306
  }
310
- function __wbg_adapter_11(arg0, arg1, arg2) {
307
+ function __wbg_adapter_6(arg0, arg1, arg2) {
311
308
  try {
312
- wasm.__wbindgen_export_7(arg0, arg1, addBorrowedObject(arg2));
309
+ wasm.__wbindgen_export_6(arg0, arg1, addBorrowedObject(arg2));
313
310
  }
314
311
  finally {
315
312
  heap[stack_pointer++] = undefined;
316
313
  }
317
314
  }
318
- function __wbg_adapter_20(arg0, arg1) {
315
+ function __wbg_adapter_9(arg0, arg1, arg2) {
316
+ wasm.__wbindgen_export_7(arg0, arg1, addHeapObject(arg2));
317
+ }
318
+ function __wbg_adapter_14(arg0, arg1) {
319
319
  wasm.__wbindgen_export_8(arg0, arg1);
320
320
  }
321
- function __wbg_adapter_25(arg0, arg1, arg2) {
321
+ function __wbg_adapter_21(arg0, arg1, arg2) {
322
322
  wasm.__wbindgen_export_9(arg0, arg1, addHeapObject(arg2));
323
323
  }
324
324
  function __wbg_adapter_94(arg0, arg1, arg2, arg3) {
@@ -1714,7 +1714,7 @@ function __wbg_get_imports() {
1714
1714
  };
1715
1715
  imports.wbg.__wbindgen_cast_1113a938f979d88a = function (arg0, arg1) {
1716
1716
  // Cast intrinsic for `Closure(Closure { dtor_idx: 603, function: Function { arguments: [], shim_idx: 604, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1717
- const ret = makeMutClosure(arg0, arg1, 603, __wbg_adapter_20);
1717
+ const ret = makeMutClosure(arg0, arg1, 603, __wbg_adapter_14);
1718
1718
  return addHeapObject(ret);
1719
1719
  };
1720
1720
  imports.wbg.__wbindgen_cast_2241b6af4c4b2941 = function (arg0, arg1) {
@@ -1729,7 +1729,7 @@ function __wbg_get_imports() {
1729
1729
  };
1730
1730
  imports.wbg.__wbindgen_cast_59550fe77af0bf03 = function (arg0, arg1) {
1731
1731
  // Cast intrinsic for `Closure(Closure { dtor_idx: 8609, function: Function { arguments: [Ref(NamedExternref("MessageEvent"))], shim_idx: 8630, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1732
- const ret = makeMutClosure(arg0, arg1, 8609, __wbg_adapter_11);
1732
+ const ret = makeMutClosure(arg0, arg1, 8609, __wbg_adapter_6);
1733
1733
  return addHeapObject(ret);
1734
1734
  };
1735
1735
  imports.wbg.__wbindgen_cast_76322aab70622876 = function (arg0, arg1) {
@@ -1741,7 +1741,7 @@ function __wbg_get_imports() {
1741
1741
  };
1742
1742
  imports.wbg.__wbindgen_cast_77984da3a91be2e9 = function (arg0, arg1) {
1743
1743
  // Cast intrinsic for `Closure(Closure { dtor_idx: 8625, function: Function { arguments: [Externref], shim_idx: 8626, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1744
- const ret = makeMutClosure(arg0, arg1, 8625, __wbg_adapter_4);
1744
+ const ret = makeMutClosure(arg0, arg1, 8625, __wbg_adapter_9);
1745
1745
  return addHeapObject(ret);
1746
1746
  };
1747
1747
  imports.wbg.__wbindgen_cast_77bc3e92745e9a35 = function (arg0, arg1) {
@@ -1753,7 +1753,7 @@ function __wbg_get_imports() {
1753
1753
  };
1754
1754
  imports.wbg.__wbindgen_cast_8ecade4ce8b126db = function (arg0, arg1) {
1755
1755
  // Cast intrinsic for `Closure(Closure { dtor_idx: 8625, function: Function { arguments: [], shim_idx: 604, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1756
- const ret = makeMutClosure(arg0, arg1, 8625, __wbg_adapter_20);
1756
+ const ret = makeMutClosure(arg0, arg1, 8625, __wbg_adapter_14);
1757
1757
  return addHeapObject(ret);
1758
1758
  };
1759
1759
  imports.wbg.__wbindgen_cast_9ae0607507abb057 = function (arg0) {
@@ -1763,12 +1763,12 @@ function __wbg_get_imports() {
1763
1763
  };
1764
1764
  imports.wbg.__wbindgen_cast_bb0fb35a7180d55b = function (arg0, arg1) {
1765
1765
  // Cast intrinsic for `Closure(Closure { dtor_idx: 8625, function: Function { arguments: [NamedExternref("MessageEvent")], shim_idx: 8626, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1766
- const ret = makeMutClosure(arg0, arg1, 8625, __wbg_adapter_4);
1766
+ const ret = makeMutClosure(arg0, arg1, 8625, __wbg_adapter_9);
1767
1767
  return addHeapObject(ret);
1768
1768
  };
1769
1769
  imports.wbg.__wbindgen_cast_cdaa362fcf12456c = function (arg0, arg1) {
1770
1770
  // Cast intrinsic for `Closure(Closure { dtor_idx: 8609, function: Function { arguments: [NamedExternref("Array<any>")], shim_idx: 8610, ret: Unit, inner_ret: Some(Unit) }, mutable: false }) -> Externref`.
1771
- const ret = makeClosure(arg0, arg1, 8609, __wbg_adapter_25);
1771
+ const ret = makeClosure(arg0, arg1, 8609, __wbg_adapter_21);
1772
1772
  return addHeapObject(ret);
1773
1773
  };
1774
1774
  imports.wbg.__wbindgen_cast_d6cd19b81560fd6e = 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.1",
3
+ "version": "1.2.0-rc.2",
4
4
  "module": "esm/index.js",
5
5
  "types": "esm/index.d.ts",
6
6
  "files": [