-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
feat(js): Add skipBrowserExtensionCheck
documentation
#11693
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
1 Skipped Deployment
|
"GlobalHandlers", | ||
].includes(defaultIntegration.name); | ||
return !["BrowserApiErrors", "Breadcrumbs", "GlobalHandlers"].includes( | ||
defaultIntegration.name |
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.
auto format kicked in here
Bundle ReportChanges will decrease total bundle size by 15 bytes (-0.0%) ⬇️. This is within the configured threshold ✅ Detailed changes
|
</Alert> | ||
|
||
This option is purely meant as an escape hatch if our browser extension check is incorrectly detecting a browser extension. | ||
An example for this might be a |
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.
I think there is something missing
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.
lol good catch, thx :) Finished the sentence now
@@ -130,4 +130,4 @@ You'd risk quota increases with unactionable issues, interference with other Sen | |||
</Alert> | |||
|
|||
This option is purely meant as an escape hatch if our browser extension check is incorrectly detecting a browser extension. | |||
An example for this might be a | |||
An example for this might be a cross-platform application framework that exposes similar global APIs like browser a browser extension environment. |
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.
Something is off here or am I missing something? 🤔
"like browser a browser extension"
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.
oof you're right, fixed it now hopefully :)
docs/platforms/javascript/common/best-practices/shared-environments.mdx
Outdated
Show resolved
Hide resolved
docs/platforms/javascript/common/best-practices/shared-environments.mdx
Outdated
Show resolved
Hide resolved
docs/platforms/javascript/common/best-practices/shared-environments.mdx
Outdated
Show resolved
Hide resolved
docs/platforms/javascript/common/best-practices/shared-environments.mdx
Outdated
Show resolved
Hide resolved
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.
Thanks for updating! Added a couple of suggestions, looks good to go!
Co-authored-by: Alex Krawiec <[email protected]>
DESCRIBE YOUR PR
This PR adds documentation for a new SDK option introduced in getsentry/sentry-javascript#14147
(to be merged once this option is released)
Further small changes:
<Note>
to<Alert level="danger">
to highlight the implications of usingSentry.init
in shared environmentsIS YOUR CHANGE URGENT?
Help us prioritize incoming PRs by letting us know when the change needs to go live.
skipBrowserExtensionCheck
escape hatch option sentry-javascript#14147 is released, probably next week)SLA
Thanks in advance for your help!
PRE-MERGE CHECKLIST
Make sure you've checked the following before merging your changes: