(_options: Options)
| 28 | |
| 29 | /** Get the default integrations for the Bun SDK. */ |
| 30 | export function getDefaultIntegrations(_options: Options): Integration[] { |
| 31 | // We return a copy of the defaultIntegrations here to avoid mutating this |
| 32 | return [ |
| 33 | // Common |
| 34 | // TODO(v11): Replace with eventFiltersIntegration once we remove the deprecated `inboundFiltersIntegration` |
| 35 | // eslint-disable-next-line typescript/no-deprecated |
| 36 | inboundFiltersIntegration(), |
| 37 | functionToStringIntegration(), |
| 38 | linkedErrorsIntegration(), |
| 39 | requestDataIntegration(), |
| 40 | // Native Wrappers |
| 41 | consoleIntegration(), |
| 42 | httpIntegration(), |
| 43 | nativeNodeFetchIntegration(), |
| 44 | // Global Handlers |
| 45 | onUncaughtExceptionIntegration(), |
| 46 | onUnhandledRejectionIntegration(), |
| 47 | // Event Info |
| 48 | contextLinesIntegration(), |
| 49 | nodeContextIntegration(), |
| 50 | modulesIntegration(), |
| 51 | processSessionIntegration(), |
| 52 | // Bun Specific |
| 53 | bunServerIntegration(), |
| 54 | ...(hasSpansEnabled(_options) ? getAutoPerformanceIntegrations() : []), |
| 55 | ]; |
| 56 | } |
| 57 | |
| 58 | /** |
| 59 | * The Sentry Bun SDK Client. |
no test coverage detected