-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
feat(core): Introduce seperate client options #4927
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 21 commits
Commits
Show all changes
33 commits
Select commit
Hold shift + click to select a range
2c06ccc
feat(core): Introduce seperate client options
AbhiPrasad 3ad3988
add client options to baseclient
AbhiPrasad 945b10a
updates types
AbhiPrasad d0d03c9
introduce diff option types
AbhiPrasad 23d16a0
introduce diff browser types:
AbhiPrasad 9167493
node client options
AbhiPrasad 61a26dd
switch browser
AbhiPrasad b411f02
don't do anything with the dsn
AbhiPrasad f6d09ab
dsn type fix
AbhiPrasad 698a8f7
fix export
AbhiPrasad 0256a7b
make dsn
AbhiPrasad e8335f2
missing import
AbhiPrasad 5b4eec9
remove default core options
AbhiPrasad 69d7f6a
add comments
AbhiPrasad f3bce9e
cast option types
AbhiPrasad 4e9fb6b
explicit types
AbhiPrasad 77b4a21
fix import
AbhiPrasad bd62e26
fix tests
AbhiPrasad e26e615
fix transport types
AbhiPrasad e3d1681
yarn fix
AbhiPrasad 5bbcc5c
round 1 of fixing tests
AbhiPrasad 50e9363
rename `TestOptions -> TestClientOptions`
Lms24 94df681
tmp fix core `sdk.test.ts`
Lms24 68165d5
Add tests for integration setup in node init
lforst 9371d48
Further fix node tests
lforst ba61707
add tests for integration setup in browser init
Lms24 957452f
Fix some eslint errors in node tests
lforst 0e142ab
Extract `getDefaultNodeClientOptions` into helper module
lforst bb8f917
fix remaning browser unit tests
Lms24 fed3fd0
fix tracing unit tests
Lms24 88d4cff
fix linter errors
Lms24 ea99698
fix another set of linter errors
Lms24 3d098ff
fix lint in browser sdk unit test
AbhiPrasad File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
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
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
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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is a huge hack, but given we are switching to the new transports, left it as is.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
😎 https://github.com/getsentry/sentry-javascript/pull/4943/files#diff-40448f2ae3835a5923e7744870a97909f2dc739e4d2ee5a3ea0afb3459c5ec28R112