Skip to content

Releases: decentralized-identity/did-jwt-vc

1.0.4

20 Jul 11:26
Compare
Choose a tag to compare

1.0.4 (2020-07-20)

Bug Fixes

1.0.3

02 Jul 14:02
Compare
Choose a tag to compare

1.0.3 (2020-07-02)

Bug Fixes

  • stop input from being mutated by converter methods (#41) (346e6f7)

1.0.2

29 Jun 08:13
Compare
Choose a tag to compare

1.0.2 (2020-06-29)

Bug Fixes

1.0.1

26 Jun 13:14
Compare
Choose a tag to compare

1.0.1 (2020-06-26)

Bug Fixes

  • build: Use tsc instead of microbundle (#38) (f75a967)

1.0.0

25 Jun 13:06
Compare
Choose a tag to compare

1.0.0 (2020-06-25)

Bug Fixes

  • build: add babel plugin to fix microbundle 0.12 build error (e14c2aa)
  • use ES256K as 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 Verifiable from the credential validation methods since the parameter is only the payload
    validateJwtVerifiableCredentialPayload -> validateJwtCredentialPayload
    validateVerifiableCredentialPayload -> validateCredentialPayload
  • renamed createPresentationJWT to createVerifiablePresentationAJwt
  • 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

30 Apr 13:26
Compare
Choose a tag to compare

0.2.0 (2020-04-30)

Features

  • remove explicit declaration of the nullable credentialStatus (078ba82)

0.1.6

28 Apr 11:09
Compare
Choose a tag to compare

0.1.6 (2020-04-28)

Bug Fixes

Version 0.1.0

25 Sep 18:20
Compare
Choose a tag to compare
  • 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