Skip to content

Commit 4085a05

Browse files
deps(dev): bump @libp2p/mplex from 6.0.2 to 7.0.0 (#14)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: achingbrain <alex@achingbrain.net>
1 parent d89b708 commit 4085a05

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@
188188
"devDependencies": {
189189
"@dapplion/benchmark": "^0.2.2",
190190
"@libp2p/interface-stream-muxer-compliance-tests": "^6.0.0",
191-
"@libp2p/mplex": "^6.0.2",
191+
"@libp2p/mplex": "^7.0.0",
192192
"aegir": "^37.3.0",
193193
"it-drain": "^2.0.0",
194194
"it-pair": "2.0.3",

test/mplex.util.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
import type { Transform } from 'it-stream-types'
22
import { duplexPair } from 'it-pair/duplex'
33
import { pipe } from 'it-pipe'
4-
import { Mplex } from '@libp2p/mplex'
4+
import { mplex } from '@libp2p/mplex'
55
import type { StreamMuxer, StreamMuxerInit } from '@libp2p/interface-stream-muxer'
66

7-
const factory = new Mplex()
7+
const factory = mplex()()
88

99
export function testYamuxMuxer (name: string, client: boolean, conf: StreamMuxerInit = {}) {
1010
return factory.createStreamMuxer({

0 commit comments

Comments
 (0)