Comparing version 1.0.5 to 1.0.6
{ | ||
"name": "repatch", | ||
"version": "1.0.5", | ||
"version": "1.0.6", | ||
"description": "Dispatch reducers", | ||
@@ -5,0 +5,0 @@ "main": "lib/store/index", |
@@ -1,2 +0,2 @@ | ||
# <a href="https://www.npmjs.com/package/repatch"><img alt="Repatch" src="http://services.jaystack.com/repatch-logo.png" height="50px"></a> | ||
# <a href="https://www.npmjs.com/package/repatch"><img alt="Repatch" src="http://jaystack.com/wp-content/uploads/2017/08/repatch-logo.png" height="50px"></a> | ||
@@ -187,3 +187,3 @@ ## Dispatch reducers | ||
const store = new Store(state) | ||
.addMiddleware(thunk.withExtraArgument(mockApi)); | ||
.addMiddleware(thunk.withExtraArgument({ api: mockApi })); | ||
await store.dispatch(fetchUsers()); | ||
@@ -203,2 +203,2 @@ const nextState = store.getState(); | ||
[](http://jaystack.com/) | ||
[](http://jaystack.com/) |
14146
12