Releases: decentralized-identity/did-jwt-vc
Releases · decentralized-identity/did-jwt-vc
1.0.6
1.0.6 (2020-08-18)
Bug Fixes
- deps: update dependency [email protected] & [email protected] (#48) (6a98103)
 
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
1.0.0 (2020-06-25)
Bug Fixes
- build: add babel plugin to fix microbundle 0.12 build error (e14c2aa)
 - use 
ES256Kas the default JWT algorithm (a097c69) 
Code Refactoring
- rename creation and validation methods to reflect JWT target (829956f)
 - rename credential validation methods (2bb2e5a)
 - rename existing payload types to reflect JWT target (af74207)
 
Features
- add a method to convert a credential payload from W3C to JWT (f7e86f0)
 - add a normalizer method to an unambiguous 
Verifiable<Credential>(ffbd67f) - add methods to convert to unambiguous 
Verifiable<Presentation>and JWTPresentationPayload (1721e4a) - define W3C compatible data types for credentials and presentations (adb27e9)
 - homogenize 
verifyCredential()/verifyPresentation()API (e9fbb99) - homogenize createCredentialJwt/PresentationJwt API (3999382)
 
BREAKING CHANGES
- removed 
Verifiablefrom the credential validation methods since the parameter is only the payload
validateJwtVerifiableCredentialPayload -> validateJwtCredentialPayload
validateVerifiableCredentialPayload -> validateCredentialPayload - renamed 
createPresentationJWTtocreateVerifiablePresentationAJwt - the following methods have been renamed:
createVerifiableCredential->createVerifiableCredentialJwt
createPresentation->createPresentationJwt
validateVerifiableCredentialAttributes->validateJwtVerifiableCredentialPayload
validatePresentationAttributes->validateJwtPresentationPayload 
Also exporting the JWT type which maps to string
- the following interface definitions have been renamed:
VerifiableCredentialPayload->JwtVerifiableCredentialPayload
PresentationPayload->JwtPresentationPayload 
0.2.0
0.1.6
Version 0.1.0
- Add function to create a Verifiable Credential JWT
 - Add function to create a Presentation JWT
 - Add function to verify a Verifiable Credential JWT
 - Add function to verify a Presentation JWT