1
0

update muxrpc to 6.1.1

Dieser Commit ist enthalten in:
Paul Frazee
2015-08-24 15:47:49 -05:00
Ursprung 90f38e482d
Commit 6635d28c55
2 geänderte Dateien mit 2 neuen und 3 gelöschten Zeilen

Datei anzeigen

@@ -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()
}