decentralized-identity / veramo

A JavaScript Framework for Verifiable Data
https://veramo.io
Apache License 2.0
445 stars 133 forks source link

feat(cli): add support for `did:jwk` and `did:peer` to CLI #1320

Closed mirceanis closed 10 months ago

mirceanis commented 10 months ago

What issue is this PR fixing

fixes #1319

What is being changed

The default CLI config gets an update to support creating and resolving did:jwk and did:peer. The CLI package gets 2 new plugin dependencies for these DID methods. The PeerDidProvider is more lenient about num_algo parameters for creation. It will default to 0 if nothing is provided.

Quality

Check all that apply:

codecov-commenter commented 10 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (165de35) 85.50% compared to head (8689e0b) 85.50%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## next #1320 +/- ## ======================================= Coverage 85.50% 85.50% ======================================= Files 170 170 Lines 18946 18947 +1 Branches 2115 2120 +5 ======================================= + Hits 16200 16201 +1 Misses 2746 2746 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.