panva / jose

JWA, JWS, JWE, JWT, JWK, JWKS for Node.js, Browser, Cloudflare Workers, Deno, Bun, and other Web-interoperable runtimes
MIT License
5.62k stars 315 forks source link

fix(types): export GetKeyFunction #592

Closed flaviostutz closed 1 year ago

flaviostutz commented 1 year ago

GetKeyFunction type is not being re-exported to the index of types for the lib.

This is a fix for that.

Closes #591

panva commented 1 year ago

As explained in https://github.com/panva/jose/issues/591#issuecomment-1760382299

This export is not required since the ones for individual operations are the ones to be used.