diff --git a/docs/_coverpage.md b/docs/_coverpage.md index 9c2ab0e..35ea67d 100644 --- a/docs/_coverpage.md +++ b/docs/_coverpage.md @@ -1,4 +1,4 @@ -# Barchart Alerting Service SDK JavaScript 4.19.1 +# Barchart Alerting Service SDK JavaScript 4.19.2 > Continuously monitor market conditions and receive notifications diff --git a/example/browser/example.js b/example/browser/example.js index 7ab0e67..39a502f 100644 --- a/example/browser/example.js +++ b/example/browser/example.js @@ -2144,7 +2144,7 @@ module.exports = (() => { valid = false; } if (valid && (property.property_id === 238 || property.property_id === 239)) { - valid = instrument.hasOptions && (instrument.symbolType === 1 || instrument.symbolType === 9); + valid = instrument.hasOptions && (instrument.symbolType === 1 || instrument.symbolType === 7 || instrument.symbolType === 9); } if (valid && is.number(target)) { valid = property.target.target_id === target; @@ -2251,7 +2251,7 @@ module.exports = (() => { valid = false; } if (valid && properties.some(p => p === 238 || p === 239)) { - valid = instrument.hasOptions && (instrument.symbolType === 1 || instrument.symbolType === 9); + valid = instrument.hasOptions && (instrument.symbolType === 1 || instrument.symbolType === 7 || instrument.symbolType === 9); } return valid; }); @@ -3979,7 +3979,7 @@ module.exports = (() => { if ((property.property_id === 238 || property.property_id === 239) && !instrument.hasOptions) { throw new Error(`${symbol} does not have options and cannot be used for option flow alerts`); } - if ((property.property_id === 238 || property.property_id === 239) && !(instrument.symbolType === 1 || instrument.symbolType === 9)) { + if ((property.property_id === 238 || property.property_id === 239) && !(instrument.symbolType === 1 || instrument.symbolType === 7 || instrument.symbolType === 9)) { throw new Error(`${symbol} does not support option flow alerts`); } } @@ -4233,7 +4233,7 @@ module.exports = (() => { 'use strict'; return { - version: '4.19.1' + version: '4.19.2' }; })(); diff --git a/lib/meta.js b/lib/meta.js index fa01418..90acdb7 100644 --- a/lib/meta.js +++ b/lib/meta.js @@ -2,6 +2,6 @@ module.exports = (() => { 'use strict'; return { - version: '4.19.1' + version: '4.19.2' }; })(); \ No newline at end of file diff --git a/package.json b/package.json index 32104a9..e51b14b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@barchart/alerts-client-js", - "version": "4.19.1", + "version": "4.19.2", "description": "JavaScript SDK for Barchart Alert Service", "author": { "name": "Bryan Ingle",