ngrx-store-localstorage
Advanced tools
Comparing version 0.1.1 to 0.1.2
@@ -57,3 +57,3 @@ "use strict"; | ||
if (action.type === INIT_ACTION && rehydratedState) { | ||
state = Object.assign({}, rehydratedState, state); | ||
state = Object.assign({}, state, rehydratedState); | ||
} | ||
@@ -60,0 +60,0 @@ var nextState = reducer(state, action); |
{ | ||
"name": "ngrx-store-localstorage", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"description": "State and local storage syncing for @ngrx/store", | ||
@@ -5,0 +5,0 @@ "main": "./dist/index.js", |
@@ -59,3 +59,3 @@ const INIT_ACTION = "@ngrx/store/init"; | ||
if(action.type === INIT_ACTION && rehydratedState){ | ||
state = Object.assign({}, rehydratedState, state); | ||
state = Object.assign({}, state, rehydratedState); | ||
} | ||
@@ -62,0 +62,0 @@ const nextState = reducer(state, action); |
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