Browse Source

update muxrpc to 6.1.1

Paul Frazee 4 years ago
parent
commit
6635d28c55
2 changed files with 2 additions and 3 deletions
  1. 1
    2
      app/lib/muxrpc-ipc.js
  2. 1
    1
      package.json

+ 1
- 2
app/lib/muxrpc-ipc.js View File

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

+ 1
- 1
package.json View File

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

Loading…
Cancel
Save