Skip to content

refactor!: remove RefreshOptions export#8143

Open
MukundaKatta wants to merge 1 commit intogoogleapis:mainfrom
MukundaKatta:codex/remove-refresh-options
Open

refactor!: remove RefreshOptions export#8143
MukundaKatta wants to merge 1 commit intogoogleapis:mainfrom
MukundaKatta:codex/remove-refresh-options

Conversation

@MukundaKatta
Copy link
Copy Markdown

Fixes #7733.

Removes the now-unused RefreshOptions type alias from google-auth-library and drops it from the package barrel export. OAuth2ClientOptions already extends AuthClientOptions directly, so the refresh configuration fields remain available through the concrete option interfaces.

Tested:

  • npm run compile

@MukundaKatta MukundaKatta requested a review from a team as a code owner April 30, 2026 22:06
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request removes the RefreshOptions type definition and its export from the google-auth-library-nodejs package, cleaning up code that was previously maintained for backwards compatibility. I have no feedback to provide as there are no review comments to evaluate.

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.

refactor!: Remove RefreshOptions type in OAuth2Client

1 participant