You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

redux-persist-chrome-storage

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

redux-persist-chrome-storage - npm Package Compare versions

Comparing version

to
1.0.4

4

dist/storage/ChromeStorage.js

@@ -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
![Tests](https://github.com/robinmalburn/redux-persist-chrome-storage/actions/workflows/tests.yml/badge.svg)
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 @@