@barchart/portfolio-api-common 1.0.187 → 1.0.188

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.
@@ -262,7 +262,7 @@ module.exports = (() => {
262
262
  let groupTree;
263
263
 
264
264
  if (parentTree.getChildren().length > 0) {
265
- groupTree = parentTree.getChildren().findChild(childGroup => childGroup.key === levelKey) || null;
265
+ groupTree = parentTree.getChildren().find(childGroup => childGroup.key === levelKey) || null;
266
266
  } else {
267
267
  groupTree = null;
268
268
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@barchart/portfolio-api-common",
3
- "version": "1.0.187",
3
+ "version": "1.0.188",
4
4
  "description": "Common classes used by the Portfolio system",
5
5
  "author": {
6
6
  "name": "Bryan Ingle",
@@ -978,7 +978,7 @@ module.exports = (() => {
978
978
  let groupTree;
979
979
 
980
980
  if (parentTree.getChildren().length > 0) {
981
- groupTree = parentTree.getChildren().findChild(childGroup => childGroup.key === levelKey) || null;
981
+ groupTree = parentTree.getChildren().find(childGroup => childGroup.key === levelKey) || null;
982
982
  } else {
983
983
  groupTree = null;
984
984
  }