File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 188
188
"devDependencies" : {
189
189
"@dapplion/benchmark" : " ^0.2.2" ,
190
190
"@libp2p/interface-stream-muxer-compliance-tests" : " ^6.0.0" ,
191
- "@libp2p/mplex" : " ^6 .0.2 " ,
191
+ "@libp2p/mplex" : " ^7 .0.0 " ,
192
192
"aegir" : " ^37.3.0" ,
193
193
"it-drain" : " ^2.0.0" ,
194
194
"it-pair" : " 2.0.3" ,
Original file line number Diff line number Diff line change 1
1
import type { Transform } from 'it-stream-types'
2
2
import { duplexPair } from 'it-pair/duplex'
3
3
import { pipe } from 'it-pipe'
4
- import { Mplex } from '@libp2p/mplex'
4
+ import { mplex } from '@libp2p/mplex'
5
5
import type { StreamMuxer , StreamMuxerInit } from '@libp2p/interface-stream-muxer'
6
6
7
- const factory = new Mplex ( )
7
+ const factory = mplex ( ) ( )
8
8
9
9
export function testYamuxMuxer ( name : string , client : boolean , conf : StreamMuxerInit = { } ) {
10
10
return factory . createStreamMuxer ( {
You can’t perform that action at this time.
0 commit comments