Skip to content

ref(core): move beforeEnvelope to client#7527

Merged
AbhiPrasad merged 2 commits intodevelopfrom
feat/beforeEnvelope
Mar 20, 2023
Merged

ref(core): move beforeEnvelope to client#7527
AbhiPrasad merged 2 commits intodevelopfrom
feat/beforeEnvelope

Conversation

@JonasBa
Copy link
Copy Markdown
Member

@JonasBa JonasBa commented Mar 20, 2023

I was wrong in moving beforeEnvelope to transport constructor as no client is bound when transport is created, hence client && client.emit will fail...

@AbhiPrasad AbhiPrasad enabled auto-merge (squash) March 20, 2023 15:52
@github-actions
Copy link
Copy Markdown
Contributor

size-limit report 📦

Path Size
@sentry/browser - ES5 CDN Bundle (gzipped + minified) 20.53 KB (+0.21% 🔺)
@sentry/browser - ES5 CDN Bundle (minified) 63.85 KB (+0.46% 🔺)
@sentry/browser - ES6 CDN Bundle (gzipped + minified) 19.19 KB (+0.42% 🔺)
@sentry/browser - ES6 CDN Bundle (minified) 56.92 KB (+0.52% 🔺)
@sentry/browser - Webpack (gzipped + minified) 21.66 KB (-0.1% 🔽)
@sentry/browser - Webpack (minified) 72.12 KB (-0.07% 🔽)
@sentry/react - Webpack (gzipped + minified) 21.7 KB (-0.1% 🔽)
@sentry/nextjs Client - Webpack (gzipped + minified) 52.02 KB (-0.08% 🔽)
@sentry/browser + @sentry/tracing - ES5 CDN Bundle (gzipped + minified) 33.76 KB (-0.06% 🔽)
@sentry/browser + @sentry/tracing - ES6 CDN Bundle (gzipped + minified) 26.13 KB (-0.05% 🔽)
@sentry/replay ES6 CDN Bundle (gzipped + minified) 44.23 KB (0%)
@sentry/replay - Webpack (gzipped + minified) 38.28 KB (0%)
@sentry/browser + @sentry/tracing + @sentry/replay - ES6 CDN Bundle (gzipped + minified) 62.44 KB (-0.02% 🔽)
@sentry/browser + @sentry/replay - ES6 CDN Bundle (gzipped + minified) 55.99 KB (+0.85% 🔺)

@AbhiPrasad AbhiPrasad merged commit d11f686 into develop Mar 20, 2023
@AbhiPrasad AbhiPrasad deleted the feat/beforeEnvelope branch March 20, 2023 16:09
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.

4 participants