@app-masters/sync-cache
Advanced tools
Comparing version 0.3.5 to 0.3.6
@@ -9,3 +9,3 @@ # Changelog | ||
## [0.3.0/0.3.5] - 2018-10-23 | ||
## [0.3.0/0.3.6] - 2018-10-23 | ||
### Added | ||
@@ -19,2 +19,3 @@ - Redux-saga synchronization methods | ||
- Bind everything | ||
- Not sync object with unsychronized relations | ||
@@ -21,0 +22,0 @@ ## [0.2.0/0.2.10] - 2018-10-22 |
@@ -759,2 +759,7 @@ "use strict"; | ||
for (const cacheObject of cacheObjects) { | ||
// Check if object have unsynchronized relations | ||
if (this.hasNotSyncedRelation(cacheObject)) { | ||
continue; | ||
} | ||
try { | ||
@@ -789,2 +794,7 @@ const onlineObject = await this.createOnline(cacheObject); | ||
for (const cacheObject of cacheObjects) { | ||
// Check if object have unsynchronized relations | ||
if (this.hasNotSyncedRelation(cacheObject)) { | ||
continue; | ||
} | ||
try { | ||
@@ -791,0 +801,0 @@ const onlineObject = await this.updateOnline(cacheObject); |
{ | ||
"name": "@app-masters/sync-cache", | ||
"version": "0.3.5", | ||
"version": "0.3.6", | ||
"main": "dist/index.js", | ||
@@ -5,0 +5,0 @@ "scripts": { |
67403
1765