@nxtedition/deepstream.io-client-js 23.4.16 → 23.4.18

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": "23.4.16",
3
+ "version": "23.4.18",
4
4
  "description": "the javascript client for deepstream.io",
5
5
  "homepage": "http://deepstream.io",
6
6
  "bugs": {
@@ -240,7 +240,7 @@ class Record {
240
240
 
241
241
  _unsubscribe() {
242
242
  invariant(!this._refs, this._name + ' must not have refs')
243
- invariant(this._version, this._name + ' must have version')
243
+ invariant(!this.pending, this._name + ' must not have pending')
244
244
 
245
245
  const prevState = this._state
246
246