Skip to content

Commit 59f34a2

Browse files
maschadachingbrain
andauthored
chore: support yamux to wherever mplex is supported (#1579)
Adds yamux to all tests, docs and examples. Closes #1578 --------- Co-authored-by: achingbrain <[email protected]>
1 parent 2c3b64a commit 59f34a2

File tree

49 files changed

+312
-129
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+312
-129
lines changed

.aegir.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import { mplex } from '@libp2p/mplex'
33
import { noise } from '@chainsafe/libp2p-noise'
44
import { pipe } from 'it-pipe'
55
import { createFromJSON } from '@libp2p/peer-id-factory'
6+
import { yamux } from '@chainsafe/libp2p-yamux'
67

78
/** @type {import('aegir').PartialOptions} */
89
export default {
@@ -36,6 +37,7 @@ export default {
3637
webSockets()
3738
],
3839
streamMuxers: [
40+
yamux(),
3941
mplex()
4042
],
4143
connectionEncryption: [

0 commit comments

Comments
 (0)