@utoo/web 1.2.3 → 1.2.5-rc.1
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/loaderWorker.js +1 -1
- package/esm/utoo/index.d.ts +1 -0
- package/esm/utoo/index.js +52 -39
- package/esm/utoo/index_bg.wasm +0 -0
- package/package.json +1 -1
package/esm/utoo/index.d.ts
CHANGED
|
@@ -201,6 +201,7 @@ export class Project {
|
|
|
201
201
|
*/
|
|
202
202
|
static write(path: string, content: Uint8Array): Promise<void>;
|
|
203
203
|
/**
|
|
204
|
+
* Install dependencies - downloads tgz files only, extracts on-demand when files are read
|
|
204
205
|
* @param {string} package_lock
|
|
205
206
|
* @param {number | null} [max_concurrent_downloads]
|
|
206
207
|
* @returns {Promise<void>}
|
package/esm/utoo/index.js
CHANGED
|
@@ -255,25 +255,25 @@ if (cachedTextEncoder) {
|
|
|
255
255
|
};
|
|
256
256
|
}
|
|
257
257
|
let WASM_VECTOR_LEN = 0;
|
|
258
|
-
function
|
|
258
|
+
function __wasm_bindgen_func_elem_22492(arg0, arg1) {
|
|
259
|
+
wasm.__wasm_bindgen_func_elem_22492(arg0, arg1);
|
|
260
|
+
}
|
|
261
|
+
function __wasm_bindgen_func_elem_83515(arg0, arg1, arg2) {
|
|
259
262
|
try {
|
|
260
|
-
wasm.
|
|
263
|
+
wasm.__wasm_bindgen_func_elem_83515(arg0, arg1, addBorrowedObject(arg2));
|
|
261
264
|
}
|
|
262
265
|
finally {
|
|
263
266
|
heap[stack_pointer++] = undefined;
|
|
264
267
|
}
|
|
265
268
|
}
|
|
266
|
-
function
|
|
267
|
-
wasm.
|
|
268
|
-
}
|
|
269
|
-
function __wasm_bindgen_func_elem_152670(arg0, arg1, arg2) {
|
|
270
|
-
wasm.__wasm_bindgen_func_elem_152670(arg0, arg1, addHeapObject(arg2));
|
|
269
|
+
function __wasm_bindgen_func_elem_83460(arg0, arg1, arg2) {
|
|
270
|
+
wasm.__wasm_bindgen_func_elem_83460(arg0, arg1, addHeapObject(arg2));
|
|
271
271
|
}
|
|
272
|
-
function
|
|
273
|
-
wasm.
|
|
272
|
+
function __wasm_bindgen_func_elem_83306(arg0, arg1, arg2) {
|
|
273
|
+
wasm.__wasm_bindgen_func_elem_83306(arg0, arg1, addHeapObject(arg2));
|
|
274
274
|
}
|
|
275
|
-
function
|
|
276
|
-
wasm.
|
|
275
|
+
function __wasm_bindgen_func_elem_3407(arg0, arg1, arg2, arg3) {
|
|
276
|
+
wasm.__wasm_bindgen_func_elem_3407(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
|
|
277
277
|
}
|
|
278
278
|
const __wbindgen_enum_DirEntryType = ["file", "directory"];
|
|
279
279
|
const __wbindgen_enum_FileSystemChangeRecordType = ["appeared", "disappeared", "errored", "modified", "moved", "unknown"];
|
|
@@ -780,6 +780,7 @@ export class Project {
|
|
|
780
780
|
return takeObject(ret);
|
|
781
781
|
}
|
|
782
782
|
/**
|
|
783
|
+
* Install dependencies - downloads tgz files only, extracts on-demand when files are read
|
|
783
784
|
* @param {string} package_lock
|
|
784
785
|
* @param {number | null} [max_concurrent_downloads]
|
|
785
786
|
* @returns {Promise<void>}
|
|
@@ -1537,7 +1538,7 @@ function __wbg_get_imports(memory) {
|
|
|
1537
1538
|
const a = state0.a;
|
|
1538
1539
|
state0.a = 0;
|
|
1539
1540
|
try {
|
|
1540
|
-
return
|
|
1541
|
+
return __wasm_bindgen_func_elem_3407(a, state0.b, arg0, arg1);
|
|
1541
1542
|
}
|
|
1542
1543
|
finally {
|
|
1543
1544
|
state0.a = a;
|
|
@@ -1600,6 +1601,10 @@ function __wbg_get_imports(memory) {
|
|
|
1600
1601
|
const ret = getObject(arg0).now();
|
|
1601
1602
|
return ret;
|
|
1602
1603
|
};
|
|
1604
|
+
imports.wbg.__wbg_now_2c95c9de01293173 = function (arg0) {
|
|
1605
|
+
const ret = getObject(arg0).now();
|
|
1606
|
+
return ret;
|
|
1607
|
+
};
|
|
1603
1608
|
imports.wbg.__wbg_now_69d776cd24f5215b = function () {
|
|
1604
1609
|
const ret = Date.now();
|
|
1605
1610
|
return ret;
|
|
@@ -1616,6 +1621,10 @@ function __wbg_get_imports(memory) {
|
|
|
1616
1621
|
const ret = getObject(arg0).performance;
|
|
1617
1622
|
return addHeapObject(ret);
|
|
1618
1623
|
};
|
|
1624
|
+
imports.wbg.__wbg_performance_7a3ffd0b17f663ad = function (arg0) {
|
|
1625
|
+
const ret = getObject(arg0).performance;
|
|
1626
|
+
return addHeapObject(ret);
|
|
1627
|
+
};
|
|
1619
1628
|
imports.wbg.__wbg_postMessage_07504dbe15265d5c = function () {
|
|
1620
1629
|
return handleError(function (arg0, arg1) {
|
|
1621
1630
|
getObject(arg0).postMessage(getObject(arg1));
|
|
@@ -1800,6 +1809,10 @@ function __wbg_get_imports(memory) {
|
|
|
1800
1809
|
const ret = getObject(arg0).then(getObject(arg1));
|
|
1801
1810
|
return addHeapObject(ret);
|
|
1802
1811
|
};
|
|
1812
|
+
imports.wbg.__wbg_timeOrigin_9f29a08704a944d0 = function (arg0) {
|
|
1813
|
+
const ret = getObject(arg0).timeOrigin;
|
|
1814
|
+
return ret;
|
|
1815
|
+
};
|
|
1803
1816
|
imports.wbg.__wbg_toString_f07112df359c997f = function (arg0) {
|
|
1804
1817
|
const ret = getObject(arg0).toString();
|
|
1805
1818
|
return addHeapObject(ret);
|
|
@@ -1871,14 +1884,9 @@ function __wbg_get_imports(memory) {
|
|
|
1871
1884
|
const ret = getStringFromWasm0(arg0, arg1);
|
|
1872
1885
|
return addHeapObject(ret);
|
|
1873
1886
|
};
|
|
1874
|
-
imports.wbg.
|
|
1875
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
1876
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
1877
|
-
return addHeapObject(ret);
|
|
1878
|
-
};
|
|
1879
|
-
imports.wbg.__wbindgen_cast_45cac5d4264cc30c = function (arg0, arg1) {
|
|
1880
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx: 8676, function: Function { arguments: [], shim_idx: 1966, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1881
|
-
const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_152847, __wasm_bindgen_func_elem_29447);
|
|
1887
|
+
imports.wbg.__wbindgen_cast_24151994ab599825 = function (arg0, arg1) {
|
|
1888
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 7400, function: Function { arguments: [], shim_idx: 1844, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1889
|
+
const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_83522, __wasm_bindgen_func_elem_22492);
|
|
1882
1890
|
return addHeapObject(ret);
|
|
1883
1891
|
};
|
|
1884
1892
|
imports.wbg.__wbindgen_cast_4625c577ab2ec9ee = function (arg0) {
|
|
@@ -1886,6 +1894,16 @@ function __wbg_get_imports(memory) {
|
|
|
1886
1894
|
const ret = BigInt.asUintN(64, arg0);
|
|
1887
1895
|
return addHeapObject(ret);
|
|
1888
1896
|
};
|
|
1897
|
+
imports.wbg.__wbindgen_cast_4a2df782abbae365 = function (arg0, arg1) {
|
|
1898
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 7367, function: Function { arguments: [Externref], shim_idx: 7393, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1899
|
+
const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_83305, __wasm_bindgen_func_elem_83460);
|
|
1900
|
+
return addHeapObject(ret);
|
|
1901
|
+
};
|
|
1902
|
+
imports.wbg.__wbindgen_cast_6141575974feb411 = function (arg0, arg1) {
|
|
1903
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 7367, function: Function { arguments: [NamedExternref("MessageEvent")], shim_idx: 7393, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1904
|
+
const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_83305, __wasm_bindgen_func_elem_83460);
|
|
1905
|
+
return addHeapObject(ret);
|
|
1906
|
+
};
|
|
1889
1907
|
imports.wbg.__wbindgen_cast_76322aab70622876 = function (arg0, arg1) {
|
|
1890
1908
|
var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
|
|
1891
1909
|
wasm.__wbindgen_export4(arg0, arg1 * 4, 4);
|
|
@@ -1893,34 +1911,29 @@ function __wbg_get_imports(memory) {
|
|
|
1893
1911
|
const ret = v0;
|
|
1894
1912
|
return addHeapObject(ret);
|
|
1895
1913
|
};
|
|
1896
|
-
imports.wbg.__wbindgen_cast_8df4b0c353715d78 = function (arg0, arg1) {
|
|
1897
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx: 8673, function: Function { arguments: [Ref(NamedExternref("MessageEvent"))], shim_idx: 8674, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1898
|
-
const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_152839, __wasm_bindgen_func_elem_152840);
|
|
1899
|
-
return addHeapObject(ret);
|
|
1900
|
-
};
|
|
1901
|
-
imports.wbg.__wbindgen_cast_9997df6dde705618 = function (arg0, arg1) {
|
|
1902
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx: 1965, function: Function { arguments: [], shim_idx: 1966, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1903
|
-
const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_29445, __wasm_bindgen_func_elem_29447);
|
|
1904
|
-
return addHeapObject(ret);
|
|
1905
|
-
};
|
|
1906
1914
|
imports.wbg.__wbindgen_cast_9ae0607507abb057 = function (arg0) {
|
|
1907
1915
|
// Cast intrinsic for `I64 -> Externref`.
|
|
1908
1916
|
const ret = arg0;
|
|
1909
1917
|
return addHeapObject(ret);
|
|
1910
1918
|
};
|
|
1911
|
-
imports.wbg.
|
|
1912
|
-
// Cast intrinsic for `
|
|
1913
|
-
const ret =
|
|
1919
|
+
imports.wbg.__wbindgen_cast_d6cd19b81560fd6e = function (arg0) {
|
|
1920
|
+
// Cast intrinsic for `F64 -> Externref`.
|
|
1921
|
+
const ret = arg0;
|
|
1922
|
+
return addHeapObject(ret);
|
|
1923
|
+
};
|
|
1924
|
+
imports.wbg.__wbindgen_cast_e0f26635a91a834f = function (arg0, arg1) {
|
|
1925
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 7367, function: Function { arguments: [NamedExternref("Array<any>")], shim_idx: 7368, ret: Unit, inner_ret: Some(Unit) }, mutable: false }) -> Externref`.
|
|
1926
|
+
const ret = makeClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_83305, __wasm_bindgen_func_elem_83306);
|
|
1914
1927
|
return addHeapObject(ret);
|
|
1915
1928
|
};
|
|
1916
|
-
imports.wbg.
|
|
1917
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
1918
|
-
const ret =
|
|
1929
|
+
imports.wbg.__wbindgen_cast_f6b84b3b4941c320 = function (arg0, arg1) {
|
|
1930
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 7397, function: Function { arguments: [Ref(NamedExternref("MessageEvent"))], shim_idx: 7398, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1931
|
+
const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_83514, __wasm_bindgen_func_elem_83515);
|
|
1919
1932
|
return addHeapObject(ret);
|
|
1920
1933
|
};
|
|
1921
|
-
imports.wbg.
|
|
1922
|
-
// Cast intrinsic for `
|
|
1923
|
-
const ret = arg0;
|
|
1934
|
+
imports.wbg.__wbindgen_cast_ff41f3fc65a5b1b5 = function (arg0, arg1) {
|
|
1935
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 1843, function: Function { arguments: [], shim_idx: 1844, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1936
|
+
const ret = makeMutClosure(arg0, arg1, wasm.__wasm_bindgen_func_elem_22490, __wasm_bindgen_func_elem_22492);
|
|
1924
1937
|
return addHeapObject(ret);
|
|
1925
1938
|
};
|
|
1926
1939
|
imports.wbg.__wbindgen_link_203404ece0e9bab9 = function (arg0) {
|
package/esm/utoo/index_bg.wasm
CHANGED
|
Binary file
|