v1.6.2
[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
- Add alias for obtaining the public key #119 (lbalmaceda)
- Handling case when Jwk doesn't have 'use' parameter #116 (manpreet-compro)