Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
pauseActionType = '@@PAUSED',
actionCreators,
filters,
actionsBlacklist,
actionsWhitelist,
actionSanitizer,
stateSanitizer,
deserializeState,
deserializeAction,
serialize,
predicate,
} = options;
const id = generateId(options.instanceId);
const serializeState = getSeralizeParameter(options, 'serializeState');
const serializeAction = getSeralizeParameter(options, 'serializeAction');
return next => (reducer, initialState) => {
const store = configureStore(next, monitorReducer, {
maxAge,
shouldCatchErrors,
shouldHotReload,
shouldRecordChanges,
shouldStartLocked,
pauseActionType,
})(reducer, initialState);
instances[id] = {
name: name || id,
id,
store,
filters: getLocalFilter({
shouldStartLocked,
pauseActionType = '@@PAUSED',
actionCreators,
filters,
actionsBlacklist,
actionsWhitelist,
actionSanitizer,
stateSanitizer,
deserializeState,
deserializeAction,
serialize,
predicate,
} = options;
const id = generateId(options.instanceId);
const serializeState = getSeralizeParameter(options, 'serializeState');
const serializeAction = getSeralizeParameter(options, 'serializeAction');
return next => (reducer, initialState) => {
const store = configureStore(next, monitorReducer, {
maxAge,
shouldCatchErrors,
shouldHotReload,
shouldRecordChanges,
shouldStartLocked,
pauseActionType,
})(reducer, initialState);
instances[id] = {
name: name || id,
id,
store,