redux-promise-middleware
Advanced tools
Comparing version 2.3.2 to 2.3.3
@@ -49,3 +49,3 @@ 'use strict'; | ||
type: type + '_' + PENDING | ||
}, !!data && { payload: data }, !!meta && { meta: meta })); | ||
}, !!data ? { payload: data } : {}, !!meta ? { meta: meta } : {})); | ||
@@ -61,3 +61,3 @@ var isAction = function isAction(resolved) { | ||
type: type + '_' + (isError ? REJECTED : FULFILLED) | ||
}, !!meta && { meta: meta }, !!isError && { error: true }); | ||
}, !!meta ? { meta: meta } : {}, !!isError ? { error: true } : {}); | ||
}; | ||
@@ -64,0 +64,0 @@ |
{ | ||
"name": "redux-promise-middleware", | ||
"version": "2.3.2", | ||
"version": "2.3.3", | ||
"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
10751