@barchart/portfolio-api-common 1.0.152 → 1.0.153

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.
@@ -164,7 +164,7 @@ module.exports = (() => {
164
164
  this._dataFormat.quoteTime = this._dataActual.quoteTime;
165
165
  this._dataFormat.quoteVolume = formatNumber(this._dataActual.quoteVolume, 0);
166
166
 
167
- setTimeout(() => this._dataFormat.quoteChangeDirection = { up: this._dataActual.quoteChange.getIsPositive(), down: this._dataActual.quoteChange.getIsNegative() });
167
+ setTimeout(() => this._dataFormat.quoteChangeDirection = { up: this._dataActual.quoteChange.getIsPositive(), down: this._dataActual.quoteChange.getIsNegative() }, 0);
168
168
  this._dataFormat.quoteChangeNegative = this._dataActual.quoteChange.getIsNegative();
169
169
  } else {
170
170
  this._dataActual.currentPrice = null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@barchart/portfolio-api-common",
3
- "version": "1.0.152",
3
+ "version": "1.0.153",
4
4
  "description": "Common classes used by the Portfolio system",
5
5
  "author": {
6
6
  "name": "Bryan Ingle",
@@ -1410,7 +1410,7 @@ module.exports = (() => {
1410
1410
  this._dataFormat.quoteTime = this._dataActual.quoteTime;
1411
1411
  this._dataFormat.quoteVolume = formatNumber(this._dataActual.quoteVolume, 0);
1412
1412
 
1413
- setTimeout(() => this._dataFormat.quoteChangeDirection = { up: this._dataActual.quoteChange.getIsPositive(), down: this._dataActual.quoteChange.getIsNegative() });
1413
+ setTimeout(() => this._dataFormat.quoteChangeDirection = { up: this._dataActual.quoteChange.getIsPositive(), down: this._dataActual.quoteChange.getIsNegative() }, 0);
1414
1414
  this._dataFormat.quoteChangeNegative = this._dataActual.quoteChange.getIsNegative();
1415
1415
  } else {
1416
1416
  this._dataActual.currentPrice = null;