@nxtedition/deepstream.io-client-js 31.0.0 → 31.0.1
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 +1 -1
- package/src/record/record.js +2 -2
package/package.json
CHANGED
package/src/record/record.js
CHANGED
|
@@ -377,6 +377,8 @@ class Record {
|
|
|
377
377
|
|
|
378
378
|
const update = [this._name, nextVersion, jsonPath.stringify(nextData), prevVersion]
|
|
379
379
|
|
|
380
|
+
connection.sendMsg(C.TOPIC.RECORD, C.ACTIONS.UPDATE, update)
|
|
381
|
+
|
|
380
382
|
if (!this._updating) {
|
|
381
383
|
this._onUpdating(true)
|
|
382
384
|
}
|
|
@@ -387,8 +389,6 @@ class Record {
|
|
|
387
389
|
throw new Error('invalid state')
|
|
388
390
|
}
|
|
389
391
|
|
|
390
|
-
connection.sendMsg(C.TOPIC.RECORD, C.ACTIONS.UPDATE, update)
|
|
391
|
-
|
|
392
392
|
this._data = nextData
|
|
393
393
|
this._version = nextVersion
|
|
394
394
|
}
|