cry-synced-db-client 0.1.18 → 0.1.19

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.
Files changed (2) hide show
  1. package/dist/index.js +2 -0
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1288,6 +1288,8 @@ class SyncedDb {
1288
1288
  return aI - bI;
1289
1289
  }
1290
1290
  async handleServerUpdate(payload) {
1291
+ if (this.forcedOffline)
1292
+ return;
1291
1293
  const collectionName = payload.collection;
1292
1294
  if (!this.collections.has(collectionName))
1293
1295
  return;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cry-synced-db-client",
3
- "version": "0.1.18",
3
+ "version": "0.1.19",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",