@barchart/portfolio-api-common 1.2.93 → 1.2.94

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.
@@ -286,7 +286,7 @@ module.exports = (() => {
286
286
  }
287
287
 
288
288
  function getYearlyRangeDescription(start, end) {
289
- return end.year.toString();
289
+ return `Year ended ${end.year.toString()}`;
290
290
  }
291
291
 
292
292
  function getQuarterlyRangeDescription(start, end) {
@@ -11,6 +11,7 @@ module.exports = (() => {
11
11
  * @public
12
12
  * @param {String} name
13
13
  * @param {Array.<PositionLevelDefinition>} definitions
14
+ * @oaram {Array.<String>=} exclusionDependencies
14
15
  */
15
16
  class PositionTreeDefinitions {
16
17
  constructor(name, definitions, exclusionDependencies) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@barchart/portfolio-api-common",
3
- "version": "1.2.93",
3
+ "version": "1.2.94",
4
4
  "description": "Common classes used by the Portfolio system",
5
5
  "author": {
6
6
  "name": "Bryan Ingle",
@@ -677,7 +677,7 @@ module.exports = (() => {
677
677
  }
678
678
 
679
679
  function getYearlyRangeDescription(start, end) {
680
- return end.year.toString();
680
+ return `Year ended ${end.year.toString()}`;
681
681
  }
682
682
 
683
683
  function getQuarterlyRangeDescription(start, end) {
@@ -4216,6 +4216,7 @@ module.exports = (() => {
4216
4216
  * @public
4217
4217
  * @param {String} name
4218
4218
  * @param {Array.<PositionLevelDefinition>} definitions
4219
+ * @oaram {Array.<String>=} exclusionDependencies
4219
4220
  */
4220
4221
  class PositionTreeDefinitions {
4221
4222
  constructor(name, definitions, exclusionDependencies) {