Skip to content

Commit

Permalink
Merge pull request #3 from BlackGlory/patch
Browse files Browse the repository at this point in the history
redux-persist 3.5.0 Patch
  • Loading branch information
zalmoxisus authored Aug 21, 2016
2 parents 1e24c86 + fad22df commit 6568363
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
## Cross-browser extensions and Chrome apps states syncing
**Support redux-persist 3.x only**

Add syncing to your [redux](https://github.com/gaearon/redux) browser (Chrome and [Firefox](https://developer.mozilla.org/en-US/Add-ons/WebExtensions/Chrome_incompatibilities#storage)) extension or app.
It listens to the `chrome.storage` for [redux-persist](https://github.com/rt2zz/redux-persist) events. When an event occurs it will dispatch a rehydrate action.

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"redux-persist-crosstab": "^1.0.1"
},
"peerDependencies": {
"redux-persist": "3.x"
"redux-persist": "3.5.x"
},
"authors": [
"zalmoxisus <zalmoxisus@gmail.com>",
Expand Down
2 changes: 1 addition & 1 deletion src/sync.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
var constants = require('redux-persist/constants');
var keyPrefix = constants.keyPrefix;
var keyPrefix = constants.KEY_PREFIX;
var isEqual = require('lodash/lang/isEqual');

function sync(persistor, config){
Expand Down

0 comments on commit 6568363

Please sign in to comment.