@nxtedition/deepstream.io-client-js 31.0.5 → 31.0.6

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nxtedition/deepstream.io-client-js",
3
- "version": "31.0.5",
3
+ "version": "31.0.6",
4
4
  "description": "the javascript client for deepstream.io",
5
5
  "homepage": "http://deepstream.io",
6
6
  "type": "module",
@@ -236,7 +236,7 @@ Connection.prototype._onMessage = function (data) {
236
236
  Connection.prototype._recvMessages = function (deadline) {
237
237
  for (
238
238
  let n = 0;
239
- deadline ? deadline.didTimeout || deadline.timeRemaining() : n < this._batchSize;
239
+ deadline ? deadline.didTimeout || deadline.timeRemaining() > 0 : n < this._batchSize;
240
240
  ++n
241
241
  ) {
242
242
  const message = this._recvQueue.shift()