@nxtedition/deepstream.io-client-js 24.1.8 → 24.1.9

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": "24.1.8",
3
+ "version": "24.1.9",
4
4
  "description": "the javascript client for deepstream.io",
5
5
  "homepage": "http://deepstream.io",
6
6
  "bugs": {
@@ -141,7 +141,7 @@ Connection.prototype.send = function (message) {
141
141
  if (this._endpoint._socket && !this._endpoint[kCorked]) {
142
142
  this._endpoint._socket.cork()
143
143
  this._endpoint[kCorked] = true
144
- queueMicrotask(() => {
144
+ setImmediate(() => {
145
145
  this._endpoint[kCorked] = false
146
146
  this._endpoint._socket.uncork()
147
147
  })