@meadow/redux-api-middleware
Advanced tools
Comparing version 1.0.2 to 1.0.3
@@ -57,3 +57,3 @@ 'use strict'; | ||
}, function (err) { | ||
return process.nextTick(function () { | ||
process.nextTick(function () { | ||
return dispatch({ | ||
@@ -60,0 +60,0 @@ type: FAILURE, |
@@ -39,8 +39,10 @@ 'use strict'; | ||
return data; | ||
}, err => process.nextTick(() => dispatch({ | ||
type: FAILURE, | ||
payload: err, | ||
error: true | ||
}))); | ||
}, err => { | ||
process.nextTick(() => dispatch({ | ||
type: FAILURE, | ||
payload: err, | ||
error: true | ||
})); | ||
}); | ||
}; | ||
} |
{ | ||
"name": "@meadow/redux-api-middleware", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "API middleware for redux", | ||
@@ -5,0 +5,0 @@ "main": "build/middleware.js", |
6130
91