@barchart/portfolio-api-common 1.0.54 → 1.0.55

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.
@@ -95,7 +95,7 @@ module.exports = (() => {
95
95
 
96
96
  if (currentDefinition.requiredGroups.length !== 0) {
97
97
  const ordering = currentDefinition.requiredGroups.reduce((map, group, index) => {
98
- map[group] = index;
98
+ map[group.description] = index;
99
99
 
100
100
  return map;
101
101
  }, { });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@barchart/portfolio-api-common",
3
- "version": "1.0.54",
3
+ "version": "1.0.55",
4
4
  "description": "Common classes used by the Portfolio system",
5
5
  "author": {
6
6
  "name": "Bryan Ingle",
@@ -610,7 +610,7 @@ module.exports = (() => {
610
610
 
611
611
  if (currentDefinition.requiredGroups.length !== 0) {
612
612
  const ordering = currentDefinition.requiredGroups.reduce((map, group, index) => {
613
- map[group] = index;
613
+ map[group.description] = index;
614
614
 
615
615
  return map;
616
616
  }, { });