Skip to content

Commit

Permalink
feat(deps): make 0.34 compatible
Browse files Browse the repository at this point in the history
  • Loading branch information
christianalfoni committed Apr 19, 2016
1 parent 2803a62 commit 3352e86
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ module.exports = function (options) {
while (signalName.length) {
signalMethodPath = signalMethodPath[signalName.shift()]
}
signalMethodPath(signal.input, {

signalMethodPath(signal.payload || signal.input, {
isRecorded: !isCatchingUp,
immediate: true,
branches: isCatchingUp && signal.branches
Expand Down Expand Up @@ -175,7 +176,8 @@ module.exports = function (options) {
path: module.path
}
controller.addContextProvider(context)
controller.addContextProvider(require('cerebral/src/contextProviders/mutationsProvider'))
controller.addContextProvider(require('cerebral/providers/actionMutationsProvider'))
controller.addContextProvider(require('cerebral/providers/signalPayloadProvider'))
}

var state = options.state || {}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"validate-commit-msg": "^1.1.1"
},
"peerDependencies": {
"cerebral": "^0.33.31 || ^0.34.0-0"
"cerebral": "^0.33.31 || ^0.34.0-rc.4"
},
"config": {
"commitizen": {
Expand Down

0 comments on commit 3352e86

Please sign in to comment.