@barchart/portfolio-api-common 6.4.1 → 6.4.2

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.
@@ -987,7 +987,7 @@ module.exports = (() => {
987
987
  format.expired = definition.type === PositionLevelType.POSITION && item.data.expired;
988
988
  }
989
989
 
990
- if (group.homogeneous && groupItems.length > 1) {
990
+ if (group.homogeneous && groupItems.length !== 0) {
991
991
  const item = groupItems[0];
992
992
 
993
993
  format.expired = item.data.expired;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@barchart/portfolio-api-common",
3
- "version": "6.4.1",
3
+ "version": "6.4.2",
4
4
  "description": "Common JavaScript code used by Barchart's Portfolio Service",
5
5
  "author": {
6
6
  "name": "Bryan Ingle",