@utoo/web 0.0.1-alpha.30 → 0.0.1-alpha.32
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 +36 -36
- package/esm/utoo/index_bg.wasm +0 -0
- package/package.json +2 -2
package/esm/utoo/index.js
CHANGED
|
@@ -255,8 +255,8 @@ 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
|
|
259
|
-
wasm.__wbindgen_export_6(arg0, arg1
|
|
258
|
+
function __wbg_adapter_4(arg0, arg1) {
|
|
259
|
+
wasm.__wbindgen_export_6(arg0, arg1);
|
|
260
260
|
}
|
|
261
261
|
let stack_pointer = 128;
|
|
262
262
|
function addBorrowedObject(obj) {
|
|
@@ -265,7 +265,7 @@ function addBorrowedObject(obj) {
|
|
|
265
265
|
heap[--stack_pointer] = obj;
|
|
266
266
|
return stack_pointer;
|
|
267
267
|
}
|
|
268
|
-
function
|
|
268
|
+
function __wbg_adapter_9(arg0, arg1, arg2) {
|
|
269
269
|
try {
|
|
270
270
|
wasm.__wbindgen_export_7(arg0, arg1, addBorrowedObject(arg2));
|
|
271
271
|
}
|
|
@@ -273,10 +273,10 @@ function __wbg_adapter_11(arg0, arg1, arg2) {
|
|
|
273
273
|
heap[stack_pointer++] = undefined;
|
|
274
274
|
}
|
|
275
275
|
}
|
|
276
|
-
function
|
|
277
|
-
wasm.__wbindgen_export_8(arg0, arg1);
|
|
276
|
+
function __wbg_adapter_18(arg0, arg1, arg2) {
|
|
277
|
+
wasm.__wbindgen_export_8(arg0, arg1, addHeapObject(arg2));
|
|
278
278
|
}
|
|
279
|
-
function
|
|
279
|
+
function __wbg_adapter_27(arg0, arg1, arg2) {
|
|
280
280
|
wasm.__wbindgen_export_9(arg0, arg1, addHeapObject(arg2));
|
|
281
281
|
}
|
|
282
282
|
function __wbg_adapter_92(arg0, arg1, arg2, arg3) {
|
|
@@ -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_11);
|
|
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_14);
|
|
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_18);
|
|
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.
|
|
1363
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
1364
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
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_6);
|
|
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_4);
|
|
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_18);
|
|
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_9);
|
|
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.
|
|
1392
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
1393
|
-
const ret =
|
|
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_6);
|
|
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_27);
|
|
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.
|
|
1407
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
1408
|
-
const ret =
|
|
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_18);
|
|
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_4);
|
|
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:
|
|
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;
|
package/esm/utoo/index_bg.wasm
CHANGED
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@utoo/web",
|
|
3
|
-
"version": "0.0.1-alpha.
|
|
3
|
+
"version": "0.0.1-alpha.32",
|
|
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.
|
|
27
|
+
"@utoo/pack-shared": "^0.0.7"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"typescript": "^5.8.3"
|