Skip to content

Commit 86eec38

Browse files
jacobheunAlan Shaw
authored and
Alan Shaw
committed
docs: update libp2p custom example (#1716)
chore: update libp2p modules
1 parent 1f1238e commit 86eec38

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ const IPFS = require('ipfs')
55
const TCP = require('libp2p-tcp')
66
const MulticastDNS = require('libp2p-mdns')
77
const WebSocketStar = require('libp2p-websocket-star')
8-
const Bootstrap = require('libp2p-railing')
8+
const Bootstrap = require('libp2p-bootstrap')
99
const SPDY = require('libp2p-spdy')
1010
const KadDHT = require('libp2p-kad-dht')
1111
const MPLEX = require('libp2p-mplex')

package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@
1010
"license": "MIT",
1111
"dependencies": {
1212
"ipfs": "file:../../",
13-
"libp2p": "~0.22.0",
14-
"libp2p-kad-dht": "~0.10.1",
13+
"libp2p": "~0.24.0",
14+
"libp2p-bootstrap": "~0.9.3",
15+
"libp2p-kad-dht": "~0.11.1",
1516
"libp2p-mdns": "~0.12.0",
16-
"libp2p-mplex": "~0.8.0",
17-
"libp2p-railing": "~0.9.2",
18-
"libp2p-secio": "~0.10.0",
19-
"libp2p-spdy": "~0.12.1",
20-
"libp2p-tcp": "~0.12.0",
21-
"libp2p-websocket-star": "~0.8.1"
17+
"libp2p-mplex": "~0.8.4",
18+
"libp2p-secio": "~0.10.1",
19+
"libp2p-spdy": "~0.13.0",
20+
"libp2p-tcp": "~0.13.0",
21+
"libp2p-websocket-star": "~0.9.0"
2222
}
2323
}

0 commit comments

Comments
 (0)