@bigbinary/neeto-commons-frontend 3.0.0 → 3.0.1
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/package.json +1 -1
- package/utils.cjs.js +2 -2
- package/utils.cjs.js.map +1 -1
- package/utils.js +3 -3
- package/utils.js.map +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bigbinary/neeto-commons-frontend",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.1",
|
|
4
4
|
"description": "A package encapsulating common code across neeto projects including initializers, utility functions, common components and hooks and so on.",
|
|
5
5
|
"repository": "git@github.com:bigbinary/neeto-commons-frontend.git",
|
|
6
6
|
"author": "Amaljith K <amaljith.k@bigbinary.com>",
|
package/utils.cjs.js
CHANGED
|
@@ -2667,10 +2667,10 @@ var getFromLocalStorage = function getFromLocalStorage(key) {
|
|
|
2667
2667
|
}
|
|
2668
2668
|
};
|
|
2669
2669
|
var setToLocalStorage = function setToLocalStorage(key, value) {
|
|
2670
|
-
|
|
2670
|
+
return localStorage.setItem(key, JSON.stringify(value));
|
|
2671
2671
|
};
|
|
2672
2672
|
var removeFromLocalStorage = function removeFromLocalStorage(key) {
|
|
2673
|
-
localStorage.removeItem(key);
|
|
2673
|
+
return localStorage.removeItem(key);
|
|
2674
2674
|
};
|
|
2675
2675
|
|
|
2676
2676
|
dayjs__default["default"].extend(relativeTime__default["default"]);
|