@quotemedia.com/streamer 2.52.0 → 2.54.0

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.
@@ -1,7 +1,7 @@
1
1
  <html>
2
2
 
3
3
  <head>
4
- <script src="qmci-streamer-2.52.0.min.js"></script>
4
+ <script src="qmci-streamer-2.54.0.min.js"></script>
5
5
  </head>
6
6
 
7
7
  <body>
@@ -1,7 +1,7 @@
1
1
  <html>
2
2
 
3
3
  <head>
4
- <script src="qmci-streamer-2.52.0.min.js"></script>
4
+ <script src="qmci-streamer-2.54.0.min.js"></script>
5
5
  </head>
6
6
 
7
7
  <body>
@@ -1,7 +1,7 @@
1
1
  <html>
2
2
 
3
3
  <head>
4
- <script src="qmci-streamer-2.52.0.min.js"></script>
4
+ <script src="qmci-streamer-2.54.0.min.js"></script>
5
5
  </head>
6
6
 
7
7
  <body>
@@ -2,7 +2,7 @@
2
2
  <html lang="en">
3
3
 
4
4
  <head>
5
- <script src="qmci-streamer-2.52.0.min.js"></script>
5
+ <script src="qmci-streamer-2.54.0.min.js"></script>
6
6
  <script src="https://cdnjs.cloudflare.com/ajax/libs/stomp.js/2.3.3/stomp.min.js"></script>
7
7
  </head>
8
8
 
@@ -1,7 +1,7 @@
1
1
  <html>
2
2
 
3
3
  <head>
4
- <script src="qmci-streamer-2.52.0.min.js"></script>
4
+ <script src="qmci-streamer-2.54.0.min.js"></script>
5
5
  </head>
6
6
 
7
7
  <body>
@@ -1,7 +1,7 @@
1
1
  <html>
2
2
 
3
3
  <head>
4
- <script src="qmci-streamer-2.52.0.min.js"></script>
4
+ <script src="qmci-streamer-2.54.0.min.js"></script>
5
5
  </head>
6
6
 
7
7
  <body>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quotemedia.com/streamer",
3
- "version": "2.52.0",
3
+ "version": "2.54.0",
4
4
  "description": "A JavaScript client for QuoteMedia's streaming data service.",
5
5
  "main": "lib/index.js",
6
6
  "author": "QuoteMedia",
@@ -2278,6 +2278,10 @@ var StreamingService = function () {
2278
2278
  headers['X-Stream-User-Symbology'] = _userSymbology;
2279
2279
  }
2280
2280
 
2281
+ if (this.config.entMax != null && this.config.entMax != '') {
2282
+ headers['X-Stream-EntMax'] = this.config.entMax;
2283
+ }
2284
+
2281
2285
  Object.assign(headers, this.config.credentials.getHeaders());
2282
2286
 
2283
2287
  var request = {
@@ -15393,6 +15397,10 @@ var StompStreamingService = function () {
15393
15397
  authMessage.rejectExcessiveConnection = this.config.rejectExcessiveConnection;
15394
15398
  }
15395
15399
 
15400
+ if (this.config.entMax != null && this.config.entMax !== "") {
15401
+ authMessage.entMax = this.config.entMax;
15402
+ }
15403
+
15396
15404
  stompClient.connect(headers, function (frame) {
15397
15405
  stompClient.subscribe('/user/queue/messages', function (responseMessage) {
15398
15406
  handlers(headers).onMessage(responseMessage);
@@ -15482,7 +15490,7 @@ exports.__esModule = true;
15482
15490
  */
15483
15491
 
15484
15492
  var LIBRARY_NAME = exports.LIBRARY_NAME = "JavaScript";
15485
- var VERSION = exports.VERSION = "2.52.0";
15493
+ var VERSION = exports.VERSION = "2.54.0";
15486
15494
 
15487
15495
  /**
15488
15496
  * Streamer message api namespace.
@@ -16209,6 +16217,12 @@ messages.control.AuthenticationMessage = function () {
16209
16217
  * @type {Boolean}
16210
16218
  */
16211
16219
  this.rejectExcessiveConnection = false;
16220
+
16221
+ /**
16222
+ * EntMax
16223
+ * @type {String}
16224
+ */
16225
+ this.entMax = null;
16212
16226
  };
16213
16227
  messages.control.AuthenticationMessage.prototype = new messages.control.CtrlMessage();
16214
16228