redux-persist-immutable
Advanced tools
Comparing version 4.0.0-alpha2 to 4.0.0-alpha3
@@ -30,7 +30,7 @@ 'use strict'; | ||
var incomingTransforms = config.transforms || []; | ||
transforms = [].concat(_toConsumableArray(incomingTransforms), [_reduxPersistTransformImmutable2.default]); | ||
var transforms = [].concat(_toConsumableArray(incomingTransforms), [_reduxPersistTransformImmutable2.default]); | ||
return _extends({}, config, operators, { stateReconciler: _reconciler.stateReconciler, transforms: transforms }); | ||
}; | ||
var autoRehydrate = function autoRehydrate(config) { | ||
var autoRehydrate = function autoRehydrate() { | ||
for (var _len = arguments.length, args = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) { | ||
@@ -40,6 +40,8 @@ args[_key - 1] = arguments[_key]; | ||
var config = arguments.length <= 0 || arguments[0] === undefined ? {} : arguments[0]; | ||
return _reduxPersist.autoRehydrate.apply(undefined, [extendConfig(config)].concat(args)); | ||
}; | ||
var createPersistor = function createPersistor(store, config) { | ||
var createPersistor = function createPersistor(store) { | ||
for (var _len2 = arguments.length, args = Array(_len2 > 2 ? _len2 - 2 : 0), _key2 = 2; _key2 < _len2; _key2++) { | ||
@@ -49,6 +51,8 @@ args[_key2 - 2] = arguments[_key2]; | ||
var config = arguments.length <= 1 || arguments[1] === undefined ? {} : arguments[1]; | ||
return _reduxPersist.createPersistor.apply(undefined, [store, extendConfig(config)].concat(args)); | ||
}; | ||
var persistStore = function persistStore(store, config) { | ||
var persistStore = function persistStore(store) { | ||
for (var _len3 = arguments.length, args = Array(_len3 > 2 ? _len3 - 2 : 0), _key3 = 2; _key3 < _len3; _key3++) { | ||
@@ -58,2 +62,4 @@ args[_key3 - 2] = arguments[_key3]; | ||
var config = arguments.length <= 1 || arguments[1] === undefined ? {} : arguments[1]; | ||
return _reduxPersist.persistStore.apply(undefined, [store, extendConfig(config)].concat(args)); | ||
@@ -60,0 +66,0 @@ }; |
{ | ||
"name": "redux-persist-immutable", | ||
"version": "4.0.0-alpha2", | ||
"version": "4.0.0-alpha3", | ||
"description": "top level immutablejs support for redux-persist", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
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
8532
123