We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 592dfeb commit cb0e358Copy full SHA for cb0e358
README.md
@@ -124,17 +124,17 @@ class Node extends libp2p {
124
// The libp2p modules for this libp2p bundle
125
modules: {
126
transport: [
127
- new TCP(),
128
- new WS()
+ TCP,
+ WS
129
],
130
streamMuxer: [
131
- spdy
+ SPDY
132
133
- cryptoComm: [
134
- secio
+ connEncryption: [
+ SECIO
135
]
136
peerDiscovery: [
137
- new MulticastDNS(peerInfo)
+ MulticastDNS
138
139
peerRouting: {}, // Currently both peerRouting and contentRouting are patched through the DHT,
140
contentRouting: {} // this will change once we factor that into two modules, for now do the following line:
0 commit comments