tradeblocks-mcp 2.2.0-beta.2 → 2.2.0-beta.3
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/{chunk-YB2K6ONA.js → chunk-NGUR7NHG.js} +19 -1
- package/dist/chunk-NGUR7NHG.js.map +1 -0
- package/dist/{sync-V57MSMHK.js → sync-OQKFYLC5.js} +2 -2
- package/dist/test-exports.js +1 -1
- package/package.json +1 -1
- package/server/{chunk-OMEKOZBE.js → chunk-N35ZHATL.js} +19 -1
- package/server/chunk-N35ZHATL.js.map +1 -0
- package/server/index.js +3 -3
- package/server/{sync-NMDWTLIH.js → sync-WIEVZ5VY.js} +2 -2
- package/dist/chunk-YB2K6ONA.js.map +0 -1
- package/server/chunk-OMEKOZBE.js.map +0 -1
- /package/dist/{sync-V57MSMHK.js.map → sync-OQKFYLC5.js.map} +0 -0
- /package/server/{sync-NMDWTLIH.js.map → sync-WIEVZ5VY.js.map} +0 -0
|
@@ -764,7 +764,19 @@ async function openReadOnlyConnection(dbPath, threads, memoryLimit) {
|
|
|
764
764
|
return connection;
|
|
765
765
|
}
|
|
766
766
|
function resetConnectionState() {
|
|
767
|
+
if (connection) {
|
|
768
|
+
try {
|
|
769
|
+
connection.closeSync();
|
|
770
|
+
} catch {
|
|
771
|
+
}
|
|
772
|
+
}
|
|
767
773
|
connection = null;
|
|
774
|
+
if (instance) {
|
|
775
|
+
try {
|
|
776
|
+
instance.closeSync();
|
|
777
|
+
} catch {
|
|
778
|
+
}
|
|
779
|
+
}
|
|
768
780
|
instance = null;
|
|
769
781
|
connectionMode = null;
|
|
770
782
|
}
|
|
@@ -825,6 +837,12 @@ async function closeConnection() {
|
|
|
825
837
|
}
|
|
826
838
|
connection = null;
|
|
827
839
|
}
|
|
840
|
+
if (instance) {
|
|
841
|
+
try {
|
|
842
|
+
instance.closeSync();
|
|
843
|
+
} catch {
|
|
844
|
+
}
|
|
845
|
+
}
|
|
828
846
|
instance = null;
|
|
829
847
|
connectionMode = null;
|
|
830
848
|
}
|
|
@@ -22744,4 +22762,4 @@ decimal.js/decimal.mjs:
|
|
|
22744
22762
|
* MIT Licence
|
|
22745
22763
|
*)
|
|
22746
22764
|
*/
|
|
22747
|
-
//# sourceMappingURL=chunk-
|
|
22765
|
+
//# sourceMappingURL=chunk-NGUR7NHG.js.map
|