openwallet-foundation / credo-ts

Typescript framework for building decentralized identity and verifiable credential solutions
https://credo.js.org
Apache License 2.0
273 stars 200 forks source link

Move DIDComm out of core to separate `@credo-ts/didcomm` module #1796

Open TimoGlastra opened 8 months ago

TimoGlastra commented 8 months ago

Also extract all the config specifc to DIDComm from the default config. It's a bit weird now that DIDComm endpoint is configured trhough global endpoints config, but for OpenID you have to configure it on the module.

May also be nice to have some default options. So that you can just start the agent and /didcomm is used for didcomm, /oid4vci is used for openid issuance, etc..

TimoGlastra commented 8 months ago

Shoudl probably also make registerInboundTransport and registerOutboundTransport config options in the DIDComm module