update muxrpc to 6.1.1
This commit is contained in:
parent
90f38e482d
commit
6635d28c55
@ -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()
|
||||
}
|
||||
|
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user