@backtest-kit/ui 7.2.0 → 7.3.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/build/index.cjs CHANGED
@@ -1744,7 +1744,12 @@ class SymbolConnectionService {
1744
1744
  });
1745
1745
  this.init = functoolsKit.singleshot(async () => {
1746
1746
  this.loggerService.log("symbolConnectionService init");
1747
- serveSubject.once(getSymbolList);
1747
+ serveSubject.once((cwd) => {
1748
+ if (this.getSymbolList.hasValue()) {
1749
+ return;
1750
+ }
1751
+ getSymbolList(cwd);
1752
+ });
1748
1753
  });
1749
1754
  }
1750
1755
  }
package/build/index.mjs CHANGED
@@ -1741,7 +1741,12 @@ class SymbolConnectionService {
1741
1741
  });
1742
1742
  this.init = singleshot(async () => {
1743
1743
  this.loggerService.log("symbolConnectionService init");
1744
- serveSubject.once(getSymbolList);
1744
+ serveSubject.once((cwd) => {
1745
+ if (this.getSymbolList.hasValue()) {
1746
+ return;
1747
+ }
1748
+ getSymbolList(cwd);
1749
+ });
1745
1750
  });
1746
1751
  }
1747
1752
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backtest-kit/ui",
3
- "version": "7.2.0",
3
+ "version": "7.3.0",
4
4
  "description": "Full-stack UI framework for visualizing cryptocurrency trading signals, backtests, and real-time market data. React dashboard with candlestick charts, signal tracking, and risk analysis.",
5
5
  "author": {
6
6
  "name": "Petr Tripolsky",
@@ -92,11 +92,11 @@
92
92
  "ccxt": "4.5.24",
93
93
  "touch": "3.1.1",
94
94
  "worker-testbed": "2.0.0",
95
- "backtest-kit": "7.2.0",
95
+ "backtest-kit": "7.3.0",
96
96
  "markdown-it": "14.1.0"
97
97
  },
98
98
  "peerDependencies": {
99
- "backtest-kit": "^7.2.0",
99
+ "backtest-kit": "^7.3.0",
100
100
  "markdown-it": "^14.1.0",
101
101
  "ccxt": "^4.5.24",
102
102
  "typescript": "^5.0.0"