@barchart/portfolio-api-common 1.0.270 → 1.0.271

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.
@@ -1,5 +1,5 @@
1
1
  const assert = require('@barchart/common-js/lang/assert'),
2
- array = require('@barchart/common-js/lang/array')
2
+ array = require('@barchart/common-js/lang/array');
3
3
 
4
4
  const InstrumentType = require('./InstrumentType'),
5
5
  PositionDirection = require('./PositionDirection'),
@@ -410,7 +410,7 @@ module.exports = (() => {
410
410
  }
411
411
 
412
412
  Object.keys(this._trees).forEach((key) => {
413
- this._trees[key].walk(group => group.setForexRates(this._forexQuotes), true, false)
413
+ this._trees[key].walk(group => group.setForexRates(this._forexQuotes), true, false);
414
414
  });
415
415
 
416
416
  recalculatePercentages.call(this);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@barchart/portfolio-api-common",
3
- "version": "1.0.270",
3
+ "version": "1.0.271",
4
4
  "description": "Common classes used by the Portfolio system",
5
5
  "author": {
6
6
  "name": "Bryan Ingle",
@@ -957,7 +957,7 @@ module.exports = (() => {
957
957
 
958
958
  },{"@barchart/common-js/lang/Enum":21,"@barchart/common-js/lang/assert":24}],5:[function(require,module,exports){
959
959
  const assert = require('@barchart/common-js/lang/assert'),
960
- array = require('@barchart/common-js/lang/array')
960
+ array = require('@barchart/common-js/lang/array');
961
961
 
962
962
  const InstrumentType = require('./InstrumentType'),
963
963
  PositionDirection = require('./PositionDirection'),
@@ -1556,7 +1556,7 @@ module.exports = (() => {
1556
1556
  }
1557
1557
 
1558
1558
  Object.keys(this._trees).forEach((key) => {
1559
- this._trees[key].walk(group => group.setForexRates(this._forexQuotes), true, false)
1559
+ this._trees[key].walk(group => group.setForexRates(this._forexQuotes), true, false);
1560
1560
  });
1561
1561
 
1562
1562
  recalculatePercentages.call(this);