From e17dfd9f11d37f00307ae8a8caffc0a6c2f9b299 Mon Sep 17 00:00:00 2001 From: Bryan Ingle Date: Tue, 5 Jul 2022 11:01:17 -0600 Subject: [PATCH] Release. Bump version number --- docs/_coverpage.md | 2 +- example/browser/example.js | 8 +++++--- lib/meta.js | 2 +- package.json | 2 +- 4 files changed, 8 insertions(+), 6 deletions(-) diff --git a/docs/_coverpage.md b/docs/_coverpage.md index d4a69b6..467692f 100644 --- a/docs/_coverpage.md +++ b/docs/_coverpage.md @@ -1,4 +1,4 @@ -# Barchart Market Data SDK JavaScript 5.25.0 +# Barchart Market Data SDK JavaScript 5.25.1 > Inject real-time market data into your JavaScript applications diff --git a/example/browser/example.js b/example/browser/example.js index 1b4c9ca..24d5779 100644 --- a/example/browser/example.js +++ b/example/browser/example.js @@ -5177,8 +5177,10 @@ module.exports = (() => { } if (message.subrecord === '1') { - q.lastUpdate = message.time; - q.lastUpdateUtc = _getUtcTimestamp(symbol, message.time); + if (message.time) { + q.lastUpdate = message.time; + q.lastUpdateUtc = _getUtcTimestamp(symbol, message.time); + } } _derivePriceChange(q); @@ -6047,7 +6049,7 @@ module.exports = (() => { 'use strict'; return { - version: '5.25.0' + version: '5.25.1' }; })(); diff --git a/lib/meta.js b/lib/meta.js index 532ea9a..3e431df 100644 --- a/lib/meta.js +++ b/lib/meta.js @@ -2,6 +2,6 @@ module.exports = (() => { 'use strict'; return { - version: '5.25.0' + version: '5.25.1' }; })(); \ No newline at end of file diff --git a/package.json b/package.json index 8b1b88a..d60b37a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@barchart/marketdata-api-js", - "version": "5.25.0", + "version": "5.25.1", "description": "SDK for streaming market data from Barchart.com", "author": { "name": "Eero Pikat",