Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix!: remove strings from fetch and hangUp #1495

Merged
merged 2 commits into from
Nov 25, 2022

Conversation

achingbrain
Copy link
Member

Only accept PeerId or Multiaddr objects as arguments to fetch and hangUp the same as ping, dial, etc.

This was missed during the typescript refactor.

BREAKING CHANGE: libp2p.hangUp and libp2p.fetch require PeerId or Multiaddr objects the same as other methods

Only accept PeerId or Multiaddr objects as arguments to fetch and
hangUp the same as ping, dial, etc.

This was missed during the typescript refactor.
@achingbrain achingbrain merged commit bae32ba into master Nov 25, 2022
@achingbrain achingbrain deleted the fix/remove-strings-from-fetch-and-hang-up branch November 25, 2022 15:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant