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

Update DID resolution interface #66

Merged
merged 1 commit into from
Jan 19, 2021
Merged

Update DID resolution interface #66

merged 1 commit into from
Jan 19, 2021

Conversation

clehner
Copy link
Contributor

@clehner clehner commented Jan 18, 2021

This simplifies DIDKit's DID resolution interface, and brings it more in line with DID Core.

- Rename resolveStream to resolveRepresentation. Fix #50
- Use Vec<u8> instead of Bytes in DID resolution return type
- Use Bytes re-exported by hyper
- Implement resolve_representation in terms of resolve by default
@clehner clehner merged commit a87e644 into main Jan 19, 2021
@clehner clehner deleted the did-resolve-repr branch January 19, 2021 17:47
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.

Rename resolve_stream to resolve_representation
2 participants