@tradecanvas/svelte 2.0.31 → 2.0.33-beta.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.
@@ -195,7 +195,7 @@
195
195
 
196
196
  $effect(() => { instance?.setTheme(resolveTheme(theme)); });
197
197
  $effect(() => { instance?.setChartType(chartType); });
198
- const barKey = (b: OHLCBar | undefined) => (b ? `${b.time},${b.open},${b.high},${b.low},${b.close},${b.volume}` : '');
198
+ const barKey = (b: OHLCBar | undefined) => (b ? `${b.time},${b.open},${b.high},${b.low},${b.close},${b.volume},${b.buyVolume ?? ''}` : '');
199
199
 
200
200
  /**
201
201
  * Bars into the chart: bars that go on from those given before (a bar pushed
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tradecanvas/svelte",
3
- "version": "2.0.31",
3
+ "version": "2.0.33-beta.0",
4
4
  "type": "module",
5
5
  "description": "Svelte 5 component for TradeCanvas, the open-source chart library for trading apps: candlestick charts, indicators, drawing tools and a full trading UI, with reactive props and runes.",
6
6
  "license": "MIT",
@@ -55,7 +55,7 @@
55
55
  "README.md"
56
56
  ],
57
57
  "dependencies": {
58
- "@tradecanvas/chart": "2.17.0"
58
+ "@tradecanvas/chart": "3.0.0-beta.0"
59
59
  },
60
60
  "peerDependencies": {
61
61
  "svelte": ">=5.0.0"