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: resolve multiaddrs #149

Merged
merged 6 commits into from
Oct 27, 2020
Merged

feat: resolve multiaddrs #149

merged 6 commits into from
Oct 27, 2020

Conversation

vasco-santos
Copy link
Member

@vasco-santos vasco-santos commented Oct 12, 2020

This PR adds the resolve API method to multiaddr, as well as a custom resolver for dnsaddr that multiaddr users can rely on. Further custom resolvers including dns4 and dns6 should be added to this repo.

Needs:

Closes #94

src/resolvers/dns.browser.js Outdated Show resolved Hide resolved
src/index.js Outdated Show resolved Hide resolved
src/resolvers/index.js Show resolved Hide resolved
test/resolvers.spec.js Show resolved Hide resolved
src/resolvers/index.js Outdated Show resolved Hide resolved
@vasco-santos vasco-santos marked this pull request as ready for review October 13, 2020 13:24
Copy link
Contributor

@jacobheun jacobheun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, just some minor suggestions.

test/resolvers.spec.js Outdated Show resolved Hide resolved
test/resolvers.spec.js Outdated Show resolved Hide resolved
test/resolvers.spec.js Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
Co-authored-by: Jacob Heun <jacobheun@gmail.com>
@vasco-santos
Copy link
Member Author

remaining comments addressed!
@jacobheun can you merge/release? I have no permissions for releasing multiaddr

@jacobheun jacobheun merged commit 525268b into master Oct 27, 2020
@jacobheun jacobheun deleted the feat/resolve-multiaddrs branch October 27, 2020 14:12
@vasco-santos vasco-santos restored the feat/resolve-multiaddrs branch October 27, 2020 15:48
@vasco-santos vasco-santos deleted the feat/resolve-multiaddrs branch November 10, 2020 09:40
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.

Support .nodeAddress() for /dnsaddr
2 participants