chore: re-export third party types#5839
Merged
himself65 merged 7 commits intobetter-auth:canaryfrom Nov 7, 2025
Merged
Conversation
|
@himself65 is attempting to deploy a commit to the better-auth Team on Vercel. A member of the Team first needs to authorize it. |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
1 Skipped Deployment
|
better-auth
@better-auth/cli
@better-auth/core
@better-auth/expo
@better-auth/passkey
@better-auth/sso
@better-auth/stripe
@better-auth/telemetry
commit: |
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR adds re-exports of third-party types from the jose and zod libraries to better-auth's main entry point, making these types available to consumers of the library.
- Exports
JSONWebKeySetandJWTPayloadtypes from the jose library - Exports all types from a zod/v4 subpath
- Adds a comment clarifying these are third-party type re-exports
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
rae-fcm
pushed a commit
to FullCodeMedical/better-auth
that referenced
this pull request
Mar 9, 2026
rae-fcm
pushed a commit
to FullCodeMedical/better-auth
that referenced
this pull request
Mar 9, 2026
rae-fcm
pushed a commit
to FullCodeMedical/better-auth
that referenced
this pull request
Mar 10, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary by cubic
Re-exported jose and zod types from the @better-auth entrypoint to simplify consumer imports. You can now import JSONWebKeySet, JWTPayload, and all zod types (including v4) directly from @better-auth.
Written for commit 2ec9485. Summary will update automatically on new commits.