redux-local-storage
Advanced tools
Comparing version 1.7.2 to 1.7.3
@@ -188,3 +188,3 @@ "use strict"; | ||
}); | ||
if (action.onFailure) action.onFailure(result); | ||
if (action.onFailure) action.onFailure(err); | ||
} else { | ||
@@ -198,3 +198,3 @@ coerceArray(action.success).map(function(successAction) { | ||
}); | ||
if (action.onSuccess) action.onSuccess(result); | ||
if (action.onSuccess) action.onSuccess(value); | ||
} | ||
@@ -228,3 +228,3 @@ }); | ||
}); | ||
if (action.onSuccess) action.onSuccess(result); | ||
if (action.onSuccess) action.onSuccess(value); | ||
} | ||
@@ -249,3 +249,3 @@ }); | ||
}); | ||
if (action.onFailure) action.onFailure(result); | ||
if (action.onFailure) action.onFailure(err); | ||
} else { | ||
@@ -257,3 +257,3 @@ coerceArray(action.success).map(function(successAction) { | ||
}); | ||
if (action.onSuccess) action.onSuccess(result); | ||
if (action.onSuccess) action.onSuccess(value); | ||
} | ||
@@ -260,0 +260,0 @@ }); |
{ | ||
"name": "redux-local-storage", | ||
"version": "1.7.2", | ||
"version": "1.7.3", | ||
"description": "Redux middleware for accessing local storage", | ||
@@ -5,0 +5,0 @@ "license": "ISC", |
@@ -43,3 +43,3 @@ import _ from 'lodash' | ||
}) | ||
if(action.onFailure) action.onFailure(result) | ||
if(action.onFailure) action.onFailure(err) | ||
} else { | ||
@@ -54,3 +54,3 @@ coerceArray(action.success).map(successAction => { | ||
}) | ||
if(action.onSuccess) action.onSuccess(result) | ||
if(action.onSuccess) action.onSuccess(value) | ||
} | ||
@@ -92,3 +92,3 @@ | ||
}) | ||
if(action.onSuccess) action.onSuccess(result) | ||
if(action.onSuccess) action.onSuccess(value) | ||
} | ||
@@ -120,3 +120,3 @@ | ||
}) | ||
if(action.onFailure) action.onFailure(result) | ||
if(action.onFailure) action.onFailure(err) | ||
} else { | ||
@@ -130,3 +130,3 @@ coerceArray(action.success).map(successAction => { | ||
}) | ||
if(action.onSuccess) action.onSuccess(result) | ||
if(action.onSuccess) action.onSuccess(value) | ||
} | ||
@@ -133,0 +133,0 @@ |
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
178899