Skip to content

fix: default value for authBuildEnv - #2509

Merged
chaitanyapotti merged 2 commits into
masterfrom
fix/integration
Jun 2, 2026
Merged

fix: default value for authBuildEnv#2509
chaitanyapotti merged 2 commits into
masterfrom
fix/integration

Conversation

@lwin-kyaw

@lwin-kyaw lwin-kyaw commented Jun 2, 2026

Copy link
Copy Markdown
Contributor

Jira Link

Description

How has this been tested?

Screenshots (if appropriate)

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist

  • My code follows the code style of this project. (run lint)
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

Note

Low Risk
Small constructor default for an internal auth environment flag; no auth logic or API surface changes beyond ensuring production URLs when unset.

Overview
The no-modal SDK constructor now normalizes coreOptions so authBuildEnv defaults to BUILD_ENV.PRODUCTION when callers omit it, matching the documented default on IWeb3AuthCoreOptions.

That value is already passed through fetchProjectConfig, Citadel/auth URLs, and initialization analytics, so unset options no longer leave authBuildEnv undefined for those code paths.

Reviewed by Cursor Bugbot for commit 15e39fe. Bugbot is set up for automated code reviews on this repo. Configure here.

@lwin-kyaw
lwin-kyaw requested a review from a team as a code owner June 2, 2026 14:55
@vercel

vercel Bot commented Jun 2, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
web3auth-web Ready Ready Preview, Comment Jun 2, 2026 3:39pm

Request Review

@chaitanyapotti
chaitanyapotti merged commit 331f03e into master Jun 2, 2026
7 checks passed
@chaitanyapotti
chaitanyapotti deleted the fix/integration branch June 2, 2026 15:46
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.

2 participants