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

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,14 +255,11 @@ 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_6(arg0, arg1, arg2) {
258
+ function __wbg_adapter_12(arg0, arg1, arg2) {
259
259
  wasm.__wbindgen_export_6(arg0, arg1, addHeapObject(arg2));
260
260
  }
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));
261
+ function __wbg_adapter_15(arg0, arg1, arg2) {
262
+ wasm.__wbindgen_export_7(arg0, arg1, addHeapObject(arg2));
266
263
  }
267
264
  let stack_pointer = 128;
268
265
  function addBorrowedObject(obj) {
@@ -271,14 +268,17 @@ function addBorrowedObject(obj) {
271
268
  heap[--stack_pointer] = obj;
272
269
  return stack_pointer;
273
270
  }
274
- function __wbg_adapter_21(arg0, arg1, arg2) {
271
+ function __wbg_adapter_18(arg0, arg1, arg2) {
275
272
  try {
276
- wasm.__wbindgen_export_9(arg0, arg1, addBorrowedObject(arg2));
273
+ wasm.__wbindgen_export_8(arg0, arg1, addBorrowedObject(arg2));
277
274
  }
278
275
  finally {
279
276
  heap[stack_pointer++] = undefined;
280
277
  }
281
278
  }
279
+ function __wbg_adapter_21(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
  }
@@ -1346,7 +1346,7 @@ function __wbg_get_imports() {
1346
1346
  };
1347
1347
  imports.wbg.__wbindgen_cast_22634e72d9e94906 = function (arg0, arg1) {
1348
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);
1349
+ const ret = makeMutClosure(arg0, arg1, 8797, __wbg_adapter_15);
1350
1350
  return addHeapObject(ret);
1351
1351
  };
1352
1352
  imports.wbg.__wbindgen_cast_4625c577ab2ec9ee = function (arg0) {
@@ -1356,7 +1356,7 @@ function __wbg_get_imports() {
1356
1356
  };
1357
1357
  imports.wbg.__wbindgen_cast_5090d20c844113fc = function (arg0, arg1) {
1358
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);
1359
+ const ret = makeMutClosure(arg0, arg1, 2003, __wbg_adapter_21);
1360
1360
  return addHeapObject(ret);
1361
1361
  };
1362
1362
  imports.wbg.__wbindgen_cast_76322aab70622876 = function (arg0, arg1) {
@@ -1375,12 +1375,12 @@ function __wbg_get_imports() {
1375
1375
  };
1376
1376
  imports.wbg.__wbindgen_cast_7857d5ee802644d0 = function (arg0, arg1) {
1377
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);
1378
+ const ret = makeMutClosure(arg0, arg1, 8797, __wbg_adapter_15);
1379
1379
  return addHeapObject(ret);
1380
1380
  };
1381
1381
  imports.wbg.__wbindgen_cast_7ebc495b33ce3ee1 = function (arg0, arg1) {
1382
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);
1383
+ const ret = makeMutClosure(arg0, arg1, 9064, __wbg_adapter_18);
1384
1384
  return addHeapObject(ret);
1385
1385
  };
1386
1386
  imports.wbg.__wbindgen_cast_9ae0607507abb057 = function (arg0) {
@@ -1400,12 +1400,12 @@ function __wbg_get_imports() {
1400
1400
  };
1401
1401
  imports.wbg.__wbindgen_cast_dc96ff37f6337a38 = function (arg0, arg1) {
1402
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);
1403
+ const ret = makeMutClosure(arg0, arg1, 8797, __wbg_adapter_15);
1404
1404
  return addHeapObject(ret);
1405
1405
  };
1406
1406
  imports.wbg.__wbindgen_cast_ecd79dd24ae311c7 = function (arg0, arg1) {
1407
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);
1408
+ const ret = makeMutClosure(arg0, arg1, 9075, __wbg_adapter_21);
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: 127, maximum: 16384, shared: true });
1435
+ imports.wbg.memory = memory || new WebAssembly.Memory({ initial: 128, 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.33",
3
+ "version": "0.0.1-alpha.34",
4
4
  "module": "esm/index.js",
5
5
  "types": "esm/index.d.ts",
6
6
  "files": [