Comparing version 1.0.0 to 1.0.1
{ | ||
"name": "novux", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Easily update & reset redux state", | ||
@@ -5,0 +5,0 @@ "repository": "https://github.com/neednova/novux", |
@@ -14,3 +14,3 @@ import utils from './utils'; | ||
*/ | ||
const update = (reducer, tag, state) => ({ | ||
export const update = (reducer, tag, state) => ({ | ||
type: UPDATE, | ||
@@ -29,3 +29,3 @@ reducer, | ||
*/ | ||
const reset = (reducer, tag, state) => ({ | ||
export const reset = (reducer, tag, state) => ({ | ||
type: RESET, | ||
@@ -43,3 +43,3 @@ reducer, | ||
*/ | ||
const createReducer = (name, initialState) => (state = initialState, action) => { | ||
export const createReducer = (name, initialState) => (state = initialState, action) => { | ||
if (typeof name !== 'string') { | ||
@@ -46,0 +46,0 @@ return new Error('Expected reducer name to be a string'); |
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
18826
11
411