@utoo/web 0.0.1-alpha.35 → 0.0.1-alpha.36

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,6 +255,12 @@ function passArray8ToWasm0(arg, malloc) {
255
255
  export function wasm_thread_entry_point(ptr) {
256
256
  wasm.wasm_thread_entry_point(ptr);
257
257
  }
258
+ function __wbg_adapter_4(arg0, arg1, arg2) {
259
+ wasm.__wbindgen_export_6(arg0, arg1, addHeapObject(arg2));
260
+ }
261
+ function __wbg_adapter_7(arg0, arg1, arg2) {
262
+ wasm.__wbindgen_export_7(arg0, arg1, addHeapObject(arg2));
263
+ }
258
264
  let stack_pointer = 128;
259
265
  function addBorrowedObject(obj) {
260
266
  if (stack_pointer == 1)
@@ -262,22 +268,16 @@ function addBorrowedObject(obj) {
262
268
  heap[--stack_pointer] = obj;
263
269
  return stack_pointer;
264
270
  }
265
- function __wbg_adapter_4(arg0, arg1, arg2) {
271
+ function __wbg_adapter_10(arg0, arg1, arg2) {
266
272
  try {
267
- wasm.__wbindgen_export_6(arg0, arg1, addBorrowedObject(arg2));
273
+ wasm.__wbindgen_export_8(arg0, arg1, addBorrowedObject(arg2));
268
274
  }
269
275
  finally {
270
276
  heap[stack_pointer++] = undefined;
271
277
  }
272
278
  }
273
- function __wbg_adapter_7(arg0, arg1) {
274
- wasm.__wbindgen_export_7(arg0, arg1);
275
- }
276
- function __wbg_adapter_10(arg0, arg1, arg2) {
277
- wasm.__wbindgen_export_8(arg0, arg1, addHeapObject(arg2));
278
- }
279
- function __wbg_adapter_31(arg0, arg1, arg2) {
280
- wasm.__wbindgen_export_9(arg0, arg1, addHeapObject(arg2));
279
+ function __wbg_adapter_13(arg0, arg1) {
280
+ wasm.__wbindgen_export_9(arg0, arg1);
281
281
  }
282
282
  function __wbg_adapter_92(arg0, arg1, arg2, arg3) {
283
283
  wasm.__wbindgen_export_10(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
@@ -1345,7 +1345,7 @@ function __wbg_get_imports() {
1345
1345
  };
1346
1346
  imports.wbg.__wbindgen_cast_00971014be4c41e9 = function (arg0, arg1) {
1347
1347
  // Cast intrinsic for `Closure(Closure { dtor_idx: 9063, function: Function { arguments: [Ref(NamedExternref("MessageEvent"))], shim_idx: 9073, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1348
- const ret = makeMutClosure(arg0, arg1, 9063, __wbg_adapter_4);
1348
+ const ret = makeMutClosure(arg0, arg1, 9063, __wbg_adapter_10);
1349
1349
  return addHeapObject(ret);
1350
1350
  };
1351
1351
  imports.wbg.__wbindgen_cast_2241b6af4c4b2941 = function (arg0, arg1) {
@@ -1360,7 +1360,7 @@ function __wbg_get_imports() {
1360
1360
  };
1361
1361
  imports.wbg.__wbindgen_cast_631793fd2186b3cf = function (arg0, arg1) {
1362
1362
  // Cast intrinsic for `Closure(Closure { dtor_idx: 9063, function: Function { arguments: [NamedExternref("Array<any>")], shim_idx: 9064, ret: Unit, inner_ret: Some(Unit) }, mutable: false }) -> Externref`.
1363
- const ret = makeClosure(arg0, arg1, 9063, __wbg_adapter_31);
1363
+ const ret = makeClosure(arg0, arg1, 9063, __wbg_adapter_7);
1364
1364
  return addHeapObject(ret);
1365
1365
  };
1366
1366
  imports.wbg.__wbindgen_cast_76322aab70622876 = function (arg0, arg1) {
@@ -1384,27 +1384,27 @@ function __wbg_get_imports() {
1384
1384
  };
1385
1385
  imports.wbg.__wbindgen_cast_a1eef3adaaf2ed9c = function (arg0, arg1) {
1386
1386
  // Cast intrinsic for `Closure(Closure { dtor_idx: 8793, function: Function { arguments: [NamedExternref("MessageEvent")], shim_idx: 8794, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1387
- const ret = makeMutClosure(arg0, arg1, 8793, __wbg_adapter_10);
1387
+ const ret = makeMutClosure(arg0, arg1, 8793, __wbg_adapter_4);
1388
1388
  return addHeapObject(ret);
1389
1389
  };
1390
1390
  imports.wbg.__wbindgen_cast_aa86286f6e9d676e = function (arg0, arg1) {
1391
1391
  // Cast intrinsic for `Closure(Closure { dtor_idx: 620, function: Function { arguments: [], shim_idx: 621, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1392
- const ret = makeMutClosure(arg0, arg1, 620, __wbg_adapter_7);
1392
+ const ret = makeMutClosure(arg0, arg1, 620, __wbg_adapter_13);
1393
1393
  return addHeapObject(ret);
1394
1394
  };
1395
1395
  imports.wbg.__wbindgen_cast_b3f2dc423ce0326d = function (arg0, arg1) {
1396
1396
  // Cast intrinsic for `Closure(Closure { dtor_idx: 9075, function: Function { arguments: [], shim_idx: 621, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1397
- const ret = makeMutClosure(arg0, arg1, 9075, __wbg_adapter_7);
1397
+ const ret = makeMutClosure(arg0, arg1, 9075, __wbg_adapter_13);
1398
1398
  return addHeapObject(ret);
1399
1399
  };
1400
1400
  imports.wbg.__wbindgen_cast_b95228bca84fbfaa = function (arg0, arg1) {
1401
1401
  // Cast intrinsic for `Closure(Closure { dtor_idx: 8793, function: Function { arguments: [NamedExternref("ErrorEvent")], shim_idx: 8794, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1402
- const ret = makeMutClosure(arg0, arg1, 8793, __wbg_adapter_10);
1402
+ const ret = makeMutClosure(arg0, arg1, 8793, __wbg_adapter_4);
1403
1403
  return addHeapObject(ret);
1404
1404
  };
1405
1405
  imports.wbg.__wbindgen_cast_cadf9b3f6ab5c9a3 = function (arg0, arg1) {
1406
1406
  // Cast intrinsic for `Closure(Closure { dtor_idx: 8793, function: Function { arguments: [Externref], shim_idx: 8794, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1407
- const ret = makeMutClosure(arg0, arg1, 8793, __wbg_adapter_10);
1407
+ const ret = makeMutClosure(arg0, arg1, 8793, __wbg_adapter_4);
1408
1408
  return addHeapObject(ret);
1409
1409
  };
1410
1410
  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": "0.0.1-alpha.35",
3
+ "version": "0.0.1-alpha.36",
4
4
  "module": "esm/index.js",
5
5
  "types": "esm/index.d.ts",
6
6
  "files": [