@utoo/web 0.0.1-alpha.21 → 0.0.1-alpha.23

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
@@ -238,13 +238,13 @@ export function init_pack() {
238
238
  export function wasm_thread_entry_point(ptr) {
239
239
  wasm.wasm_thread_entry_point(ptr);
240
240
  }
241
- function __wbg_adapter_46(arg0, arg1, arg2) {
242
- wasm.__wbindgen_export_6(arg0, arg1, addHeapObject(arg2));
241
+ function __wbg_adapter_46(arg0, arg1) {
242
+ wasm.__wbindgen_export_6(arg0, arg1);
243
243
  }
244
- function __wbg_adapter_49(arg0, arg1) {
245
- wasm.__wbindgen_export_7(arg0, arg1);
244
+ function __wbg_adapter_49(arg0, arg1, arg2) {
245
+ wasm.__wbindgen_export_7(arg0, arg1, addHeapObject(arg2));
246
246
  }
247
- function __wbg_adapter_52(arg0, arg1, arg2) {
247
+ function __wbg_adapter_54(arg0, arg1, arg2) {
248
248
  wasm.__wbindgen_export_8(arg0, arg1, addHeapObject(arg2));
249
249
  }
250
250
  let stack_pointer = 128;
@@ -262,7 +262,7 @@ function __wbg_adapter_59(arg0, arg1, arg2) {
262
262
  heap[stack_pointer++] = undefined;
263
263
  }
264
264
  }
265
- function __wbg_adapter_135(arg0, arg1, arg2, arg3) {
265
+ function __wbg_adapter_112(arg0, arg1, arg2, arg3) {
266
266
  wasm.__wbindgen_export_10(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
267
267
  }
268
268
  const __wbindgen_enum_DirEntryType = ["file", "directory"];
@@ -880,7 +880,7 @@ function __wbg_get_imports() {
880
880
  const a = state0.a;
881
881
  state0.a = 0;
882
882
  try {
883
- return __wbg_adapter_135(a, state0.b, arg0, arg1);
883
+ return __wbg_adapter_112(a, state0.b, arg0, arg1);
884
884
  }
885
885
  finally {
886
886
  state0.a = a;
@@ -1267,32 +1267,32 @@ function __wbg_get_imports() {
1267
1267
  const ret = false;
1268
1268
  return ret;
1269
1269
  };
1270
- imports.wbg.__wbindgen_closure_wrapper163479 = function (arg0, arg1, arg2) {
1271
- const ret = makeMutClosure(arg0, arg1, 9545, __wbg_adapter_52);
1270
+ imports.wbg.__wbindgen_closure_wrapper161925 = function (arg0, arg1, arg2) {
1271
+ const ret = makeMutClosure(arg0, arg1, 1985, __wbg_adapter_49);
1272
1272
  return addHeapObject(ret);
1273
1273
  };
1274
- imports.wbg.__wbindgen_closure_wrapper163481 = function (arg0, arg1, arg2) {
1275
- const ret = makeMutClosure(arg0, arg1, 2018, __wbg_adapter_52);
1274
+ imports.wbg.__wbindgen_closure_wrapper162098 = function (arg0, arg1, arg2) {
1275
+ const ret = makeMutClosure(arg0, arg1, 9465, __wbg_adapter_49);
1276
1276
  return addHeapObject(ret);
1277
1277
  };
1278
- imports.wbg.__wbindgen_closure_wrapper169253 = function (arg0, arg1, arg2) {
1279
- const ret = makeMutClosure(arg0, arg1, 9545, __wbg_adapter_52);
1278
+ imports.wbg.__wbindgen_closure_wrapper166504 = function (arg0, arg1, arg2) {
1279
+ const ret = makeClosure(arg0, arg1, 9459, __wbg_adapter_54);
1280
1280
  return addHeapObject(ret);
1281
1281
  };
1282
- imports.wbg.__wbindgen_closure_wrapper169307 = function (arg0, arg1, arg2) {
1283
- const ret = makeMutClosure(arg0, arg1, 9548, __wbg_adapter_59);
1282
+ imports.wbg.__wbindgen_closure_wrapper166855 = function (arg0, arg1, arg2) {
1283
+ const ret = makeMutClosure(arg0, arg1, 9465, __wbg_adapter_49);
1284
1284
  return addHeapObject(ret);
1285
1285
  };
1286
- imports.wbg.__wbindgen_closure_wrapper169330 = function (arg0, arg1, arg2) {
1287
- const ret = makeMutClosure(arg0, arg1, 9552, __wbg_adapter_49);
1286
+ imports.wbg.__wbindgen_closure_wrapper166909 = function (arg0, arg1, arg2) {
1287
+ const ret = makeMutClosure(arg0, arg1, 9459, __wbg_adapter_59);
1288
1288
  return addHeapObject(ret);
1289
1289
  };
1290
- imports.wbg.__wbindgen_closure_wrapper30437 = function (arg0, arg1, arg2) {
1291
- const ret = makeMutClosure(arg0, arg1, 2018, __wbg_adapter_49);
1290
+ imports.wbg.__wbindgen_closure_wrapper166933 = function (arg0, arg1, arg2) {
1291
+ const ret = makeMutClosure(arg0, arg1, 9471, __wbg_adapter_46);
1292
1292
  return addHeapObject(ret);
1293
1293
  };
1294
- imports.wbg.__wbindgen_closure_wrapper314 = function (arg0, arg1, arg2) {
1295
- const ret = makeClosure(arg0, arg1, 38, __wbg_adapter_46);
1294
+ imports.wbg.__wbindgen_closure_wrapper29521 = function (arg0, arg1, arg2) {
1295
+ const ret = makeMutClosure(arg0, arg1, 1985, __wbg_adapter_46);
1296
1296
  return addHeapObject(ret);
1297
1297
  };
1298
1298
  imports.wbg.__wbindgen_debug_string = function (arg0, arg1) {
@@ -1389,7 +1389,7 @@ function __wbg_get_imports() {
1389
1389
  return imports;
1390
1390
  }
1391
1391
  function __wbg_init_memory(imports, memory) {
1392
- imports.wbg.memory = memory || new WebAssembly.Memory({ initial: 199, maximum: 16384, shared: true });
1392
+ imports.wbg.memory = memory || new WebAssembly.Memory({ initial: 173, maximum: 16384, shared: true });
1393
1393
  }
1394
1394
  function __wbg_finalize_init(instance, module, thread_stack_size) {
1395
1395
  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.21",
3
+ "version": "0.0.1-alpha.23",
4
4
  "module": "esm/index.js",
5
5
  "types": "esm/index.d.ts",
6
6
  "files": [
@@ -18,7 +18,7 @@
18
18
  "dev:pm": "npm run build-wasm:pm -- --profile wasm-dev && npm run bindgen-dev && npm run tsc && cp src/utoo/index_bg.wasm esm/utoo",
19
19
  "wasm-opt": "wasm-opt src/utoo/index_bg.wasm -o esm/utoo/index_bg.wasm --enable-threads --enable-bulk-memory --enable-nontrapping-float-to-int -Oz",
20
20
  "build": "npm run build-wasm -- --release && npm run bindgen-build && npm run tsc && npm run wasm-opt",
21
- "build:local": "npm run build-wasm -- --profile release-local && npm run bindgen-build && npm run tsc && cp src/utoo/index_bg.wasm esm/utoo",
21
+ "build:local": "npm run build-wasm -- --profile release-local && npm run bindgen-build:local && npm run tsc && cp src/utoo/index_bg.wasm esm/utoo",
22
22
  "prepublishOnly": "npm run build"
23
23
  },
24
24
  "dependencies": {