decentralized-identity / waci-didcomm

Wallet And Credential Interactions for DIDComm
https://identity.foundation/waci-didcomm
Apache License 2.0
12 stars 12 forks source link

Updated didcomm service endpoint #9

Closed brianorwhatever closed 2 years ago

brianorwhatever commented 2 years ago

Closes #8

brianorwhatever commented 2 years ago

DIDComm service endpoints also include an accept property but we didn't include it before so I left it off. not sure if that's the correct approach or if we should talk about it

accept: An optional array of media types in the order of preference for sending a message to the endpoint. If accept is not specified, the sender uses its preferred choice for sending a message to the endpoint. Please see Message Types for details about media types.

bumblefudge commented 2 years ago

seems to match here, LGTM https://identity.foundation/didcomm-messaging/spec/#did-document-keys (accept is optional)