diff --git a/src/lib/local-storage.js b/src/lib/local-storage.js index b183a6d05..a844d8464 100644 --- a/src/lib/local-storage.js +++ b/src/lib/local-storage.js @@ -745,7 +745,10 @@ class LocalStorage implements IStorage { json._rev = DEFAULT_REVISION; } - json._rev = generateRevision(json._rev); + // this is intended in debug mode we do not want modify the store revision + if (_.isNil(this.config._debug)) { + json._rev = generateRevision(json._rev); + } return json; }