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

feat: add convert subpath export #246

Merged
merged 1 commit into from
Jun 9, 2022

Conversation

wemeetagain
Copy link
Contributor

@wemeetagain wemeetagain commented Jun 7, 2022

I'd like to convert multiaddr segments to / from bytes in a library that can create multiaddrs.
Creating a full multiaddr wouldn't make sense, nor would reimplementing the conversion logic if it already exists in this library.

Before the ESM version of this library I used multiaddrs/src/convert directly.
See usage of muConvert here https://github.com/ChainSafe/discv5/blob/master/src/enr/enr.ts

@wemeetagain
Copy link
Contributor Author

cc @achingbrain

@achingbrain achingbrain changed the title Add convert subpath export feat: add convert subpath export Jun 8, 2022
@wemeetagain
Copy link
Contributor Author

when you get a chance, i'd love to have this merged/released so we put this into use

@achingbrain achingbrain merged commit c69283b into multiformats:master Jun 9, 2022
github-actions bot pushed a commit that referenced this pull request Jun 9, 2022
## [10.2.0](v10.1.8...v10.2.0) (2022-06-09)

### Features

* add convert subpath export ([#246](#246)) ([c69283b](c69283b))
@github-actions
Copy link

github-actions bot commented Jun 9, 2022

🎉 This PR is included in version 10.2.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@wemeetagain wemeetagain deleted the feat/add-convert-export branch June 9, 2022 14:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants