redux-promise-middleware
Advanced tools
Comparing version 2.1.1 to 2.2.0
@@ -52,4 +52,5 @@ 'use strict'; | ||
*/ | ||
return promise.then(function (resolved) { | ||
return next(_extends({ // eslint-disable-line no-shadow | ||
return promise.then(function () { | ||
var resolved = arguments.length <= 0 || arguments[0] === undefined ? {} : arguments[0]; | ||
return next(_extends({ | ||
type: type + '_' + FULFILLED | ||
@@ -56,0 +57,0 @@ }, resolved.meta || resolved.payload ? resolved : _extends({}, resolved && { payload: resolved }, meta && { meta: meta }))); |
{ | ||
"name": "redux-promise-middleware", | ||
"version": "2.1.1", | ||
"version": "2.2.0", | ||
"description": "Redux middleware for handling promises", | ||
@@ -5,0 +5,0 @@ "main": "dist/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
19514
457