redux-persist-chrome-storage
Advanced tools
Comparing version
@@ -27,3 +27,3 @@ (function (global, factory) { | ||
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; } | ||
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; } | ||
@@ -75,3 +75,3 @@ /** | ||
value: function hasError() { | ||
return this.getError() !== undefined; | ||
return !!this.getError(); | ||
} | ||
@@ -78,0 +78,0 @@ /** |
@@ -40,3 +40,3 @@ /** | ||
hasError() { | ||
return this.getError() !== undefined; | ||
return !!this.getError(); | ||
} | ||
@@ -43,0 +43,0 @@ /** |
@@ -14,3 +14,3 @@ "use strict"; | ||
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; } | ||
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; } | ||
@@ -62,3 +62,3 @@ /** | ||
value: function hasError() { | ||
return this.getError() !== undefined; | ||
return !!this.getError(); | ||
} | ||
@@ -65,0 +65,0 @@ /** |
{ | ||
"name": "redux-persist-chrome-storage", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"description": "redux-persist storage adaptor for Chrome extensions storage API.", | ||
@@ -5,0 +5,0 @@ "repository": { |
# Redux Persist Chrome Storage | ||
 | ||
Storage adaptor for using [Google Chrome's Storage API](https://developer.chrome.com/apps/storage) with [redux-persist](https://github.com/rt2zz/redux-persist). | ||
@@ -4,0 +6,0 @@ |
@@ -40,3 +40,3 @@ /** | ||
hasError() { | ||
return this.getError() !== undefined; | ||
return !!this.getError(); | ||
} | ||
@@ -43,0 +43,0 @@ |
19514
1.05%559
0.36%40
5.26%