mirror of
https://github.com/fluencelabs/js-libp2p
synced 2025-03-16 15:40:49 +00:00
chore: update deps
This commit is contained in:
parent
abe5c8c171
commit
c8f4eaf982
50
package.json
50
package.json
@ -36,41 +36,39 @@
|
||||
"url": "https://github.com/libp2p/js-libp2p/issues"
|
||||
},
|
||||
"homepage": "https://github.com/libp2p/js-libp2p",
|
||||
"dependencies": {
|
||||
"async": "^2.5.0",
|
||||
"libp2p-ping": "~0.4.0",
|
||||
"libp2p-swarm": "~0.30.0",
|
||||
"mafmt": "^2.1.8",
|
||||
"multiaddr": "^2.3.0",
|
||||
"peer-book": "~0.4.0",
|
||||
"peer-id": "~0.8.7",
|
||||
"peer-info": "~0.9.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"aegir": "^11.0.2",
|
||||
"chai": "^4.0.2",
|
||||
"cids": "^0.5.0",
|
||||
"dirty-chai": "^2.0.0",
|
||||
"electron-webrtc": "^0.3.0",
|
||||
"libp2p-kad-dht": "^0.2.0",
|
||||
"libp2p-mdns": "^0.7.0",
|
||||
"libp2p-multiplex": "^0.4.4",
|
||||
"libp2p-railing": "^0.5.2",
|
||||
"libp2p-secio": "^0.6.8",
|
||||
"libp2p-spdy": "^0.10.6",
|
||||
"libp2p-swarm": "^0.29.2",
|
||||
"libp2p-tcp": "^0.10.1",
|
||||
"libp2p-webrtc-star": "^0.11.0",
|
||||
"libp2p-websockets": "^0.10.0",
|
||||
"chai": "^4.1.0",
|
||||
"dirty-chai": "^2.0.1",
|
||||
"cids": "~0.5.1",
|
||||
"libp2p-kad-dht": "~0.3.0",
|
||||
"libp2p-mdns": "~0.7.1",
|
||||
"libp2p-multiplex": "~0.4.4",
|
||||
"libp2p-railing": "~0.5.2",
|
||||
"libp2p-secio": "~0.6.8",
|
||||
"libp2p-spdy": "~0.10.6",
|
||||
"libp2p-tcp": "~0.10.1",
|
||||
"libp2p-webrtc-star": "~0.11.0",
|
||||
"libp2p-websockets": "~0.10.0",
|
||||
"lodash.times": "^4.3.2",
|
||||
"mafmt": "^2.1.8",
|
||||
"pre-commit": "^1.2.2",
|
||||
"pull-goodbye": "0.0.2",
|
||||
"pull-serializer": "^0.3.2",
|
||||
"pull-stream": "^3.6.0",
|
||||
"safe-buffer": "^5.1.1",
|
||||
"electron-webrtc": "^0.3.0",
|
||||
"wrtc": "0.0.62"
|
||||
},
|
||||
"dependencies": {
|
||||
"async": "^2.5.0",
|
||||
"libp2p-ping": "~0.4.0",
|
||||
"libp2p-swarm": "~0.29.1",
|
||||
"mafmt": "^2.1.8",
|
||||
"multiaddr": "^2.3.0",
|
||||
"peer-book": "~0.4.0",
|
||||
"peer-id": "~0.8.7",
|
||||
"peer-info": "~0.9.2"
|
||||
},
|
||||
"contributors": [
|
||||
"David Dias <daviddias.p@gmail.com>",
|
||||
"Friedel Ziegelmayer <dignifiedquire@gmail.com>",
|
||||
@ -79,4 +77,4 @@
|
||||
"greenkeeperio-bot <support@greenkeeper.io>",
|
||||
"mayerwin <mayerwin@users.noreply.github.com>"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
@ -77,7 +77,10 @@ class Node extends EventEmitter {
|
||||
|
||||
// dht provided components (peerRouting, contentRouting, dht)
|
||||
if (_modules.DHT) {
|
||||
this._dht = new this.modules.DHT(this, 20, _options.DHT && _options.DHT.datastore)
|
||||
this._dht = new this.modules.DHT(this.swarm, {
|
||||
kBucketSize: 20,
|
||||
datastoer: _options.DHT && _options.DHT.datastore
|
||||
})
|
||||
}
|
||||
|
||||
this.peerRouting = {
|
||||
|
Loading…
x
Reference in New Issue
Block a user