Repository navigation
fix(browser): Accept managed tunnel options in the BrowserClient constructor - #26313
Merged
Merged
Conversation
…nstructor BrowserOptions could no longer be passed to new BrowserClient() since the managed tunnel widened `tunnel`, and a hand-built client never resolved `tunnel: true`. The constructor now accepts TunnelInit and resolves it.
logaretm
marked this pull request as ready for review
November 12, 2026 09:34
javascript-sdk-gitflow
Bot
requested review from
Lms24,
andreiborza and
msonnb
November 12, 2026 09:34
Contributor
size-limit report 📦Compared: 739b4eb (PR test merge using develop at 27bc7cb) Against: 27bc7cb (develop) · base run #65789 ✅ Baseline matches: this diff contains only this PR's changes.
|
Contributor
Optional E2E testsSome optional checks were not successful. They do not block the merge. 3 not successful, 23 successful. See the run.
Successful checks
|
mydea
approved these changes
Nov 12, 2026
msonnb
approved these changes
Nov 12, 2026
51 tasks done
3 tasks done
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Since 11.10
BrowserOptionscouldn't be passed tonew BrowserClient()because onlyinit()resolved the managedtunnel, fixed by accepting and resolving it in the client constructor.Unlike the issue diagnosis, the type should be widened in the spots that I did, otherwise some SDKs extending the type would fail to compile as well. I added type tests for spreading
BrowserOptionsinto the constructor, and a unit test thattunnel: trueresolves to the DSN path.closes #26306