MCPcopy Index your code
hub / github.com/getsentry/sentry-javascript / getDefaultIntegrations

Function getDefaultIntegrations

packages/vercel-edge/src/sdk.ts:47–61  ·  view source on GitHub ↗
(_options: Options)

Source from the content-addressed store, hash-verified

45
46/** Get the default integrations for the browser SDK. */
47export function getDefaultIntegrations(_options: Options): Integration[] {
48 // todo(v11): remove options parameter
49 return [
50 dedupeIntegration(),
51 // TODO(v11): Replace with `eventFiltersIntegration` once we remove the deprecated `inboundFiltersIntegration`
52 // eslint-disable-next-line typescript/no-deprecated
53 inboundFiltersIntegration(),
54 functionToStringIntegration(),
55 conversationIdIntegration(),
56 linkedErrorsIntegration(),
57 winterCGFetchIntegration(),
58 consoleIntegration(),
59 requestDataIntegration(),
60 ];
61}
62
63/** Inits the Sentry NextJS SDK on the Edge Runtime. */
64export function init(options: VercelEdgeOptions = {}): Client | undefined {

Callers 2

initFunction · 0.90
initFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected