@barchart/portfolio-api-common 1.0.44 → 1.0.45

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.
@@ -19,6 +19,8 @@ module.exports = (() => {
19
19
  this._data.current = null;
20
20
  this._data.previous = position.previous || null;
21
21
 
22
+ const snapshot = this._position.snapshot;
23
+
22
24
  this._priceChangeEvent = new Event(this);
23
25
  }
24
26
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@barchart/portfolio-api-common",
3
- "version": "1.0.44",
3
+ "version": "1.0.45",
4
4
  "description": "Common classes used by the Portfolio system",
5
5
  "author": {
6
6
  "name": "Bryan Ingle",
@@ -815,6 +815,8 @@ module.exports = (() => {
815
815
  this._data.current = null;
816
816
  this._data.previous = position.previous || null;
817
817
 
818
+ const snapshot = this._position.snapshot;
819
+
818
820
  this._priceChangeEvent = new Event(this);
819
821
  }
820
822