Skip to content
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

fix(build): export functions in jwt #1814

Merged
merged 1 commit into from
Apr 22, 2021
Merged

fix(build): export functions in jwt #1814

merged 1 commit into from
Apr 22, 2021

Conversation

balazsorban44
Copy link
Member

What:

Export functions from the jwt submodule.

Why:

3.15.5 seemed to break it in certain environments.

How:

Put export directly on the functions that should be exported, in addition to the default export object. (The latter should be removed after a while, as it only causes problems for tree-shaking)

Checklist:

  • Documentation
  • Tests
  • Ready to be merged

Fixes #1798

@vercel
Copy link

vercel bot commented Apr 22, 2021

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/nextauthjs/next-auth/7p18nDot7mj9oLMEPXVZ1NAjJhmm
✅ Preview: https://next-auth-git-fix-jwt-exports-nextauthjs.vercel.app

@github-actions github-actions bot added the core Refers to `@auth/core` label Apr 22, 2021
@balazsorban44 balazsorban44 merged commit 543f812 into main Apr 22, 2021
@balazsorban44 balazsorban44 deleted the fix/jwt-exports branch April 22, 2021 17:28
@github-actions
Copy link

🎉 This PR is included in version 3.15.10 🎉

The release is available on:

Your semantic-release bot 📦🚀

@github-actions
Copy link

🎉 This PR is included in version 4.0.0-next.5 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Refers to `@auth/core`
Projects
None yet
Development

Successfully merging this pull request may close these issues.

getToken throws an error
1 participant