1
0
mirror of https://github.com/fluencelabs/js-libp2p synced 2025-03-26 20:31:04 +00:00

3 Commits

Author SHA1 Message Date
Vasco Santos
12e48adafa chore: remove peer-info usage
BREAKING CHANGE: all API methods with peer-info parameters or return values were changed. You can check the API.md document, in order to check the new values to use
2020-05-28 12:37:48 +02:00
Alex Potsides
be8fc9daf1
fix: stop stream after first pong received ()
When connecting to go-IPFS from a webworker, the stream opened by
the ping protocol is never closed.

The change here uses `take` to only receive one buffer from the
remote node before closing the stream.
2020-02-03 15:50:40 +01:00
Vasco Santos
4f7586886c refactor: ping ()
* refactor: ping

* chore: ping is now a function

* chore: address review
2020-01-24 14:40:40 +01:00