@duckdb/duckdb-wasm-shell 1.29.1-dev23.0 → 1.29.1-dev42.0
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/dist/img/duckdb_version_badge.svg +1 -1
- package/dist/shell.cjs +133 -139
- package/dist/shell.cjs.map +2 -2
- package/dist/shell.js +133 -139
- package/dist/shell.js.map +2 -2
- package/dist/shell.mjs +134 -140
- package/dist/shell.mjs.map +2 -2
- package/dist/shell_bg.wasm +0 -0
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="148" height="20" role="img" aria-label="duckdb: v1.1.3-dev4483"><title>duckdb: v1.1.3-dev4483</title><linearGradient id="s" x2="0" y2="100%"><stop offset="0" stop-color="#bbb" stop-opacity=".1"/><stop offset="1" stop-opacity=".1"/></linearGradient><clipPath id="r"><rect width="148" height="20" rx="3" fill="#fff"/></clipPath><g clip-path="url(#r)"><rect width="49" height="20" fill="#555"/><rect x="49" width="99" height="20" fill="#007ec6"/><rect width="148" height="20" fill="url(#s)"/></g><g fill="#fff" text-anchor="middle" font-family="Verdana,Geneva,DejaVu Sans,sans-serif" text-rendering="geometricPrecision" font-size="110"><text aria-hidden="true" x="255" y="150" fill="#010101" fill-opacity=".3" transform="scale(.1)" textLength="390">duckdb</text><text x="255" y="140" transform="scale(.1)" fill="#fff" textLength="390">duckdb</text><text aria-hidden="true" x="975" y="150" fill="#010101" fill-opacity=".3" transform="scale(.1)" textLength="890">v1.1.3-dev4483</text><text x="975" y="140" transform="scale(.1)" fill="#fff" textLength="890">v1.1.3-dev4483</text></g></svg>
|
package/dist/shell.cjs
CHANGED
|
@@ -43,7 +43,7 @@ module.exports = __toCommonJS(src_exports);
|
|
|
43
43
|
// package.json
|
|
44
44
|
var package_default = {
|
|
45
45
|
name: "@duckdb/duckdb-wasm-shell",
|
|
46
|
-
version: "1.29.1-
|
|
46
|
+
version: "1.29.1-dev42.0",
|
|
47
47
|
description: "",
|
|
48
48
|
author: "Andre Kohn <kohn.a@outlook.com>",
|
|
49
49
|
license: "MIT",
|
|
@@ -67,7 +67,7 @@ var package_default = {
|
|
|
67
67
|
"csv"
|
|
68
68
|
],
|
|
69
69
|
dependencies: {
|
|
70
|
-
"@duckdb/duckdb-wasm": "^1.29.1-
|
|
70
|
+
"@duckdb/duckdb-wasm": "^1.29.1-dev42.0",
|
|
71
71
|
xterm: "^5.3.0",
|
|
72
72
|
"xterm-addon-fit": "^0.8.0",
|
|
73
73
|
"xterm-addon-web-links": "^0.9.0",
|
|
@@ -319,6 +319,25 @@ function __wbg_adapter_22(arg0, arg1, arg2) {
|
|
|
319
319
|
function __wbg_adapter_25(arg0, arg1, arg2) {
|
|
320
320
|
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h21e86434f3007437(arg0, arg1, addHeapObject(arg2));
|
|
321
321
|
}
|
|
322
|
+
var cachedUint32Memory0 = null;
|
|
323
|
+
function getUint32Memory0() {
|
|
324
|
+
if (cachedUint32Memory0 === null || cachedUint32Memory0.byteLength === 0) {
|
|
325
|
+
cachedUint32Memory0 = new Uint32Array(wasm.memory.buffer);
|
|
326
|
+
}
|
|
327
|
+
return cachedUint32Memory0;
|
|
328
|
+
}
|
|
329
|
+
function passArray32ToWasm0(arg, malloc) {
|
|
330
|
+
const ptr = malloc(arg.length * 4, 4) >>> 0;
|
|
331
|
+
getUint32Memory0().set(arg, ptr / 4);
|
|
332
|
+
WASM_VECTOR_LEN = arg.length;
|
|
333
|
+
return ptr;
|
|
334
|
+
}
|
|
335
|
+
function passArray8ToWasm0(arg, malloc) {
|
|
336
|
+
const ptr = malloc(arg.length * 1, 1) >>> 0;
|
|
337
|
+
getUint8Memory0().set(arg, ptr / 1);
|
|
338
|
+
WASM_VECTOR_LEN = arg.length;
|
|
339
|
+
return ptr;
|
|
340
|
+
}
|
|
322
341
|
function embed(elem, runtime, options) {
|
|
323
342
|
try {
|
|
324
343
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
@@ -374,26 +393,7 @@ function handleError(f, args) {
|
|
|
374
393
|
wasm.__wbindgen_exn_store(addHeapObject(e));
|
|
375
394
|
}
|
|
376
395
|
}
|
|
377
|
-
|
|
378
|
-
function getUint32Memory0() {
|
|
379
|
-
if (cachedUint32Memory0 === null || cachedUint32Memory0.byteLength === 0) {
|
|
380
|
-
cachedUint32Memory0 = new Uint32Array(wasm.memory.buffer);
|
|
381
|
-
}
|
|
382
|
-
return cachedUint32Memory0;
|
|
383
|
-
}
|
|
384
|
-
function passArray32ToWasm0(arg, malloc) {
|
|
385
|
-
const ptr = malloc(arg.length * 4, 4) >>> 0;
|
|
386
|
-
getUint32Memory0().set(arg, ptr / 4);
|
|
387
|
-
WASM_VECTOR_LEN = arg.length;
|
|
388
|
-
return ptr;
|
|
389
|
-
}
|
|
390
|
-
function passArray8ToWasm0(arg, malloc) {
|
|
391
|
-
const ptr = malloc(arg.length * 1, 1) >>> 0;
|
|
392
|
-
getUint8Memory0().set(arg, ptr / 1);
|
|
393
|
-
WASM_VECTOR_LEN = arg.length;
|
|
394
|
-
return ptr;
|
|
395
|
-
}
|
|
396
|
-
function __wbg_adapter_213(arg0, arg1, arg2, arg3) {
|
|
396
|
+
function __wbg_adapter_210(arg0, arg1, arg2, arg3) {
|
|
397
397
|
wasm.wasm_bindgen__convert__closures__invoke2_mut__h6ec9b37957db5671(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
|
|
398
398
|
}
|
|
399
399
|
var ShellInputContext = Object.freeze({ FileInput: 0, "0": "FileInput" });
|
|
@@ -490,12 +490,6 @@ function __wbg_get_imports() {
|
|
|
490
490
|
return addHeapObject(ret);
|
|
491
491
|
}, arguments);
|
|
492
492
|
};
|
|
493
|
-
imports.wbg.__wbg_registerOPFSFileName_8efb2b5d0df8d9a7 = function() {
|
|
494
|
-
return handleError(function(arg0, arg1, arg2) {
|
|
495
|
-
const ret = getObject(arg0).registerOPFSFileName(getStringFromWasm0(arg1, arg2));
|
|
496
|
-
return addHeapObject(ret);
|
|
497
|
-
}, arguments);
|
|
498
|
-
};
|
|
499
493
|
imports.wbg.__wbg_exportFileStatistics_6b72eb40ca2eb4d5 = function() {
|
|
500
494
|
return handleError(function(arg0, arg1, arg2) {
|
|
501
495
|
const ret = getObject(arg0).exportFileStatistics(getStringFromWasm0(arg1, arg2));
|
|
@@ -660,17 +654,66 @@ function __wbg_get_imports() {
|
|
|
660
654
|
imports.wbg.__wbg_fit_cdd1076e3e5970b7 = function(arg0) {
|
|
661
655
|
getObject(arg0).fit();
|
|
662
656
|
};
|
|
663
|
-
imports.wbg.
|
|
664
|
-
const
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
657
|
+
imports.wbg.__wbg_blockStats_14f17a14c4573f3d = function(arg0) {
|
|
658
|
+
const ret = getObject(arg0).blockStats;
|
|
659
|
+
return addHeapObject(ret);
|
|
660
|
+
};
|
|
661
|
+
imports.wbg.__wbg_totalFileWrites_1b38029d29f47d43 = function(arg0) {
|
|
662
|
+
const ret = getObject(arg0).totalFileWrites;
|
|
663
|
+
return addHeapObject(ret);
|
|
664
|
+
};
|
|
665
|
+
imports.wbg.__wbg_totalFileReadsAhead_02c25545b2f63323 = function(arg0) {
|
|
666
|
+
const ret = getObject(arg0).totalFileReadsAhead;
|
|
667
|
+
return addHeapObject(ret);
|
|
668
|
+
};
|
|
669
|
+
imports.wbg.__wbg_totalFileReadsCold_304476ed0c49e111 = function(arg0) {
|
|
670
|
+
const ret = getObject(arg0).totalFileReadsCold;
|
|
671
|
+
return addHeapObject(ret);
|
|
672
|
+
};
|
|
673
|
+
imports.wbg.__wbg_totalFileReadsCached_2e8edfe7dbf14351 = function(arg0) {
|
|
674
|
+
const ret = getObject(arg0).totalFileReadsCached;
|
|
675
|
+
return addHeapObject(ret);
|
|
676
|
+
};
|
|
677
|
+
imports.wbg.__wbg_totalPageAccesses_2f654448ea273878 = function(arg0) {
|
|
678
|
+
const ret = getObject(arg0).totalPageAccesses;
|
|
679
|
+
return addHeapObject(ret);
|
|
680
|
+
};
|
|
681
|
+
imports.wbg.__wbg_totalPageLoads_1ce10deb8828d935 = function(arg0) {
|
|
682
|
+
const ret = getObject(arg0).totalPageLoads;
|
|
683
|
+
return addHeapObject(ret);
|
|
684
|
+
};
|
|
685
|
+
imports.wbg.__wbg_blockSize_77bc4e968a2e845a = function(arg0) {
|
|
686
|
+
const ret = getObject(arg0).blockSize;
|
|
687
|
+
return addHeapObject(ret);
|
|
688
|
+
};
|
|
689
|
+
imports.wbg.__wbg_disconnect_d9855433758f0afc = function() {
|
|
690
|
+
return handleError(function(arg0, arg1) {
|
|
691
|
+
const ret = getObject(arg0).disconnect(arg1 >>> 0);
|
|
692
|
+
return addHeapObject(ret);
|
|
693
|
+
}, arguments);
|
|
694
|
+
};
|
|
695
|
+
imports.wbg.__wbg_instanceof_WebLinksAddon_fbcf4efb54881c53 = function(arg0) {
|
|
696
|
+
let result;
|
|
697
|
+
try {
|
|
698
|
+
result = getObject(arg0) instanceof import_xterm_addon_web_links.WebLinksAddon;
|
|
699
|
+
} catch (e) {
|
|
700
|
+
result = false;
|
|
668
701
|
}
|
|
669
|
-
const ret =
|
|
702
|
+
const ret = result;
|
|
670
703
|
return ret;
|
|
671
704
|
};
|
|
672
|
-
imports.wbg.
|
|
673
|
-
|
|
705
|
+
imports.wbg.__wbg_instanceof_WebglAddon_c39f68697a31af73 = function(arg0) {
|
|
706
|
+
let result;
|
|
707
|
+
try {
|
|
708
|
+
result = getObject(arg0) instanceof import_xterm_addon_webgl.WebglAddon;
|
|
709
|
+
} catch (e) {
|
|
710
|
+
result = false;
|
|
711
|
+
}
|
|
712
|
+
const ret = result;
|
|
713
|
+
return ret;
|
|
714
|
+
};
|
|
715
|
+
imports.wbg.__wbg_setallowProposedApi_0147ac2b5a9906b3 = function(arg0, arg1) {
|
|
716
|
+
getObject(arg0).allowProposedApi = arg1 !== 0;
|
|
674
717
|
};
|
|
675
718
|
imports.wbg.__wbg_setcursorBlink_8a3f7244eb29b1f6 = function(arg0, arg1) {
|
|
676
719
|
getObject(arg0).cursorBlink = arg1 !== 0;
|
|
@@ -678,34 +721,33 @@ function __wbg_get_imports() {
|
|
|
678
721
|
imports.wbg.__wbg_setcursorWidth_55abde268dea1312 = function(arg0, arg1) {
|
|
679
722
|
getObject(arg0).cursorWidth = arg1 >>> 0;
|
|
680
723
|
};
|
|
681
|
-
imports.wbg.
|
|
682
|
-
|
|
683
|
-
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
684
|
-
const len1 = WASM_VECTOR_LEN;
|
|
685
|
-
getInt32Memory0()[arg0 / 4 + 1] = len1;
|
|
686
|
-
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
|
|
687
|
-
};
|
|
688
|
-
imports.wbg.__wbg_setfontFamily_a0645fa4f7aaaf21 = function(arg0, arg1, arg2) {
|
|
689
|
-
getObject(arg0).fontFamily = getStringFromWasm0(arg1, arg2);
|
|
724
|
+
imports.wbg.__wbg_setdrawBoldTextInBrightColors_4f711243dff6df11 = function(arg0, arg1) {
|
|
725
|
+
getObject(arg0).drawBoldTextInBrightColors = arg1 !== 0;
|
|
690
726
|
};
|
|
691
727
|
imports.wbg.__wbg_setfontSize_11962e753390bde1 = function(arg0, arg1) {
|
|
692
728
|
getObject(arg0).fontSize = arg1 >>> 0;
|
|
693
729
|
};
|
|
694
|
-
imports.wbg.
|
|
695
|
-
getObject(arg0).
|
|
730
|
+
imports.wbg.__wbg_setfontFamily_a0645fa4f7aaaf21 = function(arg0, arg1, arg2) {
|
|
731
|
+
getObject(arg0).fontFamily = getStringFromWasm0(arg1, arg2);
|
|
696
732
|
};
|
|
697
733
|
imports.wbg.__wbg_setrightClickSelectsWord_ede48f0595cd3fed = function(arg0, arg1) {
|
|
698
734
|
getObject(arg0).rightClickSelectsWord = arg1 !== 0;
|
|
699
735
|
};
|
|
700
|
-
imports.wbg.
|
|
701
|
-
getObject(arg0).
|
|
736
|
+
imports.wbg.__wbg_setrows_6b947e6079c486dc = function(arg0, arg1) {
|
|
737
|
+
getObject(arg0).rows = arg1 >>> 0;
|
|
702
738
|
};
|
|
703
|
-
imports.wbg.
|
|
704
|
-
getObject(arg0).
|
|
739
|
+
imports.wbg.__wbg_settheme_4e67878b7d6cc0fc = function(arg0, arg1) {
|
|
740
|
+
getObject(arg0).theme = getObject(arg1);
|
|
705
741
|
};
|
|
706
742
|
imports.wbg.__wbg_setforeground_87dc40b78955df05 = function(arg0, arg1, arg2) {
|
|
707
743
|
getObject(arg0).foreground = getStringFromWasm0(arg1, arg2);
|
|
708
744
|
};
|
|
745
|
+
imports.wbg.__wbg_setbackground_550386b829ec5c24 = function(arg0, arg1, arg2) {
|
|
746
|
+
getObject(arg0).background = getStringFromWasm0(arg1, arg2);
|
|
747
|
+
};
|
|
748
|
+
imports.wbg.__wbg_setbrightYellow_deb3fbc58aa44642 = function(arg0, arg1, arg2) {
|
|
749
|
+
getObject(arg0).brightYellow = getStringFromWasm0(arg1, arg2);
|
|
750
|
+
};
|
|
709
751
|
imports.wbg.__wbg_backgroundColor_17a9784f0207d5b0 = function(arg0, arg1) {
|
|
710
752
|
const ret = getObject(arg1).backgroundColor;
|
|
711
753
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
@@ -713,29 +755,16 @@ function __wbg_get_imports() {
|
|
|
713
755
|
getInt32Memory0()[arg0 / 4 + 1] = len1;
|
|
714
756
|
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
|
|
715
757
|
};
|
|
716
|
-
imports.wbg.
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
758
|
+
imports.wbg.__wbg_fontFamily_204223b3338f8381 = function(arg0, arg1) {
|
|
759
|
+
const ret = getObject(arg1).fontFamily;
|
|
760
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
761
|
+
const len1 = WASM_VECTOR_LEN;
|
|
762
|
+
getInt32Memory0()[arg0 / 4 + 1] = len1;
|
|
763
|
+
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
|
|
721
764
|
};
|
|
722
765
|
imports.wbg.__wbg_open_7d3a0690ea9e5a45 = function(arg0, arg1) {
|
|
723
766
|
getObject(arg0).open(takeObject(arg1));
|
|
724
767
|
};
|
|
725
|
-
imports.wbg.__wbg_new_70821bf9dbd17152 = function(arg0) {
|
|
726
|
-
const ret = new import_xterm_addon_webgl.WebglAddon(arg0 === 16777215 ? void 0 : arg0 !== 0);
|
|
727
|
-
return addHeapObject(ret);
|
|
728
|
-
};
|
|
729
|
-
imports.wbg.__wbg_instanceof_WebglAddon_c39f68697a31af73 = function(arg0) {
|
|
730
|
-
let result;
|
|
731
|
-
try {
|
|
732
|
-
result = getObject(arg0) instanceof import_xterm_addon_webgl.WebglAddon;
|
|
733
|
-
} catch (e) {
|
|
734
|
-
result = false;
|
|
735
|
-
}
|
|
736
|
-
const ret = result;
|
|
737
|
-
return ret;
|
|
738
|
-
};
|
|
739
768
|
imports.wbg.__wbg_loadAddon_1bfe744e6f456990 = function(arg0, arg1) {
|
|
740
769
|
getObject(arg0).loadAddon(takeObject(arg1));
|
|
741
770
|
};
|
|
@@ -743,29 +772,31 @@ function __wbg_get_imports() {
|
|
|
743
772
|
const ret = new import_xterm_addon_web_links.WebLinksAddon(getObject(arg0), getObject(arg1), arg2 === 16777215 ? void 0 : arg2 !== 0);
|
|
744
773
|
return addHeapObject(ret);
|
|
745
774
|
};
|
|
746
|
-
imports.wbg.
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
775
|
+
imports.wbg.__wbg_new_70821bf9dbd17152 = function(arg0) {
|
|
776
|
+
const ret = new import_xterm_addon_webgl.WebglAddon(arg0 === 16777215 ? void 0 : arg0 !== 0);
|
|
777
|
+
return addHeapObject(ret);
|
|
778
|
+
};
|
|
779
|
+
imports.wbg.__wbg_log_8bb2c010ce15af48 = function(arg0, arg1) {
|
|
780
|
+
console.log(getStringFromWasm0(arg0, arg1));
|
|
781
|
+
};
|
|
782
|
+
imports.wbg.__wbg_error_a84695ce32854879 = function(arg0, arg1) {
|
|
783
|
+
console.error(getStringFromWasm0(arg0, arg1));
|
|
784
|
+
};
|
|
785
|
+
imports.wbg.__wbg_warn_d85b304f0e70f5ac = function(arg0, arg1) {
|
|
786
|
+
console.warn(getStringFromWasm0(arg0, arg1));
|
|
787
|
+
};
|
|
788
|
+
imports.wbg.__wbindgen_cb_drop = function(arg0) {
|
|
789
|
+
const obj = takeObject(arg0).original;
|
|
790
|
+
if (obj.cnt-- == 1) {
|
|
791
|
+
obj.a = 0;
|
|
792
|
+
return true;
|
|
752
793
|
}
|
|
753
|
-
const ret =
|
|
794
|
+
const ret = false;
|
|
754
795
|
return ret;
|
|
755
796
|
};
|
|
756
|
-
imports.wbg.
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
return addHeapObject(ret);
|
|
760
|
-
}, arguments);
|
|
761
|
-
};
|
|
762
|
-
imports.wbg.__wbindgen_json_serialize = function(arg0, arg1) {
|
|
763
|
-
const obj = getObject(arg1);
|
|
764
|
-
const ret = JSON.stringify(obj === void 0 ? null : obj);
|
|
765
|
-
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
766
|
-
const len1 = WASM_VECTOR_LEN;
|
|
767
|
-
getInt32Memory0()[arg0 / 4 + 1] = len1;
|
|
768
|
-
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
|
|
797
|
+
imports.wbg.__wbg_new_79cc836771d68198 = function() {
|
|
798
|
+
const ret = new import_xterm_addon_fit.FitAddon();
|
|
799
|
+
return addHeapObject(ret);
|
|
769
800
|
};
|
|
770
801
|
imports.wbg.__wbg_static_accessor_PACKAGE_NAME_0af717684e189e55 = function(arg0) {
|
|
771
802
|
const ret = import_duckdb_wasm.PACKAGE_NAME;
|
|
@@ -781,50 +812,13 @@ function __wbg_get_imports() {
|
|
|
781
812
|
getInt32Memory0()[arg0 / 4 + 1] = len1;
|
|
782
813
|
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
|
|
783
814
|
};
|
|
784
|
-
imports.wbg.
|
|
785
|
-
const
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
};
|
|
792
|
-
imports.wbg.__wbg_totalFileWrites_1b38029d29f47d43 = function(arg0) {
|
|
793
|
-
const ret = getObject(arg0).totalFileWrites;
|
|
794
|
-
return addHeapObject(ret);
|
|
795
|
-
};
|
|
796
|
-
imports.wbg.__wbg_totalFileReadsAhead_02c25545b2f63323 = function(arg0) {
|
|
797
|
-
const ret = getObject(arg0).totalFileReadsAhead;
|
|
798
|
-
return addHeapObject(ret);
|
|
799
|
-
};
|
|
800
|
-
imports.wbg.__wbg_totalFileReadsCold_304476ed0c49e111 = function(arg0) {
|
|
801
|
-
const ret = getObject(arg0).totalFileReadsCold;
|
|
802
|
-
return addHeapObject(ret);
|
|
803
|
-
};
|
|
804
|
-
imports.wbg.__wbg_totalFileReadsCached_2e8edfe7dbf14351 = function(arg0) {
|
|
805
|
-
const ret = getObject(arg0).totalFileReadsCached;
|
|
806
|
-
return addHeapObject(ret);
|
|
807
|
-
};
|
|
808
|
-
imports.wbg.__wbg_totalPageAccesses_2f654448ea273878 = function(arg0) {
|
|
809
|
-
const ret = getObject(arg0).totalPageAccesses;
|
|
810
|
-
return addHeapObject(ret);
|
|
811
|
-
};
|
|
812
|
-
imports.wbg.__wbg_totalPageLoads_1ce10deb8828d935 = function(arg0) {
|
|
813
|
-
const ret = getObject(arg0).totalPageLoads;
|
|
814
|
-
return addHeapObject(ret);
|
|
815
|
-
};
|
|
816
|
-
imports.wbg.__wbg_blockSize_77bc4e968a2e845a = function(arg0) {
|
|
817
|
-
const ret = getObject(arg0).blockSize;
|
|
818
|
-
return addHeapObject(ret);
|
|
819
|
-
};
|
|
820
|
-
imports.wbg.__wbg_log_8bb2c010ce15af48 = function(arg0, arg1) {
|
|
821
|
-
console.log(getStringFromWasm0(arg0, arg1));
|
|
822
|
-
};
|
|
823
|
-
imports.wbg.__wbg_error_a84695ce32854879 = function(arg0, arg1) {
|
|
824
|
-
console.error(getStringFromWasm0(arg0, arg1));
|
|
825
|
-
};
|
|
826
|
-
imports.wbg.__wbg_warn_d85b304f0e70f5ac = function(arg0, arg1) {
|
|
827
|
-
console.warn(getStringFromWasm0(arg0, arg1));
|
|
815
|
+
imports.wbg.__wbindgen_json_serialize = function(arg0, arg1) {
|
|
816
|
+
const obj = getObject(arg1);
|
|
817
|
+
const ret = JSON.stringify(obj === void 0 ? null : obj);
|
|
818
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
819
|
+
const len1 = WASM_VECTOR_LEN;
|
|
820
|
+
getInt32Memory0()[arg0 / 4 + 1] = len1;
|
|
821
|
+
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
|
|
828
822
|
};
|
|
829
823
|
imports.wbg.__wbg_new_abda76e883ba8a5f = function() {
|
|
830
824
|
const ret = new Error();
|
|
@@ -963,7 +957,7 @@ function __wbg_get_imports() {
|
|
|
963
957
|
const a = state0.a;
|
|
964
958
|
state0.a = 0;
|
|
965
959
|
try {
|
|
966
|
-
return
|
|
960
|
+
return __wbg_adapter_210(a, state0.b, arg02, arg12);
|
|
967
961
|
} finally {
|
|
968
962
|
state0.a = a;
|
|
969
963
|
}
|
|
@@ -1015,12 +1009,12 @@ function __wbg_get_imports() {
|
|
|
1015
1009
|
const ret = wasm.memory;
|
|
1016
1010
|
return addHeapObject(ret);
|
|
1017
1011
|
};
|
|
1018
|
-
imports.wbg.
|
|
1019
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1012
|
+
imports.wbg.__wbindgen_closure_wrapper551 = function(arg0, arg1, arg2) {
|
|
1013
|
+
const ret = makeMutClosure(arg0, arg1, 154, __wbg_adapter_22);
|
|
1020
1014
|
return addHeapObject(ret);
|
|
1021
1015
|
};
|
|
1022
|
-
imports.wbg.
|
|
1023
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1016
|
+
imports.wbg.__wbindgen_closure_wrapper907 = function(arg0, arg1, arg2) {
|
|
1017
|
+
const ret = makeMutClosure(arg0, arg1, 185, __wbg_adapter_25);
|
|
1024
1018
|
return addHeapObject(ret);
|
|
1025
1019
|
};
|
|
1026
1020
|
return imports;
|