Skip to content

Commit

Permalink
Release. Bump version number
Browse files Browse the repository at this point in the history
  • Loading branch information
bryaningl3 committed Apr 4, 2024
1 parent ba5ad7d commit 4e3c958
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion docs/_coverpage.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Barchart Alerting Service SDK <small>JavaScript 4.19.1</small>
# Barchart Alerting Service SDK <small>JavaScript 4.19.2</small>

> Continuously monitor market conditions and receive notifications
Expand Down
8 changes: 4 additions & 4 deletions example/browser/example.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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;
});
Expand Down Expand Up @@ -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`);
}
}
Expand Down Expand Up @@ -4233,7 +4233,7 @@ module.exports = (() => {
'use strict';

return {
version: '4.19.1'
version: '4.19.2'
};
})();

Expand Down
2 changes: 1 addition & 1 deletion lib/meta.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ module.exports = (() => {
'use strict';

return {
version: '4.19.1'
version: '4.19.2'
};
})();
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down

0 comments on commit 4e3c958

Please sign in to comment.