Skip to content

Commit

Permalink
Fix readme for JS SDK (#46)
Browse files Browse the repository at this point in the history
# Motivation

Readme for the JavaScript SDK mentioned some parameters as optional but
are mandatory.

# Changes

* Edit README.md in js-library.

# Tests

Not necessary.

# Todos

- [ ] Add entry to changelog (if necessary). Not necessary.
  • Loading branch information
lmuntaner authored Jul 12, 2024
1 parent 2301849 commit a116a2e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js-library/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ requestVerifiablePresentation({
},
issuerData: {
origin: "<url of the origin>",
canisterId: "<[optional] canister id>",
canisterId: "<canister id>",
},
credentialData: {
credentialSpec: {
Expand All @@ -67,7 +67,7 @@ requestVerifiablePresentation({
},
credentialSubject: "<user's principal>",
},
identityProvider: "<[optional] url identity provider>",
identityProvider: "<url identity provider>",
derivationOrigin: "<[optional] origin for delegated identity>",
windowOpenerFeatures: "<[optional] window opener config string>",
});
Expand Down

0 comments on commit a116a2e

Please sign in to comment.