@sentry/core 10.52.0 → 10.53.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/browser.d.ts +4 -0
- package/browser.js +3 -0
- package/build/cjs/browser.js +529 -0
- package/build/cjs/browser.js.map +1 -0
- package/build/cjs/client.js +9 -0
- package/build/cjs/client.js.map +1 -1
- package/build/cjs/index.js +69 -68
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/instrument/console.js +43 -3
- package/build/cjs/instrument/console.js.map +1 -1
- package/build/cjs/integrations/captureconsole.js +2 -2
- package/build/cjs/integrations/captureconsole.js.map +1 -1
- package/build/cjs/integrations/console.js +5 -1
- package/build/cjs/integrations/console.js.map +1 -1
- package/build/cjs/integrations/express/index.js +2 -2
- package/build/cjs/integrations/express/index.js.map +1 -1
- package/build/cjs/integrations/mcp-server/errorCapture.js +2 -2
- package/build/cjs/integrations/mcp-server/errorCapture.js.map +1 -1
- package/build/cjs/integrations/mcp-server/handlers.js +72 -0
- package/build/cjs/integrations/mcp-server/handlers.js.map +1 -1
- package/build/cjs/integrations/mcp-server/index.js +10 -1
- package/build/cjs/integrations/mcp-server/index.js.map +1 -1
- package/build/cjs/integrations/supabase.js +4 -4
- package/build/cjs/integrations/supabase.js.map +1 -1
- package/build/cjs/semanticAttributes.js +4 -4
- package/build/cjs/semanticAttributes.js.map +1 -1
- package/build/cjs/server.js +563 -0
- package/build/cjs/server.js.map +1 -0
- package/build/cjs/tracing/ai/utils.js +2 -2
- package/build/cjs/tracing/ai/utils.js.map +1 -1
- package/build/cjs/tracing/anthropic-ai/index.js +3 -3
- package/build/cjs/tracing/anthropic-ai/index.js.map +1 -1
- package/build/cjs/tracing/anthropic-ai/streaming.js +3 -3
- package/build/cjs/tracing/anthropic-ai/streaming.js.map +1 -1
- package/build/cjs/tracing/anthropic-ai/utils.js +2 -2
- package/build/cjs/tracing/anthropic-ai/utils.js.map +1 -1
- package/build/cjs/tracing/google-genai/index.js +3 -3
- package/build/cjs/tracing/google-genai/index.js.map +1 -1
- package/build/cjs/tracing/google-genai/streaming.js +2 -2
- package/build/cjs/tracing/google-genai/streaming.js.map +1 -1
- package/build/cjs/tracing/langchain/embeddings.js +2 -2
- package/build/cjs/tracing/langchain/embeddings.js.map +1 -1
- package/build/cjs/tracing/langchain/index.js +4 -4
- package/build/cjs/tracing/langchain/index.js.map +1 -1
- package/build/cjs/tracing/langgraph/index.js +3 -3
- package/build/cjs/tracing/langgraph/index.js.map +1 -1
- package/build/cjs/tracing/langgraph/utils.js +2 -2
- package/build/cjs/tracing/langgraph/utils.js.map +1 -1
- package/build/cjs/tracing/openai/index.js +3 -3
- package/build/cjs/tracing/openai/index.js.map +1 -1
- package/build/cjs/tracing/openai/streaming.js +2 -2
- package/build/cjs/tracing/openai/streaming.js.map +1 -1
- package/build/cjs/tracing/sentrySpan.js +5 -0
- package/build/cjs/tracing/sentrySpan.js.map +1 -1
- package/build/cjs/tracing/spans/captureSpan.js +5 -9
- package/build/cjs/tracing/spans/captureSpan.js.map +1 -1
- package/build/cjs/tracing/spans/extractGenAiSpans.js +60 -0
- package/build/cjs/tracing/spans/extractGenAiSpans.js.map +1 -0
- package/build/cjs/tracing/spans/spanJsonToStreamedSpan.js +26 -0
- package/build/cjs/tracing/spans/spanJsonToStreamedSpan.js.map +1 -0
- package/build/cjs/tracing/vercel-ai/index.js +6 -1
- package/build/cjs/tracing/vercel-ai/index.js.map +1 -1
- package/build/cjs/trpc.js +3 -3
- package/build/cjs/trpc.js.map +1 -1
- package/build/cjs/utils/exports.js +7 -7
- package/build/cjs/utils/exports.js.map +1 -1
- package/build/cjs/utils/flushIfServerless.js +2 -2
- package/build/cjs/utils/flushIfServerless.js.map +1 -1
- package/build/cjs/utils/string.js +9 -2
- package/build/cjs/utils/string.js.map +1 -1
- package/build/cjs/utils/traceData.js +2 -2
- package/build/cjs/utils/traceData.js.map +1 -1
- package/build/cjs/utils/version.js +1 -1
- package/build/esm/browser.js +142 -0
- package/build/esm/browser.js.map +1 -0
- package/build/esm/client.js +9 -0
- package/build/esm/client.js.map +1 -1
- package/build/esm/index.js +17 -17
- package/build/esm/instrument/console.js +44 -5
- package/build/esm/instrument/console.js.map +1 -1
- package/build/esm/integrations/console.js +6 -2
- package/build/esm/integrations/console.js.map +1 -1
- package/build/esm/integrations/mcp-server/handlers.js +72 -1
- package/build/esm/integrations/mcp-server/handlers.js.map +1 -1
- package/build/esm/integrations/mcp-server/index.js +11 -2
- package/build/esm/integrations/mcp-server/index.js.map +1 -1
- package/build/esm/package.json +1 -1
- package/build/esm/semanticAttributes.js +4 -4
- package/build/esm/semanticAttributes.js.map +1 -1
- package/build/esm/server.js +157 -0
- package/build/esm/server.js.map +1 -0
- package/build/esm/tracing/sentrySpan.js +5 -0
- package/build/esm/tracing/sentrySpan.js.map +1 -1
- package/build/esm/tracing/spans/captureSpan.js +5 -9
- package/build/esm/tracing/spans/captureSpan.js.map +1 -1
- package/build/esm/tracing/spans/extractGenAiSpans.js +58 -0
- package/build/esm/tracing/spans/extractGenAiSpans.js.map +1 -0
- package/build/esm/tracing/spans/spanJsonToStreamedSpan.js +24 -0
- package/build/esm/tracing/spans/spanJsonToStreamedSpan.js.map +1 -0
- package/build/esm/tracing/vercel-ai/index.js +6 -1
- package/build/esm/tracing/vercel-ai/index.js.map +1 -1
- package/build/esm/utils/exports.js +7 -7
- package/build/esm/utils/exports.js.map +1 -1
- package/build/esm/utils/string.js +9 -2
- package/build/esm/utils/string.js.map +1 -1
- package/build/esm/utils/version.js +1 -1
- package/build/types/browser-exports.d.ts +11 -0
- package/build/types/browser-exports.d.ts.map +1 -0
- package/build/types/browser.d.ts +3 -0
- package/build/types/browser.d.ts.map +1 -0
- package/build/types/build-time-plugins/buildTimeOptionsBase.d.ts +8 -0
- package/build/types/build-time-plugins/buildTimeOptionsBase.d.ts.map +1 -1
- package/build/types/carrier.d.ts +1 -1
- package/build/types/carrier.d.ts.map +1 -1
- package/build/types/client.d.ts.map +1 -1
- package/build/types/index.d.ts +3 -232
- package/build/types/index.d.ts.map +1 -1
- package/build/types/instrument/console.d.ts +7 -0
- package/build/types/instrument/console.d.ts.map +1 -1
- package/build/types/integrations/captureconsole.d.ts +1 -1
- package/build/types/integrations/captureconsole.d.ts.map +1 -1
- package/build/types/integrations/console.d.ts +5 -0
- package/build/types/integrations/console.d.ts.map +1 -1
- package/build/types/integrations/conversationId.d.ts +1 -1
- package/build/types/integrations/conversationId.d.ts.map +1 -1
- package/build/types/integrations/dedupe.d.ts +1 -1
- package/build/types/integrations/dedupe.d.ts.map +1 -1
- package/build/types/integrations/eventFilters.d.ts +2 -2
- package/build/types/integrations/eventFilters.d.ts.map +1 -1
- package/build/types/integrations/extraerrordata.d.ts +1 -1
- package/build/types/integrations/extraerrordata.d.ts.map +1 -1
- package/build/types/integrations/functiontostring.d.ts +1 -1
- package/build/types/integrations/functiontostring.d.ts.map +1 -1
- package/build/types/integrations/linkederrors.d.ts +1 -1
- package/build/types/integrations/linkederrors.d.ts.map +1 -1
- package/build/types/integrations/mcp-server/handlers.d.ts +18 -0
- package/build/types/integrations/mcp-server/handlers.d.ts.map +1 -1
- package/build/types/integrations/mcp-server/index.d.ts +8 -1
- package/build/types/integrations/mcp-server/index.d.ts.map +1 -1
- package/build/types/integrations/requestdata.d.ts +1 -1
- package/build/types/integrations/requestdata.d.ts.map +1 -1
- package/build/types/integrations/spanStreaming.d.ts +1 -1
- package/build/types/integrations/spanStreaming.d.ts.map +1 -1
- package/build/types/integrations/supabase.d.ts +1 -1
- package/build/types/integrations/supabase.d.ts.map +1 -1
- package/build/types/integrations/zoderrors.d.ts +1 -1
- package/build/types/integrations/zoderrors.d.ts.map +1 -1
- package/build/types/logs/console-integration.d.ts +1 -1
- package/build/types/logs/console-integration.d.ts.map +1 -1
- package/build/types/semanticAttributes.d.ts +4 -4
- package/build/types/semanticAttributes.d.ts.map +1 -1
- package/build/types/server-exports.d.ts +26 -0
- package/build/types/server-exports.d.ts.map +1 -0
- package/build/types/server.d.ts +10 -0
- package/build/types/server.d.ts.map +1 -0
- package/build/types/shared-exports.d.ts +215 -0
- package/build/types/shared-exports.d.ts.map +1 -0
- package/build/types/tracing/sentrySpan.d.ts.map +1 -1
- package/build/types/tracing/spans/captureSpan.d.ts.map +1 -1
- package/build/types/tracing/spans/extractGenAiSpans.d.ts +15 -0
- package/build/types/tracing/spans/extractGenAiSpans.d.ts.map +1 -0
- package/build/types/tracing/spans/spanJsonToStreamedSpan.d.ts +6 -0
- package/build/types/tracing/spans/spanJsonToStreamedSpan.d.ts.map +1 -0
- package/build/types/tracing/vercel-ai/index.d.ts.map +1 -1
- package/build/types/types-hoist/envelope.d.ts +1 -1
- package/build/types/types-hoist/envelope.d.ts.map +1 -1
- package/build/types/types-hoist/options.d.ts +8 -0
- package/build/types/types-hoist/options.d.ts.map +1 -1
- package/build/types/utils/string.d.ts +1 -1
- package/build/types/utils/string.d.ts.map +1 -1
- package/build/types-ts3.8/browser-exports.d.ts +11 -0
- package/build/types-ts3.8/browser.d.ts +3 -0
- package/build/types-ts3.8/build-time-plugins/buildTimeOptionsBase.d.ts +8 -0
- package/build/types-ts3.8/carrier.d.ts +1 -1
- package/build/types-ts3.8/index.d.ts +3 -234
- package/build/types-ts3.8/instrument/console.d.ts +7 -0
- package/build/types-ts3.8/integrations/captureconsole.d.ts +1 -1
- package/build/types-ts3.8/integrations/console.d.ts +5 -0
- package/build/types-ts3.8/integrations/conversationId.d.ts +1 -1
- package/build/types-ts3.8/integrations/dedupe.d.ts +1 -1
- package/build/types-ts3.8/integrations/eventFilters.d.ts +2 -2
- package/build/types-ts3.8/integrations/extraerrordata.d.ts +1 -1
- package/build/types-ts3.8/integrations/functiontostring.d.ts +1 -1
- package/build/types-ts3.8/integrations/linkederrors.d.ts +1 -1
- package/build/types-ts3.8/integrations/mcp-server/handlers.d.ts +18 -0
- package/build/types-ts3.8/integrations/mcp-server/index.d.ts +8 -1
- package/build/types-ts3.8/integrations/requestdata.d.ts +1 -1
- package/build/types-ts3.8/integrations/spanStreaming.d.ts +1 -1
- package/build/types-ts3.8/integrations/supabase.d.ts +1 -1
- package/build/types-ts3.8/integrations/zoderrors.d.ts +1 -1
- package/build/types-ts3.8/logs/console-integration.d.ts +1 -1
- package/build/types-ts3.8/semanticAttributes.d.ts +4 -4
- package/build/types-ts3.8/server-exports.d.ts +21 -0
- package/build/types-ts3.8/server.d.ts +10 -0
- package/build/types-ts3.8/shared-exports.d.ts +214 -0
- package/build/types-ts3.8/tracing/spans/extractGenAiSpans.d.ts +15 -0
- package/build/types-ts3.8/tracing/spans/spanJsonToStreamedSpan.d.ts +6 -0
- package/build/types-ts3.8/types-hoist/envelope.d.ts +1 -1
- package/build/types-ts3.8/types-hoist/options.d.ts +8 -0
- package/build/types-ts3.8/utils/string.d.ts +1 -1
- package/package.json +32 -2
- package/server.d.ts +4 -0
- package/server.js +3 -0
|
@@ -157,7 +157,7 @@ type StreamedSpanEnvelopeHeaders = BaseEnvelopeHeaders & {
|
|
|
157
157
|
};
|
|
158
158
|
type LogEnvelopeHeaders = BaseEnvelopeHeaders;
|
|
159
159
|
type MetricEnvelopeHeaders = BaseEnvelopeHeaders;
|
|
160
|
-
export type EventEnvelope = BaseEnvelope<EventEnvelopeHeaders, EventItem | AttachmentItem | UserFeedbackItem | FeedbackItem | ProfileItem>;
|
|
160
|
+
export type EventEnvelope = BaseEnvelope<EventEnvelopeHeaders, EventItem | AttachmentItem | UserFeedbackItem | FeedbackItem | ProfileItem | SpanContainerItem>;
|
|
161
161
|
export type SessionEnvelope = BaseEnvelope<SessionEnvelopeHeaders, SessionItem>;
|
|
162
162
|
export type ClientReportEnvelope = BaseEnvelope<ClientReportEnvelopeHeaders, ClientReportItem>;
|
|
163
163
|
export type ReplayEnvelope = [ReplayEnvelopeHeaders, [ReplayEventItem, ReplayRecordingItem]];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"envelope.d.ts","sourceRoot":"","sources":["../../../src/types-hoist/envelope.ts"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AAoB,GAAG,YAAY,CAAC,2BAA2B,EAAE,iBAAiB,CAAC,CAAC;AAChG,MAAM,MAAM,oBAAoB,GAAG,YAAY,CAAC,mBAAmB,EAAE,gBAAgB,CAAC,CAAC;AACvF,MAAM,MAAM,mBAAmB,GAAG,YAAY,CAAC,mBAAmB,EAAE,eAAe,CAAC,CAAC;AACrF,MAAM,MAAM,WAAW,GAAG,YAAY,CAAC,kBAAkB,EAAE,gBAAgB,CAAC,CAAC;AAC7E,MAAM,MAAM,cAAc,GAAG,YAAY,CAAC,qBAAqB,EAAE,mBAAmB,CAAC,CAAC;AAEtF,MAAM,MAAM,QAAQ,GAChB,aAAa,GACb,eAAe,GACf,oBAAoB,GACpB,oBAAoB,GACpB,cAAc,GACd,eAAe,GACf,YAAY,GACZ,oBAAoB,GACpB,mBAAmB,GACnB,WAAW,GACX,cAAc,CAAC;AACnB,MAAM,MAAM,YAAY,GAAG,QAAQ,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC"}
|
|
@@ -499,6 +499,14 @@ export interface ClientOptions<TO extends BaseTransportOptions = BaseTransportOp
|
|
|
499
499
|
* you can provide the ID with this option. The organization ID is used for trace propagation and for features like `strictTraceContinuation`.
|
|
500
500
|
*/
|
|
501
501
|
orgId?: `${number}` | number;
|
|
502
|
+
/**
|
|
503
|
+
* If set to `true`, gen_ai spans will be extracted from transactions and sent as v2 span envelope items.
|
|
504
|
+
*
|
|
505
|
+
* This enables streaming gen_ai spans, avoiding payload size limits of usual transactions.
|
|
506
|
+
*
|
|
507
|
+
* @default false
|
|
508
|
+
*/
|
|
509
|
+
streamGenAiSpans?: boolean;
|
|
502
510
|
/**
|
|
503
511
|
* If logs support should be enabled.
|
|
504
512
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"options.d.ts","sourceRoot":"","sources":["../../../src/types-hoist/options.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAC/C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EAAE,IAAI,CAAC,EAAE,cAAc,KAAK,UAAU,GAAG,IAAI,CAAC;CACzF;AAED;;;;GAIG;AACH,MAAM,MAAM,8BAA8B,GAAG,CAAC,CAAC,IAAI,EAAE,gBAAgB,KAAK,gBAAgB,CAAC,GAAG;IAC5F;;;OAGG;IACH,SAAS,CAAC,EAAE,IAAI,CAAC;CAClB,CAAC;AAEF,gDAAgD;AAChD,MAAM,WAAW,WAAW,CAAC,EAAE,SAAS,oBAAoB,GAAG,oBAAoB,CAAE,SAAQ,IAAI,CAC/F,OAAO,CAAC,aAAa,CAAC,EAAE,CAAC,CAAC,EAC1B,cAAc,GAAG,WAAW,GAAG,aAAa,CAC7C;IACC;;;OAGG;IACH,mBAAmB,CAAC,EAAE,KAAK,GAAG,WAAW,EAAE,CAAC;IAE5C;;;;OAIG;IACH,YAAY,CAAC,EAAE,WAAW,EAAE,GAAG,CAAC,CAAC,YAAY,EAAE,WAAW,EAAE,KAAK,WAAW,EAAE,CAAC,CAAC;IAEhF;;;;OAIG;IACH,SAAS,CAAC,EAAE,CAAC,gBAAgB,EAAE,EAAE,KAAK,SAAS,CAAC;IAEhD;;;OAGG;IACH,WAAW,CAAC,EAAE,WAAW,GAAG,eAAe,EAAE,CAAC;CAC/C"}
|
|
@@ -42,5 +42,5 @@ export declare function isMatchingPattern(value: string, pattern: RegExp | strin
|
|
|
42
42
|
* count. If false, `testString` will match a string pattern if it contains that pattern.
|
|
43
43
|
* @returns
|
|
44
44
|
*/
|
|
45
|
-
export declare function stringMatchesSomePattern(testString: string, patterns?: Array<string | RegExp | ((value: string) => boolean)>, requireExactStringMatch?: boolean): boolean;
|
|
45
|
+
export declare function stringMatchesSomePattern(testString: string, patterns?: Array<string | RegExp | ((value: string) => boolean)> | Set<string | RegExp | ((value: string) => boolean)>, requireExactStringMatch?: boolean): boolean;
|
|
46
46
|
//# sourceMappingURL=string.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"string.d.ts","sourceRoot":"","sources":["../../../src/utils/string.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,oBAAoB,EAAE,MAAM,gCAAgC,CAAC;AAEtE;;;;;;GAMG;AACH,wBAAgB,QAAQ,CAAC,GAAG,EAAE,MAAM,EAAE,GAAG,GAAE,MAAU,GAAG,MAAM,CAK7D;AAED;;;;;;;GAOG;AACH,wBAAgB,QAAQ,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM,CAiC5D;AAED;;;;;GAKG;AACH,wBAAgB,QAAQ,CAAC,KAAK,EAAE,OAAO,EAAE,EAAE,SAAS,CAAC,EAAE,MAAM,GAAG,MAAM,CA0BrE;AAED;;;;;;;GAOG;AACH,wBAAgB,iBAAiB,CAC/B,KAAK,EAAE,MAAM,EACb,OAAO,EAAE,MAAM,GAAG,MAAM,GAAG,CAAC,CAAC,KAAK,EAAE,MAAM,KAAK,OAAO,CAAC,EACvD,uBAAuB,GAAE,OAAe,GACvC,OAAO,CAgBT;AAED;;;;;;;;;GASG;AACH,wBAAgB,wBAAwB,CACtC,UAAU,EAAE,MAAM,EAClB,QAAQ,
|
|
1
|
+
{"version":3,"file":"string.d.ts","sourceRoot":"","sources":["../../../src/utils/string.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,oBAAoB,EAAE,MAAM,gCAAgC,CAAC;AAEtE;;;;;;GAMG;AACH,wBAAgB,QAAQ,CAAC,GAAG,EAAE,MAAM,EAAE,GAAG,GAAE,MAAU,GAAG,MAAM,CAK7D;AAED;;;;;;;GAOG;AACH,wBAAgB,QAAQ,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM,CAiC5D;AAED;;;;;GAKG;AACH,wBAAgB,QAAQ,CAAC,KAAK,EAAE,OAAO,EAAE,EAAE,SAAS,CAAC,EAAE,MAAM,GAAG,MAAM,CA0BrE;AAED;;;;;;;GAOG;AACH,wBAAgB,iBAAiB,CAC/B,KAAK,EAAE,MAAM,EACb,OAAO,EAAE,MAAM,GAAG,MAAM,GAAG,CAAC,CAAC,KAAK,EAAE,MAAM,KAAK,OAAO,CAAC,EACvD,uBAAuB,GAAE,OAAe,GACvC,OAAO,CAgBT;AAED;;;;;;;;;GASG;AACH,wBAAgB,wBAAwB,CACtC,UAAU,EAAE,MAAM,EAClB,QAAQ,GACJ,KAAK,CAAC,MAAM,GAAG,MAAM,GAAG,CAAC,CAAC,KAAK,EAAE,MAAM,KAAK,OAAO,CAAC,CAAC,GACrD,GAAG,CAAC,MAAM,GAAG,MAAM,GAAG,CAAC,CAAC,KAAK,EAAE,MAAM,KAAK,OAAO,CAAC,CAAM,EAC5D,uBAAuB,GAAE,OAAe,GACvC,OAAO,CAOT"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Browser-specific utilities for Sentry SDKs
|
|
3
|
+
*
|
|
4
|
+
* @module
|
|
5
|
+
*/
|
|
6
|
+
export { getComponentName, getLocationHref, htmlTreeAsString } from './utils/browser';
|
|
7
|
+
export { supportsDOMError, supportsHistory, supportsNativeFetch, supportsReportingObserver } from './utils/supports';
|
|
8
|
+
export { XhrBreadcrumbData, XhrBreadcrumbHint } from './types-hoist/breadcrumb';
|
|
9
|
+
export { HandlerDataXhr, HandlerDataDom, HandlerDataHistory, SentryXhrData, SentryWrappedXMLHttpRequest, } from './types-hoist/instrument';
|
|
10
|
+
export { BrowserClientReplayOptions, BrowserClientProfilingOptions } from './types-hoist/browseroptions';
|
|
11
|
+
//# sourceMappingURL=browser-exports.d.ts.map
|
|
@@ -114,6 +114,14 @@ export interface BuildTimeOptionsBase {
|
|
|
114
114
|
* Options for bundle size optimizations by excluding certain features of the Sentry SDK.
|
|
115
115
|
*/
|
|
116
116
|
bundleSizeOptimizations?: BundleSizeOptimizationsOptions;
|
|
117
|
+
/**
|
|
118
|
+
* A key that is used to identify the application in the Sentry bundler plugins.
|
|
119
|
+
* This key is used by the `thirdPartyErrorFilterIntegration` to filter out errors
|
|
120
|
+
* originating from third-party scripts.
|
|
121
|
+
*
|
|
122
|
+
* @see https://docs.sentry.io/platforms/javascript/configuration/filtering/#using-thirdpartyerrorfilterintegration
|
|
123
|
+
*/
|
|
124
|
+
applicationKey?: string;
|
|
117
125
|
}
|
|
118
126
|
/**
|
|
119
127
|
* Utility type for adding Vite plugin options to build-time configuration.
|
|
@@ -59,6 +59,6 @@ export declare function getSentryCarrier(carrier: Carrier): SentryCarrier;
|
|
|
59
59
|
* @param obj (Optional) The global object on which to look for `__SENTRY__`, if not `GLOBAL_OBJ`'s return value
|
|
60
60
|
* @returns the singleton
|
|
61
61
|
*/
|
|
62
|
-
export declare function getGlobalSingleton<Prop extends keyof SentryCarrier>(name: Prop, creator: () => NonNullable<SentryCarrier[Prop]>, obj?: import("./
|
|
62
|
+
export declare function getGlobalSingleton<Prop extends keyof SentryCarrier>(name: Prop, creator: () => NonNullable<SentryCarrier[Prop]>, obj?: import("./shared-exports").InternalGlobal): NonNullable<SentryCarrier[Prop]>;
|
|
63
63
|
export {};
|
|
64
64
|
//# sourceMappingURL=carrier.d.ts.map
|
|
@@ -1,235 +1,4 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
3
|
-
export
|
|
4
|
-
export { OfflineStore, OfflineTransportOptions } from './transports/offline';
|
|
5
|
-
export { ServerRuntimeClientOptions } from './server-runtime-client';
|
|
6
|
-
export { IntegrationIndex } from './integration';
|
|
7
|
-
export * from './tracing';
|
|
8
|
-
export * from './semanticAttributes';
|
|
9
|
-
export { createEventEnvelope, createSessionEnvelope, createSpanEnvelope } from './envelope';
|
|
10
|
-
export { captureCheckIn, withMonitor, captureException, captureEvent, captureMessage, lastEventId, close, flush, setContext, setExtra, setExtras, setTag, setTags, setUser, setConversationId, isInitialized, isEnabled, startSession, endSession, captureSession, addEventProcessor, } from './exports';
|
|
11
|
-
export { getCurrentScope, getIsolationScope, getGlobalScope, withScope, withIsolationScope, getClient, getTraceContextFromScope, registerExternalPropagationContext, getExternalPropagationContext, hasExternalPropagationContext, } from './currentScopes';
|
|
12
|
-
export { getDefaultCurrentScope, getDefaultIsolationScope } from './defaultScopes';
|
|
13
|
-
export { setAsyncContextStrategy } from './asyncContext';
|
|
14
|
-
export { getGlobalSingleton, getMainCarrier } from './carrier';
|
|
15
|
-
export { makeSession, closeSession, updateSession } from './session';
|
|
16
|
-
export { Scope } from './scope';
|
|
17
|
-
export { CaptureContext, ScopeContext, ScopeData } from './scope';
|
|
18
|
-
export { notifyEventProcessors } from './eventProcessors';
|
|
19
|
-
export { getEnvelopeEndpointWithUrlEncodedAuth, getReportDialogEndpoint, SENTRY_API_VERSION } from './api';
|
|
20
|
-
export { Client } from './client';
|
|
21
|
-
export { ServerRuntimeClient } from './server-runtime-client';
|
|
22
|
-
export { initAndBind, setCurrentClient } from './sdk';
|
|
23
|
-
export { createTransport } from './transports/base';
|
|
24
|
-
export { makeOfflineTransport } from './transports/offline';
|
|
25
|
-
export { makeMultiplexedTransport, MULTIPLEXED_TRANSPORT_EXTRA_KEY } from './transports/multiplexed';
|
|
26
|
-
export { getIntegrationsToSetup, addIntegration, defineIntegration, installedIntegrations } from './integration';
|
|
27
|
-
export { _INTERNAL_skipAiProviderWrapping, _INTERNAL_shouldSkipAiProviderWrapping, _INTERNAL_clearAiProviderSkips, } from './utils/ai/providerSkip';
|
|
28
|
-
export { envToBool } from './utils/envToBool';
|
|
29
|
-
export { applyScopeDataToEvent, mergeScopeData, getCombinedScopeData } from './utils/scopeData';
|
|
30
|
-
export { prepareEvent } from './utils/prepareEvent';
|
|
31
|
-
export { ExclusiveEventHintOrCaptureContext } from './utils/prepareEvent';
|
|
32
|
-
export { createCheckInEnvelope } from './checkin';
|
|
33
|
-
export { hasSpansEnabled } from './utils/hasSpansEnabled';
|
|
34
|
-
export { withStreamedSpan } from './tracing/spans/beforeSendSpan';
|
|
35
|
-
export { isStreamedBeforeSendSpanCallback } from './tracing/spans/beforeSendSpan';
|
|
36
|
-
export { safeSetSpanJSONAttributes } from './tracing/spans/captureSpan';
|
|
37
|
-
export { isSentryRequestUrl } from './utils/isSentryRequestUrl';
|
|
38
|
-
export { handleCallbackErrors } from './utils/handleCallbackErrors';
|
|
39
|
-
export { parameterize, fmt } from './utils/parameterize';
|
|
40
|
-
export { HandleTunnelRequestOptions } from './utils/tunnel';
|
|
41
|
-
export { handleTunnelRequest } from './utils/tunnel';
|
|
42
|
-
export { addAutoIpAddressToSession } from './utils/ipAddress';
|
|
43
|
-
export { addAutoIpAddressToUser } from './utils/ipAddress';
|
|
44
|
-
export { convertSpanLinksForEnvelope, spanToTraceHeader, spanToJSON, spanToStreamedSpanJSON, spanIsSampled, spanToTraceContext, getSpanDescendants, getStatusMessage, getRootSpan, INTERNAL_getSegmentSpan, getActiveSpan, addChildSpanToSpan, spanTimeInputToSeconds, updateSpanName, } from './utils/spanUtils';
|
|
45
|
-
export { _setSpanForScope as _INTERNAL_setSpanForScope } from './utils/spanOnScope';
|
|
46
|
-
export { parseSampleRate } from './utils/parseSampleRate';
|
|
47
|
-
export { applySdkMetadata } from './utils/sdkMetadata';
|
|
48
|
-
export { getTraceData } from './utils/traceData';
|
|
49
|
-
export { shouldPropagateTraceForUrl } from './utils/tracePropagationTargets';
|
|
50
|
-
export { getTraceMetaTags } from './utils/meta';
|
|
51
|
-
export { debounce } from './utils/debounce';
|
|
52
|
-
export { makeWeakRef, derefWeakRef } from './utils/weakRef';
|
|
53
|
-
export { MaybeWeakRef } from './utils/weakRef';
|
|
54
|
-
export { shouldIgnoreSpan } from './utils/should-ignore-span';
|
|
55
|
-
export { winterCGHeadersToDict, winterCGRequestToRequestData, captureBodyFromWinterCGRequest, httpRequestToRequestData, extractQueryParamsFromUrl, headersToDict, httpHeadersToSpanAttributes, getMaxBodyByteLength, MAX_BODY_BYTE_LENGTH, } from './utils/request';
|
|
56
|
-
export { MaxRequestBodySize } from './utils/request';
|
|
57
|
-
export { DEFAULT_ENVIRONMENT, DEV_ENVIRONMENT } from './constants';
|
|
58
|
-
export { addBreadcrumb } from './breadcrumbs';
|
|
59
|
-
export { functionToStringIntegration } from './integrations/functiontostring';
|
|
60
|
-
export { inboundFiltersIntegration } from './integrations/eventFilters';
|
|
61
|
-
export { eventFiltersIntegration } from './integrations/eventFilters';
|
|
62
|
-
export { linkedErrorsIntegration } from './integrations/linkederrors';
|
|
63
|
-
export { moduleMetadataIntegration } from './integrations/moduleMetadata';
|
|
64
|
-
export { requestDataIntegration } from './integrations/requestdata';
|
|
65
|
-
export { captureConsoleIntegration } from './integrations/captureconsole';
|
|
66
|
-
export { patchExpressModule, setupExpressErrorHandler, expressErrorHandler } from './integrations/express/index';
|
|
67
|
-
export { ExpressIntegrationOptions, ExpressHandlerOptions, ExpressMiddleware, ExpressErrorMiddleware, } from './integrations/express/types';
|
|
68
|
-
export { dedupeIntegration } from './integrations/dedupe';
|
|
69
|
-
export { extraErrorDataIntegration } from './integrations/extraerrordata';
|
|
70
|
-
export { rewriteFramesIntegration } from './integrations/rewriteframes';
|
|
71
|
-
export { supabaseIntegration, instrumentSupabaseClient } from './integrations/supabase';
|
|
72
|
-
export { instrumentPostgresJsSql } from './integrations/postgresjs';
|
|
73
|
-
export { zodErrorsIntegration } from './integrations/zoderrors';
|
|
74
|
-
export { thirdPartyErrorFilterIntegration } from './integrations/third-party-errors-filter';
|
|
75
|
-
export { consoleIntegration } from './integrations/console';
|
|
76
|
-
export { FeatureFlagsIntegration } from './integrations/featureFlags';
|
|
77
|
-
export { featureFlagsIntegration } from './integrations/featureFlags';
|
|
78
|
-
export { growthbookIntegration } from './integrations/featureFlags';
|
|
79
|
-
export { conversationIdIntegration } from './integrations/conversationId';
|
|
80
|
-
export { patchHttpModuleClient } from './integrations/http/client-patch';
|
|
81
|
-
export { getHttpClientSubscriptions } from './integrations/http/client-subscriptions';
|
|
82
|
-
export { addOutgoingRequestBreadcrumb } from './integrations/http/add-outgoing-request-breadcrumb';
|
|
83
|
-
export { getRequestUrl, getRequestUrlObject, getRequestUrlFromClientRequest, getRequestOptions, } from './integrations/http/get-request-url';
|
|
84
|
-
export { HTTP_ON_CLIENT_REQUEST, HTTP_ON_SERVER_REQUEST } from './integrations/http/constants';
|
|
85
|
-
export { HttpInstrumentationOptions, HttpClientRequest, HttpIncomingMessage, HttpServerResponse, HttpModuleExport, } from './integrations/http/types';
|
|
86
|
-
export { profiler } from './profiling';
|
|
87
|
-
export { instrumentFetchRequest, _INTERNAL_getTracingHeadersForFetchRequest } from './fetch';
|
|
88
|
-
export { trpcMiddleware } from './trpc';
|
|
89
|
-
export { wrapMcpServerWithSentry } from './integrations/mcp-server';
|
|
90
|
-
export { captureFeedback } from './feedback';
|
|
91
|
-
export { ReportDialogOptions } from './report-dialog';
|
|
92
|
-
export { _INTERNAL_captureLog, _INTERNAL_flushLogsBuffer, _INTERNAL_captureSerializedLog } from './logs/internal';
|
|
93
|
-
import * as logger_1 from './logs/public-api';
|
|
94
|
-
export { logger_1 as logger };
|
|
95
|
-
export { consoleLoggingIntegration } from './logs/console-integration';
|
|
96
|
-
export { _INTERNAL_captureMetric, _INTERNAL_flushMetricsBuffer, _INTERNAL_captureSerializedMetric, } from './metrics/internal';
|
|
97
|
-
import * as metrics_1 from './metrics/public-api';
|
|
98
|
-
export { metrics_1 as metrics };
|
|
99
|
-
export { MetricOptions } from './metrics/public-api';
|
|
100
|
-
export { createConsolaReporter } from './integrations/consola';
|
|
101
|
-
export { addVercelAiProcessors } from './tracing/vercel-ai';
|
|
102
|
-
export { _INTERNAL_getSpanContextForToolCallId, _INTERNAL_cleanupToolCallSpanContext } from './tracing/vercel-ai/utils';
|
|
103
|
-
export { toolCallSpanContextMap as _INTERNAL_toolCallSpanContextMap } from './tracing/vercel-ai/constants';
|
|
104
|
-
export { instrumentOpenAiClient } from './tracing/openai';
|
|
105
|
-
export { OPENAI_INTEGRATION_NAME } from './tracing/openai/constants';
|
|
106
|
-
export { instrumentAnthropicAiClient } from './tracing/anthropic-ai';
|
|
107
|
-
export { ANTHROPIC_AI_INTEGRATION_NAME } from './tracing/anthropic-ai/constants';
|
|
108
|
-
export { instrumentGoogleGenAIClient } from './tracing/google-genai';
|
|
109
|
-
export { GOOGLE_GENAI_INTEGRATION_NAME } from './tracing/google-genai/constants';
|
|
110
|
-
export { GoogleGenAIResponse } from './tracing/google-genai/types';
|
|
111
|
-
export { createLangChainCallbackHandler, instrumentLangChainEmbeddings } from './tracing/langchain';
|
|
112
|
-
export { LANGCHAIN_INTEGRATION_NAME } from './tracing/langchain/constants';
|
|
113
|
-
export { LangChainOptions, LangChainIntegration } from './tracing/langchain/types';
|
|
114
|
-
export { instrumentStateGraphCompile, instrumentCreateReactAgent, instrumentLangGraph } from './tracing/langgraph';
|
|
115
|
-
export { LANGGRAPH_INTEGRATION_NAME } from './tracing/langgraph/constants';
|
|
116
|
-
export { LangGraphOptions, LangGraphIntegration, CompiledGraph } from './tracing/langgraph/types';
|
|
117
|
-
export { OpenAiClient, OpenAiOptions, InstrumentedMethod } from './tracing/openai/types';
|
|
118
|
-
export { AnthropicAiClient, AnthropicAiOptions, AnthropicAiInstrumentedMethod, AnthropicAiResponse, } from './tracing/anthropic-ai/types';
|
|
119
|
-
export { GoogleGenAIClient, GoogleGenAIChat, GoogleGenAIOptions, GoogleGenAIInstrumentedMethod, } from './tracing/google-genai/types';
|
|
120
|
-
export { GoogleGenAIIstrumentedMethod } from './tracing/google-genai/types';
|
|
121
|
-
export { SpanBuffer } from './tracing/spans/spanBuffer';
|
|
122
|
-
export { hasSpanStreamingEnabled } from './tracing/spans/hasSpanStreamingEnabled';
|
|
123
|
-
export { spanStreamingIntegration } from './integrations/spanStreaming';
|
|
124
|
-
export { FeatureFlag } from './utils/featureFlags';
|
|
125
|
-
export { _INTERNAL_copyFlagsFromScopeToEvent, _INTERNAL_insertFlagToScope, _INTERNAL_addFeatureFlagToActiveSpan, _INTERNAL_FLAG_BUFFER_SIZE, _INTERNAL_MAX_FLAGS_PER_SPAN, } from './utils/featureFlags';
|
|
126
|
-
export { applyAggregateErrorsToEvent } from './utils/aggregate-errors';
|
|
127
|
-
export { getBreadcrumbLogLevelFromHttpStatusCode } from './utils/breadcrumb-log-level';
|
|
128
|
-
export { getComponentName, getLocationHref, htmlTreeAsString } from './utils/browser';
|
|
129
|
-
export { dsnFromString, dsnToString, makeDsn } from './utils/dsn';
|
|
130
|
-
export { SentryError } from './utils/error';
|
|
131
|
-
export { GLOBAL_OBJ } from './utils/worldwide';
|
|
132
|
-
export { InternalGlobal } from './utils/worldwide';
|
|
133
|
-
export { addConsoleInstrumentationHandler } from './instrument/console';
|
|
134
|
-
export { addFetchEndInstrumentationHandler, addFetchInstrumentationHandler } from './instrument/fetch';
|
|
135
|
-
export { addGlobalErrorInstrumentationHandler } from './instrument/globalError';
|
|
136
|
-
export { addGlobalUnhandledRejectionInstrumentationHandler } from './instrument/globalUnhandledRejection';
|
|
137
|
-
export { addHandler, maybeInstrument, resetInstrumentationHandlers, triggerHandlers } from './instrument/handlers';
|
|
138
|
-
export { isDOMError, isDOMException, isElement, isError, isErrorEvent, isEvent, isInstanceOf, isParameterizedString, isPlainObject, isPrimitive, isRegExp, isString, isSyntheticEvent, isThenable, isVueViewModel, } from './utils/is';
|
|
139
|
-
export { isBrowser } from './utils/isBrowser';
|
|
140
|
-
export { CONSOLE_LEVELS, consoleSandbox, debug, originalConsoleMethods } from './utils/debug-logger';
|
|
141
|
-
export { SentryDebugLogger } from './utils/debug-logger';
|
|
142
|
-
export { addContextToFrame, addExceptionMechanism, addExceptionTypeValue, checkOrSetAlreadyCaught, isAlreadyCaptured, getEventDescription, parseSemver, uuid4, } from './utils/misc';
|
|
143
|
-
export { isNodeEnv, loadModule } from './utils/node';
|
|
144
|
-
export { normalize, normalizeToSize, normalizeUrlToBase } from './utils/normalize';
|
|
145
|
-
export { setNormalizationDepthOverrideHint, setSkipNormalizationHint } from './utils/normalizationHints';
|
|
146
|
-
export { addNonEnumerableProperty, convertToPlainObject, dropUndefinedKeys, extractExceptionKeysForMessage, fill, getOriginalFunction, markFunctionWrapped, objectify, } from './utils/object';
|
|
147
|
-
export { basename, dirname, isAbsolute, join, normalizePath, relative, resolve } from './utils/path';
|
|
148
|
-
export { makePromiseBuffer, SENTRY_BUFFER_FULL_ERROR } from './utils/promisebuffer';
|
|
149
|
-
export { PromiseBuffer } from './utils/promisebuffer';
|
|
150
|
-
export { severityLevelFromString } from './utils/severity';
|
|
151
|
-
export { replaceExports } from './utils/exports';
|
|
152
|
-
export { UNKNOWN_FUNCTION, createStackParser, getFramesFromEvent, getFunctionName, stackParserFromStackParserOptions, stripSentryFramesAndReverse, } from './utils/stacktrace';
|
|
153
|
-
export { filenameIsInApp, node, nodeStackLineParser } from './utils/node-stack-trace';
|
|
154
|
-
export { isMatchingPattern, safeJoin, snipLine, stringMatchesSomePattern, truncate } from './utils/string';
|
|
155
|
-
export { isNativeFunction, supportsDOMError, supportsDOMException, supportsErrorEvent, supportsFetch, supportsHistory, supportsNativeFetch, supportsReferrerPolicy, supportsReportingObserver, } from './utils/supports';
|
|
156
|
-
export { SyncPromise, rejectedSyncPromise, resolvedSyncPromise } from './utils/syncpromise';
|
|
157
|
-
export { browserPerformanceTimeOrigin, dateTimestampInSeconds, timestampInSeconds } from './utils/time';
|
|
158
|
-
export { TRACEPARENT_REGEXP, extractTraceparentData, generateSentryTraceHeader, propagationContextFromHeaders, shouldContinueTrace, generateTraceparentHeader, } from './utils/tracing';
|
|
159
|
-
export { getSDKSource, isBrowserBundle } from './utils/env';
|
|
160
|
-
export { SdkSource } from './utils/env';
|
|
161
|
-
export { addItemToEnvelope, createAttachmentEnvelopeItem, createEnvelope, createEventEnvelopeHeaders, createSpanEnvelopeItem, envelopeContainsItemType, envelopeItemTypeToDataCategory, forEachEnvelopeItem, getSdkMetadataForEnvelopeHeader, parseEnvelope, serializeEnvelope, } from './utils/envelope';
|
|
162
|
-
export { createClientReportEnvelope } from './utils/clientreport';
|
|
163
|
-
export { DEFAULT_RETRY_AFTER, disabledUntil, isRateLimited, parseRetryAfterHeader, updateRateLimits, } from './utils/ratelimit';
|
|
164
|
-
export { RateLimits } from './utils/ratelimit';
|
|
165
|
-
export { MAX_BAGGAGE_STRING_LENGTH, SENTRY_BAGGAGE_KEY_PREFIX, SENTRY_BAGGAGE_KEY_PREFIX_REGEX, baggageHeaderToDynamicSamplingContext, dynamicSamplingContextToSentryBaggageHeader, parseBaggageHeader, objectToBaggageHeader, mergeBaggageHeaders, } from './utils/baggage';
|
|
166
|
-
export { getSanitizedUrlString, parseUrl, stripUrlQueryAndFragment, parseStringToURLObject, getHttpSpanDetailsFromUrlObject, isURLObjectRelative, getSanitizedUrlStringFromUrlObject, stripDataUrlContent, } from './utils/url';
|
|
167
|
-
export { eventFromMessage, eventFromUnknownInput, exceptionFromError, parseStackFrames, _enhanceErrorWithSentryInfo as _INTERNAL_enhanceErrorWithSentryInfo, } from './utils/eventbuilder';
|
|
168
|
-
export { callFrameToStackFrame, watchdogTimer } from './utils/anr';
|
|
169
|
-
export { LRUMap } from './utils/lru';
|
|
170
|
-
export { generateTraceId, generateSpanId } from './utils/propagationContext';
|
|
171
|
-
export { vercelWaitUntil } from './utils/vercelWaitUntil';
|
|
172
|
-
export { flushIfServerless } from './utils/flushIfServerless';
|
|
173
|
-
export { SDK_VERSION } from './utils/version';
|
|
174
|
-
export { getDebugImagesForResources, getFilenameToDebugIdMap } from './utils/debug-ids';
|
|
175
|
-
export { getFilenameToMetadataMap } from './metadata';
|
|
176
|
-
export { escapeStringForRegex } from './vendor/escapeStringForRegex';
|
|
177
|
-
export { Attachment } from './types-hoist/attachment';
|
|
178
|
-
export { Breadcrumb, BreadcrumbHint, FetchBreadcrumbData, XhrBreadcrumbData, FetchBreadcrumbHint, XhrBreadcrumbHint, } from './types-hoist/breadcrumb';
|
|
179
|
-
export { ClientReport, Outcome, EventDropReason } from './types-hoist/clientreport';
|
|
180
|
-
export { Context, Contexts, DeviceContext, OsContext, AppContext, CultureContext, TraceContext, CloudResourceContext, MissingInstrumentationContext, } from './types-hoist/context';
|
|
181
|
-
export { DataCategory } from './types-hoist/datacategory';
|
|
182
|
-
export { DsnComponents, DsnLike, DsnProtocol } from './types-hoist/dsn';
|
|
183
|
-
export { DebugImage, DebugMeta } from './types-hoist/debugMeta';
|
|
184
|
-
export { AttachmentItem, BaseEnvelopeHeaders, BaseEnvelopeItemHeaders, ClientReportEnvelope, ClientReportItem, DynamicSamplingContext, Envelope, EnvelopeItemType, EnvelopeItem, EventEnvelope, EventEnvelopeHeaders, EventItem, ReplayEnvelope, FeedbackItem, SessionEnvelope, SessionItem, UserFeedbackItem, CheckInItem, CheckInEnvelope, RawSecurityEnvelope, RawSecurityItem, ProfileItem, ProfileChunkEnvelope, ProfileChunkItem, SpanEnvelope, StreamedSpanEnvelope, SpanItem, LogEnvelope, MetricEnvelope, } from './types-hoist/envelope';
|
|
185
|
-
export { ExtendedError } from './types-hoist/error';
|
|
186
|
-
export { Event, EventHint, EventType, ErrorEvent, TransactionEvent } from './types-hoist/event';
|
|
187
|
-
export { EventProcessor } from './types-hoist/eventprocessor';
|
|
188
|
-
export { Exception } from './types-hoist/exception';
|
|
189
|
-
export { Extra, Extras } from './types-hoist/extra';
|
|
190
|
-
export { Integration, IntegrationFn } from './types-hoist/integration';
|
|
191
|
-
export { Mechanism } from './types-hoist/mechanism';
|
|
192
|
-
export { ExtractedNodeRequestData, HttpHeaderValue, Primitive, WorkerLocation } from './types-hoist/misc';
|
|
193
|
-
export { ClientOptions, CoreOptions as Options, ServerRuntimeOptions } from './types-hoist/options';
|
|
194
|
-
export { Package } from './types-hoist/package';
|
|
195
|
-
export { PolymorphicEvent, PolymorphicRequest } from './types-hoist/polymorphics';
|
|
196
|
-
export { ThreadId, FrameId, StackId, ThreadCpuSample, ThreadCpuStack, ThreadCpuFrame, ThreadCpuProfile, ContinuousThreadCpuProfile, Profile, ProfileChunk, } from './types-hoist/profiling';
|
|
197
|
-
export { ReplayEndEvent, ReplayEvent, ReplayRecordingData, ReplayRecordingMode, ReplayStartEvent, ReplayStopReason, } from './types-hoist/replay';
|
|
198
|
-
export { FeedbackErrorCode, FeedbackErrorMessages, FeedbackEvent, FeedbackFormData, FeedbackInternalOptions, FeedbackModalIntegration, FeedbackScreenshotIntegration, SendFeedback, SendFeedbackParams, UserFeedback, } from './types-hoist/feedback';
|
|
199
|
-
export { QueryParams, RequestEventData, RequestHookInfo, ResponseHookInfo, SanitizedRequestData, } from './types-hoist/request';
|
|
200
|
-
export { Runtime } from './types-hoist/runtime';
|
|
201
|
-
export { SdkInfo } from './types-hoist/sdkinfo';
|
|
202
|
-
export { SdkMetadata } from './types-hoist/sdkmetadata';
|
|
203
|
-
export { SessionAggregates, AggregationCounts, Session, SessionContext, SessionStatus, SerializedSession, } from './types-hoist/session';
|
|
204
|
-
export { SeverityLevel } from './types-hoist/severity';
|
|
205
|
-
export { Span, SentrySpanArguments, SpanOrigin, SpanAttributeValue, SpanAttributes, SpanTimeInput, SpanJSON, SpanContextData, TraceFlag, SerializedStreamedSpan, SerializedStreamedSpanContainer, StreamedSpanJSON, } from './types-hoist/span';
|
|
206
|
-
export { SpanStatus } from './types-hoist/spanStatus';
|
|
207
|
-
export { Log, LogSeverityLevel } from './types-hoist/log';
|
|
208
|
-
export { SpanLink } from './types-hoist/link';
|
|
209
|
-
export { Metric, MetricType, SerializedMetric, SerializedMetricContainer, SerializedMetricAttributeValue, } from './types-hoist/metric';
|
|
210
|
-
export { TimedEvent } from './types-hoist/timedEvent';
|
|
211
|
-
export { StackFrame } from './types-hoist/stackframe';
|
|
212
|
-
export { Stacktrace, StackParser, StackLineParser, StackLineParserFn } from './types-hoist/stacktrace';
|
|
213
|
-
export { PropagationContext, TracePropagationTargets, SerializedTraceData } from './types-hoist/tracing';
|
|
214
|
-
export { StartSpanOptions } from './types-hoist/startSpanOptions';
|
|
215
|
-
export { TraceparentData, TransactionSource } from './types-hoist/transaction';
|
|
216
|
-
export { TracesSamplerSamplingContext, CustomSamplingContext, SamplingContext, } from './types-hoist/samplingcontext';
|
|
217
|
-
export { DurationUnit, InformationUnit, FractionUnit, MeasurementUnit, NoneUnit, Measurements, } from './types-hoist/measurement';
|
|
218
|
-
export { Thread } from './types-hoist/thread';
|
|
219
|
-
export { Transport, TransportRequest, TransportMakeRequestResponse, InternalBaseTransportOptions, BaseTransportOptions, TransportRequestExecutor, } from './types-hoist/transport';
|
|
220
|
-
export { User } from './types-hoist/user';
|
|
221
|
-
export { WebFetchHeaders, WebFetchRequest } from './types-hoist/webfetchapi';
|
|
222
|
-
export { WrappedFunction } from './types-hoist/wrappedfunction';
|
|
223
|
-
export { HandlerDataFetch, HandlerDataXhr, HandlerDataDom, HandlerDataConsole, HandlerDataHistory, HandlerDataError, HandlerDataUnhandledRejection, ConsoleLevel, SentryXhrData, SentryWrappedXMLHttpRequest, } from './types-hoist/instrument';
|
|
224
|
-
export { BrowserClientReplayOptions, BrowserClientProfilingOptions } from './types-hoist/browseroptions';
|
|
225
|
-
export { CheckIn, MonitorConfig, FinishedCheckIn, InProgressCheckIn, SerializedCheckIn, } from './types-hoist/checkin';
|
|
226
|
-
export { ParameterizedString } from './types-hoist/parameterize';
|
|
227
|
-
export { ContinuousProfiler, ProfilingIntegration, Profiler } from './types-hoist/profiling';
|
|
228
|
-
export { ViewHierarchyData, ViewHierarchyWindow } from './types-hoist/view-hierarchy';
|
|
229
|
-
export { LegacyCSPReport } from './types-hoist/csp';
|
|
230
|
-
export { SerializedLog, SerializedLogContainer } from './types-hoist/log';
|
|
231
|
-
export { BuildTimeOptionsBase, UnstableVitePluginOptions, UnstableRollupPluginOptions, UnstableWebpackPluginOptions, } from './build-time-plugins/buildTimeOptionsBase';
|
|
232
|
-
export { RandomSafeContextRunner as _INTERNAL_RandomSafeContextRunner } from './utils/randomSafeContext';
|
|
233
|
-
export { withRandomSafeContext as _INTERNAL_withRandomSafeContext, safeMathRandom as _INTERNAL_safeMathRandom, safeDateNow as _INTERNAL_safeDateNow, } from './utils/randomSafeContext';
|
|
234
|
-
export { safeUnref as _INTERNAL_safeUnref } from './utils/timer';
|
|
1
|
+
export * from './shared-exports';
|
|
2
|
+
export * from './server-exports';
|
|
3
|
+
export * from './browser-exports';
|
|
235
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -7,4 +7,11 @@ import { HandlerDataConsole } from '../types-hoist/instrument';
|
|
|
7
7
|
* @hidden
|
|
8
8
|
*/
|
|
9
9
|
export declare function addConsoleInstrumentationHandler(handler: (data: HandlerDataConsole) => void): () => void;
|
|
10
|
+
/**
|
|
11
|
+
* Add a filter to the console instrumentation to filter out console messages that match the given strings or regular expressions.
|
|
12
|
+
* Returns a function to remove the filter.
|
|
13
|
+
*/
|
|
14
|
+
export declare function addConsoleInstrumentationFilter(filter: (string | RegExp)[]): () => void;
|
|
15
|
+
/** Only exported for tests. */
|
|
16
|
+
export declare function _INTERNAL_resetConsoleInstrumentationOptions(): void;
|
|
10
17
|
//# sourceMappingURL=console.d.ts.map
|
|
@@ -11,6 +11,6 @@ interface CaptureConsoleOptions {
|
|
|
11
11
|
/**
|
|
12
12
|
* Send Console API calls as Sentry Events.
|
|
13
13
|
*/
|
|
14
|
-
export declare const captureConsoleIntegration: (options?: CaptureConsoleOptions | undefined) => import("
|
|
14
|
+
export declare const captureConsoleIntegration: (options?: CaptureConsoleOptions | undefined) => import("..").Integration;
|
|
15
15
|
export {};
|
|
16
16
|
//# sourceMappingURL=captureconsole.d.ts.map
|
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
import { ConsoleLevel } from '../types-hoist/instrument';
|
|
2
2
|
interface ConsoleIntegrationOptions {
|
|
3
3
|
levels: ConsoleLevel[];
|
|
4
|
+
/**
|
|
5
|
+
* Filter out console messages that match the given strings or regular expressions.
|
|
6
|
+
* These will neither be passed to the handler, and they will also not be logged to the user, unless they have debug enabled.
|
|
7
|
+
*/
|
|
8
|
+
filter?: (string | RegExp)[];
|
|
4
9
|
}
|
|
5
10
|
/**
|
|
6
11
|
* Captures calls to the `console` API as breadcrumbs in Sentry.
|
|
@@ -5,5 +5,5 @@
|
|
|
5
5
|
* and applies it to spans when they start. This ensures the conversation ID is
|
|
6
6
|
* available for all AI-related operations.
|
|
7
7
|
*/
|
|
8
|
-
export declare const conversationIdIntegration: () => import("
|
|
8
|
+
export declare const conversationIdIntegration: () => import("..").Integration;
|
|
9
9
|
//# sourceMappingURL=conversationId.d.ts.map
|
|
@@ -2,7 +2,7 @@ import { Event } from '../types-hoist/event';
|
|
|
2
2
|
/**
|
|
3
3
|
* Deduplication filter.
|
|
4
4
|
*/
|
|
5
|
-
export declare const dedupeIntegration: () => import("
|
|
5
|
+
export declare const dedupeIntegration: () => import("..").Integration;
|
|
6
6
|
/** only exported for tests. */
|
|
7
7
|
export declare function _shouldDropEvent(currentEvent: Event, previousEvent?: Event): boolean;
|
|
8
8
|
//# sourceMappingURL=dedupe.d.ts.map
|
|
@@ -20,7 +20,7 @@ export interface EventFiltersOptions {
|
|
|
20
20
|
*
|
|
21
21
|
* Events filtered by this integration will not be sent to Sentry.
|
|
22
22
|
*/
|
|
23
|
-
export declare const eventFiltersIntegration: (options?: Partial<EventFiltersOptions> | undefined) => import("
|
|
23
|
+
export declare const eventFiltersIntegration: (options?: Partial<EventFiltersOptions> | undefined) => import("..").Integration;
|
|
24
24
|
/**
|
|
25
25
|
* An integration that filters out events (errors and transactions) based on:
|
|
26
26
|
*
|
|
@@ -37,5 +37,5 @@ export declare const eventFiltersIntegration: (options?: Partial<EventFiltersOpt
|
|
|
37
37
|
* @deprecated this integration was renamed and will be removed in a future major version.
|
|
38
38
|
* Use `eventFiltersIntegration` instead.
|
|
39
39
|
*/
|
|
40
|
-
export declare const inboundFiltersIntegration: (options?: Partial<EventFiltersOptions> | undefined) => import("
|
|
40
|
+
export declare const inboundFiltersIntegration: (options?: Partial<EventFiltersOptions> | undefined) => import("..").Integration;
|
|
41
41
|
//# sourceMappingURL=eventFilters.d.ts.map
|
|
@@ -10,6 +10,6 @@ interface ExtraErrorDataOptions {
|
|
|
10
10
|
*/
|
|
11
11
|
captureErrorCause: boolean;
|
|
12
12
|
}
|
|
13
|
-
export declare const extraErrorDataIntegration: (options?: Partial<ExtraErrorDataOptions> | undefined) => import("
|
|
13
|
+
export declare const extraErrorDataIntegration: (options?: Partial<ExtraErrorDataOptions> | undefined) => import("..").Integration;
|
|
14
14
|
export {};
|
|
15
15
|
//# sourceMappingURL=extraerrordata.d.ts.map
|
|
@@ -2,6 +2,6 @@ interface LinkedErrorsOptions {
|
|
|
2
2
|
key?: string;
|
|
3
3
|
limit?: number;
|
|
4
4
|
}
|
|
5
|
-
export declare const linkedErrorsIntegration: (options?: LinkedErrorsOptions | undefined) => import("
|
|
5
|
+
export declare const linkedErrorsIntegration: (options?: LinkedErrorsOptions | undefined) => import("..").Integration;
|
|
6
6
|
export {};
|
|
7
7
|
//# sourceMappingURL=linkederrors.d.ts.map
|
|
@@ -30,4 +30,22 @@ export declare function wrapPromptHandlers(serverInstance: MCPServerInstance): v
|
|
|
30
30
|
* @param serverInstance - MCP server instance
|
|
31
31
|
*/
|
|
32
32
|
export declare function wrapAllMCPHandlers(serverInstance: MCPServerInstance): void;
|
|
33
|
+
/**
|
|
34
|
+
* Retroactively wraps handlers on tools, resources, and prompts that were registered
|
|
35
|
+
* before `wrapMcpServerWithSentry` was called.
|
|
36
|
+
*
|
|
37
|
+
* The MCP SDK stores registered entries in private maps and invokes them via the entry's
|
|
38
|
+
* own property at call time — `executor` for tools, `readCallback` for resources, and
|
|
39
|
+
* `handler` for prompts. Replacing those properties
|
|
40
|
+
* in-place is therefore equivalent to having wrapped the original registration call.
|
|
41
|
+
*
|
|
42
|
+
* NOTE: This intentionally accesses private MCP SDK internals (`_registeredTools` etc.).
|
|
43
|
+
* The properties and their shapes are verified against @modelcontextprotocol/sdk source:
|
|
44
|
+
* https://github.com/modelcontextprotocol/typescript-sdk/blob/2c0c481cb9dbfd15c8613f765c940a5f5bace94d/packages/server/src/server/mcp.ts#L304
|
|
45
|
+
* When upgrading the MCP SDK, re-verify that these internal maps and their callable
|
|
46
|
+
* properties still exist and are invoked directly (not captured by closure at registration).
|
|
47
|
+
* All access is defensive — if a property is absent or not a function we skip silently.
|
|
48
|
+
* @internal
|
|
49
|
+
*/
|
|
50
|
+
export declare function wrapExistingHandlers(serverInstance: MCPServerInstance): void;
|
|
33
51
|
//# sourceMappingURL=handlers.d.ts.map
|
|
@@ -6,17 +6,24 @@ import { McpServerWrapperOptions } from './types';
|
|
|
6
6
|
* and versions that expose the newer `registerTool`/`registerResource`/`registerPrompt` API (introduced in 1.x, sole API in 2.x).
|
|
7
7
|
* Automatically instruments transport methods and handler functions for comprehensive monitoring.
|
|
8
8
|
*
|
|
9
|
+
* Both call orderings are supported: wrapping before or after registering tools, resources,
|
|
10
|
+
* and prompts. Sentry patches the registration methods for future handlers and retroactively
|
|
11
|
+
* wraps any already-registered ones. Wrapping at construction time is recommended by
|
|
12
|
+
* convention (consistent with other SDK integrations), but is not required.
|
|
13
|
+
*
|
|
9
14
|
* @example
|
|
10
15
|
* ```typescript
|
|
11
16
|
* import * as Sentry from '@sentry/core';
|
|
12
17
|
* import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
|
|
13
18
|
* import { StreamableHTTPServerTransport } from '@modelcontextprotocol/sdk/server/streamableHttp.js';
|
|
14
19
|
*
|
|
15
|
-
* //
|
|
20
|
+
* // Wrap first, then register tools — this is the correct order
|
|
16
21
|
* const server = Sentry.wrapMcpServerWithSentry(
|
|
17
22
|
* new McpServer({ name: "my-server", version: "1.0.0" })
|
|
18
23
|
* );
|
|
19
24
|
*
|
|
25
|
+
* server.registerTool('my-tool', schema, handler);
|
|
26
|
+
*
|
|
20
27
|
* // Explicitly control input/output capture
|
|
21
28
|
* const server = Sentry.wrapMcpServerWithSentry(
|
|
22
29
|
* new McpServer({ name: "my-server", version: "1.0.0" }),
|
|
@@ -16,6 +16,6 @@ type RequestDataIntegrationOptions = {
|
|
|
16
16
|
* Add data about a request to an event. Primarily for use in Node-based SDKs, but included in `@sentry/core`
|
|
17
17
|
* so it can be used in cross-platform SDKs like `@sentry/nextjs`.
|
|
18
18
|
*/
|
|
19
|
-
export declare const requestDataIntegration: (options?: RequestDataIntegrationOptions | undefined) => import("
|
|
19
|
+
export declare const requestDataIntegration: (options?: RequestDataIntegrationOptions | undefined) => import("..").Integration;
|
|
20
20
|
export {};
|
|
21
21
|
//# sourceMappingURL=requestdata.d.ts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const spanStreamingIntegration: () => import("
|
|
1
|
+
export declare const spanStreamingIntegration: () => import("..").Integration;
|
|
2
2
|
//# sourceMappingURL=spanStreaming.d.ts.map
|
|
@@ -95,6 +95,6 @@ export declare function translateFiltersIntoMethods(key: string, query: string):
|
|
|
95
95
|
export declare const instrumentSupabaseClient: (supabaseClient: unknown) => void;
|
|
96
96
|
export declare const supabaseIntegration: (options: {
|
|
97
97
|
supabaseClient: any;
|
|
98
|
-
}) => import("
|
|
98
|
+
}) => import("..").Integration;
|
|
99
99
|
export {};
|
|
100
100
|
//# sourceMappingURL=supabase.d.ts.map
|
|
@@ -71,6 +71,6 @@ export declare function applyZodErrorsToEvent(limit: number, saveZodIssuesAsAtta
|
|
|
71
71
|
/**
|
|
72
72
|
* Sentry integration to process Zod errors, making them easier to work with in Sentry.
|
|
73
73
|
*/
|
|
74
|
-
export declare const zodErrorsIntegration: (options?: ZodErrorsOptions | undefined) => import("
|
|
74
|
+
export declare const zodErrorsIntegration: (options?: ZodErrorsOptions | undefined) => import("..").Integration;
|
|
75
75
|
export {};
|
|
76
76
|
//# sourceMappingURL=zoderrors.d.ts.map
|
|
@@ -22,6 +22,6 @@ interface CaptureConsoleOptions {
|
|
|
22
22
|
* });
|
|
23
23
|
* ```
|
|
24
24
|
*/
|
|
25
|
-
export declare const consoleLoggingIntegration: (options?: Partial<CaptureConsoleOptions> | undefined) => import("
|
|
25
|
+
export declare const consoleLoggingIntegration: (options?: Partial<CaptureConsoleOptions> | undefined) => import("..").Integration;
|
|
26
26
|
export {};
|
|
27
27
|
//# sourceMappingURL=console-integration.d.ts.map
|
|
@@ -44,13 +44,13 @@ export declare const SEMANTIC_ATTRIBUTE_SENTRY_SEGMENT_ID = "sentry.segment.id";
|
|
|
44
44
|
export declare const SEMANTIC_ATTRIBUTE_SENTRY_SDK_NAME = "sentry.sdk.name";
|
|
45
45
|
/** The version of the Sentry SDK */
|
|
46
46
|
export declare const SEMANTIC_ATTRIBUTE_SENTRY_SDK_VERSION = "sentry.sdk.version";
|
|
47
|
-
/** The user ID
|
|
47
|
+
/** The user ID */
|
|
48
48
|
export declare const SEMANTIC_ATTRIBUTE_USER_ID = "user.id";
|
|
49
|
-
/** The user email
|
|
49
|
+
/** The user email */
|
|
50
50
|
export declare const SEMANTIC_ATTRIBUTE_USER_EMAIL = "user.email";
|
|
51
|
-
/** The user IP address
|
|
51
|
+
/** The user IP address */
|
|
52
52
|
export declare const SEMANTIC_ATTRIBUTE_USER_IP_ADDRESS = "user.ip_address";
|
|
53
|
-
/** The user username
|
|
53
|
+
/** The user username */
|
|
54
54
|
export declare const SEMANTIC_ATTRIBUTE_USER_USERNAME = "user.name";
|
|
55
55
|
/**
|
|
56
56
|
* A custom span name set by users guaranteed to be taken over any automatically
|