libp2p / js-libp2p-interfaces

Contains test suites and interfaces you can use to implement the various components of js libp2p.
Other
75 stars 28 forks source link

feat!: rename peer discovery symbol to peerDiscovery #394

Closed achingbrain closed 1 year ago

achingbrain commented 1 year ago

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

github-actions[bot] commented 1 year ago

:tada: This PR is included in version @libp2p/interface-peer-discovery-v2.0.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket:

github-actions[bot] commented 1 year ago

:tada: This PR is included in version @libp2p/interface-mocks-v12.0.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: