mirror of
https://github.com/fluencelabs/js-libp2p
synced 2025-07-29 15:31:56 +00:00
Compare commits
3 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
9307846722 | ||
|
19a92c0e53 | ||
|
c0ae7e9be9 |
1
.gitignore
vendored
1
.gitignore
vendored
@@ -41,3 +41,4 @@ test/test-data/go-ipfs-repo/LOG.old
|
||||
|
||||
# while testing npm5
|
||||
package-lock.json
|
||||
yarn.lock
|
||||
|
10
CHANGELOG.md
10
CHANGELOG.md
@@ -1,3 +1,13 @@
|
||||
<a name="0.8.5"></a>
|
||||
## [0.8.5](https://github.com/libp2p/js-libp2p-ping/compare/v0.8.4...v0.8.5) (2019-01-10)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* bundle size ([#73](https://github.com/libp2p/js-libp2p-ping/issues/73)) ([c0ae7e9](https://github.com/libp2p/js-libp2p-ping/commit/c0ae7e9))
|
||||
|
||||
|
||||
|
||||
<a name="0.8.4"></a>
|
||||
## [0.8.4](https://github.com/libp2p/js-libp2p-ping/compare/v0.8.3...v0.8.4) (2019-01-04)
|
||||
|
||||
|
11
package.json
11
package.json
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "libp2p-ping",
|
||||
"version": "0.8.4",
|
||||
"version": "0.8.5",
|
||||
"description": "libp2p Ping protocol implementation",
|
||||
"leadMaintainer": "Jacob Heun <jacobheun@gmail.com>",
|
||||
"main": "src/index.js",
|
||||
@@ -35,21 +35,21 @@
|
||||
},
|
||||
"homepage": "https://github.com/libp2p/js-libp2p-ping",
|
||||
"devDependencies": {
|
||||
"aegir": "^18.0.2",
|
||||
"aegir": "^18.0.3",
|
||||
"async": "^2.6.1",
|
||||
"chai": "^4.2.0",
|
||||
"debug": "^4.1.1",
|
||||
"dirty-chai": "^2.0.1",
|
||||
"libp2p-switch": "~0.41.4",
|
||||
"libp2p-tcp": "~0.13.0",
|
||||
"multiaddr": "^6.0.2",
|
||||
"multiaddr": "^6.0.0",
|
||||
"peer-book": "~0.9.0",
|
||||
"peer-id": "~0.12.1",
|
||||
"peer-id": "~0.12.0",
|
||||
"peer-info": "~0.15.0",
|
||||
"run-parallel": "^1.1.9"
|
||||
},
|
||||
"dependencies": {
|
||||
"libp2p-crypto": "~0.15.0",
|
||||
"libp2p-crypto": "~0.16.0",
|
||||
"pull-handshake": "^1.1.4",
|
||||
"pull-stream": "^3.6.9"
|
||||
},
|
||||
@@ -57,6 +57,7 @@
|
||||
"David Dias <daviddias.p@gmail.com>",
|
||||
"Francisco Baio Dias <xicombd@gmail.com>",
|
||||
"Friedel Ziegelmayer <dignifiedquire@gmail.com>",
|
||||
"Hugo Dias <mail@hugodias.me>",
|
||||
"Jacob Heun <jacobheun@gmail.com>",
|
||||
"João Antunes <j.goncalo.antunes@gmail.com>",
|
||||
"Richard Littauer <richard.littauer@gmail.com>",
|
||||
|
@@ -1,6 +1,6 @@
|
||||
'use strict'
|
||||
|
||||
const pull = require('pull-stream')
|
||||
const pull = require('pull-stream/pull')
|
||||
const handshake = require('pull-handshake')
|
||||
const constants = require('./constants')
|
||||
const PROTOCOL = constants.PROTOCOL
|
||||
|
@@ -1,7 +1,8 @@
|
||||
'use strict'
|
||||
|
||||
const EventEmitter = require('events').EventEmitter
|
||||
const pull = require('pull-stream')
|
||||
const pull = require('pull-stream/pull')
|
||||
const empty = require('pull-stream/sources/empty')
|
||||
const handshake = require('pull-handshake')
|
||||
const constants = require('./constants')
|
||||
const util = require('./util')
|
||||
@@ -73,7 +74,7 @@ class Ping extends EventEmitter {
|
||||
this._stopped = true
|
||||
|
||||
pull(
|
||||
pull.empty(),
|
||||
empty(),
|
||||
this.shake.rest()
|
||||
)
|
||||
}
|
||||
|
Reference in New Issue
Block a user