awslabs / aws-jwt-verify

JS library for verifying JWTs signed by Amazon Cognito, and any OIDC-compatible IDP that signs JWTs with RS256, RS384, and RS512
Apache License 2.0
614 stars 43 forks source link

Simplified typings, for better readability and to enable proper tsdoc hints on create calls #11

Closed ottokruse closed 2 years ago

ottokruse commented 2 years ago

Issue #, if available: N/A

Description of changes: Simplified typings, for better readability and to enable proper tsdoc hints on create calls.

*Impact: This change will have no impact on regular usage of this library (e.g. all usage as explained in README). But, this might be a BREAKING change for TypeScript users, who were explicitly depending on the previous typings.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

ottokruse commented 2 years ago

Great idea, let me have a shot at it