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

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,9 +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_6(arg0, arg1, arg2) {
258
+ function __wbg_adapter_4(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));
263
+ }
261
264
  let stack_pointer = 128;
262
265
  function addBorrowedObject(obj) {
263
266
  if (stack_pointer == 1)
@@ -265,19 +268,16 @@ function addBorrowedObject(obj) {
265
268
  heap[--stack_pointer] = obj;
266
269
  return stack_pointer;
267
270
  }
268
- function __wbg_adapter_11(arg0, arg1, arg2) {
271
+ function __wbg_adapter_18(arg0, arg1, arg2) {
269
272
  try {
270
- wasm.__wbindgen_export_7(arg0, arg1, addBorrowedObject(arg2));
273
+ wasm.__wbindgen_export_8(arg0, arg1, addBorrowedObject(arg2));
271
274
  }
272
275
  finally {
273
276
  heap[stack_pointer++] = undefined;
274
277
  }
275
278
  }
276
- function __wbg_adapter_14(arg0, arg1) {
277
- wasm.__wbindgen_export_8(arg0, arg1);
278
- }
279
- function __wbg_adapter_23(arg0, arg1, arg2) {
280
- wasm.__wbindgen_export_9(arg0, arg1, addHeapObject(arg2));
279
+ function __wbg_adapter_25(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));
@@ -1341,12 +1341,12 @@ function __wbg_get_imports() {
1341
1341
  };
1342
1342
  imports.wbg.__wbindgen_cast_025aed27710c2518 = function (arg0, arg1) {
1343
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_11);
1344
+ const ret = makeMutClosure(arg0, arg1, 9056, __wbg_adapter_18);
1345
1345
  return addHeapObject(ret);
1346
1346
  };
1347
1347
  imports.wbg.__wbindgen_cast_0e8130195cfa0680 = function (arg0, arg1) {
1348
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_14);
1349
+ const ret = makeMutClosure(arg0, arg1, 1993, __wbg_adapter_25);
1350
1350
  return addHeapObject(ret);
1351
1351
  };
1352
1352
  imports.wbg.__wbindgen_cast_2241b6af4c4b2941 = function (arg0, arg1) {
@@ -1361,12 +1361,12 @@ function __wbg_get_imports() {
1361
1361
  };
1362
1362
  imports.wbg.__wbindgen_cast_4abc855908e61529 = function (arg0, arg1) {
1363
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_14);
1364
+ const ret = makeMutClosure(arg0, arg1, 9067, __wbg_adapter_25);
1365
1365
  return addHeapObject(ret);
1366
1366
  };
1367
1367
  imports.wbg.__wbindgen_cast_68a31acf4586c97f = function (arg0, arg1) {
1368
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_6);
1369
+ const ret = makeMutClosure(arg0, arg1, 8789, __wbg_adapter_4);
1370
1370
  return addHeapObject(ret);
1371
1371
  };
1372
1372
  imports.wbg.__wbindgen_cast_76322aab70622876 = function (arg0, arg1) {
@@ -1390,12 +1390,12 @@ function __wbg_get_imports() {
1390
1390
  };
1391
1391
  imports.wbg.__wbindgen_cast_a01a04b45c08d0e8 = function (arg0, arg1) {
1392
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_6);
1393
+ const ret = makeMutClosure(arg0, arg1, 8789, __wbg_adapter_4);
1394
1394
  return addHeapObject(ret);
1395
1395
  };
1396
1396
  imports.wbg.__wbindgen_cast_c0785ac30e0427e1 = function (arg0, arg1) {
1397
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_6);
1398
+ const ret = makeMutClosure(arg0, arg1, 8789, __wbg_adapter_4);
1399
1399
  return addHeapObject(ret);
1400
1400
  };
1401
1401
  imports.wbg.__wbindgen_cast_d6cd19b81560fd6e = function (arg0) {
@@ -1405,7 +1405,7 @@ function __wbg_get_imports() {
1405
1405
  };
1406
1406
  imports.wbg.__wbindgen_cast_ec0f8eccb37f735c = function (arg0, arg1) {
1407
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_23);
1408
+ const ret = makeClosure(arg0, arg1, 9056, __wbg_adapter_7);
1409
1409
  return addHeapObject(ret);
1410
1410
  };
1411
1411
  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": "0.0.1-alpha.30",
3
+ "version": "0.0.1-alpha.31",
4
4
  "module": "esm/index.js",
5
5
  "types": "esm/index.d.ts",
6
6
  "files": [
@@ -24,7 +24,7 @@
24
24
  },
25
25
  "dependencies": {
26
26
  "comlink": "^4.4.2",
27
- "@utoo/pack-shared": "^0.0.5"
27
+ "@utoo/pack-shared": "^0.0.7"
28
28
  },
29
29
  "devDependencies": {
30
30
  "typescript": "^5.8.3"