Skip to content

Bug in v11.0.0 #511

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
lgraziani2712 opened this issue Feb 3, 2025 · 2 comments
Open

Bug in v11.0.0 #511

lgraziani2712 opened this issue Feb 3, 2025 · 2 comments

Comments

@lgraziani2712
Copy link

Typescript fails on the export = hapiAuthJwt2; line on the compiled index.d.ts. This is because the package.json declares the lib as a type: module, but it is actually a CJS lib.

The package.json should declare the property "type" to "commonjs".

Thanks for your work BTW

@nelsonic
Copy link
Member

nelsonic commented Feb 3, 2025

@lgraziani2712 thanks for opening this issue.

@nelsonic
Copy link
Member

nelsonic commented Mar 9, 2025

PR very much welcome. 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants