mirror of
https://github.com/fluencelabs/js-libp2p
synced 2025-07-08 21:31:32 +00:00
Compare commits
17 Commits
Author | SHA1 | Date | |
---|---|---|---|
b5209fc456 | |||
932d8772da | |||
baee2b7945 | |||
153f8884fa | |||
b71f77dcf7 | |||
8dc8e0530b | |||
4ed0ce16af | |||
cbb7290a97 | |||
63b10c01e3 | |||
11c21b6999 | |||
109ee51d7b | |||
09182b43bf | |||
a130ab2dc1 | |||
13355bf179 | |||
e24a1e43dc | |||
cb7d60ef65 | |||
a01b9479eb |
5
CHANGELOG.md
Normal file
5
CHANGELOG.md
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
<a name="0.5.5"></a>
|
||||||
|
## [0.5.5](https://github.com/libp2p/js-libp2p/compare/v0.5.4...v0.5.5) (2017-03-21)
|
||||||
|
|
||||||
|
|
||||||
|
|
19
package.json
19
package.json
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "libp2p",
|
"name": "libp2p",
|
||||||
"version": "0.5.0",
|
"version": "0.5.5",
|
||||||
"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,21 @@
|
|||||||
"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": {
|
||||||
|
"aegir": "^11.0.0",
|
||||||
"chai": "^3.5.0",
|
"chai": "^3.5.0",
|
||||||
"aegir": "^9.4.0",
|
"dirty-chai": "^1.2.2",
|
||||||
"pre-commit": "^1.2.2"
|
"pre-commit": "^1.2.2"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"libp2p-ping": "^0.3.0",
|
"libp2p-ping": "~0.3.2",
|
||||||
"libp2p-swarm": "^0.26.13",
|
"libp2p-swarm": "~0.26.19",
|
||||||
"mafmt": "^2.1.6",
|
"mafmt": "^2.1.6",
|
||||||
"multiaddr": "^2.2.0",
|
"multiaddr": "^2.2.2",
|
||||||
"peer-book": "^0.3.0",
|
"peer-book": "~0.3.1",
|
||||||
"peer-id": "^0.8.1",
|
"peer-id": "~0.8.4",
|
||||||
"peer-info": "^0.8.2"
|
"peer-info": "~0.8.4"
|
||||||
},
|
},
|
||||||
"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(() => {}))
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
@ -1,12 +1,14 @@
|
|||||||
/* eslint-env mocha */
|
/* eslint-env mocha */
|
||||||
'use strict'
|
'use strict'
|
||||||
|
|
||||||
const expect = require('chai').expect
|
const chai = require('chai')
|
||||||
|
chai.use(require('dirty-chai'))
|
||||||
|
const expect = chai.expect
|
||||||
|
|
||||||
const libp2p = require('../src')
|
const libp2p = require('../src')
|
||||||
|
|
||||||
describe('libp2p', () => {
|
describe('libp2p', () => {
|
||||||
it('the skeleton is fine, now go build your own libp2p bundle', () => {
|
it('the skeleton is fine, now go build your own libp2p bundle', () => {
|
||||||
expect(libp2p).to.exist
|
expect(libp2p).to.exist()
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
Reference in New Issue
Block a user