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: align with DIDComm v2.1 spec for service endpoints #77

Merged
merged 2 commits into from
Oct 20, 2023

Conversation

dbluhm
Copy link
Member

@dbluhm dbluhm commented Oct 20, 2023

Version 2.1 of the spec defines the expected value for serviceEndpoint as:

... a serviceEndpoint MUST contain an object or an array of objects.

This differs from 2.0 in that a list of objects was previously required. This PR adjusts the validator for DIDComm v2 service objects accordingly.

Signed-off-by: Daniel Bluhm <dbluhm@pm.me>
Signed-off-by: Daniel Bluhm <dbluhm@pm.me>
@TheTechmage
Copy link
Contributor

This looks right to me. Good improvement!

@dbluhm dbluhm merged commit 0409f81 into main Oct 20, 2023
5 checks passed
@dbluhm dbluhm deleted the fix/didcomm-2.1-service branch October 20, 2023 18: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.

None yet

2 participants