Closed vasco-santos closed 4 years ago
I addressed the review and also fixed the Querier parameters bug
Changed README to use peerData
instead of peerInfo
for events and peerId
instead of peerInfo
for the MDNS constructor. It should all correct now
Beta tag released:
dist-tags:
beta: 0.14.0 latest: 0.13.3
In the context of deprecating
peer-info
as described on libp2p/js-libp2p#589, this PR changes thepeer-discovery
interface to emit an object containing anid
property and amultiaddrs
property.This adds a multiaddrs property to the constructor for now. This should receive libp2p and access the libp2p listening multiaddrs instead
BREAKING CHANGE: peer event emits an object with id and multiaddr instead of a peer-info
Needs: