@utoo/web 0.0.1-alpha.38 → 0.0.1-alpha.40
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/serviceWorker.js +1 -4
- package/esm/utoo/index.js +37 -37
- package/esm/utoo/index_bg.wasm +0 -0
- package/package.json +1 -1
package/esm/serviceWorker.js
CHANGED
|
@@ -22,10 +22,7 @@ self.addEventListener("fetch", async (event) => {
|
|
|
22
22
|
event.respondWith(readFileFromProject(projectPath));
|
|
23
23
|
}
|
|
24
24
|
else {
|
|
25
|
-
|
|
26
|
-
mode: "cors",
|
|
27
|
-
credentials: "same-origin",
|
|
28
|
-
})));
|
|
25
|
+
return;
|
|
29
26
|
}
|
|
30
27
|
});
|
|
31
28
|
async function readFileFromProject(projectPath) {
|
package/esm/utoo/index.js
CHANGED
|
@@ -255,8 +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
|
|
259
|
-
wasm.__wbindgen_export_6(arg0, arg1
|
|
258
|
+
function __wbg_adapter_4(arg0, arg1) {
|
|
259
|
+
wasm.__wbindgen_export_6(arg0, arg1);
|
|
260
|
+
}
|
|
261
|
+
function __wbg_adapter_9(arg0, arg1, arg2) {
|
|
262
|
+
wasm.__wbindgen_export_7(arg0, arg1, addHeapObject(arg2));
|
|
263
|
+
}
|
|
264
|
+
function __wbg_adapter_12(arg0, arg1, arg2) {
|
|
265
|
+
wasm.__wbindgen_export_8(arg0, arg1, addHeapObject(arg2));
|
|
260
266
|
}
|
|
261
267
|
let stack_pointer = 128;
|
|
262
268
|
function addBorrowedObject(obj) {
|
|
@@ -265,20 +271,14 @@ function addBorrowedObject(obj) {
|
|
|
265
271
|
heap[--stack_pointer] = obj;
|
|
266
272
|
return stack_pointer;
|
|
267
273
|
}
|
|
268
|
-
function
|
|
274
|
+
function __wbg_adapter_23(arg0, arg1, arg2) {
|
|
269
275
|
try {
|
|
270
|
-
wasm.
|
|
276
|
+
wasm.__wbindgen_export_9(arg0, arg1, addBorrowedObject(arg2));
|
|
271
277
|
}
|
|
272
278
|
finally {
|
|
273
279
|
heap[stack_pointer++] = undefined;
|
|
274
280
|
}
|
|
275
281
|
}
|
|
276
|
-
function __wbg_adapter_18(arg0, arg1, arg2) {
|
|
277
|
-
wasm.__wbindgen_export_8(arg0, arg1, addHeapObject(arg2));
|
|
278
|
-
}
|
|
279
|
-
function __wbg_adapter_23(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
|
}
|
|
@@ -1349,9 +1349,19 @@ function __wbg_get_imports() {
|
|
|
1349
1349
|
return ret;
|
|
1350
1350
|
}, arguments);
|
|
1351
1351
|
};
|
|
1352
|
+
imports.wbg.__wbindgen_cast_089f9f7ff7a05c34 = function (arg0, arg1) {
|
|
1353
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 8792, function: Function { arguments: [Externref], shim_idx: 8793, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1354
|
+
const ret = makeMutClosure(arg0, arg1, 8792, __wbg_adapter_12);
|
|
1355
|
+
return addHeapObject(ret);
|
|
1356
|
+
};
|
|
1352
1357
|
imports.wbg.__wbindgen_cast_0fa6bc778e36759b = function (arg0, arg1) {
|
|
1353
1358
|
// Cast intrinsic for `Closure(Closure { dtor_idx: 610, function: Function { arguments: [], shim_idx: 611, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1354
|
-
const ret = makeMutClosure(arg0, arg1, 610,
|
|
1359
|
+
const ret = makeMutClosure(arg0, arg1, 610, __wbg_adapter_4);
|
|
1360
|
+
return addHeapObject(ret);
|
|
1361
|
+
};
|
|
1362
|
+
imports.wbg.__wbindgen_cast_21aa834240a50280 = function (arg0, arg1) {
|
|
1363
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 8792, function: Function { arguments: [NamedExternref("MessageEvent")], shim_idx: 8793, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1364
|
+
const ret = makeMutClosure(arg0, arg1, 8792, __wbg_adapter_12);
|
|
1355
1365
|
return addHeapObject(ret);
|
|
1356
1366
|
};
|
|
1357
1367
|
imports.wbg.__wbindgen_cast_2241b6af4c4b2941 = function (arg0, arg1) {
|
|
@@ -1364,11 +1374,6 @@ function __wbg_get_imports() {
|
|
|
1364
1374
|
const ret = BigInt.asUintN(64, arg0);
|
|
1365
1375
|
return addHeapObject(ret);
|
|
1366
1376
|
};
|
|
1367
|
-
imports.wbg.__wbindgen_cast_53cee94be1b4fb3e = function (arg0, arg1) {
|
|
1368
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx: 8798, function: Function { arguments: [NamedExternref("ErrorEvent")], shim_idx: 8799, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1369
|
-
const ret = makeMutClosure(arg0, arg1, 8798, __wbg_adapter_6);
|
|
1370
|
-
return addHeapObject(ret);
|
|
1371
|
-
};
|
|
1372
1377
|
imports.wbg.__wbindgen_cast_76322aab70622876 = function (arg0, arg1) {
|
|
1373
1378
|
var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
|
|
1374
1379
|
wasm.__wbindgen_export_4(arg0, arg1 * 4, 4);
|
|
@@ -1383,29 +1388,19 @@ function __wbg_get_imports() {
|
|
|
1383
1388
|
const ret = v0;
|
|
1384
1389
|
return addHeapObject(ret);
|
|
1385
1390
|
};
|
|
1386
|
-
imports.wbg.__wbindgen_cast_77d64c9ca30913b0 = function (arg0, arg1) {
|
|
1387
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx: 9076, function: Function { arguments: [], shim_idx: 611, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1388
|
-
const ret = makeMutClosure(arg0, arg1, 9076, __wbg_adapter_23);
|
|
1389
|
-
return addHeapObject(ret);
|
|
1390
|
-
};
|
|
1391
|
-
imports.wbg.__wbindgen_cast_825af389dca3f1f2 = function (arg0, arg1) {
|
|
1392
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx: 9065, function: Function { arguments: [Ref(NamedExternref("MessageEvent"))], shim_idx: 9074, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1393
|
-
const ret = makeMutClosure(arg0, arg1, 9065, __wbg_adapter_9);
|
|
1394
|
-
return addHeapObject(ret);
|
|
1395
|
-
};
|
|
1396
|
-
imports.wbg.__wbindgen_cast_94f0e9bba4cd221c = function (arg0, arg1) {
|
|
1397
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx: 8798, function: Function { arguments: [Externref], shim_idx: 8799, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1398
|
-
const ret = makeMutClosure(arg0, arg1, 8798, __wbg_adapter_6);
|
|
1399
|
-
return addHeapObject(ret);
|
|
1400
|
-
};
|
|
1401
1391
|
imports.wbg.__wbindgen_cast_9ae0607507abb057 = function (arg0) {
|
|
1402
1392
|
// Cast intrinsic for `I64 -> Externref`.
|
|
1403
1393
|
const ret = arg0;
|
|
1404
1394
|
return addHeapObject(ret);
|
|
1405
1395
|
};
|
|
1406
|
-
imports.wbg.
|
|
1407
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
1408
|
-
const ret =
|
|
1396
|
+
imports.wbg.__wbindgen_cast_ac061a975f6fe616 = function (arg0, arg1) {
|
|
1397
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 9059, function: Function { arguments: [Ref(NamedExternref("MessageEvent"))], shim_idx: 9068, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1398
|
+
const ret = makeMutClosure(arg0, arg1, 9059, __wbg_adapter_23);
|
|
1399
|
+
return addHeapObject(ret);
|
|
1400
|
+
};
|
|
1401
|
+
imports.wbg.__wbindgen_cast_d2a79abcd9dd4a4f = function (arg0, arg1) {
|
|
1402
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 9059, function: Function { arguments: [NamedExternref("Array<any>")], shim_idx: 9060, ret: Unit, inner_ret: Some(Unit) }, mutable: false }) -> Externref`.
|
|
1403
|
+
const ret = makeClosure(arg0, arg1, 9059, __wbg_adapter_9);
|
|
1409
1404
|
return addHeapObject(ret);
|
|
1410
1405
|
};
|
|
1411
1406
|
imports.wbg.__wbindgen_cast_d6cd19b81560fd6e = function (arg0) {
|
|
@@ -1413,9 +1408,14 @@ function __wbg_get_imports() {
|
|
|
1413
1408
|
const ret = arg0;
|
|
1414
1409
|
return addHeapObject(ret);
|
|
1415
1410
|
};
|
|
1416
|
-
imports.wbg.
|
|
1417
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
1418
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1411
|
+
imports.wbg.__wbindgen_cast_e08369719eaa749a = function (arg0, arg1) {
|
|
1412
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 8792, function: Function { arguments: [NamedExternref("ErrorEvent")], shim_idx: 8793, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1413
|
+
const ret = makeMutClosure(arg0, arg1, 8792, __wbg_adapter_12);
|
|
1414
|
+
return addHeapObject(ret);
|
|
1415
|
+
};
|
|
1416
|
+
imports.wbg.__wbindgen_cast_e241456a1a2ffbf2 = function (arg0, arg1) {
|
|
1417
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 9070, function: Function { arguments: [], shim_idx: 611, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1418
|
+
const ret = makeMutClosure(arg0, arg1, 9070, __wbg_adapter_4);
|
|
1419
1419
|
return addHeapObject(ret);
|
|
1420
1420
|
};
|
|
1421
1421
|
imports.wbg.__wbindgen_link_dd5153a359f2e504 = function (arg0) {
|
package/esm/utoo/index_bg.wasm
CHANGED
|
Binary file
|