decentralized-identity / didcomm.org

https://didcomm.org/
Apache License 2.0
36 stars 25 forks source link

fix: Inconsistincies with mediation protocol #76

Closed TheTechmage closed 1 year ago

TheTechmage commented 1 year ago

When switching from using Keys in the mediation protocol to using DIDs in DIDComm V2, there were some inconsistencies within the API. The body of the requests were changes but the API was not, even though it was already a breaking change from 1.0 to 2.0. As part of my change, I have renamed 'keylist' to 'recipient' to more-so simplify changes in the future, should we switch from using DIDs to something else.

Also, the previous keylist response returned keys, rather than dids, which was inconsistent with the other keylist API calls and responses. This has been renamed to dids.

Language in other parts of the document has also been modified to reflect these changes.

As per discussion in PR #71, this change has been moved to a new 3.0 version of coordinate mediation.