update muxrpc to 6.1.1

This commit is contained in:
Paul Frazee 2015-08-24 15:47:49 -05:00
parent 90f38e482d
commit 6635d28c55
2 changed files with 2 additions and 3 deletions

View File

@ -14,7 +14,6 @@ module.exports = function (window, sbot, params) {
// create rpc object
var rpc = window.rpc = muxrpc(clientApi, sbot.manifest(), serialize)(sbot)
rpc.authorized = { id: sbot.id, role: 'master' }
rpc.permissions({allow: null, deny: null})
function serialize (stream) { return stream }
// start the stream
@ -26,7 +25,7 @@ module.exports = function (window, sbot, params) {
}
window.resetRpc = function () {
console.log('close rpc')
window.rpcStream.source(true)
window.rpcStream.source('close')
window.rpc.close()
window.createRpc()
}

View File

@ -27,7 +27,7 @@
"dependencies": {
"multiblob": "^1.5.0",
"multicb": "^1.1.0",
"muxrpc": "^5.0.1",
"muxrpc": "^6.1.1",
"pull-ipc": "0.0.1",
"pull-pushable": "^1.1.4",
"pull-stream": "^2.27.0",