Skip to content

ref(hub): Simplify getting hub from active domain - #3227

Merged
lobsterkatie merged 3 commits into
masterfrom
kmclb-fix-dynamic-require-follow-up
Feb 2, 2021
Merged

ref(hub): Simplify getting hub from active domain#3227
lobsterkatie merged 3 commits into
masterfrom
kmclb-fix-dynamic-require-follow-up

Conversation

@lobsterkatie

@lobsterkatielobsterkatie commented Feb 1, 2021

Copy link
Copy Markdown
Member

Hub.getActiveDomain was factored out of Hub.getHubFromActiveDomain in #2820 so it could be used in getDefaultSamplingContext, which no longer exists (as of #3210). This is a follow up to that PR, which reverts the original factoring-out, and also gets rid of an interface which is unused as a result. This is a follow up to that PR, which reverts the original factoring-out and deprecates both the factored-out function and an interface which will be unused once the deprecated function is removed.

@lobsterkatielobsterkatie changed the title Kmclb fix dynamic require follow upref(hub): Simplify getting hub from active domainFeb 1, 2021
@github-actions

github-actionsBot commented Feb 1, 2021

Copy link
Copy Markdown
Contributor

size-limit report

PathSize
@sentry/browser - CDN Bundle (gzipped)20.34 KB (+0.01% 🔺)
@sentry/browser - Webpack21.23 KB (+0.08% 🔺)
@sentry/react - Webpack21.25 KB (+0.06% 🔺)
@sentry/browser + @sentry/tracing - CDN Bundle (gzipped)27.29 KB (+0.02% 🔺)

@lobsterkatie
lobsterkatie merged commit 24d2b4b into masterFeb 2, 2021
@lobsterkatie
lobsterkatie deleted the kmclb-fix-dynamic-require-follow-up branch February 2, 2021 16:59
This was referenced Mar 7, 2021
This was referenced Mar 14, 2021
Sign up for freeto 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

@lobsterkatie@kamilogorek