@barchart/portfolio-api-common 1.0.58 → 1.0.59

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.
@@ -99,7 +99,7 @@ module.exports = (() => {
99
99
  const position = item.position;
100
100
  const snapshot = item.position.snapshot;
101
101
 
102
- updates.value = updates.basis.add(snapshot.basis);
102
+ updates.basis = updates.basis.add(snapshot.basis);
103
103
 
104
104
  return updates;
105
105
  }, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@barchart/portfolio-api-common",
3
- "version": "1.0.58",
3
+ "version": "1.0.59",
4
4
  "description": "Common classes used by the Portfolio system",
5
5
  "author": {
6
6
  "name": "Bryan Ingle",
@@ -787,7 +787,7 @@ module.exports = (() => {
787
787
  const position = item.position;
788
788
  const snapshot = item.position.snapshot;
789
789
 
790
- updates.value = updates.basis.add(snapshot.basis);
790
+ updates.basis = updates.basis.add(snapshot.basis);
791
791
 
792
792
  return updates;
793
793
  }, {