refactor: update secio and tests to use it (#484)

* refactor: use async secio

* test: add secio to most test suites

* chore: update secio version
This commit is contained in:
Jacob Heun
2019-11-26 07:42:37 -06:00
parent 2104578924
commit f28b09fc0d
8 changed files with 8 additions and 8 deletions

View File

@ -7,7 +7,7 @@ const PeerId = require('peer-id')
const PeerInfo = require('peer-info')
const WebSockets = require('libp2p-websockets')
const Muxer = require('libp2p-mplex')
const Crypto = require('./src/insecure/plaintext')
const Crypto = require('libp2p-secio')
const pipe = require('it-pipe')
let libp2p