Skip to content

Commit 920e8a2

Browse files
committed
docs: update options
1 parent bb9d767 commit 920e8a2

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

README.md

+6-7
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ class Node extends libp2p {
125125
modules: {
126126
transport: [
127127
TCP,
128-
WS
128+
new WS() // It can instances too!
129129
],
130130
streamMuxer: [
131131
SPDY
@@ -169,13 +169,12 @@ class Node extends libp2p {
169169
}
170170
}
171171
}
172+
// Enable/Disable Experimental features
173+
EXPERIMENTAL: { // Experimental features ("behind a flag")
174+
pubsub: true,
175+
dht: true
176+
}
172177
},
173-
174-
// Enable/Disable Experimental features
175-
EXPERIMENTAL: { // Experimental features ("behind a flag")
176-
pubsub: true,
177-
dht: true
178-
}
179178
}
180179

181180
// overload any defaults of your bundle using https://lodash.com/docs/4.17.5#defaultsDeep

0 commit comments

Comments
 (0)