Skip to content

v1.6.2

Compare
Choose a tag to compare
@lbalmaceda lbalmaceda released this 21 Jan 20:18
· 279 commits to master since this release
998a32d

[1.6.2] - (2020-01-21)

This patch release includes an alias for accessing the public key of a given JSON Web Key (JWK). This is in response to an unintended breaking change that was introduced as part of the last Typescript definitions change, included in the release with version 1.6.0.

Now, no matter what the public key algorithm is, you can obtain it like this:

client.getSigningKey(kid, (err, jwk) => {
  const publicKey = jwk.getPublicKey();
});

Fixed