You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
BrowserClientOptions type should include BrowserClientReplayOptions #8857
This issue is about types exposed by Sentry packages.
At the very last line of the setup provided above, we had to specify BrowserClientReplayOptions manually for the BrowserClient. Otherwise, TypeScript would report that passing replaysSessionSampleRate and replaysOnErrorSampleRate is not correct.
Expected Result
BrowserClientOptions type should should include BrowserClientReplayOptions.
Actual Result
TypeScript reports incorrect options passed to initialise BrowserClient.
Please let me know if I'm missing something here, or additional info is needed. Thank you!
Activity
Lms24 commentedon Aug 23, 2023
Hi, thanks for reporting! We'll look into this next week.
fix(browser): Add replay and profiling options to `BrowserClientOptio…