Skip to content

Commit 4eff6a4

Browse files
committed
Version bump 0.3.0
1 parent 9002bf6 commit 4eff6a4

File tree

4 files changed

+3
-14
lines changed

4 files changed

+3
-14
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ scuttlebutt({
9292

9393
// if specified, the specified function must call the callback with false or
9494
// true, depending on whether the action is valid.
95-
verifyAsync: false, // (callback, action, getStateHistory) => {}
95+
verifyAsync, // (callback, action, getStateHistory) => {}
9696
},
9797
})
9898
```

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "redux-scuttlebutt",
3-
"version": "0.3.0a",
3+
"version": "0.3.0",
44
"description": "Redux distributed dispatcher",
55
"main": "lib/index.js",
66
"files": [

src/dispatcher.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ function getDelayedDispatch(dispatcher) {
6363
const defaultOptions = {
6464
customDispatch: getDelayedDispatch,
6565
isGossipType: isGossipType,
66-
verifyAsync: false,
66+
verifyAsync: undefined,
6767
}
6868

6969
export default class Dispatcher extends Scuttlebutt {

test/dispatcher.spec.js

-11
Original file line numberDiff line numberDiff line change
@@ -119,14 +119,3 @@ tape('dispatcher({ verifyAsync })', function (t) {
119119
t.end()
120120
}, 20)
121121
})
122-
123-
// dispatcher.applyUpdate - scuttlebutt super, eh
124-
125-
// dispatcher.history - scuttlebutt, history(sources) reduces getState of
126-
// gossips and seen actions acoording to sources
127-
128-
// dispatcher.localUpdate - scuttlebutt, calls super.localUpdate (which calls
129-
// other internals)
130-
131-
// options.customDispatch (ensure signature)
132-
// options.isGossipType (copy wrapDispatch, can't be true for redux init)

0 commit comments

Comments
 (0)