@quotemedia.com/streamer 2.49.0 → 2.51.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.
package/README.md CHANGED
@@ -1,158 +1,3 @@
1
- # Quotemedia Streaming Data Service JavaScript Client
1
+ JavaScript streaming client that provides easy-to-use client APIs to connect and subscribe to QuoteMedia's market data streaming services.
2
2
 
3
- Javascript library responsible to connect to the Quotemedia Streaming Service.
4
-
5
- ### Requirements
6
-
7
- ````
8
- 1. Quotemedia Credentials
9
- ````
10
-
11
- ### Usage
12
- Include the javascript file (qmci-streamer-2.49.0.min.js) in your html page.
13
-
14
- ````
15
- <script src="qmci-streamer-2.49.0.min.js"></script>
16
- ````
17
-
18
- After this, you should be able to use the Streamer object. It will allow you to authenticate, subscribe and unsubscribe
19
- symbols. More details in the enduser-example.html, enterprise-token-example.html, wmid-example.html and subscription-example.html.
20
-
21
- ### Authentication
22
-
23
- ````
24
- Streamer.login({
25
- host: 'https://app.quotemedia.com/auth',
26
- credentials: {
27
- wmid: "YourWebmasterID",
28
- username: "YourUsername",
29
- password: "YourPassword"
30
- }
31
- }
32
- ````
33
- When using the login method this will generate a SID which then can be used to open a Streamer connection. You can also authenticate using different methods like:
34
- - Credentials
35
- - SID Token
36
- - Enterprise token
37
- - Webmaster ID
38
- - Datatool token
39
-
40
-
41
-
42
- ### Open
43
-
44
- Set rejectExcessiveConnection:true to reject new connections when limit is reached. If not specified or value is false,
45
- first open connection will be closed instead.
46
-
47
- If needed, there is ability to specify conflation value per connection. When conflation value is null
48
- or not specified, default conflation is used.
49
-
50
- Set format value to 'application/qitch' to use this binary protocol.
51
- Please note that although QITCH protocol uses less bandwidth it can cause significant performance degradation.
52
- In case if no format was specified JSON will be used by default.
53
-
54
- if and SID was previously generated using the login() funtion, it will be used to open the connection, otherwise a WMID and/or token will be required for opening (please see the wmid-example.html and the enterprise-token.html)
55
-
56
- ````
57
- Streamer.open({
58
- host: 'https://app.quotemedia.com/cache',
59
- cors: true,
60
- rejectExcessiveConnection: false,
61
- conflation: null,
62
- format: 'application/json',
63
- credentials: { sid: sid }
64
- }, then(function(stream) {
65
- // After successfully opening the stream,
66
- // listen for its events.
67
- ...
68
- }));
69
- ````
70
-
71
- After a connection was open, make sure to add the different event listeners required for the different events that the streamer object may trigger (please see more of this events on any of the examples).
72
-
73
- ### Subscription
74
-
75
- The different subscriptionTypes that you can subscribe to are:
76
- - Streamer.subscriptionTypes.QUOTE
77
- - Streamer.subscriptionTypes.PRICEDATA
78
- - Streamer.subscriptionTypes.TRADE
79
- - Streamer.subscriptionTypes.MMQUOTE
80
- - Streamer.subscriptionTypes.ORDERBOOK
81
- - Streamer.subscriptionTypes.INTERVAL
82
- - Streamer.subscriptionTypes.NETHOUSEPOSITION
83
- - Streamer.subscriptionTypes.LASTSALE
84
- - Streamer.subscriptionTypes.LIMITUPLIMITDOWN
85
- - Streamer.subscriptionTypes.IVGREEKS
86
- - Streamer.subscriptionTypes.IMBALANCESTATUS
87
-
88
- Some of this subscriptionTypes required different entitlements so make sure that you do have entitlements for the required datatype.
89
-
90
- Then the different market data response types that can be received from the server are:
91
- - Streamer.marketDataTypes.QUOTE
92
- - Streamer.marketDataTypes.PRICEDATA
93
- - Streamer.marketDataTypes.TRADE
94
- - Streamer.marketDataTypes.INTERVAL
95
- - Streamer.marketDataTypes.NETHOUSEPOSITION
96
- - Streamer.marketDataTypes.MMQUOTE
97
- - Streamer.marketDataTypes.BOOKORDER
98
- - Streamer.marketDataTypes.PURGEBOOK
99
- - Streamer.marketDataTypes.BOOKDELETE
100
- - Streamer.marketDataTypes.SYMBOLINFO
101
- - Streamer.marketDataTypes.SYMBOLSTATUS
102
- - Streamer.marketDataTypes.DERIVATIVEINFO
103
- - Streamer.marketDataTypes.LASTSALE
104
- - Streamer.marketDataTypes.LIMITUPLIMITDOWN
105
- - Streamer.marketDataTypes.IVGREEKS
106
- - Streamer.marketDataTypes.IMBALANCESTATUS
107
- - Streamer.marketDataTypes.ALERT
108
- - Streamer.marketDataTypes.NEWS
109
- - Streamer.marketDataTypes.TRADENOTIFICATION
110
- - Streamer.marketDataTypes.NEWSCMDFILTER
111
- - Streamer.marketDataTypes.NEWSERROR
112
- - Streamer.marketDataTypes.DIVIDEND
113
-
114
- You can check which types of market data message you are receiving by using the method:
115
- ``Streamer.marketDataTypes.get(msg)``
116
-
117
- An optional options object can also be passed in. Current available options include:
118
- - skipHeavyInitialLoad: whether to skip initial heavy loads (e.g., previous trades and intervals), defaults to false.
119
- - conflation: Override default connection conflation, default to null. A matching conflation must be supplied when unsubscribing.
120
-
121
- ````
122
- stream.subscribe(["GOOG"], [Streamer.dataTypes.PRICEDATA], { skipHeavyInitialLoad: false }, then(function(result) {
123
- ...
124
- }
125
- ````
126
-
127
- The subscription result will include the successful subscriptions as well as the unentitled and rejected subscriptions and invalid symbols.
128
-
129
- ### Exchange subscription
130
- ##### NOTE:
131
- This type of subscription will only work if you are entitled to exchange subscription data.
132
- Subscription to an exchange to receive stock status messages containing data such as halt, resume, regSHO.
133
-
134
- ````
135
- stream.subscribeExchange("NYE", then(function(result) {
136
- ...
137
- }
138
- ````
139
-
140
- ### Unsubscription
141
- ````
142
- stream.unsubscribe(["GOOG"], [Streamer.dataTypes.PRICEDATA], {}, then(function(result) {
143
- ...
144
- }
145
- ````
146
-
147
- Unsubscribe for symbols and data types. These can be either single strings or arrays of strings. An optional options object can also be passed in. Current available options include:
148
- - conflation: Override default connection conflation, default to null. Should match a subscribe conflation.
149
-
150
- ### Retrieve available number of symbols and connections, number of currently open connections and subscribed symbols.
151
- ````
152
- stream.getSessionStats();
153
- ...
154
- }
155
- ````
156
-
157
- ## Quotemedia Contact
158
- https://www.quotemedia.com/
3
+ https://quotemedia.com/
@@ -1,7 +1,7 @@
1
1
  <html>
2
2
 
3
3
  <head>
4
- <script src="qmci-streamer-2.49.0.min.js"></script>
4
+ <script src="qmci-streamer-2.51.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.49.0.min.js"></script>
4
+ <script src="qmci-streamer-2.51.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.49.0.min.js"></script>
4
+ <script src="qmci-streamer-2.51.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.49.0.min.js"></script>
5
+ <script src="qmci-streamer-2.51.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.49.0.min.js"></script>
4
+ <script src="qmci-streamer-2.51.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.49.0.min.js"></script>
4
+ <script src="qmci-streamer-2.51.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.49.0",
3
+ "version": "2.51.0",
4
4
  "description": "A JavaScript client for QuoteMedia's streaming data service.",
5
5
  "main": "lib/index.js",
6
6
  "author": "QuoteMedia",
@@ -1451,7 +1451,6 @@ var Stream = function () {
1451
1451
  (0, _utils.removeFromArray)(exchangeSub.id, msg.__id);
1452
1452
  delete this.pendingExchangeSubscriptions[msg.__id];
1453
1453
 
1454
- console.log(msg);
1455
1454
  if (msg.code != 200) {
1456
1455
  var event = events.error("Error subscribing", {
1457
1456
  code: msg.code,
@@ -1479,7 +1478,6 @@ var Stream = function () {
1479
1478
 
1480
1479
  var result = newsSub.result;
1481
1480
 
1482
- console.log(msg);
1483
1481
  if (msg.code != 200) {
1484
1482
  var event = events.error("Error subscribing to news", {
1485
1483
  code: msg.code,
@@ -1562,7 +1560,6 @@ var Stream = function () {
1562
1560
 
1563
1561
  var result = corpEventSub.result;
1564
1562
 
1565
- console.log(msg);
1566
1563
  if (msg.code != 200) {
1567
1564
  var event = events.error("Error subscribing to Corporate Events", {
1568
1565
  code: msg.code,
@@ -1643,7 +1640,6 @@ var Stream = function () {
1643
1640
  (0, _utils.removeFromArray)(alertsSub.id, msg.__id);
1644
1641
  delete this.pendingAlertSubscription[msg.__id];
1645
1642
 
1646
- console.log(msg);
1647
1643
  if (msg.code != 200 && !alertsSub.failed) {
1648
1644
  alertsSub.failed = true;
1649
1645
  var event = events.error("Error subscribing", {
@@ -1678,7 +1674,6 @@ var Stream = function () {
1678
1674
  (0, _utils.removeFromArray)(tradeSub.id, msg.__id);
1679
1675
  delete this.pendingTradeSubscription[msg.__id];
1680
1676
 
1681
- console.log(msg);
1682
1677
  if (msg.code != 200 && !tradeSub.failed) {
1683
1678
  tradeSub.failed = true;
1684
1679
  var event = events.error("Error subscribing", {
@@ -1713,7 +1708,6 @@ var Stream = function () {
1713
1708
  (0, _utils.removeFromArray)(newsUnsub.id, msg.__id);
1714
1709
  delete this.pendingNewsUnsubscriptions[msg.__id];
1715
1710
 
1716
- console.log("msg", msg);
1717
1711
  var result = newsUnsub.result;
1718
1712
 
1719
1713
  if (msg.code != 200 && !newsUnsub.failed) {
@@ -1762,7 +1756,6 @@ var Stream = function () {
1762
1756
  (0, _utils.removeFromArray)(tradeSub.id, msg.__id);
1763
1757
  delete this.pendingTradeUnsubscription[msg.__id];
1764
1758
 
1765
- console.log(msg);
1766
1759
  if (msg.code != 200 && !tradeSub.failed) {
1767
1760
  tradeSub.failed = true;
1768
1761
  var event = events.error("Error unsubscribing", {
@@ -1791,7 +1784,6 @@ var Stream = function () {
1791
1784
  };
1792
1785
 
1793
1786
  Stream.prototype.onNewsCmdFilterRefreshResponse = function onNewsCmdFilterRefreshResponse(msg) {
1794
- console.log("msg", msg);
1795
1787
  if (msg.code != 200) {
1796
1788
  var event = events.error("Error Refreshing News Filters", {
1797
1789
  code: msg.code,
@@ -1805,7 +1797,6 @@ var Stream = function () {
1805
1797
  };
1806
1798
 
1807
1799
  Stream.prototype.onNewsCmdFilterResponse = function onNewsCmdFilterResponse(msg) {
1808
- console.log("msg", msg);
1809
1800
  if (msg.code != 200) {
1810
1801
  var event = events.error("Error Getting News Filters Status", {
1811
1802
  code: msg.code,
@@ -1862,7 +1853,6 @@ var Stream = function () {
1862
1853
  (0, _utils.removeFromArray)(exchangeSub.id, msg.__id);
1863
1854
  delete this.pendingExchangeUnsubscriptions[msg.__id];
1864
1855
 
1865
- console.log(msg);
1866
1856
  if (msg.code != 200) {
1867
1857
  var event = events.error("Error unsubscribing", {
1868
1858
  code: msg.code,
@@ -1888,7 +1878,6 @@ var Stream = function () {
1888
1878
  this.conn.setReconnect = false;
1889
1879
  }
1890
1880
  this.events.fire("reconnectMessage", msg);
1891
- console.log(msg);
1892
1881
  };
1893
1882
 
1894
1883
  Stream.prototype.onConnectResponse = function onConnectResponse(msg) {
@@ -11044,7 +11033,7 @@ var LastSaleDecoder = function () {
11044
11033
  out.locateCode = _Qitch2["default"].locatecode(src, offset + def.SYMBOL_OFFSET);
11045
11034
  out.last = _Qitch2["default"].dec8double(src, offset + def.LAST_OFFSET);
11046
11035
  out.previousClose = _Qitch2["default"].dec8double(src, offset + def.PREVCLOSE_OFFSET);
11047
- out.accumulatedVolume = _Qitch2["default"].int64(src, offset + def.ACCUMULATEDVOLUME_OFFSET);
11036
+ out.accumulatedVolume = _Qitch2["default"].dec8double(src, offset + def.DECIMALACCUMULATEDVOLUME_OFFSET);
11048
11037
  out.tick = _Qitch2["default"].tick(src, offset + def.TICK_OFFSET);
11049
11038
  out.change = this._change(out);
11050
11039
  out.percentChange = this._percentChange(out);
@@ -11576,7 +11565,7 @@ var TradeDecoder = function () {
11576
11565
  resultingMessage.size = _Qitch2["default"].dec8double(src, offset + def.DECIMALSIZE_OFFSET);
11577
11566
  resultingMessage.indicator = _Qitch2["default"].asciichar(src, offset + def.INDICATOR_OFFSET);
11578
11567
  resultingMessage.tick = _Qitch2["default"].tick(src, offset + def.TICK_OFFSET);
11579
- resultingMessage.accumulatedVolume = _Qitch2["default"].int64(src, offset + def.ACCUMULATEDVOLUME_OFFSET);
11568
+ resultingMessage.accumulatedVolume = _Qitch2["default"].dec8double(src, offset + def.DECIMALACCUMULATEDVOLUME_OFFSET);
11580
11569
  resultingMessage.sequenceNumber = _Qitch2["default"].int32(src, offset + def.SEQUENCENUMBER_OFFSET);
11581
11570
  resultingMessage.flags = _Qitch2["default"].int32(src, offset + def.FLAGS_OFFSET);
11582
11571
  resultingMessage.buyerID = _Qitch2["default"].mmid(src, offset + def.BUYERMMID_OFFSET);
@@ -12224,10 +12213,12 @@ var LENGTH = exports.LENGTH = PERIODMS_OFFSET + _QitchConstants.INT_LENGTH;
12224
12213
  "use strict";
12225
12214
 
12226
12215
  exports.__esModule = true;
12227
- exports.LENGTH = exports.LASTTRADE_EXCODE_OFFSET = exports.TICK_OFFSET = exports.ACCUMULATEDVOLUME_OFFSET = exports.PREVCLOSE_OFFSET = exports.LAST_OFFSET = exports.SYMBOL_OFFSET = exports.TIMESTAMP_OFFSET = exports.TYPEID = undefined;
12216
+ exports.LENGTH = exports.DECIMALACCUMULATEDVOLUME_OFFSET = exports.LASTTRADE_EXCODE_OFFSET = exports.TICK_OFFSET = exports.ACCUMULATEDVOLUME_OFFSET = exports.PREVCLOSE_OFFSET = exports.LAST_OFFSET = exports.SYMBOL_OFFSET = exports.TIMESTAMP_OFFSET = exports.TYPEID = undefined;
12228
12217
 
12229
12218
  var _QitchConstants = require("../QitchConstants");
12230
12219
 
12220
+ var _TradeDef = require("./TradeDef");
12221
+
12231
12222
  var TYPEID = exports.TYPEID = 13;
12232
12223
 
12233
12224
  var TIMESTAMP_OFFSET = exports.TIMESTAMP_OFFSET = 0;
@@ -12237,9 +12228,10 @@ var PREVCLOSE_OFFSET = exports.PREVCLOSE_OFFSET = LAST_OFFSET + _QitchConstants.
12237
12228
  var ACCUMULATEDVOLUME_OFFSET = exports.ACCUMULATEDVOLUME_OFFSET = PREVCLOSE_OFFSET + _QitchConstants.DOUBLE_LENGTH;
12238
12229
  var TICK_OFFSET = exports.TICK_OFFSET = ACCUMULATEDVOLUME_OFFSET + _QitchConstants.LONG_LENGTH;
12239
12230
  var LASTTRADE_EXCODE_OFFSET = exports.LASTTRADE_EXCODE_OFFSET = TICK_OFFSET + _QitchConstants.TICK_LENGTH;
12240
- var LENGTH = exports.LENGTH = LASTTRADE_EXCODE_OFFSET + _QitchConstants.EXCODE_LENGTH;
12231
+ var DECIMALACCUMULATEDVOLUME_OFFSET = exports.DECIMALACCUMULATEDVOLUME_OFFSET = LASTTRADE_EXCODE_OFFSET + _QitchConstants.EXCODE_LENGTH;
12232
+ var LENGTH = exports.LENGTH = DECIMALACCUMULATEDVOLUME_OFFSET + _QitchConstants.DOUBLE_LENGTH;
12241
12233
  }).call(this,require('_process'),typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {},require("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],require("timers").setImmediate,require("timers").clearImmediate,"/lib/qitch/marketDataDefinition/LastSaleDef.js","/lib/qitch/marketDataDefinition")
12242
- },{"../QitchConstants":26,"_process":131,"buffer":121,"timers":152}],90:[function(require,module,exports){
12234
+ },{"../QitchConstants":26,"./TradeDef":98,"_process":131,"buffer":121,"timers":152}],90:[function(require,module,exports){
12243
12235
  (function (process,global,Buffer,__argument0,__argument1,__argument2,__argument3,setImmediate,clearImmediate,__filename,__dirname){
12244
12236
  "use strict";
12245
12237
 
@@ -12496,7 +12488,7 @@ var LENGTH = exports.LENGTH = SYMBOL_OFFSET + _QitchConstants.SYMBOL_LENGTH;
12496
12488
  "use strict";
12497
12489
 
12498
12490
  exports.__esModule = true;
12499
- exports.TradeFlags = exports.LENGTH = exports.DECIMALSIZE_OFFSET = exports.EXCODE_OFFSET = exports.VWAP_OFFSET = exports.MATCHID_OFFSET = exports.RANGEINDICATOR_OFFSET = exports.SELLERMMID_OFFSET = exports.BUYERMMID_OFFSET = exports.FLAGS_OFFSET = exports.SEQUENCENUMBER_OFFSET = exports.ACCUMULATEDVOLUME_OFFSET = exports.TICK_OFFSET = exports.INDICATOR_OFFSET = exports.SIZE_OFFSET = exports.PRICE_OFFSET = exports.SYMBOL_OFFSET = exports.TIMESTAMP_OFFSET = exports.TYPEID = undefined;
12491
+ exports.TradeFlags = exports.LENGTH = exports.DECIMALACCUMULATEDVOLUME_OFFSET = exports.DECIMALSIZE_OFFSET = exports.EXCODE_OFFSET = exports.VWAP_OFFSET = exports.MATCHID_OFFSET = exports.RANGEINDICATOR_OFFSET = exports.SELLERMMID_OFFSET = exports.BUYERMMID_OFFSET = exports.FLAGS_OFFSET = exports.SEQUENCENUMBER_OFFSET = exports.ACCUMULATEDVOLUME_OFFSET = exports.TICK_OFFSET = exports.INDICATOR_OFFSET = exports.SIZE_OFFSET = exports.PRICE_OFFSET = exports.SYMBOL_OFFSET = exports.TIMESTAMP_OFFSET = exports.TYPEID = undefined;
12500
12492
 
12501
12493
  var _QitchConstants = require("../QitchConstants");
12502
12494
 
@@ -12520,7 +12512,8 @@ var MATCHID_OFFSET = exports.MATCHID_OFFSET = RANGEINDICATOR_OFFSET + _QitchCons
12520
12512
  var VWAP_OFFSET = exports.VWAP_OFFSET = MATCHID_OFFSET + _QitchConstants.LONG_LENGTH;
12521
12513
  var EXCODE_OFFSET = exports.EXCODE_OFFSET = VWAP_OFFSET + _QitchConstants.DOUBLE_LENGTH;
12522
12514
  var DECIMALSIZE_OFFSET = exports.DECIMALSIZE_OFFSET = EXCODE_OFFSET + _QitchConstants.EXCODE_LENGTH;
12523
- var LENGTH = exports.LENGTH = DECIMALSIZE_OFFSET + _QitchConstants.DOUBLE_LENGTH;
12515
+ var DECIMALACCUMULATEDVOLUME_OFFSET = exports.DECIMALACCUMULATEDVOLUME_OFFSET = DECIMALSIZE_OFFSET + _QitchConstants.DOUBLE_LENGTH;
12516
+ var LENGTH = exports.LENGTH = DECIMALACCUMULATEDVOLUME_OFFSET + _QitchConstants.DOUBLE_LENGTH;
12524
12517
 
12525
12518
  var TradeFlags = exports.TradeFlags = function () {
12526
12519
  function TradeFlags() {
@@ -14497,7 +14490,6 @@ var StompStream = function () {
14497
14490
 
14498
14491
  StompStream.prototype.SCFHandlectrlmsg = function SCFHandlectrlmsg(msg) {
14499
14492
  this.log.debug(_formatting.msgfmt.fmt(msg));
14500
- console.log(this.pendingSCFMessages);
14501
14493
  var request = this.pendingSCFMessages[msg.__id];
14502
14494
  var callback = request.callback;
14503
14495
 
@@ -14631,7 +14623,6 @@ var StompStream = function () {
14631
14623
  (0, _utils.removeFromArray)(exchangeSub.id, msg.__id);
14632
14624
  delete this.pendingExchangeSubscriptions[msg.__id];
14633
14625
 
14634
- console.log(msg);
14635
14626
  if (msg.code != 200) {
14636
14627
  var event = events.error("Error subscribing", {
14637
14628
  code: msg.code,
@@ -14659,7 +14650,6 @@ var StompStream = function () {
14659
14650
 
14660
14651
  var result = newsSub.result;
14661
14652
 
14662
- console.log(msg);
14663
14653
  if (msg.code != 200) {
14664
14654
  var event = events.error("Error subscribing to news", {
14665
14655
  code: msg.code,
@@ -14742,7 +14732,6 @@ var StompStream = function () {
14742
14732
 
14743
14733
  var result = corpEventSub.result;
14744
14734
 
14745
- console.log(msg);
14746
14735
  if (msg.code != 200) {
14747
14736
  var event = events.error("Error subscribing to Corporate Events", {
14748
14737
  code: msg.code,
@@ -14823,7 +14812,6 @@ var StompStream = function () {
14823
14812
  (0, _utils.removeFromArray)(alertsSub.id, msg.__id);
14824
14813
  delete this.pendingAlertSubscription[msg.__id];
14825
14814
 
14826
- console.log(msg);
14827
14815
  if (msg.code != 200 && !alertsSub.failed) {
14828
14816
  alertsSub.failed = true;
14829
14817
  var event = events.error("Error subscribing", {
@@ -14858,7 +14846,6 @@ var StompStream = function () {
14858
14846
  (0, _utils.removeFromArray)(tradeSub.id, msg.__id);
14859
14847
  delete this.pendingTradeSubscription[msg.__id];
14860
14848
 
14861
- console.log(msg);
14862
14849
  if (msg.code != 200 && !tradeSub.failed) {
14863
14850
  tradeSub.failed = true;
14864
14851
  var event = events.error("Error subscribing", {
@@ -14893,7 +14880,6 @@ var StompStream = function () {
14893
14880
  (0, _utils.removeFromArray)(newsUnsub.id, msg.__id);
14894
14881
  delete this.pendingNewsUnsubscriptions[msg.__id];
14895
14882
 
14896
- console.log("msg", msg);
14897
14883
  var result = newsUnsub.result;
14898
14884
 
14899
14885
  if (msg.code != 200 && !newsUnsub.failed) {
@@ -14942,7 +14928,6 @@ var StompStream = function () {
14942
14928
  (0, _utils.removeFromArray)(tradeSub.id, msg.__id);
14943
14929
  delete this.pendingTradeUnsubscription[msg.__id];
14944
14930
 
14945
- console.log(msg);
14946
14931
  if (msg.code != 200 && !tradeSub.failed) {
14947
14932
  tradeSub.failed = true;
14948
14933
  var event = events.error("Error unsubscribing", {
@@ -14971,7 +14956,6 @@ var StompStream = function () {
14971
14956
  };
14972
14957
 
14973
14958
  StompStream.prototype.onNewsCmdFilterRefreshResponse = function onNewsCmdFilterRefreshResponse(msg) {
14974
- console.log("msg", msg);
14975
14959
  if (msg.code != 200) {
14976
14960
  var event = events.error("Error Refreshing News Filters", {
14977
14961
  code: msg.code,
@@ -14985,7 +14969,6 @@ var StompStream = function () {
14985
14969
  };
14986
14970
 
14987
14971
  StompStream.prototype.onNewsCmdFilterResponse = function onNewsCmdFilterResponse(msg) {
14988
- console.log("msg", msg);
14989
14972
  if (msg.code != 200) {
14990
14973
  var event = events.error("Error Getting News Filters Status", {
14991
14974
  code: msg.code,
@@ -15042,7 +15025,6 @@ var StompStream = function () {
15042
15025
  (0, _utils.removeFromArray)(exchangeSub.id, msg.__id);
15043
15026
  delete this.pendingExchangeUnsubscriptions[msg.__id];
15044
15027
 
15045
- console.log(msg);
15046
15028
  if (msg.code != 200) {
15047
15029
  var event = events.error("Error unsubscribing", {
15048
15030
  code: msg.code,
@@ -15068,7 +15050,6 @@ var StompStream = function () {
15068
15050
  this.conn.setReconnect = false;
15069
15051
  }
15070
15052
  this.events.fire("reconnectMessage", msg);
15071
- console.log(msg);
15072
15053
  };
15073
15054
 
15074
15055
  StompStream.prototype.onConnectResponse = function onConnectResponse(msg) {
@@ -15457,7 +15438,7 @@ exports.__esModule = true;
15457
15438
  */
15458
15439
 
15459
15440
  var LIBRARY_NAME = exports.LIBRARY_NAME = "JavaScript";
15460
- var VERSION = exports.VERSION = "2.49.0";
15441
+ var VERSION = exports.VERSION = "2.51.0";
15461
15442
 
15462
15443
  /**
15463
15444
  * Streamer message api namespace.