This repository has been archived by the owner on Aug 23, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
896fe7a
commit bf1574d
Showing
10 changed files
with
240 additions
and
29,571 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -37,7 +37,7 @@ | |
"node": "^4.3.0" | ||
}, | ||
"devDependencies": { | ||
"aegir": "^3.0.4", | ||
"aegir": "^3.1.1", | ||
"bl": "^1.1.2", | ||
"buffer-loader": "0.0.1", | ||
"chai": "^3.5.0", | ||
|
@@ -48,17 +48,19 @@ | |
"libp2p-tcp": "^0.6.0", | ||
"libp2p-webrtc-star": "^0.2.0", | ||
"libp2p-websockets": "^0.6.0", | ||
"pre-commit": "^1.1.2", | ||
"pre-commit": "^1.1.3", | ||
"stream-pair": "^1.0.3", | ||
"webrtcsupport": "^2.2.0" | ||
}, | ||
"dependencies": { | ||
"babel-runtime": "^6.6.1", | ||
"babel-runtime": "^6.9.0", | ||
"browserify-zlib": "github:ipfs/browserify-zlib", | ||
"debug": "^2.2.0", | ||
"duplex-passthrough": "github:diasdavid/duplex-passthrough", | ||
"ip-address": "^5.8.0", | ||
"libp2p-secio": "^0.3.0", | ||
"lodash.contains": "^2.4.3", | ||
"multiaddr": "^2.0.0", | ||
"multiaddr": "^2.0.2", | ||
"multistream-select": "^0.9.0", | ||
"peer-id": "^0.7.0", | ||
"peer-info": "^0.7.0", | ||
|
@@ -73,4 +75,4 @@ | |
"Richard Littauer <[email protected]>", | ||
"dignifiedquire <[email protected]>" | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
'use strict' | ||
|
||
const SecureSession = require('libp2p-secio').SecureSession | ||
|
||
exports = module.exports | ||
|
||
exports.create = (local, insecure) => { | ||
const session = new SecureSession(local, local.privKey, insecure) | ||
return session.secureStream() | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
'use strict' | ||
|
||
module.exports = { | ||
secio: '/secio/1.0.0', | ||
plaintext: '/plaintext/1.0.0' | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.