@sentry/browser 10.47.0 → 10.49.0

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.
Files changed (91) hide show
  1. package/build/npm/cjs/dev/index.js +7 -0
  2. package/build/npm/cjs/dev/index.js.map +1 -1
  3. package/build/npm/cjs/dev/integrations/spanstreaming.js +67 -0
  4. package/build/npm/cjs/dev/integrations/spanstreaming.js.map +1 -0
  5. package/build/npm/cjs/dev/integrations/view-hierarchy.js +101 -0
  6. package/build/npm/cjs/dev/integrations/view-hierarchy.js.map +1 -0
  7. package/build/npm/cjs/dev/tracing/browserTracingIntegration.js +18 -7
  8. package/build/npm/cjs/dev/tracing/browserTracingIntegration.js.map +1 -1
  9. package/build/npm/cjs/dev/tracing/request.js +45 -7
  10. package/build/npm/cjs/dev/tracing/request.js.map +1 -1
  11. package/build/npm/cjs/dev/utils/lazyLoadIntegration.js +1 -0
  12. package/build/npm/cjs/dev/utils/lazyLoadIntegration.js.map +1 -1
  13. package/build/npm/cjs/prod/index.js +7 -0
  14. package/build/npm/cjs/prod/index.js.map +1 -1
  15. package/build/npm/cjs/prod/integrations/spanstreaming.js +67 -0
  16. package/build/npm/cjs/prod/integrations/spanstreaming.js.map +1 -0
  17. package/build/npm/cjs/prod/integrations/view-hierarchy.js +101 -0
  18. package/build/npm/cjs/prod/integrations/view-hierarchy.js.map +1 -0
  19. package/build/npm/cjs/prod/tracing/browserTracingIntegration.js +18 -7
  20. package/build/npm/cjs/prod/tracing/browserTracingIntegration.js.map +1 -1
  21. package/build/npm/cjs/prod/tracing/request.js +45 -7
  22. package/build/npm/cjs/prod/tracing/request.js.map +1 -1
  23. package/build/npm/cjs/prod/utils/lazyLoadIntegration.js +1 -0
  24. package/build/npm/cjs/prod/utils/lazyLoadIntegration.js.map +1 -1
  25. package/build/npm/esm/dev/index.js +4 -2
  26. package/build/npm/esm/dev/index.js.map +1 -1
  27. package/build/npm/esm/dev/integrations/spanstreaming.js +65 -0
  28. package/build/npm/esm/dev/integrations/spanstreaming.js.map +1 -0
  29. package/build/npm/esm/dev/integrations/view-hierarchy.js +99 -0
  30. package/build/npm/esm/dev/integrations/view-hierarchy.js.map +1 -0
  31. package/build/npm/esm/dev/package.json +1 -1
  32. package/build/npm/esm/dev/tracing/browserTracingIntegration.js +20 -10
  33. package/build/npm/esm/dev/tracing/browserTracingIntegration.js.map +1 -1
  34. package/build/npm/esm/dev/tracing/request.js +46 -8
  35. package/build/npm/esm/dev/tracing/request.js.map +1 -1
  36. package/build/npm/esm/dev/utils/lazyLoadIntegration.js +1 -0
  37. package/build/npm/esm/dev/utils/lazyLoadIntegration.js.map +1 -1
  38. package/build/npm/esm/prod/index.js +4 -2
  39. package/build/npm/esm/prod/index.js.map +1 -1
  40. package/build/npm/esm/prod/integrations/spanstreaming.js +65 -0
  41. package/build/npm/esm/prod/integrations/spanstreaming.js.map +1 -0
  42. package/build/npm/esm/prod/integrations/view-hierarchy.js +99 -0
  43. package/build/npm/esm/prod/integrations/view-hierarchy.js.map +1 -0
  44. package/build/npm/esm/prod/package.json +1 -1
  45. package/build/npm/esm/prod/tracing/browserTracingIntegration.js +20 -10
  46. package/build/npm/esm/prod/tracing/browserTracingIntegration.js.map +1 -1
  47. package/build/npm/esm/prod/tracing/request.js +46 -8
  48. package/build/npm/esm/prod/tracing/request.js.map +1 -1
  49. package/build/npm/esm/prod/utils/lazyLoadIntegration.js +1 -0
  50. package/build/npm/esm/prod/utils/lazyLoadIntegration.js.map +1 -1
  51. package/build/npm/types/exports.d.ts +1 -1
  52. package/build/npm/types/exports.d.ts.map +1 -1
  53. package/build/npm/types/index.bundle.tracing.d.ts +1 -1
  54. package/build/npm/types/index.bundle.tracing.d.ts.map +1 -1
  55. package/build/npm/types/index.bundle.tracing.logs.metrics.d.ts +1 -1
  56. package/build/npm/types/index.bundle.tracing.logs.metrics.d.ts.map +1 -1
  57. package/build/npm/types/index.bundle.tracing.replay.d.ts +1 -1
  58. package/build/npm/types/index.bundle.tracing.replay.d.ts.map +1 -1
  59. package/build/npm/types/index.bundle.tracing.replay.feedback.d.ts +1 -1
  60. package/build/npm/types/index.bundle.tracing.replay.feedback.d.ts.map +1 -1
  61. package/build/npm/types/index.bundle.tracing.replay.feedback.logs.metrics.d.ts +1 -1
  62. package/build/npm/types/index.bundle.tracing.replay.feedback.logs.metrics.d.ts.map +1 -1
  63. package/build/npm/types/index.bundle.tracing.replay.logs.metrics.d.ts +1 -1
  64. package/build/npm/types/index.bundle.tracing.replay.logs.metrics.d.ts.map +1 -1
  65. package/build/npm/types/index.d.ts +4 -2
  66. package/build/npm/types/index.d.ts.map +1 -1
  67. package/build/npm/types/integrations/spanstreaming.d.ts +2 -0
  68. package/build/npm/types/integrations/spanstreaming.d.ts.map +1 -0
  69. package/build/npm/types/integrations/view-hierarchy.d.ts +49 -0
  70. package/build/npm/types/integrations/view-hierarchy.d.ts.map +1 -0
  71. package/build/npm/types/integrations-bundle/index.instrumentlangchainembeddings.d.ts +2 -0
  72. package/build/npm/types/integrations-bundle/index.instrumentlangchainembeddings.d.ts.map +1 -0
  73. package/build/npm/types/tracing/browserTracingIntegration.d.ts +1 -0
  74. package/build/npm/types/tracing/browserTracingIntegration.d.ts.map +1 -1
  75. package/build/npm/types/tracing/request.d.ts.map +1 -1
  76. package/build/npm/types/utils/lazyLoadIntegration.d.ts +1 -1
  77. package/build/npm/types/utils/lazyLoadIntegration.d.ts.map +1 -1
  78. package/build/npm/types-ts3.8/exports.d.ts +1 -1
  79. package/build/npm/types-ts3.8/index.bundle.tracing.d.ts +1 -1
  80. package/build/npm/types-ts3.8/index.bundle.tracing.logs.metrics.d.ts +1 -1
  81. package/build/npm/types-ts3.8/index.bundle.tracing.replay.d.ts +1 -1
  82. package/build/npm/types-ts3.8/index.bundle.tracing.replay.feedback.d.ts +1 -1
  83. package/build/npm/types-ts3.8/index.bundle.tracing.replay.feedback.logs.metrics.d.ts +1 -1
  84. package/build/npm/types-ts3.8/index.bundle.tracing.replay.logs.metrics.d.ts +1 -1
  85. package/build/npm/types-ts3.8/index.d.ts +4 -2
  86. package/build/npm/types-ts3.8/integrations/spanstreaming.d.ts +2 -0
  87. package/build/npm/types-ts3.8/integrations/view-hierarchy.d.ts +49 -0
  88. package/build/npm/types-ts3.8/integrations-bundle/index.instrumentlangchainembeddings.d.ts +2 -0
  89. package/build/npm/types-ts3.8/tracing/browserTracingIntegration.d.ts +1 -0
  90. package/build/npm/types-ts3.8/utils/lazyLoadIntegration.d.ts +2 -1
  91. package/package.json +7 -7
@@ -1,7 +1,7 @@
1
1
  import { feedbackAsyncIntegration } from './feedbackAsync';
2
2
  export * from './index.bundle.base';
3
3
  export { getActiveSpan, getRootSpan, getSpanDescendants, setMeasurement, startInactiveSpan, startNewTrace, startSpan, startSpanManual, withActiveSpan, logger, consoleLoggingIntegration, } from '@sentry/core';
4
- export { browserTracingIntegration, startBrowserTracingNavigationSpan, startBrowserTracingPageLoadSpan, } from './tracing/browserTracingIntegration';
4
+ export { browserTracingIntegration, isBotUserAgent, startBrowserTracingNavigationSpan, startBrowserTracingPageLoadSpan, } from './tracing/browserTracingIntegration';
5
5
  export { elementTimingIntegration } from '@sentry-internal/browser-utils';
6
6
  export { reportPageLoaded } from './tracing/reportPageLoaded';
7
7
  export { setActiveSpanInBrowser } from './tracing/setActiveSpan';
@@ -1 +1 @@
1
- {"version":3,"file":"index.bundle.tracing.replay.feedback.logs.metrics.d.ts","sourceRoot":"","sources":["../../../src/index.bundle.tracing.replay.feedback.logs.metrics.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,wBAAwB,EAAE,MAAM,iBAAiB,CAAC;AAI3D,cAAc,qBAAqB,CAAC;AAGpC,OAAO,EACL,aAAa,EACb,WAAW,EACX,kBAAkB,EAClB,cAAc,EACd,iBAAiB,EACjB,aAAa,EACb,SAAS,EACT,eAAe,EACf,cAAc,EACd,MAAM,EACN,yBAAyB,GAC1B,MAAM,cAAc,CAAC;AAEtB,OAAO,EACL,yBAAyB,EACzB,iCAAiC,EACjC,+BAA+B,GAChC,MAAM,qCAAqC,CAAC;AAC7C,OAAO,EAAE,wBAAwB,EAAE,MAAM,gCAAgC,CAAC;AAC1E,OAAO,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAC9D,OAAO,EAAE,sBAAsB,EAAE,MAAM,yBAAyB,CAAC;AAEjE,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAEtE,OAAO,EAAE,wBAAwB,IAAI,wBAAwB,EAAE,wBAAwB,IAAI,mBAAmB,EAAE,CAAC;AAEjH,OAAO,EAAE,iBAAiB,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC"}
1
+ {"version":3,"file":"index.bundle.tracing.replay.feedback.logs.metrics.d.ts","sourceRoot":"","sources":["../../../src/index.bundle.tracing.replay.feedback.logs.metrics.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,wBAAwB,EAAE,MAAM,iBAAiB,CAAC;AAI3D,cAAc,qBAAqB,CAAC;AAGpC,OAAO,EACL,aAAa,EACb,WAAW,EACX,kBAAkB,EAClB,cAAc,EACd,iBAAiB,EACjB,aAAa,EACb,SAAS,EACT,eAAe,EACf,cAAc,EACd,MAAM,EACN,yBAAyB,GAC1B,MAAM,cAAc,CAAC;AAEtB,OAAO,EACL,yBAAyB,EACzB,cAAc,EACd,iCAAiC,EACjC,+BAA+B,GAChC,MAAM,qCAAqC,CAAC;AAC7C,OAAO,EAAE,wBAAwB,EAAE,MAAM,gCAAgC,CAAC;AAC1E,OAAO,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAC9D,OAAO,EAAE,sBAAsB,EAAE,MAAM,yBAAyB,CAAC;AAEjE,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAEtE,OAAO,EAAE,wBAAwB,IAAI,wBAAwB,EAAE,wBAAwB,IAAI,mBAAmB,EAAE,CAAC;AAEjH,OAAO,EAAE,iBAAiB,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC"}
@@ -2,7 +2,7 @@ import { feedbackIntegrationShim } from '@sentry-internal/integration-shims';
2
2
  export * from './index.bundle.base';
3
3
  export { logger, consoleLoggingIntegration } from '@sentry/core';
4
4
  export { getActiveSpan, getRootSpan, getSpanDescendants, setMeasurement, startInactiveSpan, startNewTrace, startSpan, startSpanManual, withActiveSpan, } from '@sentry/core';
5
- export { browserTracingIntegration, startBrowserTracingNavigationSpan, startBrowserTracingPageLoadSpan, } from './tracing/browserTracingIntegration';
5
+ export { browserTracingIntegration, isBotUserAgent, startBrowserTracingNavigationSpan, startBrowserTracingPageLoadSpan, } from './tracing/browserTracingIntegration';
6
6
  export { elementTimingIntegration } from '@sentry-internal/browser-utils';
7
7
  export { reportPageLoaded } from './tracing/reportPageLoaded';
8
8
  export { setActiveSpanInBrowser } from './tracing/setActiveSpan';
@@ -1 +1 @@
1
- {"version":3,"file":"index.bundle.tracing.replay.logs.metrics.d.ts","sourceRoot":"","sources":["../../../src/index.bundle.tracing.replay.logs.metrics.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,uBAAuB,EAAE,MAAM,oCAAoC,CAAC;AAI7E,cAAc,qBAAqB,CAAC;AAGpC,OAAO,EAAE,MAAM,EAAE,yBAAyB,EAAE,MAAM,cAAc,CAAC;AAEjE,OAAO,EACL,aAAa,EACb,WAAW,EACX,kBAAkB,EAClB,cAAc,EACd,iBAAiB,EACjB,aAAa,EACb,SAAS,EACT,eAAe,EACf,cAAc,GACf,MAAM,cAAc,CAAC;AAEtB,OAAO,EACL,yBAAyB,EACzB,iCAAiC,EACjC,+BAA+B,GAChC,MAAM,qCAAqC,CAAC;AAC7C,OAAO,EAAE,wBAAwB,EAAE,MAAM,gCAAgC,CAAC;AAC1E,OAAO,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAC9D,OAAO,EAAE,sBAAsB,EAAE,MAAM,yBAAyB,CAAC;AAEjE,OAAO,EAAE,uBAAuB,IAAI,wBAAwB,EAAE,uBAAuB,IAAI,mBAAmB,EAAE,CAAC;AAE/G,OAAO,EAAE,iBAAiB,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC"}
1
+ {"version":3,"file":"index.bundle.tracing.replay.logs.metrics.d.ts","sourceRoot":"","sources":["../../../src/index.bundle.tracing.replay.logs.metrics.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,uBAAuB,EAAE,MAAM,oCAAoC,CAAC;AAI7E,cAAc,qBAAqB,CAAC;AAGpC,OAAO,EAAE,MAAM,EAAE,yBAAyB,EAAE,MAAM,cAAc,CAAC;AAEjE,OAAO,EACL,aAAa,EACb,WAAW,EACX,kBAAkB,EAClB,cAAc,EACd,iBAAiB,EACjB,aAAa,EACb,SAAS,EACT,eAAe,EACf,cAAc,GACf,MAAM,cAAc,CAAC;AAEtB,OAAO,EACL,yBAAyB,EACzB,cAAc,EACd,iCAAiC,EACjC,+BAA+B,GAChC,MAAM,qCAAqC,CAAC;AAC7C,OAAO,EAAE,wBAAwB,EAAE,MAAM,gCAAgC,CAAC;AAC1E,OAAO,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAC9D,OAAO,EAAE,sBAAsB,EAAE,MAAM,yBAAyB,CAAC;AAEjE,OAAO,EAAE,uBAAuB,IAAI,wBAAwB,EAAE,uBAAuB,IAAI,mBAAmB,EAAE,CAAC;AAE/G,OAAO,EAAE,iBAAiB,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC"}
@@ -5,6 +5,7 @@ export { reportingObserverIntegration } from './integrations/reportingobserver';
5
5
  export { httpClientIntegration } from './integrations/httpclient';
6
6
  export { contextLinesIntegration } from './integrations/contextlines';
7
7
  export { graphqlClientIntegration } from './integrations/graphqlClient';
8
+ export { viewHierarchyIntegration } from './integrations/view-hierarchy';
8
9
  export { captureConsoleIntegration, extraErrorDataIntegration, rewriteFramesIntegration, consoleLoggingIntegration, createConsolaReporter, } from '@sentry/core';
9
10
  export { replayIntegration, getReplay } from '@sentry-internal/replay';
10
11
  export type { ReplayEventType, ReplayEventWithTime, ReplayBreadcrumbFrame, ReplayBreadcrumbFrameEvent, ReplayOptionFrameEvent, ReplayFrame, ReplayFrameEvent, ReplaySpanFrame, ReplaySpanFrameEvent, } from '@sentry-internal/replay';
@@ -12,12 +13,13 @@ export { replayCanvasIntegration } from '@sentry-internal/replay-canvas';
12
13
  export { feedbackAsyncIntegration, feedbackSyncIntegration, feedbackSyncIntegration as feedbackIntegration };
13
14
  export { getFeedback, sendFeedback } from '@sentry-internal/feedback';
14
15
  export { defaultRequestInstrumentationOptions, instrumentOutgoingRequests } from './tracing/request';
15
- export { browserTracingIntegration, startBrowserTracingNavigationSpan, startBrowserTracingPageLoadSpan, } from './tracing/browserTracingIntegration';
16
+ export { browserTracingIntegration, isBotUserAgent, startBrowserTracingNavigationSpan, startBrowserTracingPageLoadSpan, } from './tracing/browserTracingIntegration';
16
17
  export { elementTimingIntegration } from '@sentry-internal/browser-utils';
17
18
  export { reportPageLoaded } from './tracing/reportPageLoaded';
18
19
  export { setActiveSpanInBrowser } from './tracing/setActiveSpan';
20
+ export { spanStreamingIntegration } from './integrations/spanstreaming';
19
21
  export type { RequestInstrumentationOptions } from './tracing/request';
20
- export { registerSpanErrorInstrumentation, getActiveSpan, getRootSpan, startSpan, startInactiveSpan, startSpanManual, withActiveSpan, startNewTrace, getSpanDescendants, setMeasurement, getSpanStatusFromHttpCode, setHttpStatus, makeMultiplexedTransport, MULTIPLEXED_TRANSPORT_EXTRA_KEY, moduleMetadataIntegration, supabaseIntegration, instrumentSupabaseClient, zodErrorsIntegration, thirdPartyErrorFilterIntegration, featureFlagsIntegration, instrumentAnthropicAiClient, instrumentOpenAiClient, instrumentGoogleGenAIClient, instrumentLangGraph, createLangChainCallbackHandler, logger, } from '@sentry/core';
22
+ export { registerSpanErrorInstrumentation, getActiveSpan, getRootSpan, startSpan, startInactiveSpan, startSpanManual, withActiveSpan, startNewTrace, getSpanDescendants, setMeasurement, getSpanStatusFromHttpCode, setHttpStatus, makeMultiplexedTransport, MULTIPLEXED_TRANSPORT_EXTRA_KEY, moduleMetadataIntegration, supabaseIntegration, instrumentSupabaseClient, zodErrorsIntegration, thirdPartyErrorFilterIntegration, featureFlagsIntegration, instrumentAnthropicAiClient, instrumentOpenAiClient, instrumentGoogleGenAIClient, instrumentLangGraph, createLangChainCallbackHandler, instrumentLangChainEmbeddings, logger, } from '@sentry/core';
21
23
  export type { Span, FeatureFlagsIntegration } from '@sentry/core';
22
24
  export { makeBrowserOfflineTransport } from './transports/offline';
23
25
  export { browserProfilingIntegration } from './profiling/integration';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,iBAAiB,CAAC;AAC3D,OAAO,EAAE,uBAAuB,EAAE,MAAM,gBAAgB,CAAC;AAEzD,cAAc,WAAW,CAAC;AAE1B,OAAO,EAAE,4BAA4B,EAAE,MAAM,kCAAkC,CAAC;AAChF,OAAO,EAAE,qBAAqB,EAAE,MAAM,2BAA2B,CAAC;AAClE,OAAO,EAAE,uBAAuB,EAAE,MAAM,6BAA6B,CAAC;AACtE,OAAO,EAAE,wBAAwB,EAAE,MAAM,8BAA8B,CAAC;AAExE,OAAO,EACL,yBAAyB,EACzB,yBAAyB,EACzB,wBAAwB,EACxB,yBAAyB,EACzB,qBAAqB,GACtB,MAAM,cAAc,CAAC;AAEtB,OAAO,EAAE,iBAAiB,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AACvE,YAAY,EACV,eAAe,EACf,mBAAmB,EACnB,qBAAqB,EACrB,0BAA0B,EAC1B,sBAAsB,EACtB,WAAW,EACX,gBAAgB,EAChB,eAAe,EACf,oBAAoB,GACrB,MAAM,yBAAyB,CAAC;AAEjC,OAAO,EAAE,uBAAuB,EAAE,MAAM,gCAAgC,CAAC;AACzE,OAAO,EAAE,wBAAwB,EAAE,uBAAuB,EAA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0CAA0C,CAAC;AACrH,OAAO,EAAE,sBAAsB,EAAE,0BAA0B,EAAE,MAAM,yCAAyC,CAAC;AAC7G,OAAO,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AACzE,OAAO,EAAE,qBAAqB,EAAE,MAAM,wCAAwC,CAAC;AAC/E,OAAO,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AACzE,OAAO,EAAE,uBAAuB,EAAE,MAAM,gBAAgB,CAAC;AACzD,OAAO,EAAE,oBAAoB,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare const spanStreamingIntegration: () => import("@sentry/core").Integration;
2
+ //# sourceMappingURL=spanstreaming.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"spanstreaming.d.ts","sourceRoot":"","sources":["../../../../src/integrations/spanstreaming.ts"],"names":[],"mappings":"AAYA,eAAO,MAAM,wBAAwB,0CA0DX,CAAC"}
@@ -0,0 +1,49 @@
1
+ import type { Event, EventHint } from '@sentry/core';
2
+ interface OnElementArgs {
3
+ /**
4
+ * The element being processed.
5
+ */
6
+ element: HTMLElement;
7
+ /**
8
+ * Lowercase tag name of the element.
9
+ */
10
+ tagName: string;
11
+ /**
12
+ * The component name of the element.
13
+ */
14
+ componentName?: string;
15
+ /**
16
+ * The current depth of the element in the view hierarchy. The root element will have a depth of 0.
17
+ *
18
+ * This allows you to limit the traversal depth for large DOM trees.
19
+ */
20
+ depth?: number;
21
+ }
22
+ interface Options {
23
+ /**
24
+ * Whether to attach the view hierarchy to the event.
25
+ *
26
+ * Default: Always attach.
27
+ */
28
+ shouldAttach?: (event: Event, hint: EventHint) => boolean;
29
+ /**
30
+ * A function that returns the root element to start walking the DOM from.
31
+ *
32
+ * Default: `window.document.body`
33
+ */
34
+ rootElement?: () => HTMLElement | undefined;
35
+ /**
36
+ * Called for each HTMLElement as we walk the DOM.
37
+ *
38
+ * Return an object to include the element with any additional properties.
39
+ * Return `skip` to exclude the element and its children.
40
+ * Return `children` to skip the element but include its children.
41
+ */
42
+ onElement?: (prop: OnElementArgs) => Record<string, string | number | boolean> | 'skip' | 'children';
43
+ }
44
+ /**
45
+ * An integration to include a view hierarchy attachment which contains the DOM.
46
+ */
47
+ export declare const viewHierarchyIntegration: (options?: Options | undefined) => import("@sentry/core").Integration;
48
+ export {};
49
+ //# sourceMappingURL=view-hierarchy.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"view-hierarchy.d.ts","sourceRoot":"","sources":["../../../../src/integrations/view-hierarchy.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAc,KAAK,EAAE,SAAS,EAA0C,MAAM,cAAc,CAAC;AAIzG,UAAU,aAAa;IACrB;;OAEG;IACH,OAAO,EAAE,WAAW,CAAC;IACrB;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,UAAU,OAAO;IACf;;;;OAIG;IACH,YAAY,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,SAAS,KAAK,OAAO,CAAC;IAE1D;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,WAAW,GAAG,SAAS,CAAC;IAE5C;;;;;;OAMG;IACH,SAAS,CAAC,EAAE,CAAC,IAAI,EAAE,aAAa,KAAK,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC,GAAG,MAAM,GAAG,UAAU,CAAC;CACtG;AAED;;GAEG;AACH,eAAO,MAAM,wBAAwB,uEAyFnC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { instrumentLangChainEmbeddings } from '@sentry/core';
2
+ //# sourceMappingURL=index.instrumentlangchainembeddings.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.instrumentlangchainembeddings.d.ts","sourceRoot":"","sources":["../../../../src/integrations-bundle/index.instrumentlangchainembeddings.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,6BAA6B,EAAE,MAAM,cAAc,CAAC"}
@@ -1,5 +1,6 @@
1
1
  import type { Client, RequestHookInfo, ResponseHookInfo, Span, StartSpanOptions } from '@sentry/core';
2
2
  export declare const BROWSER_TRACING_INTEGRATION_ID = "BrowserTracing";
3
+ export declare function isBotUserAgent(): boolean;
3
4
  /** Options for Browser Tracing integration */
4
5
  export interface BrowserTracingOptions {
5
6
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"browserTracingIntegration.d.ts","sourceRoot":"","sources":["../../../../src/tracing/browserTracingIntegration.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,MAAM,EAEN,eAAe,EACf,gBAAgB,EAChB,IAAI,EACJ,gBAAgB,EAEjB,MAAM,cAAc,CAAC;AA6CtB,eAAO,MAAM,8BAA8B,mBAAmB,CAAC;AAuB/D,8CAA8C;AAC9C,MAAM,WAAW,qBAAqB;IACpC;;;;;OAKG;IACH,WAAW,EAAE,MAAM,CAAC;IAEpB;;;;;OAKG;IACH,YAAY,EAAE,MAAM,CAAC;IAErB;;;;;OAKG;IACH,gBAAgB,EAAE,MAAM,CAAC;IAEzB;;;;OAIG;IACH,kBAAkB,EAAE,OAAO,CAAC;IAE5B;;;;OAIG;IACH,oBAAoB,EAAE,OAAO,CAAC;IAE9B;;;;;;OAMG;IACH,kBAAkB,EAAE,OAAO,CAAC;IAE5B;;;;OAIG;IACH,cAAc,EAAE,OAAO,CAAC;IAExB;;;;OAIG;IACH,wBAAwB,EAAE,OAAO,CAAC;IAElC;;;;OAIG;IACH,SAAS,EAAE,OAAO,CAAC;IAEnB;;;OAGG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAE9B;;;;OAIG;IACH,UAAU,EAAE,OAAO,CAAC;IAEpB;;;;OAIG;IACH,QAAQ,EAAE,OAAO,CAAC;IAElB;;;;;OAKG;IACH,2BAA2B,EAAE,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AMG;AACH,wBAAgB,+BAA+B,CAC7C,MAAM,EAAE,MAAM,EACd,WAAW,EAAE,gBAAgB,EAC7B,YAAY,CAAC,EAAE;IAAE,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAAC,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;CAAE,GAChF,IAAI,GAAG,SAAS,CAWlB;AAED;;;GAGG;AACH,wBAAgB,iCAAiC,CAC/C,MAAM,EAAE,MAAM,EACd,WAAW,EAAE,gBAAgB,EAC7B,OAAO,CAAC,EAAE;IAAE,GAAG,CAAC,EAAE,MAAM,CAAC;IAAC,UAAU,CAAC,EAAE,OAAO,CAAA;CAAE,GAC/C,IAAI,GAAG,SAAS,CAoBlB;AAED,sCAAsC;AACtC,wBAAgB,cAAc,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CASnE;AAED,uDAAuD;AACvD,wBAAgB,eAAe,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAIhE"}
1
+ {"version":3,"file":"browserTracingIntegration.d.ts","sourceRoot":"","sources":["../../../../src/tracing/browserTracingIntegration.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,MAAM,EAEN,eAAe,EACf,gBAAgB,EAChB,IAAI,EACJ,gBAAgB,EAEjB,MAAM,cAAc,CAAC;AAiDtB,eAAO,MAAM,8BAA8B,mBAAmB,CAAC;AAU/D,wBAAgB,cAAc,IAAI,OAAO,CAMxC;AAOD,8CAA8C;AAC9C,MAAM,WAAW,qBAAqB;IACpC;;;;;OAKG;IACH,WAAW,EAAE,MAAM,CAAC;IAEpB;;;;;OAKG;IACH,YAAY,EAAE,MAAM,CAAC;IAErB;;;;;OAKG;IACH,gBAAgB,EAAE,MAAM,CAAC;IAEzB;;;;OAIG;IACH,kBAAkB,EAAE,OAAO,CAAC;IAE5B;;;;OAIG;IACH,oBAAoB,EAAE,OAAO,CAAC;IAE9B;;;;;;OAMG;IACH,kBAAkB,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,CAAC;IAEjD;;;;OAIG;IACH,UAAU,EAAE,OAAO,CAAC;IAEpB;;;;OAIG;IACH,QAAQ,EAAE,OAAO,CAAC;IAElB;;;;;;;;OAQG;IACH,2BAA2B,EAAE,OAAO,CAAC;IAErC;;;;OAIG;IACH,iBAAiB,EAAE,OAAO,CAAC;IAE3B;;;;;OAKG;IACH,0BAA0B,CAAC,CAAC,IAAI,EAAE,IAAI,EAAE,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;IAE9D;;OAEG;IACH,kBAAkB,CAAC,CAAC,IAAI,EAAE,IAAI,EAAE,kBAAkB,EAAE,eAAe,GAAG,IAAI,CAAC;IAE3E;;OAEG;IACH,gBAAgB,CAAC,CAAC,IAAI,EAAE,IAAI,EAAE,mBAAmB,EAAE,gBAAgB,GAAG,IAAI,CAAC;CAC5E;AAKD,eAAO,MAAM,oCAAoC,EAAE,6BAKlD,CAAC;AAEF,0DAA0D;AAC1D,wBAAgB,0BAA0B,CAAC,MAAM,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,OAAO,CAAC,6BAA6B,CAAC,GAAG,IAAI,CAyGlH;AAiED;;;GAGG;AACH,wBAAgB,mBAAmB,CACjC,SAAS,EAAE,MAAM,EACjB,uBAAuB,EAAE,CAAC,MAAM,GAAG,MAAM,CAAC,EAAE,GAAG,SAAS,GACvD,OAAO,CAqCT"}
@@ -1,5 +1,5 @@
1
1
  import type { IntegrationFn } from '@sentry/core';
2
- declare const LAZY_LOADABLE_NAMES: readonly ["replayIntegration", "replayCanvasIntegration", "feedbackIntegration", "feedbackModalIntegration", "feedbackScreenshotIntegration", "captureConsoleIntegration", "contextLinesIntegration", "linkedErrorsIntegration", "dedupeIntegration", "extraErrorDataIntegration", "graphqlClientIntegration", "httpClientIntegration", "reportingObserverIntegration", "rewriteFramesIntegration", "browserProfilingIntegration", "moduleMetadataIntegration", "instrumentAnthropicAiClient", "instrumentOpenAiClient", "instrumentGoogleGenAIClient", "instrumentLangGraph", "createLangChainCallbackHandler"];
2
+ declare const LAZY_LOADABLE_NAMES: readonly ["replayIntegration", "replayCanvasIntegration", "feedbackIntegration", "feedbackModalIntegration", "feedbackScreenshotIntegration", "captureConsoleIntegration", "contextLinesIntegration", "linkedErrorsIntegration", "dedupeIntegration", "extraErrorDataIntegration", "graphqlClientIntegration", "httpClientIntegration", "reportingObserverIntegration", "rewriteFramesIntegration", "browserProfilingIntegration", "moduleMetadataIntegration", "instrumentAnthropicAiClient", "instrumentOpenAiClient", "instrumentGoogleGenAIClient", "instrumentLangGraph", "createLangChainCallbackHandler", "instrumentLangChainEmbeddings"];
3
3
  type ElementOf<T extends readonly unknown[]> = T[number];
4
4
  type LazyLoadableIntegrationName = ElementOf<typeof LAZY_LOADABLE_NAMES>;
5
5
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"lazyLoadIntegration.d.ts","sourceRoot":"","sources":["../../../../src/utils/lazyLoadIntegration.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAQlD,QAAA,MAAM,mBAAmB,klBAsBf,CAAC;AAEX,KAAK,SAAS,CAAC,CAAC,SAAS,SAAS,OAAO,EAAE,IAAI,CAAC,CAAC,MAAM,CAAC,CAAC;AACzD,KAAK,2BAA2B,GAAG,SAAS,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAgBzE;;;GAGG;AACH,wBAAsB,mBAAmB,CACvC,IAAI,EAAE,2BAA2B,EACjC,WAAW,CAAC,EAAE,MAAM,GACnB,OAAO,CAAC,aAAa,CAAC,CAwDxB"}
1
+ {"version":3,"file":"lazyLoadIntegration.d.ts","sourceRoot":"","sources":["../../../../src/utils/lazyLoadIntegration.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAQlD,QAAA,MAAM,mBAAmB,mnBAuBf,CAAC;AAEX,KAAK,SAAS,CAAC,CAAC,SAAS,SAAS,OAAO,EAAE,IAAI,CAAC,CAAC,MAAM,CAAC,CAAC;AACzD,KAAK,2BAA2B,GAAG,SAAS,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAgBzE;;;GAGG;AACH,wBAAsB,mBAAmB,CACvC,IAAI,EAAE,2BAA2B,EACjC,WAAW,CAAC,EAAE,MAAM,GACnB,OAAO,CAAC,aAAa,CAAC,CAwDxB"}
@@ -1,6 +1,6 @@
1
1
  export { Breadcrumb, BreadcrumbHint, Context, Contexts, RequestEventData, SdkInfo, Event, EventHint, ErrorEvent, Exception, SeverityLevel, StackFrame, Stacktrace, Thread, User, Session, ReportDialogOptions, CaptureContext, ExclusiveEventHintOrCaptureContext, Log, LogSeverityLevel, } from '@sentry/core';
2
2
  export { BrowserOptions } from './client';
3
- export { addEventProcessor, addBreadcrumb, addIntegration, captureException, captureEvent, captureFeedback, captureMessage, close, createTransport, lastEventId, flush, getClient, isInitialized, isEnabled, getCurrentScope, getIsolationScope, getGlobalScope, setCurrentClient, Scope, continueTrace, getTraceData, suppressTracing, SDK_VERSION, setContext, setExtra, setExtras, setTag, setTags, setUser, setConversationId, withScope, withIsolationScope, functionToStringIntegration, inboundFiltersIntegration, eventFiltersIntegration, dedupeIntegration, parameterize, startSession, captureSession, endSession, spanToJSON, spanToTraceHeader, spanToBaggageHeader, updateSpanName, metrics, } from '@sentry/core';
3
+ export { addEventProcessor, addBreadcrumb, addIntegration, captureException, captureEvent, captureFeedback, captureMessage, close, createTransport, lastEventId, flush, getClient, isInitialized, isEnabled, getCurrentScope, getIsolationScope, getGlobalScope, setCurrentClient, Scope, continueTrace, getTraceData, suppressTracing, SDK_VERSION, setContext, setExtra, setExtras, setTag, setTags, setUser, setConversationId, withScope, withIsolationScope, functionToStringIntegration, inboundFiltersIntegration, eventFiltersIntegration, dedupeIntegration, parameterize, startSession, captureSession, endSession, spanToJSON, spanToTraceHeader, spanToBaggageHeader, updateSpanName, withStreamedSpan, metrics, } from '@sentry/core';
4
4
  export { SEMANTIC_ATTRIBUTE_SENTRY_OP, SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN, SEMANTIC_ATTRIBUTE_SENTRY_SOURCE, SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE, } from '@sentry/core';
5
5
  export { WINDOW } from './helpers';
6
6
  export { BrowserClient } from './client';
@@ -2,7 +2,7 @@ import { consoleLoggingIntegrationShim, elementTimingIntegrationShim, feedbackIn
2
2
  export * from './index.bundle.base';
3
3
  export { consoleLoggingIntegrationShim as consoleLoggingIntegration, loggerShim as logger };
4
4
  export { getActiveSpan, getRootSpan, startSpan, startInactiveSpan, startSpanManual, startNewTrace, withActiveSpan, getSpanDescendants, setMeasurement, } from '@sentry/core';
5
- export { browserTracingIntegration, startBrowserTracingNavigationSpan, startBrowserTracingPageLoadSpan, } from './tracing/browserTracingIntegration';
5
+ export { browserTracingIntegration, isBotUserAgent, startBrowserTracingNavigationSpan, startBrowserTracingPageLoadSpan, } from './tracing/browserTracingIntegration';
6
6
  export { elementTimingIntegrationShim as elementTimingIntegration };
7
7
  export { setActiveSpanInBrowser } from './tracing/setActiveSpan';
8
8
  export { reportPageLoaded } from './tracing/reportPageLoaded';
@@ -2,7 +2,7 @@ import { feedbackIntegrationShim, replayIntegrationShim } from '@sentry-internal
2
2
  export * from './index.bundle.base';
3
3
  export { logger, consoleLoggingIntegration } from '@sentry/core';
4
4
  export { getActiveSpan, getRootSpan, getSpanDescendants, setMeasurement, startInactiveSpan, startNewTrace, startSpan, startSpanManual, withActiveSpan, } from '@sentry/core';
5
- export { browserTracingIntegration, startBrowserTracingNavigationSpan, startBrowserTracingPageLoadSpan, } from './tracing/browserTracingIntegration';
5
+ export { browserTracingIntegration, isBotUserAgent, startBrowserTracingNavigationSpan, startBrowserTracingPageLoadSpan, } from './tracing/browserTracingIntegration';
6
6
  export { elementTimingIntegration } from '@sentry-internal/browser-utils';
7
7
  export { reportPageLoaded } from './tracing/reportPageLoaded';
8
8
  export { setActiveSpanInBrowser } from './tracing/setActiveSpan';
@@ -2,7 +2,7 @@ import { consoleLoggingIntegrationShim, elementTimingIntegrationShim, feedbackIn
2
2
  export * from './index.bundle.base';
3
3
  export { consoleLoggingIntegrationShim as consoleLoggingIntegration, loggerShim as logger };
4
4
  export { getActiveSpan, getRootSpan, startSpan, startInactiveSpan, startSpanManual, startNewTrace, withActiveSpan, getSpanDescendants, setMeasurement, } from '@sentry/core';
5
- export { browserTracingIntegration, startBrowserTracingNavigationSpan, startBrowserTracingPageLoadSpan, } from './tracing/browserTracingIntegration';
5
+ export { browserTracingIntegration, isBotUserAgent, startBrowserTracingNavigationSpan, startBrowserTracingPageLoadSpan, } from './tracing/browserTracingIntegration';
6
6
  export { elementTimingIntegrationShim as elementTimingIntegration };
7
7
  export { reportPageLoaded } from './tracing/reportPageLoaded';
8
8
  export { setActiveSpanInBrowser } from './tracing/setActiveSpan';
@@ -3,7 +3,7 @@ import { feedbackAsyncIntegration } from './feedbackAsync';
3
3
  export * from './index.bundle.base';
4
4
  export { consoleLoggingIntegrationShim as consoleLoggingIntegration, loggerShim as logger };
5
5
  export { getActiveSpan, getRootSpan, startSpan, startInactiveSpan, startSpanManual, startNewTrace, withActiveSpan, getSpanDescendants, setMeasurement, } from '@sentry/core';
6
- export { browserTracingIntegration, startBrowserTracingNavigationSpan, startBrowserTracingPageLoadSpan, } from './tracing/browserTracingIntegration';
6
+ export { browserTracingIntegration, isBotUserAgent, startBrowserTracingNavigationSpan, startBrowserTracingPageLoadSpan, } from './tracing/browserTracingIntegration';
7
7
  export { elementTimingIntegrationShim as elementTimingIntegration };
8
8
  export { setActiveSpanInBrowser } from './tracing/setActiveSpan';
9
9
  export { reportPageLoaded } from './tracing/reportPageLoaded';
@@ -1,7 +1,7 @@
1
1
  import { feedbackAsyncIntegration } from './feedbackAsync';
2
2
  export * from './index.bundle.base';
3
3
  export { getActiveSpan, getRootSpan, getSpanDescendants, setMeasurement, startInactiveSpan, startNewTrace, startSpan, startSpanManual, withActiveSpan, logger, consoleLoggingIntegration, } from '@sentry/core';
4
- export { browserTracingIntegration, startBrowserTracingNavigationSpan, startBrowserTracingPageLoadSpan, } from './tracing/browserTracingIntegration';
4
+ export { browserTracingIntegration, isBotUserAgent, startBrowserTracingNavigationSpan, startBrowserTracingPageLoadSpan, } from './tracing/browserTracingIntegration';
5
5
  export { elementTimingIntegration } from '@sentry-internal/browser-utils';
6
6
  export { reportPageLoaded } from './tracing/reportPageLoaded';
7
7
  export { setActiveSpanInBrowser } from './tracing/setActiveSpan';
@@ -2,7 +2,7 @@ import { feedbackIntegrationShim } from '@sentry-internal/integration-shims';
2
2
  export * from './index.bundle.base';
3
3
  export { logger, consoleLoggingIntegration } from '@sentry/core';
4
4
  export { getActiveSpan, getRootSpan, getSpanDescendants, setMeasurement, startInactiveSpan, startNewTrace, startSpan, startSpanManual, withActiveSpan, } from '@sentry/core';
5
- export { browserTracingIntegration, startBrowserTracingNavigationSpan, startBrowserTracingPageLoadSpan, } from './tracing/browserTracingIntegration';
5
+ export { browserTracingIntegration, isBotUserAgent, startBrowserTracingNavigationSpan, startBrowserTracingPageLoadSpan, } from './tracing/browserTracingIntegration';
6
6
  export { elementTimingIntegration } from '@sentry-internal/browser-utils';
7
7
  export { reportPageLoaded } from './tracing/reportPageLoaded';
8
8
  export { setActiveSpanInBrowser } from './tracing/setActiveSpan';
@@ -5,6 +5,7 @@ export { reportingObserverIntegration } from './integrations/reportingobserver';
5
5
  export { httpClientIntegration } from './integrations/httpclient';
6
6
  export { contextLinesIntegration } from './integrations/contextlines';
7
7
  export { graphqlClientIntegration } from './integrations/graphqlClient';
8
+ export { viewHierarchyIntegration } from './integrations/view-hierarchy';
8
9
  export { captureConsoleIntegration, extraErrorDataIntegration, rewriteFramesIntegration, consoleLoggingIntegration, createConsolaReporter, } from '@sentry/core';
9
10
  export { replayIntegration, getReplay } from '@sentry-internal/replay';
10
11
  export { ReplayEventType, ReplayEventWithTime, ReplayBreadcrumbFrame, ReplayBreadcrumbFrameEvent, ReplayOptionFrameEvent, ReplayFrame, ReplayFrameEvent, ReplaySpanFrame, ReplaySpanFrameEvent, } from '@sentry-internal/replay';
@@ -12,12 +13,13 @@ export { replayCanvasIntegration } from '@sentry-internal/replay-canvas';
12
13
  export { feedbackAsyncIntegration, feedbackSyncIntegration, feedbackSyncIntegration as feedbackIntegration };
13
14
  export { getFeedback, sendFeedback } from '@sentry-internal/feedback';
14
15
  export { defaultRequestInstrumentationOptions, instrumentOutgoingRequests } from './tracing/request';
15
- export { browserTracingIntegration, startBrowserTracingNavigationSpan, startBrowserTracingPageLoadSpan, } from './tracing/browserTracingIntegration';
16
+ export { browserTracingIntegration, isBotUserAgent, startBrowserTracingNavigationSpan, startBrowserTracingPageLoadSpan, } from './tracing/browserTracingIntegration';
16
17
  export { elementTimingIntegration } from '@sentry-internal/browser-utils';
17
18
  export { reportPageLoaded } from './tracing/reportPageLoaded';
18
19
  export { setActiveSpanInBrowser } from './tracing/setActiveSpan';
20
+ export { spanStreamingIntegration } from './integrations/spanstreaming';
19
21
  export { RequestInstrumentationOptions } from './tracing/request';
20
- export { registerSpanErrorInstrumentation, getActiveSpan, getRootSpan, startSpan, startInactiveSpan, startSpanManual, withActiveSpan, startNewTrace, getSpanDescendants, setMeasurement, getSpanStatusFromHttpCode, setHttpStatus, makeMultiplexedTransport, MULTIPLEXED_TRANSPORT_EXTRA_KEY, moduleMetadataIntegration, supabaseIntegration, instrumentSupabaseClient, zodErrorsIntegration, thirdPartyErrorFilterIntegration, featureFlagsIntegration, instrumentAnthropicAiClient, instrumentOpenAiClient, instrumentGoogleGenAIClient, instrumentLangGraph, createLangChainCallbackHandler, logger, } from '@sentry/core';
22
+ export { registerSpanErrorInstrumentation, getActiveSpan, getRootSpan, startSpan, startInactiveSpan, startSpanManual, withActiveSpan, startNewTrace, getSpanDescendants, setMeasurement, getSpanStatusFromHttpCode, setHttpStatus, makeMultiplexedTransport, MULTIPLEXED_TRANSPORT_EXTRA_KEY, moduleMetadataIntegration, supabaseIntegration, instrumentSupabaseClient, zodErrorsIntegration, thirdPartyErrorFilterIntegration, featureFlagsIntegration, instrumentAnthropicAiClient, instrumentOpenAiClient, instrumentGoogleGenAIClient, instrumentLangGraph, createLangChainCallbackHandler, instrumentLangChainEmbeddings, logger, } from '@sentry/core';
21
23
  export { Span, FeatureFlagsIntegration } from '@sentry/core';
22
24
  export { makeBrowserOfflineTransport } from './transports/offline';
23
25
  export { browserProfilingIntegration } from './profiling/integration';
@@ -0,0 +1,2 @@
1
+ export declare const spanStreamingIntegration: () => import("@sentry/core").Integration;
2
+ //# sourceMappingURL=spanstreaming.d.ts.map
@@ -0,0 +1,49 @@
1
+ import { Event, EventHint } from '@sentry/core';
2
+ interface OnElementArgs {
3
+ /**
4
+ * The element being processed.
5
+ */
6
+ element: HTMLElement;
7
+ /**
8
+ * Lowercase tag name of the element.
9
+ */
10
+ tagName: string;
11
+ /**
12
+ * The component name of the element.
13
+ */
14
+ componentName?: string;
15
+ /**
16
+ * The current depth of the element in the view hierarchy. The root element will have a depth of 0.
17
+ *
18
+ * This allows you to limit the traversal depth for large DOM trees.
19
+ */
20
+ depth?: number;
21
+ }
22
+ interface Options {
23
+ /**
24
+ * Whether to attach the view hierarchy to the event.
25
+ *
26
+ * Default: Always attach.
27
+ */
28
+ shouldAttach?: (event: Event, hint: EventHint) => boolean;
29
+ /**
30
+ * A function that returns the root element to start walking the DOM from.
31
+ *
32
+ * Default: `window.document.body`
33
+ */
34
+ rootElement?: () => HTMLElement | undefined;
35
+ /**
36
+ * Called for each HTMLElement as we walk the DOM.
37
+ *
38
+ * Return an object to include the element with any additional properties.
39
+ * Return `skip` to exclude the element and its children.
40
+ * Return `children` to skip the element but include its children.
41
+ */
42
+ onElement?: (prop: OnElementArgs) => Record<string, string | number | boolean> | 'skip' | 'children';
43
+ }
44
+ /**
45
+ * An integration to include a view hierarchy attachment which contains the DOM.
46
+ */
47
+ export declare const viewHierarchyIntegration: (options?: Options | undefined) => import("@sentry/core").Integration;
48
+ export {};
49
+ //# sourceMappingURL=view-hierarchy.d.ts.map
@@ -0,0 +1,2 @@
1
+ export { instrumentLangChainEmbeddings } from '@sentry/core';
2
+ //# sourceMappingURL=index.instrumentlangchainembeddings.d.ts.map
@@ -1,5 +1,6 @@
1
1
  import { Client, RequestHookInfo, ResponseHookInfo, Span, StartSpanOptions } from '@sentry/core';
2
2
  export declare const BROWSER_TRACING_INTEGRATION_ID = "BrowserTracing";
3
+ export declare function isBotUserAgent(): boolean;
3
4
  /** Options for Browser Tracing integration */
4
5
  export interface BrowserTracingOptions {
5
6
  /**
@@ -20,7 +20,8 @@ declare const LAZY_LOADABLE_NAMES: readonly [
20
20
  "instrumentOpenAiClient",
21
21
  "instrumentGoogleGenAIClient",
22
22
  "instrumentLangGraph",
23
- "createLangChainCallbackHandler"
23
+ "createLangChainCallbackHandler",
24
+ "instrumentLangChainEmbeddings"
24
25
  ];
25
26
  type ElementOf<T extends readonly unknown[]> = T[number];
26
27
  type LazyLoadableIntegrationName = ElementOf<typeof LAZY_LOADABLE_NAMES>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentry/browser",
3
- "version": "10.47.0",
3
+ "version": "10.49.0",
4
4
  "description": "Official Sentry SDK for browsers",
5
5
  "repository": "git://github.com/getsentry/sentry-javascript.git",
6
6
  "homepage": "https://github.com/getsentry/sentry-javascript/tree/master/packages/browser",
@@ -44,14 +44,14 @@
44
44
  "access": "public"
45
45
  },
46
46
  "dependencies": {
47
- "@sentry-internal/browser-utils": "10.47.0",
48
- "@sentry-internal/feedback": "10.47.0",
49
- "@sentry-internal/replay": "10.47.0",
50
- "@sentry-internal/replay-canvas": "10.47.0",
51
- "@sentry/core": "10.47.0"
47
+ "@sentry-internal/browser-utils": "10.49.0",
48
+ "@sentry-internal/feedback": "10.49.0",
49
+ "@sentry-internal/replay": "10.49.0",
50
+ "@sentry-internal/replay-canvas": "10.49.0",
51
+ "@sentry/core": "10.49.0"
52
52
  },
53
53
  "devDependencies": {
54
- "@sentry-internal/integration-shims": "10.47.0",
54
+ "@sentry-internal/integration-shims": "10.49.0",
55
55
  "fake-indexeddb": "^6.2.4"
56
56
  },
57
57
  "scripts": {