awslabs/aws-jwt-verify

[BUG] Warning related to esm package.json version lable

jackson-ruiz opened this issue · 4 comments

Describe the bug
After installing the library it shares a warning related to ESM package.json version label.
image

image

Fixed locally with this:
image

Versions
Which version of aws-jwt-verify are you using?
3.3.0
Are you using the library in Node.js or in the Web browser?
Node
If Node.js, which version of Node.js are you using? (Should be at least 14)
19.2.0
If Web browser, which web browser and which version of it are you using?
Google Chrome
If using TypeScript, which version of TypeScript are you using? (Should be at least 4)
Not using TS

To Reproduce
Install the package and run it using React CRA project.

Thanks for the report.

Gave it a quick shot but can't reproduce this yet:

npx create-react-app myapp
cd myapp
npm install aws-jwt-verify
// edit App.js and add `import { CognitoJwtVerifier } from "aws-jwt-verify";` at the top
npm start // works
npm run build // works 

Can you provide steps to reproduce?

Should be fixed in v3.4.0, please confirm @jackson-ruiz ?

Closing for now