web-storage-manager
Advanced tools
Comparing version 1.0.24 to 1.0.25
@@ -108,3 +108,3 @@ require("core-js/modules/es7.symbol.async-iterator"); | ||
const r = exports.isDataEncoded(data); | ||
let oldData = {}; | ||
let collection = {}; | ||
@@ -115,5 +115,7 @@ if (r === 1) { | ||
collection = JSON.parse(data); | ||
} else { | ||
return false; | ||
} | ||
const newData = exports.combineObject(value, oldData); | ||
const newData = exports.combineObject(value, collection); | ||
@@ -120,0 +122,0 @@ if (r === 1) { |
{ | ||
"name": "web-storage-manager", | ||
"version": "1.0.24", | ||
"version": "1.0.25", | ||
"description": "Web utility storage manager to handle save, update and data purge", | ||
@@ -5,0 +5,0 @@ "main": "lib/web-storage-manager.js", |
19121
468