@utoo/web 0.0.1-alpha.31 → 0.0.1-alpha.33

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,11 +255,14 @@ 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) {
258
+ function __wbg_adapter_6(arg0, arg1, arg2) {
259
259
  wasm.__wbindgen_export_6(arg0, arg1, addHeapObject(arg2));
260
260
  }
261
- function __wbg_adapter_7(arg0, arg1, arg2) {
262
- wasm.__wbindgen_export_7(arg0, arg1, addHeapObject(arg2));
261
+ function __wbg_adapter_9(arg0, arg1) {
262
+ wasm.__wbindgen_export_7(arg0, arg1);
263
+ }
264
+ function __wbg_adapter_12(arg0, arg1, arg2) {
265
+ wasm.__wbindgen_export_8(arg0, arg1, addHeapObject(arg2));
263
266
  }
264
267
  let stack_pointer = 128;
265
268
  function addBorrowedObject(obj) {
@@ -268,17 +271,14 @@ function addBorrowedObject(obj) {
268
271
  heap[--stack_pointer] = obj;
269
272
  return stack_pointer;
270
273
  }
271
- function __wbg_adapter_18(arg0, arg1, arg2) {
274
+ function __wbg_adapter_21(arg0, arg1, arg2) {
272
275
  try {
273
- wasm.__wbindgen_export_8(arg0, arg1, addBorrowedObject(arg2));
276
+ wasm.__wbindgen_export_9(arg0, arg1, addBorrowedObject(arg2));
274
277
  }
275
278
  finally {
276
279
  heap[stack_pointer++] = undefined;
277
280
  }
278
281
  }
279
- function __wbg_adapter_25(arg0, arg1) {
280
- wasm.__wbindgen_export_9(arg0, arg1);
281
- }
282
282
  function __wbg_adapter_92(arg0, arg1, arg2, arg3) {
283
283
  wasm.__wbindgen_export_10(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
284
284
  }
@@ -1339,34 +1339,24 @@ function __wbg_get_imports() {
1339
1339
  return ret;
1340
1340
  }, arguments);
1341
1341
  };
1342
- imports.wbg.__wbindgen_cast_025aed27710c2518 = function (arg0, arg1) {
1343
- // Cast intrinsic for `Closure(Closure { dtor_idx: 9056, function: Function { arguments: [Ref(NamedExternref("MessageEvent"))], shim_idx: 9065, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1344
- const ret = makeMutClosure(arg0, arg1, 9056, __wbg_adapter_18);
1345
- return addHeapObject(ret);
1346
- };
1347
- imports.wbg.__wbindgen_cast_0e8130195cfa0680 = function (arg0, arg1) {
1348
- // Cast intrinsic for `Closure(Closure { dtor_idx: 1993, function: Function { arguments: [], shim_idx: 1994, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1349
- const ret = makeMutClosure(arg0, arg1, 1993, __wbg_adapter_25);
1350
- return addHeapObject(ret);
1351
- };
1352
1342
  imports.wbg.__wbindgen_cast_2241b6af4c4b2941 = function (arg0, arg1) {
1353
1343
  // Cast intrinsic for `Ref(String) -> Externref`.
1354
1344
  const ret = getStringFromWasm0(arg0, arg1);
1355
1345
  return addHeapObject(ret);
1356
1346
  };
1347
+ imports.wbg.__wbindgen_cast_22634e72d9e94906 = function (arg0, arg1) {
1348
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 8797, function: Function { arguments: [Externref], shim_idx: 8798, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1349
+ const ret = makeMutClosure(arg0, arg1, 8797, __wbg_adapter_6);
1350
+ return addHeapObject(ret);
1351
+ };
1357
1352
  imports.wbg.__wbindgen_cast_4625c577ab2ec9ee = function (arg0) {
1358
1353
  // Cast intrinsic for `U64 -> Externref`.
1359
1354
  const ret = BigInt.asUintN(64, arg0);
1360
1355
  return addHeapObject(ret);
1361
1356
  };
1362
- imports.wbg.__wbindgen_cast_4abc855908e61529 = function (arg0, arg1) {
1363
- // Cast intrinsic for `Closure(Closure { dtor_idx: 9067, function: Function { arguments: [], shim_idx: 1994, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1364
- const ret = makeMutClosure(arg0, arg1, 9067, __wbg_adapter_25);
1365
- return addHeapObject(ret);
1366
- };
1367
- imports.wbg.__wbindgen_cast_68a31acf4586c97f = function (arg0, arg1) {
1368
- // Cast intrinsic for `Closure(Closure { dtor_idx: 8789, function: Function { arguments: [NamedExternref("MessageEvent")], shim_idx: 8790, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1369
- const ret = makeMutClosure(arg0, arg1, 8789, __wbg_adapter_4);
1357
+ imports.wbg.__wbindgen_cast_5090d20c844113fc = function (arg0, arg1) {
1358
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 2003, function: Function { arguments: [], shim_idx: 2004, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1359
+ const ret = makeMutClosure(arg0, arg1, 2003, __wbg_adapter_9);
1370
1360
  return addHeapObject(ret);
1371
1361
  };
1372
1362
  imports.wbg.__wbindgen_cast_76322aab70622876 = function (arg0, arg1) {
@@ -1383,19 +1373,24 @@ function __wbg_get_imports() {
1383
1373
  const ret = v0;
1384
1374
  return addHeapObject(ret);
1385
1375
  };
1376
+ imports.wbg.__wbindgen_cast_7857d5ee802644d0 = function (arg0, arg1) {
1377
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 8797, function: Function { arguments: [NamedExternref("ErrorEvent")], shim_idx: 8798, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1378
+ const ret = makeMutClosure(arg0, arg1, 8797, __wbg_adapter_6);
1379
+ return addHeapObject(ret);
1380
+ };
1381
+ imports.wbg.__wbindgen_cast_7ebc495b33ce3ee1 = function (arg0, arg1) {
1382
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 9064, function: Function { arguments: [Ref(NamedExternref("MessageEvent"))], shim_idx: 9073, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1383
+ const ret = makeMutClosure(arg0, arg1, 9064, __wbg_adapter_21);
1384
+ return addHeapObject(ret);
1385
+ };
1386
1386
  imports.wbg.__wbindgen_cast_9ae0607507abb057 = function (arg0) {
1387
1387
  // Cast intrinsic for `I64 -> Externref`.
1388
1388
  const ret = arg0;
1389
1389
  return addHeapObject(ret);
1390
1390
  };
1391
- imports.wbg.__wbindgen_cast_a01a04b45c08d0e8 = function (arg0, arg1) {
1392
- // Cast intrinsic for `Closure(Closure { dtor_idx: 8789, function: Function { arguments: [NamedExternref("ErrorEvent")], shim_idx: 8790, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1393
- const ret = makeMutClosure(arg0, arg1, 8789, __wbg_adapter_4);
1394
- return addHeapObject(ret);
1395
- };
1396
- imports.wbg.__wbindgen_cast_c0785ac30e0427e1 = function (arg0, arg1) {
1397
- // Cast intrinsic for `Closure(Closure { dtor_idx: 8789, function: Function { arguments: [Externref], shim_idx: 8790, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1398
- const ret = makeMutClosure(arg0, arg1, 8789, __wbg_adapter_4);
1391
+ imports.wbg.__wbindgen_cast_c296709d368b1df6 = function (arg0, arg1) {
1392
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 9064, function: Function { arguments: [NamedExternref("Array<any>")], shim_idx: 9065, ret: Unit, inner_ret: Some(Unit) }, mutable: false }) -> Externref`.
1393
+ const ret = makeClosure(arg0, arg1, 9064, __wbg_adapter_12);
1399
1394
  return addHeapObject(ret);
1400
1395
  };
1401
1396
  imports.wbg.__wbindgen_cast_d6cd19b81560fd6e = function (arg0) {
@@ -1403,9 +1398,14 @@ function __wbg_get_imports() {
1403
1398
  const ret = arg0;
1404
1399
  return addHeapObject(ret);
1405
1400
  };
1406
- imports.wbg.__wbindgen_cast_ec0f8eccb37f735c = function (arg0, arg1) {
1407
- // Cast intrinsic for `Closure(Closure { dtor_idx: 9056, function: Function { arguments: [NamedExternref("Array<any>")], shim_idx: 9057, ret: Unit, inner_ret: Some(Unit) }, mutable: false }) -> Externref`.
1408
- const ret = makeClosure(arg0, arg1, 9056, __wbg_adapter_7);
1401
+ imports.wbg.__wbindgen_cast_dc96ff37f6337a38 = function (arg0, arg1) {
1402
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 8797, function: Function { arguments: [NamedExternref("MessageEvent")], shim_idx: 8798, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1403
+ const ret = makeMutClosure(arg0, arg1, 8797, __wbg_adapter_6);
1404
+ return addHeapObject(ret);
1405
+ };
1406
+ imports.wbg.__wbindgen_cast_ecd79dd24ae311c7 = function (arg0, arg1) {
1407
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 9075, function: Function { arguments: [], shim_idx: 2004, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1408
+ const ret = makeMutClosure(arg0, arg1, 9075, __wbg_adapter_9);
1409
1409
  return addHeapObject(ret);
1410
1410
  };
1411
1411
  imports.wbg.__wbindgen_link_dd5153a359f2e504 = function (arg0) {
@@ -1432,7 +1432,7 @@ function __wbg_get_imports() {
1432
1432
  return imports;
1433
1433
  }
1434
1434
  function __wbg_init_memory(imports, memory) {
1435
- imports.wbg.memory = memory || new WebAssembly.Memory({ initial: 116, maximum: 16384, shared: true });
1435
+ imports.wbg.memory = memory || new WebAssembly.Memory({ initial: 127, maximum: 16384, shared: true });
1436
1436
  }
1437
1437
  function __wbg_finalize_init(instance, module, thread_stack_size) {
1438
1438
  wasm = instance.exports;
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@utoo/web",
3
- "version": "0.0.1-alpha.31",
3
+ "version": "0.0.1-alpha.33",
4
4
  "module": "esm/index.js",
5
5
  "types": "esm/index.d.ts",
6
6
  "files": [