awslabs / aws-jwt-verify

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

Support TS module resolution NodeNext #104

Closed ottokruse closed 1 year ago

ottokruse commented 1 year ago

Issue #, if available: #100

Description of changes: Support TS module resolution NodeNext. This involves adding the paths to the declaration files (*.d.ts) into the exports object in package.json as described by the kind folks of MS here: https://github.com/microsoft/TypeScript/issues/51996

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