@nxtedition/deepstream.io-client-js 24.1.11 → 24.1.12

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.11",
3
+ "version": "24.1.12",
4
4
  "description": "the javascript client for deepstream.io",
5
5
  "homepage": "http://deepstream.io",
6
6
  "bugs": {
@@ -393,7 +393,7 @@ class RecordHandler {
393
393
  const rec = this.getRecord(args[0])
394
394
  const state = args.length === 2 ? args[1] : C.RECORD_STATE.SERVER
395
395
 
396
- if (rec.state < state) {
396
+ if (rec.state >= state) {
397
397
  rec.unref()
398
398
  resolve(rec.data)
399
399
  } else {