docs: update examples to use libp2p-mplex module

This commit is contained in:
David Dias
2018-02-19 09:46:11 +00:00
parent 14d3578eaf
commit b871bb0a1a
12 changed files with 24 additions and 24 deletions

View File

@@ -18,7 +18,7 @@ class MyBundle extends libp2p {
const modules = {
transport: [new TCP()],
connection: {
muxer: [Multiplex],
muxer: [Mplex],
crypto: [SECIO]
},
// we add the DHT module that will enable Peer and Content Routing