parent: https://github.com/getsentry/sentry/issues/43661 ```[tasklist] ### Tasks - [x] Evaluate moving code into core SDK - [ ] https://github.com/getsentry/sentry-javascript/pull/8039 ``` ref: https://github.com/getsentry/sentry-javascript/pull/7996
parent: getsentry/sentry#43661
ref: #7996