Skip to content

Commit

Permalink
Add better explanations to options in README.
Browse files Browse the repository at this point in the history
  • Loading branch information
aljones15 committed Mar 24, 2023
1 parent 4e7bc2a commit ab06c99
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -192,12 +192,13 @@ const didDocument = await didKeyDriver.get({did});

```js
const options = {
// default publicKeyFormat
// default publicKeyFormat for the keys in the didDocument
publicKeyFormat: 'Ed25519VerificationKey2020',
// this defaults to false
// enableExperimentalPublicKeyTypes defaults to false. Setting it to true enables
// the use of key types that are not Multikey, JsonWebKey2020, or Ed25519VerificationKey2020.
enableExperimentalPublicKeyTypes: false,
// the context for the resulting did document
// the default is the did context
// the default is just the did context
defaultContext: [DID_CONTEXT_URL],
// if false no keyAgreementKey is included
// defaults to true
Expand Down

0 comments on commit ab06c99

Please sign in to comment.