Skip to content

5.0.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@beatt83 beatt83 released this 07 Dec 21:05

What's Changed

  • fix: use case where RSA to and from JWK would cause an issue by @beatt83 in #37
  • feat(jwt): make the common claims typaliases public by @beatt83 in #38
  • feat(jwe): add compressionAlgorithm to the encrypt parameters by @beatt83 in #38
  • feat(jwt, jwe): make errors public by @beatt83 in #38
  • feat(jwt): now if the nested key cannot be found it will go through all the keys until one is valid or throw an error by @beatt83 in #38
  • feat(jwt)!: added new methods for an easy process to build encoded JWEs by @beatt83 in #38
  • fix: have a better error thrown if key format not supported by @beatt83 in #38
  • feat(jwe): normalize compactSerialization make it a computed var like JWS instead of a func by @beatt83 in #38
  • feat: add SymmetricKey as a KeyRepresentable by @beatt83 in #38
  • feat: removed sharedKey since it just caused confusion recipientKey should be used
    by @beatt83 in #38

Full Changelog: 4.0.2...5.0.0