decentralized-identity / veramo

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

fix(cli): remove `revocable` and `send` options from credential create command #1345

Closed mirceanis closed 9 months ago

mirceanis commented 9 months ago

What issue is this PR fixing

fixes #1342

What is being changed

The veramo credential create command would ask if the credential being created should be revokable but would then use an incompletely supported credentialStatus method, making the credentials unverifiable (using default configs). Since the command is (still) meant as a simple demo, it's easier to simply remove that option.

Additionally, the credential is now getting saved using data-store API instead of the deprecated save option and the verification is a bit more lenient with JSON5 inputs.

Quality

Check all that apply: