redux-state-sync
Advanced tools
Comparing version 1.0.0 to 1.0.1
{ | ||
"name": "redux-state-sync", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "A middleware for redux to sync localstorage state in different tabs", | ||
@@ -5,0 +5,0 @@ "main": "syncStorage.js", |
@@ -34,3 +34,3 @@ import indexOf from 'lodash/indexOf'; | ||
const { stampedAction } = JSON.parse(event.newValue); | ||
if (stampedAction && stampedAction.$time !== lastTimeStamp && indexOf(ignore, store.type) < 0) { | ||
if (stampedAction && stampedAction.$time !== lastTimeStamp && indexOf(ignore, stampedAction.type) < 0) { | ||
lastTimeStamp = stampedAction.$time; | ||
@@ -37,0 +37,0 @@ store.dispatch(stampedAction); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3907
90