(_options: BrowserOptions = {})
| 25 | * Get the default integrations for the Angular SDK. |
| 26 | */ |
| 27 | export function getDefaultIntegrations(_options: BrowserOptions = {}): Integration[] { |
| 28 | // Don't include the BrowserApiErrors integration as it interferes with the Angular SDK's `ErrorHandler`: |
| 29 | // BrowserApiErrors would catch certain errors before they reach the `ErrorHandler` and |
| 30 | // thus provide a lower fidelity error than what `SentryErrorHandler` |
| 31 | // (see errorhandler.ts) would provide. |
| 32 | // |
| 33 | // see: |
| 34 | // - https://github.com/getsentry/sentry-javascript/issues/5417#issuecomment-1453407097 |
| 35 | // - https://github.com/getsentry/sentry-javascript/issues/2744 |
| 36 | return [ |
| 37 | // TODO(v11): Replace with `eventFiltersIntegration` once we remove the deprecated `inboundFiltersIntegration` |
| 38 | // eslint-disable-next-line typescript/no-deprecated |
| 39 | inboundFiltersIntegration(), |
| 40 | functionToStringIntegration(), |
| 41 | conversationIdIntegration(), |
| 42 | breadcrumbsIntegration(), |
| 43 | globalHandlersIntegration(), |
| 44 | linkedErrorsIntegration(), |
| 45 | dedupeIntegration(), |
| 46 | httpContextIntegration(), |
| 47 | cultureContextIntegration(), |
| 48 | browserSessionIntegration(), |
| 49 | ]; |
| 50 | } |
| 51 | |
| 52 | /** |
| 53 | * Inits the Angular SDK |
no outgoing calls
no test coverage detected