SIGN IN SIGN UP

ref(core): Use user attribute constants from conventions (#24974)

Uses `USER_ID`, `USER_EMAIL`, `USER_IP_ADDRESS`, and `USER_NAME` from
`@sentry/conventions/attributes`. Deprecates the existing core constants
while preserving their public exports and identical attribute keys;
emitted values and data-collection behavior remain unchanged.
`USER_NAME` still maps the existing username to `user.name`.

Part of #24961 / [JS-3868](https://linear.app/getsentry/issue/JS-3868).

Co-authored-by: GPT-6 <codex@openai.com>
N
Nicolas Hrubec committed
9e77e9d9b3c216e3c218dc4defe800ddf699ce4e
Parent: bd1012a
Committed by GitHub <noreply@github.com> on 10/2/2026, 10:39:11 AM