Skip to content
This repository was archived by the owner on Jan 12, 2024. It is now read-only.

Commit 40bd32f

Browse files
jacobheunAlan Shaw
authored and
Alan Shaw
committed
refactor: use pull-mplex instead of libp2p-mplex (#1884)
test: shut off dht by default
1 parent 3a218e4 commit 40bd32f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

custom-libp2p/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const WebSocketStar = require('libp2p-websocket-star')
88
const Bootstrap = require('libp2p-bootstrap')
99
const SPDY = require('libp2p-spdy')
1010
const KadDHT = require('libp2p-kad-dht')
11-
const MPLEX = require('libp2p-mplex')
11+
const MPLEX = require('pull-mplex')
1212
const SECIO = require('libp2p-secio')
1313
const assert = require('assert')
1414

custom-libp2p/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@
1414
"libp2p-bootstrap": "~0.9.7",
1515
"libp2p-kad-dht": "~0.14.12",
1616
"libp2p-mdns": "~0.12.2",
17-
"libp2p-mplex": "~0.8.5",
1817
"libp2p-secio": "~0.11.1",
1918
"libp2p-spdy": "~0.13.3",
2019
"libp2p-tcp": "~0.13.0",
21-
"libp2p-websocket-star": "~0.10.2"
20+
"libp2p-websocket-star": "~0.10.2",
21+
"pull-mplex": "~0.1.0"
2222
}
2323
}

0 commit comments

Comments
 (0)