Skip to content

feat: re-export auth types and ConnectorOptions (fixes #555)#556

Merged
kgala2 merged 2 commits intomainfrom
fix-issue-555
Apr 1, 2026
Merged

feat: re-export auth types and ConnectorOptions (fixes #555)#556
kgala2 merged 2 commits intomainfrom
fix-issue-555

Conversation

@kgala2
Copy link
Copy Markdown
Contributor

@kgala2 kgala2 commented Apr 1, 2026

Summary
This PR enhances the public API by re-exporting GoogleAuth and AuthClient from google-auth-library, and making the
ConnectorOptions interface public.

Why?
These changes resolve TypeScript type-compatibility issues (specifically nominal typing mismatches) for consumers and
provide a first-class developer experience for TypeScript users by allowing them to explicitly type their
configuration objects.

Changes

  • Re-export GoogleAuth and AuthClient from the main entry point.
  • Export the ConnectorOptions interface to make it usable by consumers.
  • Add unit test to verify runtime exports are present.

Fixes #555

@kgala2 kgala2 changed the title Fix issue 555 feat: re-export auth types and ConnectorOptions (fixes #555) Apr 1, 2026
@kgala2 kgala2 marked this pull request as ready for review April 1, 2026 00:37
@kgala2 kgala2 requested a review from a team as a code owner April 1, 2026 00:37
@kgala2 kgala2 merged commit 90b50d4 into main Apr 1, 2026
29 checks passed
@kgala2 kgala2 deleted the fix-issue-555 branch April 1, 2026 20:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

google-auth-library types exposed in public API but not re-exported or declared as peerDependency

2 participants