binbot-charts 0.2.38 → 0.2.41

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.
@@ -57,6 +57,8 @@ function TVChartContainer(_ref) {
57
57
  if (prevStates && prevStates.timescaleMarks !== timescaleMarks) {
58
58
  initializeChart();
59
59
  }
60
+
61
+ console.log(timescaleMarks);
60
62
  }, [orderLines, timescaleMarks]);
61
63
 
62
64
  const initializeChart = () => {
@@ -139,6 +139,7 @@ class Datafeed {
139
139
 
140
140
  getTimescaleMarks(symbolInfo, from, to, onDataCallback, resolution) {
141
141
  if (this.timescaleMarks.length > 0) {
142
+ let timescaleMarks = Object.assign([], this.timescaleMarks);
142
143
  onDataCallback(timescaleMarks);
143
144
  }
144
145
  }
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.2.38",
2
+ "version": "0.2.41",
3
3
  "name": "binbot-charts",
4
4
  "dependencies": {
5
5
  "react": "^17.0.1",