@nxtedition/deepstream.io-client-js 24.0.4 → 24.0.5

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.0.4",
3
+ "version": "24.0.5",
4
4
  "description": "the javascript client for deepstream.io",
5
5
  "homepage": "http://deepstream.io",
6
6
  "bugs": {
@@ -62,7 +62,6 @@ class RecordHandler {
62
62
  this._client = client
63
63
  this._records = new Map()
64
64
  this._listeners = new Map()
65
- this._pending = new Map()
66
65
  this._pruning = new Set()
67
66
 
68
67
  this._connected = 0
@@ -129,15 +128,6 @@ class RecordHandler {
129
128
  } else {
130
129
  this._stats.pending -= 1
131
130
  }
132
-
133
- if (value) {
134
- this._pending.set(rec, [])
135
- } else {
136
- for (const callback of this._pending.get(rec)) {
137
- callback()
138
- }
139
- this._pending.delete(rec)
140
- }
141
131
  }
142
132
 
143
133
  _onUpdating(rec, value) {
@@ -404,10 +404,8 @@ class Record {
404
404
  _onPending(value) {
405
405
  if (value) {
406
406
  this._pending = true
407
- this.ref()
408
407
  } else {
409
408
  this._pending = false
410
- this.unref()
411
409
  }
412
410
 
413
411
  this._handler._onPending(this, value)