(options: BrowserOptions)
| 729 | * Checks if legacy profiling is configured. |
| 730 | */ |
| 731 | export function hasLegacyProfiling(options: BrowserOptions): boolean { |
| 732 | // eslint-disable-next-line typescript/no-deprecated |
| 733 | return typeof options.profilesSampleRate !== 'undefined'; |
| 734 | } |
| 735 | |
| 736 | /** |
| 737 | * Creates a profiling envelope item, if the profile does not pass validation, returns null. |