Skip to content
This repository was archived by the owner on Aug 23, 2019. It is now read-only.

Commit 06afc49

Browse files
start integrating new secio
1 parent ddab26f commit 06afc49

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
"gulp": "^3.9.1",
4444
"istanbul": "^0.4.3",
4545
"libp2p-multiplex": "^0.2.1",
46-
"libp2p-spdy": "^0.7.0",
46+
"libp2p-spdy": "^0.8.0",
4747
"libp2p-tcp": "^0.7.1",
4848
"libp2p-webrtc-star": "^0.3.1",
4949
"libp2p-websockets": "^0.7.0",
@@ -63,7 +63,7 @@
6363
"libp2p-secio": "^0.3.0",
6464
"lodash.contains": "^2.4.3",
6565
"multiaddr": "^2.0.2",
66-
"multistream-select": "^0.9.0",
66+
"multistream-select": "^0.10.0",
6767
"peer-id": "^0.7.0",
6868
"peer-info": "^0.7.0",
6969
"protocol-buffers": "^3.1.6",

src/secio.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ exports = module.exports
66

77
exports.create = (local, insecure) => {
88
const session = new SecureSession(local, local.privKey, insecure)
9-
return session.secureStream()
9+
return session.secure
1010
}

0 commit comments

Comments
 (0)