Skip to content

Commit

Permalink
chore: support yamux to wherever mplex is supported (#1579)
Browse files Browse the repository at this point in the history
Adds yamux to all tests, docs and examples.

Closes #1578

---------

Co-authored-by: achingbrain <alex@achingbrain.net>
  • Loading branch information
maschad and achingbrain authored May 5, 2023
1 parent 2c3b64a commit 59f34a2
Show file tree
Hide file tree
Showing 49 changed files with 312 additions and 129 deletions.
2 changes: 2 additions & 0 deletions .aegir.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { mplex } from '@libp2p/mplex'
import { noise } from '@chainsafe/libp2p-noise'
import { pipe } from 'it-pipe'
import { createFromJSON } from '@libp2p/peer-id-factory'
import { yamux } from '@chainsafe/libp2p-yamux'

/** @type {import('aegir').PartialOptions} */
export default {
Expand Down Expand Up @@ -36,6 +37,7 @@ export default {
webSockets()
],
streamMuxers: [
yamux(),
mplex()
],
connectionEncryption: [
Expand Down
Loading

0 comments on commit 59f34a2

Please sign in to comment.