cry-synced-db-client 0.1.118 → 0.1.119
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/dist/index.js +3 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -4405,7 +4405,9 @@ var SyncedDb = class _SyncedDb {
|
|
|
4405
4405
|
const result = {};
|
|
4406
4406
|
for (const [collectionName] of this.collections) {
|
|
4407
4407
|
const dirtyItems = await this.dexieDb.getDirty(collectionName);
|
|
4408
|
-
|
|
4408
|
+
if (dirtyItems.length > 0) {
|
|
4409
|
+
result[collectionName] = dirtyItems;
|
|
4410
|
+
}
|
|
4409
4411
|
}
|
|
4410
4412
|
return result;
|
|
4411
4413
|
}
|