@barchart/portfolio-api-common 1.2.84 → 1.2.85

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.
@@ -403,7 +403,7 @@ module.exports = (() => {
403
403
 
404
404
  const item = this._items.find(i => i.position.position === position.position);
405
405
 
406
- return is.object(item) && item.locked;
406
+ return is.object(item) && item.data.locked;
407
407
  }
408
408
 
409
409
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@barchart/portfolio-api-common",
3
- "version": "1.2.84",
3
+ "version": "1.2.85",
4
4
  "description": "Common classes used by the Portfolio system",
5
5
  "author": {
6
6
  "name": "Bryan Ingle",
@@ -1782,7 +1782,7 @@ module.exports = (() => {
1782
1782
 
1783
1783
  const item = this._items.find(i => i.position.position === position.position);
1784
1784
 
1785
- return is.object(item) && item.locked;
1785
+ return is.object(item) && item.data.locked;
1786
1786
  }
1787
1787
 
1788
1788
  /**