mirror of
https://github.com/fluencelabs/js-libp2p
synced 2025-07-12 07:11:36 +00:00
Compare commits
9 Commits
Author | SHA1 | Date | |
---|---|---|---|
cbb7290a97 | |||
63b10c01e3 | |||
11c21b6999 | |||
109ee51d7b | |||
09182b43bf | |||
a130ab2dc1 | |||
e24a1e43dc | |||
cb7d60ef65 | |||
a01b9479eb |
18
package.json
18
package.json
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "libp2p",
|
"name": "libp2p",
|
||||||
"version": "0.5.0",
|
"version": "0.5.3",
|
||||||
"description": "JavaScript Skeleton for libp2p bundles",
|
"description": "JavaScript Skeleton for libp2p bundles",
|
||||||
"main": "src/index.js",
|
"main": "src/index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
@ -32,20 +32,20 @@
|
|||||||
"bugs": {
|
"bugs": {
|
||||||
"url": "https://github.com/libp2p/js-libp2p/issues"
|
"url": "https://github.com/libp2p/js-libp2p/issues"
|
||||||
},
|
},
|
||||||
"homepage": "https://github.com/diasdavid/js-libp2p",
|
"homepage": "https://github.com/libp2p/js-libp2p",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"chai": "^3.5.0",
|
"chai": "^3.5.0",
|
||||||
"aegir": "^9.4.0",
|
"aegir": "^10.0.0",
|
||||||
"pre-commit": "^1.2.2"
|
"pre-commit": "^1.2.2"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"libp2p-ping": "^0.3.0",
|
"libp2p-ping": "~0.3.1",
|
||||||
"libp2p-swarm": "^0.26.13",
|
"libp2p-swarm": "~0.26.16",
|
||||||
"mafmt": "^2.1.6",
|
"mafmt": "^2.1.6",
|
||||||
"multiaddr": "^2.2.0",
|
"multiaddr": "^2.2.1",
|
||||||
"peer-book": "^0.3.0",
|
"peer-book": "~0.3.1",
|
||||||
"peer-id": "^0.8.1",
|
"peer-id": "~0.8.2",
|
||||||
"peer-info": "^0.8.2"
|
"peer-info": "~0.8.3"
|
||||||
},
|
},
|
||||||
"contributors": [
|
"contributors": [
|
||||||
"David Dias <daviddias.p@gmail.com>",
|
"David Dias <daviddias.p@gmail.com>",
|
||||||
|
@ -9,6 +9,7 @@ const mafmt = require('mafmt')
|
|||||||
const EE = require('events').EventEmitter
|
const EE = require('events').EventEmitter
|
||||||
const assert = require('assert')
|
const assert = require('assert')
|
||||||
const Ping = require('libp2p-ping')
|
const Ping = require('libp2p-ping')
|
||||||
|
const setImmediate = require('async/setImmediate')
|
||||||
|
|
||||||
exports = module.exports
|
exports = module.exports
|
||||||
|
|
||||||
@ -134,7 +135,6 @@ class Node {
|
|||||||
|
|
||||||
if (this.modules.discovery) {
|
if (this.modules.discovery) {
|
||||||
this.modules.discovery.forEach((discovery) => {
|
this.modules.discovery.forEach((discovery) => {
|
||||||
console.log(discovery)
|
|
||||||
setImmediate(() => discovery.stop(() => {}))
|
setImmediate(() => discovery.stop(() => {}))
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user