@barchart/portfolio-api-common 1.3.2 → 1.3.3

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.
@@ -571,12 +571,12 @@ module.exports = (() => {
571
571
  data.periodUnrealizedChange = periodUnrealizedChange;
572
572
  } else {
573
573
  data.unrealizedChange = Decimal.ZERO;
574
- data.periodUnrealized = Decimal.ZERO;
574
+ data.periodUnrealizedChange = Decimal.ZERO;
575
575
  data.periodGainChange = Decimal.ZERO;
576
576
  }
577
577
  } else {
578
578
  data.unrealizedChange = Decimal.ZERO;
579
- data.periodUnrealized = Decimal.ZERO;
579
+ data.periodUnrealizedChange = Decimal.ZERO;
580
580
  data.periodGainChange = Decimal.ZERO;
581
581
  }
582
582
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@barchart/portfolio-api-common",
3
- "version": "1.3.2",
3
+ "version": "1.3.3",
4
4
  "description": "Common classes used by the Portfolio system",
5
5
  "author": {
6
6
  "name": "Bryan Ingle",
@@ -4113,12 +4113,12 @@ module.exports = (() => {
4113
4113
  data.periodUnrealizedChange = periodUnrealizedChange;
4114
4114
  } else {
4115
4115
  data.unrealizedChange = Decimal.ZERO;
4116
- data.periodUnrealized = Decimal.ZERO;
4116
+ data.periodUnrealizedChange = Decimal.ZERO;
4117
4117
  data.periodGainChange = Decimal.ZERO;
4118
4118
  }
4119
4119
  } else {
4120
4120
  data.unrealizedChange = Decimal.ZERO;
4121
- data.periodUnrealized = Decimal.ZERO;
4121
+ data.periodUnrealizedChange = Decimal.ZERO;
4122
4122
  data.periodGainChange = Decimal.ZERO;
4123
4123
  }
4124
4124
  }