@duckdb/duckdb-wasm-shell 1.29.1-dev12.0 → 1.29.1-dev127.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/shell.js CHANGED
@@ -33,7 +33,7 @@
33
33
  // package.json
34
34
  var package_default = {
35
35
  name: "@duckdb/duckdb-wasm-shell",
36
- version: "1.29.1-dev12.0",
36
+ version: "1.29.1-dev127.0",
37
37
  description: "",
38
38
  author: "Andre Kohn <kohn.a@outlook.com>",
39
39
  license: "MIT",
@@ -57,7 +57,7 @@
57
57
  "csv"
58
58
  ],
59
59
  dependencies: {
60
- "@duckdb/duckdb-wasm": "^1.29.1-dev12.0",
60
+ "@duckdb/duckdb-wasm": "^1.29.1-dev127.0",
61
61
  xterm: "^5.3.0",
62
62
  "xterm-addon-fit": "^0.8.0",
63
63
  "xterm-addon-web-links": "^0.9.0",
@@ -303,11 +303,11 @@
303
303
  return real;
304
304
  }
305
305
  function __wbg_adapter_22(arg0, arg1, arg2) {
306
- const ret = wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__he8ffd72d0b49a87b(arg0, arg1, addHeapObject(arg2));
306
+ const ret = wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hbcab8150e904b6b6(arg0, arg1, addHeapObject(arg2));
307
307
  return ret !== 0;
308
308
  }
309
309
  function __wbg_adapter_25(arg0, arg1, arg2) {
310
- wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h77eb2de66eb57381(arg0, arg1, addHeapObject(arg2));
310
+ wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__he614c323b7a46a07(arg0, arg1, addHeapObject(arg2));
311
311
  }
312
312
  function embed(elem, runtime, options) {
313
313
  try {
@@ -383,8 +383,8 @@
383
383
  WASM_VECTOR_LEN = arg.length;
384
384
  return ptr;
385
385
  }
386
- function __wbg_adapter_210(arg0, arg1, arg2, arg3) {
387
- wasm.wasm_bindgen__convert__closures__invoke2_mut__h31501dd44c1f2ebd(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
386
+ function __wbg_adapter_213(arg0, arg1, arg2, arg3) {
387
+ wasm.wasm_bindgen__convert__closures__invoke2_mut__h371e4fd76bd48373(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
388
388
  }
389
389
  var ShellInputContext = Object.freeze({ FileInput: 0, "0": "FileInput" });
390
390
  var WcWidth = Object.freeze({ Width0: 0, "0": "Width0", Width1: 1, "1": "Width1", Width2: 2, "2": "Width2" });
@@ -480,6 +480,12 @@
480
480
  return addHeapObject(ret);
481
481
  }, arguments);
482
482
  };
483
+ imports.wbg.__wbg_registerOPFSFileName_8efb2b5d0df8d9a7 = function() {
484
+ return handleError(function(arg0, arg1, arg2) {
485
+ const ret = getObject(arg0).registerOPFSFileName(getStringFromWasm0(arg1, arg2));
486
+ return addHeapObject(ret);
487
+ }, arguments);
488
+ };
483
489
  imports.wbg.__wbg_exportFileStatistics_6b72eb40ca2eb4d5 = function() {
484
490
  return handleError(function(arg0, arg1, arg2) {
485
491
  const ret = getObject(arg0).exportFileStatistics(getStringFromWasm0(arg1, arg2));
@@ -562,6 +568,12 @@
562
568
  return addHeapObject(ret);
563
569
  }, arguments);
564
570
  };
571
+ imports.wbg.__wbg_downloadFile_4cc8985e2c240fec = function() {
572
+ return handleError(function(arg0, arg1, arg2, arg3) {
573
+ const ret = getObject(arg0).downloadFile(getStringFromWasm0(arg1, arg2), takeObject(arg3));
574
+ return addHeapObject(ret);
575
+ }, arguments);
576
+ };
565
577
  imports.wbg.__wbg_open_8d9e16e84b9c860d = function() {
566
578
  return handleError(function(arg0, arg1) {
567
579
  const ret = getObject(arg0).open(DuckDBConfig.__wrap(arg1));
@@ -588,12 +600,6 @@
588
600
  return addHeapObject(ret);
589
601
  }, arguments);
590
602
  };
591
- imports.wbg.__wbg_downloadFile_4cc8985e2c240fec = function() {
592
- return handleError(function(arg0, arg1, arg2, arg3) {
593
- const ret = getObject(arg0).downloadFile(getStringFromWasm0(arg1, arg2), takeObject(arg3));
594
- return addHeapObject(ret);
595
- }, arguments);
596
- };
597
603
  imports.wbg.__wbg_globFiles_7fe5c8e5e369e77b = function() {
598
604
  return handleError(function(arg0, arg1, arg2) {
599
605
  const ret = getObject(arg0).globFiles(getStringFromWasm0(arg1, arg2));
@@ -644,14 +650,11 @@
644
650
  imports.wbg.__wbg_fit_cdd1076e3e5970b7 = function(arg0) {
645
651
  getObject(arg0).fit();
646
652
  };
647
- imports.wbg.__wbindgen_cb_drop = function(arg0) {
648
- const obj = takeObject(arg0).original;
649
- if (obj.cnt-- == 1) {
650
- obj.a = 0;
651
- return true;
652
- }
653
- const ret = false;
654
- return ret;
653
+ imports.wbg.__wbg_disconnect_d9855433758f0afc = function() {
654
+ return handleError(function(arg0, arg1) {
655
+ const ret = getObject(arg0).disconnect(arg1 >>> 0);
656
+ return addHeapObject(ret);
657
+ }, arguments);
655
658
  };
656
659
  imports.wbg.__wbg_setrows_6b947e6079c486dc = function(arg0, arg1) {
657
660
  getObject(arg0).rows = arg1 >>> 0;
@@ -737,11 +740,17 @@
737
740
  const ret = result;
738
741
  return ret;
739
742
  };
740
- imports.wbg.__wbg_disconnect_d9855433758f0afc = function() {
741
- return handleError(function(arg0, arg1) {
742
- const ret = getObject(arg0).disconnect(arg1 >>> 0);
743
- return addHeapObject(ret);
744
- }, arguments);
743
+ imports.wbg.__wbg_new_79cc836771d68198 = function() {
744
+ const ret = new import_xterm_addon_fit.FitAddon();
745
+ return addHeapObject(ret);
746
+ };
747
+ imports.wbg.__wbindgen_json_serialize = function(arg0, arg1) {
748
+ const obj = getObject(arg1);
749
+ const ret = JSON.stringify(obj === void 0 ? null : obj);
750
+ const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
751
+ const len1 = WASM_VECTOR_LEN;
752
+ getInt32Memory0()[arg0 / 4 + 1] = len1;
753
+ getInt32Memory0()[arg0 / 4 + 0] = ptr1;
745
754
  };
746
755
  imports.wbg.__wbg_log_8bb2c010ce15af48 = function(arg0, arg1) {
747
756
  console.log(getStringFromWasm0(arg0, arg1));
@@ -752,9 +761,8 @@
752
761
  imports.wbg.__wbg_warn_d85b304f0e70f5ac = function(arg0, arg1) {
753
762
  console.warn(getStringFromWasm0(arg0, arg1));
754
763
  };
755
- imports.wbg.__wbindgen_json_serialize = function(arg0, arg1) {
756
- const obj = getObject(arg1);
757
- const ret = JSON.stringify(obj === void 0 ? null : obj);
764
+ imports.wbg.__wbg_static_accessor_PACKAGE_VERSION_549ba11794cf5003 = function(arg0) {
765
+ const ret = import_duckdb_wasm.PACKAGE_VERSION;
758
766
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
759
767
  const len1 = WASM_VECTOR_LEN;
760
768
  getInt32Memory0()[arg0 / 4 + 1] = len1;
@@ -767,17 +775,6 @@
767
775
  getInt32Memory0()[arg0 / 4 + 1] = len1;
768
776
  getInt32Memory0()[arg0 / 4 + 0] = ptr1;
769
777
  };
770
- imports.wbg.__wbg_new_79cc836771d68198 = function() {
771
- const ret = new import_xterm_addon_fit.FitAddon();
772
- return addHeapObject(ret);
773
- };
774
- imports.wbg.__wbg_static_accessor_PACKAGE_VERSION_549ba11794cf5003 = function(arg0) {
775
- const ret = import_duckdb_wasm.PACKAGE_VERSION;
776
- const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
777
- const len1 = WASM_VECTOR_LEN;
778
- getInt32Memory0()[arg0 / 4 + 1] = len1;
779
- getInt32Memory0()[arg0 / 4 + 0] = ptr1;
780
- };
781
778
  imports.wbg.__wbg_blockStats_14f17a14c4573f3d = function(arg0) {
782
779
  const ret = getObject(arg0).blockStats;
783
780
  return addHeapObject(ret);
@@ -861,10 +858,6 @@
861
858
  getInt32Memory0()[arg0 / 4 + 1] = len1;
862
859
  getInt32Memory0()[arg0 / 4 + 0] = ptr1;
863
860
  };
864
- imports.wbg.__wbg_now_0cfdc90c97d0c24b = function(arg0) {
865
- const ret = getObject(arg0).now();
866
- return ret;
867
- };
868
861
  imports.wbg.__wbg_type_4197dff653b7d208 = function(arg0, arg1) {
869
862
  const ret = getObject(arg1).type;
870
863
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
@@ -872,6 +865,19 @@
872
865
  getInt32Memory0()[arg0 / 4 + 1] = len1;
873
866
  getInt32Memory0()[arg0 / 4 + 0] = ptr1;
874
867
  };
868
+ imports.wbg.__wbg_now_0cfdc90c97d0c24b = function(arg0) {
869
+ const ret = getObject(arg0).now();
870
+ return ret;
871
+ };
872
+ imports.wbg.__wbindgen_cb_drop = function(arg0) {
873
+ const obj = takeObject(arg0).original;
874
+ if (obj.cnt-- == 1) {
875
+ obj.a = 0;
876
+ return true;
877
+ }
878
+ const ret = false;
879
+ return ret;
880
+ };
875
881
  imports.wbg.__wbg_get_44be0491f933a435 = function(arg0, arg1) {
876
882
  const ret = getObject(arg0)[arg1 >>> 0];
877
883
  return addHeapObject(ret);
@@ -947,7 +953,7 @@
947
953
  const a = state0.a;
948
954
  state0.a = 0;
949
955
  try {
950
- return __wbg_adapter_210(a, state0.b, arg02, arg12);
956
+ return __wbg_adapter_213(a, state0.b, arg02, arg12);
951
957
  } finally {
952
958
  state0.a = a;
953
959
  }
@@ -999,12 +1005,12 @@
999
1005
  const ret = wasm.memory;
1000
1006
  return addHeapObject(ret);
1001
1007
  };
1002
- imports.wbg.__wbindgen_closure_wrapper538 = function(arg0, arg1, arg2) {
1003
- const ret = makeMutClosure(arg0, arg1, 164, __wbg_adapter_22);
1008
+ imports.wbg.__wbindgen_closure_wrapper549 = function(arg0, arg1, arg2) {
1009
+ const ret = makeMutClosure(arg0, arg1, 161, __wbg_adapter_22);
1004
1010
  return addHeapObject(ret);
1005
1011
  };
1006
- imports.wbg.__wbindgen_closure_wrapper912 = function(arg0, arg1, arg2) {
1007
- const ret = makeMutClosure(arg0, arg1, 184, __wbg_adapter_25);
1012
+ imports.wbg.__wbindgen_closure_wrapper897 = function(arg0, arg1, arg2) {
1013
+ const ret = makeMutClosure(arg0, arg1, 185, __wbg_adapter_25);
1008
1014
  return addHeapObject(ret);
1009
1015
  };
1010
1016
  return imports;