This repository has been archived by the owner on Jun 26, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat!: rename peer discovery symbol to peerDiscovery (#394)
The export `symbol` from the `@libp2p/interface-peer-discovery` is too generic to use with modules that might implement peer discovery and something else so it's been renamed to `peerDiscovery`. Objects with `peerDiscovery` symbol properties getters should return `PeerDiscovery` instances instead of `boolean` values. BREAKING CHANGE: the `symbol` export is now named `peerDiscovery` and the getter with that name should return an instance of `PeerDiscovery`
- Loading branch information