@barchart/portfolio-api-common 1.2.6 → 1.2.7

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.
@@ -174,7 +174,7 @@ module.exports = (() => {
174
174
  static fromSymbolType(code) {
175
175
  assert.argumentIsRequired(code, 'code', Number);
176
176
 
177
- if (code === 1 || code === 6) {
177
+ if (code === 1 || code === 6 || code === 7) {
178
178
  return InstrumentType.EQUITY;
179
179
  } else if (code === 5 || code == 15) {
180
180
  return InstrumentType.FUND;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@barchart/portfolio-api-common",
3
- "version": "1.2.6",
3
+ "version": "1.2.7",
4
4
  "description": "Common classes used by the Portfolio system",
5
5
  "author": {
6
6
  "name": "Bryan Ingle",
@@ -175,7 +175,7 @@ module.exports = (() => {
175
175
  static fromSymbolType(code) {
176
176
  assert.argumentIsRequired(code, 'code', Number);
177
177
 
178
- if (code === 1 || code === 6) {
178
+ if (code === 1 || code === 6 || code === 7) {
179
179
  return InstrumentType.EQUITY;
180
180
  } else if (code === 5 || code == 15) {
181
181
  return InstrumentType.FUND;