cry-synced-db-client 0.1.96 → 0.1.97

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 +3 -0
  2. package/package.json +2 -3
package/dist/index.js CHANGED
@@ -2637,6 +2637,9 @@ var _SyncEngine = class _SyncEngine {
2637
2637
  }
2638
2638
  }
2639
2639
  }
2640
+ if (updates.length === 0 && deletes.length === 0) {
2641
+ return { sentCount: 0 };
2642
+ }
2640
2643
  const collectionBatches = [[{
2641
2644
  collection,
2642
2645
  batch: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cry-synced-db-client",
3
- "version": "0.1.96",
3
+ "version": "0.1.97",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",
@@ -35,9 +35,8 @@
35
35
  "vitest": "^4.1.2"
36
36
  },
37
37
  "dependencies": {
38
- "cry-db": "^2.4.23",
38
+ "cry-db": "^2.4.24",
39
39
  "cry-helpers": "^2.1.193",
40
- "cry-synced-db-client": "0.1.84",
41
40
  "msgpackr": "^1.11.9",
42
41
  "notepack": "^0.0.2",
43
42
  "notepack.io": "^3.0.1",