Skip to content

Commit b333110

Browse files
BryanBryan
authored andcommitted
Release. Bump version number
1 parent 8d313bf commit b333110

File tree

4 files changed

+137
-120
lines changed

4 files changed

+137
-120
lines changed

example/browser/example.js

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4943,11 +4943,13 @@ module.exports = (() => {
49434943
'use strict';
49444944

49454945
return {
4946-
version: '4.0.23'
4946+
version: '4.0.24'
49474947
};
49484948
})();
49494949

49504950
},{}],20:[function(require,module,exports){
4951+
const is = require('@barchart/common-js/lang/is');
4952+
49514953
module.exports = (() => {
49524954
'use strict';
49534955
/**
@@ -4962,6 +4964,10 @@ module.exports = (() => {
49624964
*/
49634965

49644966
function convertBaseCodeToUnitCode(baseCode) {
4967+
if (!is.number(baseCode)) {
4968+
return '0';
4969+
}
4970+
49654971
switch (baseCode) {
49664972
case -1:
49674973
return '2';
@@ -5006,14 +5012,14 @@ module.exports = (() => {
50065012
return 'F';
50075013

50085014
default:
5009-
return 0;
5015+
return '0';
50105016
}
50115017
}
50125018

50135019
return convertBaseCodeToUnitCode;
50145020
})();
50155021

5016-
},{}],21:[function(require,module,exports){
5022+
},{"@barchart/common-js/lang/is":42}],21:[function(require,module,exports){
50175023
const convertNumberToDayCode = require('./numberToDayCode');
50185024

50195025
module.exports = (() => {

lib/meta.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ module.exports = (() => {
22
'use strict';
33

44
return {
5-
version: '4.0.23'
5+
version: '4.0.24'
66
};
77
})();

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@barchart/marketdata-api-js",
3-
"version": "4.0.23",
3+
"version": "4.0.24",
44
"description": "SDK for streaming market data from Barchart.com",
55
"author": {
66
"name": "Eero Pikat",

0 commit comments

Comments
 (0)