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

fix!: remove peer id argument from deny dial multiaddr #366

Closed achingbrain closed 1 year ago

achingbrain commented 1 year ago

Since we can now dial multiaddrs without a peer id attached, the peer id may not be present on the multiaddr so we cannot have a required peer id argument passed to denyDialMultiaddr.

If present it can be accessed by calling getPeerId on the multiaddr.

BREAKING CHANGE: the peer id argument has been removed from the denyDialMultiaddr method of the connection gater

github-actions[bot] commented 1 year ago

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

The release is available on:

Your semantic-release bot :package::rocket: