redux-action-asserter
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -37,6 +37,5 @@ 'use strict'; | ||
if ((0, _isFunction2.default)(action)) { | ||
_this.thunks.push(action); | ||
} else { | ||
_this.actions.push(action); | ||
return _this.thunks.push(action(store.dispatch, store.getState)); | ||
} | ||
_this.actions.push(action); | ||
return next(action); | ||
@@ -43,0 +42,0 @@ }; |
@@ -12,6 +12,5 @@ import isEqual from 'lodash/isEqual' | ||
if (isFunction(action)) { | ||
this.thunks.push(action) | ||
} else { | ||
this.actions.push(action) | ||
return this.thunks.push(action(store.dispatch, store.getState)) | ||
} | ||
this.actions.push(action) | ||
return next(action) | ||
@@ -18,0 +17,0 @@ } |
{ | ||
"name": "redux-action-asserter", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"main": "dist/main.js", | ||
@@ -5,0 +5,0 @@ "scripts": { |
Sorry, the diff of this file is not supported yet
7695
89