Skip to content

ref(replay): Avoid using private hub._withClient#6494

Merged
mydea merged 3 commits intomasterfrom
fn/replay-avoid-withClient
Dec 12, 2022
Merged

ref(replay): Avoid using private hub._withClient#6494
mydea merged 3 commits intomasterfrom
fn/replay-avoid-withClient

Conversation

@mydea
Copy link
Copy Markdown
Member

@mydea mydea commented Dec 12, 2022

This is brittle, and can actually be refactored quite easily.
I also used the time to move the event/envelope creation out into dedicated methods, which we'll need to adapt later.

See: #6493

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Dec 12, 2022

size-limit report 📦

Path Size
@sentry/browser - ES5 CDN Bundle (gzipped + minified) 19.7 KB (-0.02% 🔽)
@sentry/browser - ES5 CDN Bundle (minified) 61.03 KB (0%)
@sentry/browser - ES6 CDN Bundle (gzipped + minified) 18.49 KB (-0.01% 🔽)
@sentry/browser - ES6 CDN Bundle (minified) 54.56 KB (0%)
@sentry/browser - Webpack (gzipped + minified) 20.28 KB (0%)
@sentry/browser - Webpack (minified) 66.33 KB (0%)
@sentry/react - Webpack (gzipped + minified) 20.3 KB (0%)
@sentry/nextjs Client - Webpack (gzipped + minified) 47.3 KB (0%)
@sentry/browser + @sentry/tracing - ES5 CDN Bundle (gzipped + minified) 26.68 KB (-0.01% 🔽)
@sentry/browser + @sentry/tracing - ES6 CDN Bundle (gzipped + minified) 25.13 KB (+0.01% 🔺)
@sentry/replay ES6 CDN Bundle (gzipped + minified) 41.72 KB (-0.31% 🔽)
@sentry/replay - Webpack (gzipped + minified) 38 KB (+0.3% 🔺)

Comment thread packages/replay/src/replay.ts Outdated
Comment thread packages/replay/src/replay.ts
@mydea mydea force-pushed the fn/replay-avoid-withClient branch 2 times, most recently from 61f2448 to 0f1d091 Compare December 12, 2022 09:42
@mydea mydea force-pushed the fn/replay-avoid-withClient branch from 0f1d091 to c9e24bf Compare December 12, 2022 10:02
@mydea mydea enabled auto-merge (squash) December 12, 2022 10:04
@mydea mydea merged commit 13778da into master Dec 12, 2022
@mydea mydea deleted the fn/replay-avoid-withClient branch December 12, 2022 10:20
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