Skip to content

Commit

Permalink
docs: update example
Browse files Browse the repository at this point in the history
  • Loading branch information
achingbrain committed Dec 4, 2023
1 parent de388ea commit d04c6a5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,10 @@ const node = await createLibp2p({
websockets()
], // Any libp2p transport(s) can be used
streamMuxers: [
mplex()
yamux()
],
connectionEncryption: [
yamux()
noise()
],
peerDiscovery: [
pubsubPeerDiscovery()
Expand Down
4 changes: 2 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@
* websockets()
* ], // Any libp2p transport(s) can be used
* streamMuxers: [
* mplex()
* yamux()
* ],
* connectionEncryption: [
* yamux()
* noise()
* ],
* peerDiscovery: [
* pubsubPeerDiscovery()
Expand Down

0 comments on commit d04c6a5

Please sign in to comment.