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

Commit

Permalink
start integrating new secio
Browse files Browse the repository at this point in the history
  • Loading branch information
dignifiedquire committed Jul 3, 2016
1 parent ddab26f commit 06afc49
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"gulp": "^3.9.1",
"istanbul": "^0.4.3",
"libp2p-multiplex": "^0.2.1",
"libp2p-spdy": "^0.7.0",
"libp2p-spdy": "^0.8.0",
"libp2p-tcp": "^0.7.1",
"libp2p-webrtc-star": "^0.3.1",
"libp2p-websockets": "^0.7.0",
Expand All @@ -63,7 +63,7 @@
"libp2p-secio": "^0.3.0",
"lodash.contains": "^2.4.3",
"multiaddr": "^2.0.2",
"multistream-select": "^0.9.0",
"multistream-select": "^0.10.0",
"peer-id": "^0.7.0",
"peer-info": "^0.7.0",
"protocol-buffers": "^3.1.6",
Expand Down
2 changes: 1 addition & 1 deletion src/secio.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ exports = module.exports

exports.create = (local, insecure) => {
const session = new SecureSession(local, local.privKey, insecure)
return session.secureStream()
return session.secure
}

0 comments on commit 06afc49

Please sign in to comment.