@barchart/portfolio-api-common 1.0.126 → 1.0.127

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.
@@ -276,9 +276,7 @@ module.exports = (() => {
276
276
  this._forexQuotes[index] = rate;
277
277
  }
278
278
 
279
- this._trees.forEach((tree) => {
280
- tree.walk(group => group.setForexRate(rate), true, false);
281
- });
279
+ Object.keys(this._trees).forEach(key => this._trees[key].walk(group => group.setForexRate(rate), true, false));
282
280
  }
283
281
 
284
282
  setPositionFundamentals(data) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@barchart/portfolio-api-common",
3
- "version": "1.0.126",
3
+ "version": "1.0.127",
4
4
  "description": "Common classes used by the Portfolio system",
5
5
  "author": {
6
6
  "name": "Bryan Ingle",
@@ -992,9 +992,7 @@ module.exports = (() => {
992
992
  this._forexQuotes[index] = rate;
993
993
  }
994
994
 
995
- this._trees.forEach((tree) => {
996
- tree.walk(group => group.setForexRate(rate), true, false);
997
- });
995
+ Object.keys(this._trees).forEach(key => this._trees[key].walk(group => group.setForexRate(rate), true, false));
998
996
  }
999
997
 
1000
998
  setPositionFundamentals(data) {