- The results from verifying a presentation now includes
credentialId
which makes it possible to correlate success/failure messages with credentials.
- Improve error reporting when
suite
parameter is missing.
- Accept string value for a single VP context.
- Fix reporting of
credentialResults
inverify
output.
- Add
checkStatus
option. This is a function that can be passed that will be executed when a VC has acredentialStatus
attribute.
verifiableCredential
param is now optional increatePresentation()
.- BREAKING:
verify()
now only verifies presentations, not credentials, (since that will be the most common use case). For credentials, a separateverifyCredential()
method has been added. - BREAKING: Rename
verify()
'spurpose
parameter topresentationPurpose
.
- Multiple types for a VerifiableCredential no longer required (fix).
- Multiple
@context
s for a VC no longer required (fix).
- BREAKING: For VerifiablePresentations, break the async
createPresentation()
API into two separate calls: a synccreatePresentation()
and an asyncsignPresentation()
. - BREAKING: Change default proof purpose for VerifiablePresentations
from
assertionMethod
toauthentication
. - BREAKING: A
challenge
param is required when verifying a VP.
- Add support for optionally verifying unsigned presentations.
- Update docs.
- Evidence IDs are now optional.
- Update webpack build.
- Cleanups.
- Use
credentials-context
package. - Update dependencies.
- BREAKING: Add further checks for controller, suite and assertionMethod
- BREAKING: Node.js v6 support.
- Export
defaultDocumentLoader
in main vc.js.
- Initial version. See git history for changes.