@barchart/portfolio-api-common 1.2.10 → 1.2.11

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.
@@ -155,6 +155,7 @@ module.exports = (() => {
155
155
  associateTypes(InstrumentType.FUND, TransactionType.FEE, true, [ PositionDirection.LONG ]);
156
156
  associateTypes(InstrumentType.FUND, TransactionType.FEE_UNITS, false);
157
157
  associateTypes(InstrumentType.FUND, TransactionType.DISTRIBUTION_CASH, false);
158
+ associateTypes(InstrumentType.FUND, TransactionType.DISTRIBUTION_REINVEST, false);
158
159
  associateTypes(InstrumentType.FUND, TransactionType.DISTRIBUTION_FUND, false);
159
160
 
160
161
  associateTypes(InstrumentType.OTHER, TransactionType.BUY, true, [ PositionDirection.LONG, PositionDirection.EVEN ]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@barchart/portfolio-api-common",
3
- "version": "1.2.10",
3
+ "version": "1.2.11",
4
4
  "description": "Common classes used by the Portfolio system",
5
5
  "author": {
6
6
  "name": "Bryan Ingle",
@@ -1144,6 +1144,7 @@ module.exports = (() => {
1144
1144
  associateTypes(InstrumentType.FUND, TransactionType.FEE, true, [ PositionDirection.LONG ]);
1145
1145
  associateTypes(InstrumentType.FUND, TransactionType.FEE_UNITS, false);
1146
1146
  associateTypes(InstrumentType.FUND, TransactionType.DISTRIBUTION_CASH, false);
1147
+ associateTypes(InstrumentType.FUND, TransactionType.DISTRIBUTION_REINVEST, false);
1147
1148
  associateTypes(InstrumentType.FUND, TransactionType.DISTRIBUTION_FUND, false);
1148
1149
 
1149
1150
  associateTypes(InstrumentType.OTHER, TransactionType.BUY, true, [ PositionDirection.LONG, PositionDirection.EVEN ]);