Skip to content

Latest commit

 

History

History
78 lines (45 loc) · 4.58 KB

CHANGELOG.md

File metadata and controls

78 lines (45 loc) · 4.58 KB

1.0.3 (2020-07-02)

Bug Fixes

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

1.0.2 (2020-06-29)

Bug Fixes

1.0.1 (2020-06-26)

Bug Fixes

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

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 (2020-04-30)

Features

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

0.1.6 (2020-04-28)

Bug Fixes