@sentry/browser 10.45.0 → 10.47.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 (113) hide show
  1. package/build/npm/cjs/dev/eventbuilder.js +1 -10
  2. package/build/npm/cjs/dev/eventbuilder.js.map +1 -1
  3. package/build/npm/cjs/dev/index.js +2 -0
  4. package/build/npm/cjs/dev/index.js.map +1 -1
  5. package/build/npm/cjs/dev/integrations/breadcrumbs.js +1 -11
  6. package/build/npm/cjs/dev/integrations/breadcrumbs.js.map +1 -1
  7. package/build/npm/cjs/dev/integrations/browserapierrors.js +5 -33
  8. package/build/npm/cjs/dev/integrations/browserapierrors.js.map +1 -1
  9. package/build/npm/cjs/dev/integrations/globalhandlers.js +4 -9
  10. package/build/npm/cjs/dev/integrations/globalhandlers.js.map +1 -1
  11. package/build/npm/cjs/dev/tracing/browserTracingIntegration.js +9 -6
  12. package/build/npm/cjs/dev/tracing/browserTracingIntegration.js.map +1 -1
  13. package/build/npm/cjs/dev/utils/detectBrowserExtension.js +2 -2
  14. package/build/npm/cjs/dev/utils/detectBrowserExtension.js.map +1 -1
  15. package/build/npm/cjs/dev/utils/lazyLoadIntegration.js +34 -22
  16. package/build/npm/cjs/dev/utils/lazyLoadIntegration.js.map +1 -1
  17. package/build/npm/cjs/prod/eventbuilder.js +1 -10
  18. package/build/npm/cjs/prod/eventbuilder.js.map +1 -1
  19. package/build/npm/cjs/prod/index.js +2 -0
  20. package/build/npm/cjs/prod/index.js.map +1 -1
  21. package/build/npm/cjs/prod/integrations/breadcrumbs.js +1 -11
  22. package/build/npm/cjs/prod/integrations/breadcrumbs.js.map +1 -1
  23. package/build/npm/cjs/prod/integrations/browserapierrors.js +5 -33
  24. package/build/npm/cjs/prod/integrations/browserapierrors.js.map +1 -1
  25. package/build/npm/cjs/prod/integrations/globalhandlers.js +4 -9
  26. package/build/npm/cjs/prod/integrations/globalhandlers.js.map +1 -1
  27. package/build/npm/cjs/prod/tracing/browserTracingIntegration.js +9 -6
  28. package/build/npm/cjs/prod/tracing/browserTracingIntegration.js.map +1 -1
  29. package/build/npm/cjs/prod/utils/detectBrowserExtension.js +2 -2
  30. package/build/npm/cjs/prod/utils/detectBrowserExtension.js.map +1 -1
  31. package/build/npm/cjs/prod/utils/lazyLoadIntegration.js +34 -22
  32. package/build/npm/cjs/prod/utils/lazyLoadIntegration.js.map +1 -1
  33. package/build/npm/esm/dev/eventbuilder.js +1 -10
  34. package/build/npm/esm/dev/eventbuilder.js.map +1 -1
  35. package/build/npm/esm/dev/index.js +1 -0
  36. package/build/npm/esm/dev/index.js.map +1 -1
  37. package/build/npm/esm/dev/integrations/breadcrumbs.js +1 -11
  38. package/build/npm/esm/dev/integrations/breadcrumbs.js.map +1 -1
  39. package/build/npm/esm/dev/integrations/browserapierrors.js +5 -33
  40. package/build/npm/esm/dev/integrations/browserapierrors.js.map +1 -1
  41. package/build/npm/esm/dev/integrations/globalhandlers.js +5 -10
  42. package/build/npm/esm/dev/integrations/globalhandlers.js.map +1 -1
  43. package/build/npm/esm/dev/package.json +1 -1
  44. package/build/npm/esm/dev/tracing/browserTracingIntegration.js +11 -8
  45. package/build/npm/esm/dev/tracing/browserTracingIntegration.js.map +1 -1
  46. package/build/npm/esm/dev/utils/detectBrowserExtension.js +2 -2
  47. package/build/npm/esm/dev/utils/detectBrowserExtension.js.map +1 -1
  48. package/build/npm/esm/dev/utils/lazyLoadIntegration.js +34 -22
  49. package/build/npm/esm/dev/utils/lazyLoadIntegration.js.map +1 -1
  50. package/build/npm/esm/prod/eventbuilder.js +1 -10
  51. package/build/npm/esm/prod/eventbuilder.js.map +1 -1
  52. package/build/npm/esm/prod/index.js +1 -0
  53. package/build/npm/esm/prod/index.js.map +1 -1
  54. package/build/npm/esm/prod/integrations/breadcrumbs.js +1 -11
  55. package/build/npm/esm/prod/integrations/breadcrumbs.js.map +1 -1
  56. package/build/npm/esm/prod/integrations/browserapierrors.js +5 -33
  57. package/build/npm/esm/prod/integrations/browserapierrors.js.map +1 -1
  58. package/build/npm/esm/prod/integrations/globalhandlers.js +5 -10
  59. package/build/npm/esm/prod/integrations/globalhandlers.js.map +1 -1
  60. package/build/npm/esm/prod/package.json +1 -1
  61. package/build/npm/esm/prod/tracing/browserTracingIntegration.js +11 -8
  62. package/build/npm/esm/prod/tracing/browserTracingIntegration.js.map +1 -1
  63. package/build/npm/esm/prod/utils/detectBrowserExtension.js +2 -2
  64. package/build/npm/esm/prod/utils/detectBrowserExtension.js.map +1 -1
  65. package/build/npm/esm/prod/utils/lazyLoadIntegration.js +34 -22
  66. package/build/npm/esm/prod/utils/lazyLoadIntegration.js.map +1 -1
  67. package/build/npm/types/index.bundle.d.ts +2 -2
  68. package/build/npm/types/index.bundle.d.ts.map +1 -1
  69. package/build/npm/types/index.bundle.feedback.d.ts +2 -2
  70. package/build/npm/types/index.bundle.feedback.d.ts.map +1 -1
  71. package/build/npm/types/index.bundle.logs.metrics.d.ts +1 -0
  72. package/build/npm/types/index.bundle.logs.metrics.d.ts.map +1 -1
  73. package/build/npm/types/index.bundle.replay.d.ts +2 -2
  74. package/build/npm/types/index.bundle.replay.d.ts.map +1 -1
  75. package/build/npm/types/index.bundle.replay.feedback.d.ts +2 -2
  76. package/build/npm/types/index.bundle.replay.feedback.d.ts.map +1 -1
  77. package/build/npm/types/index.bundle.replay.logs.metrics.d.ts +1 -0
  78. package/build/npm/types/index.bundle.replay.logs.metrics.d.ts.map +1 -1
  79. package/build/npm/types/index.bundle.tracing.d.ts +2 -1
  80. package/build/npm/types/index.bundle.tracing.d.ts.map +1 -1
  81. package/build/npm/types/index.bundle.tracing.logs.metrics.d.ts +1 -0
  82. package/build/npm/types/index.bundle.tracing.logs.metrics.d.ts.map +1 -1
  83. package/build/npm/types/index.bundle.tracing.replay.d.ts +2 -1
  84. package/build/npm/types/index.bundle.tracing.replay.d.ts.map +1 -1
  85. package/build/npm/types/index.bundle.tracing.replay.feedback.d.ts +2 -1
  86. package/build/npm/types/index.bundle.tracing.replay.feedback.d.ts.map +1 -1
  87. package/build/npm/types/index.bundle.tracing.replay.feedback.logs.metrics.d.ts +1 -0
  88. package/build/npm/types/index.bundle.tracing.replay.feedback.logs.metrics.d.ts.map +1 -1
  89. package/build/npm/types/index.bundle.tracing.replay.logs.metrics.d.ts +1 -0
  90. package/build/npm/types/index.bundle.tracing.replay.logs.metrics.d.ts.map +1 -1
  91. package/build/npm/types/index.d.ts +1 -0
  92. package/build/npm/types/index.d.ts.map +1 -1
  93. package/build/npm/types/integrations/browserapierrors.d.ts.map +1 -1
  94. package/build/npm/types/tracing/browserTracingIntegration.d.ts +3 -5
  95. package/build/npm/types/tracing/browserTracingIntegration.d.ts.map +1 -1
  96. package/build/npm/types/utils/lazyLoadIntegration.d.ts +4 -24
  97. package/build/npm/types/utils/lazyLoadIntegration.d.ts.map +1 -1
  98. package/build/npm/types-ts3.8/index.bundle.d.ts +2 -2
  99. package/build/npm/types-ts3.8/index.bundle.feedback.d.ts +2 -2
  100. package/build/npm/types-ts3.8/index.bundle.logs.metrics.d.ts +1 -0
  101. package/build/npm/types-ts3.8/index.bundle.replay.d.ts +2 -2
  102. package/build/npm/types-ts3.8/index.bundle.replay.feedback.d.ts +2 -2
  103. package/build/npm/types-ts3.8/index.bundle.replay.logs.metrics.d.ts +1 -0
  104. package/build/npm/types-ts3.8/index.bundle.tracing.d.ts +2 -1
  105. package/build/npm/types-ts3.8/index.bundle.tracing.logs.metrics.d.ts +1 -0
  106. package/build/npm/types-ts3.8/index.bundle.tracing.replay.d.ts +2 -1
  107. package/build/npm/types-ts3.8/index.bundle.tracing.replay.feedback.d.ts +2 -1
  108. package/build/npm/types-ts3.8/index.bundle.tracing.replay.feedback.logs.metrics.d.ts +1 -0
  109. package/build/npm/types-ts3.8/index.bundle.tracing.replay.logs.metrics.d.ts +1 -0
  110. package/build/npm/types-ts3.8/index.d.ts +1 -0
  111. package/build/npm/types-ts3.8/tracing/browserTracingIntegration.d.ts +3 -5
  112. package/build/npm/types-ts3.8/utils/lazyLoadIntegration.d.ts +26 -24
  113. package/package.json +7 -7
@@ -13,6 +13,7 @@ export { feedbackAsyncIntegration, feedbackSyncIntegration, feedbackSyncIntegrat
13
13
  export { getFeedback, sendFeedback } from '@sentry-internal/feedback';
14
14
  export { defaultRequestInstrumentationOptions, instrumentOutgoingRequests } from './tracing/request';
15
15
  export { browserTracingIntegration, startBrowserTracingNavigationSpan, startBrowserTracingPageLoadSpan, } from './tracing/browserTracingIntegration';
16
+ export { elementTimingIntegration } from '@sentry-internal/browser-utils';
16
17
  export { reportPageLoaded } from './tracing/reportPageLoaded';
17
18
  export { setActiveSpanInBrowser } from './tracing/setActiveSpan';
18
19
  export type { RequestInstrumentationOptions } from './tracing/request';
@@ -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,E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BAAkB,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"}
@@ -1 +1 @@
1
- {"version":3,"file":"browserapierrors.d.ts","sourceRoot":"","sources":["../../../../src/integrations/browserapierrors.ts"],"names":[],"mappings":"AA0CA,UAAU,uBAAuB;IAC/B,UAAU,EAAE,OAAO,CAAC;IACpB,WAAW,EAAE,OAAO,CAAC;IACrB,qBAAqB,EAAE,OAAO,CAAC;IAC/B,cAAc,EAAE,OAAO,CAAC;IACxB,WAAW,EAAE,OAAO,GAAG,MAAM,EAAE,CAAC;IAEhC;;;;;;OAMG;IACH,2BAA2B,EAAE,OAAO,CAAC;CACtC;AA2CD;;GAEG;AACH,eAAO,MAAM,2BAA2B,gGAAkD,CAAC"}
1
+ {"version":3,"file":"browserapierrors.d.ts","sourceRoot":"","sources":["../../../../src/integrations/browserapierrors.ts"],"names":[],"mappings":"AAcA,UAAU,uBAAuB;IAC/B,UAAU,EAAE,OAAO,CAAC;IACpB,WAAW,EAAE,OAAO,CAAC;IACrB,qBAAqB,EAAE,OAAO,CAAC;IAC/B,cAAc,EAAE,OAAO,CAAC;IACxB,WAAW,EAAE,OAAO,GAAG,MAAM,EAAE,CAAC;IAEhC;;;;;;OAMG;IACH,2BAA2B,EAAE,OAAO,CAAC;CACtC;AA2CD;;GAEG;AACH,eAAO,MAAM,2BAA2B,gGAAkD,CAAC"}
@@ -62,12 +62,10 @@ export interface BrowserTracingOptions {
62
62
  */
63
63
  enableInp: boolean;
64
64
  /**
65
- * If true, Sentry will capture [element timing](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceElementTiming)
66
- * information and add it to the corresponding transaction.
67
- *
68
- * Default: true
65
+ * @deprecated This option is no longer used. Element timing is now tracked via the standalone
66
+ * `elementTimingIntegration`. Add it to your `integrations` array to collect element timing metrics.
69
67
  */
70
- enableElementTiming: boolean;
68
+ enableElementTiming?: boolean;
71
69
  /**
72
70
  * Flag to disable patching all together for fetch requests.
73
71
  *
@@ -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;;;;;OAKG;IACH,mBAAmB,EAAE,OAAO,CAAC;IAE7B;;;;OAIG;IACH,UAAU,EAAE,OAAO,CAAC;IAEpB;;;;OAIG;IACH,QAAQ,EAAE,OAAO,CAAC;IAElB;;;;;OAKG;IACH,2BAA2B,EAAE,OAAO,CAAC;IAErC;;;;OAIG;IACH,iBAAiB,EAAE,OAAO,CAAC;IAE3B;;;;OAIG;IACH,mBAAmB,EAAE,KAAK,CAAC,gBAAgB,GAAG,cAAc,GAAG,cAAc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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;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,m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mBAAmB,EAAE,gBAAgB,GAAG,IAAI,CAAC;CAC5E;AAoBD;;;;;;;;GAQG;AACH,eAAO,MAAM,yBAAyB,aAAc,OAAO,CAAC,qBAAqB,CAAC;;;;CAgYxD,CAAC;AAE3B;;;;;;GAMG;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,31 +1,11 @@
1
1
  import type { IntegrationFn } from '@sentry/core';
2
- declare const LazyLoadableIntegrations: {
3
- readonly replayIntegration: "replay";
4
- readonly replayCanvasIntegration: "replay-canvas";
5
- readonly feedbackIntegration: "feedback";
6
- readonly feedbackModalIntegration: "feedback-modal";
7
- readonly feedbackScreenshotIntegration: "feedback-screenshot";
8
- readonly captureConsoleIntegration: "captureconsole";
9
- readonly contextLinesIntegration: "contextlines";
10
- readonly linkedErrorsIntegration: "linkederrors";
11
- readonly dedupeIntegration: "dedupe";
12
- readonly extraErrorDataIntegration: "extraerrordata";
13
- readonly graphqlClientIntegration: "graphqlclient";
14
- readonly httpClientIntegration: "httpclient";
15
- readonly reportingObserverIntegration: "reportingobserver";
16
- readonly rewriteFramesIntegration: "rewriteframes";
17
- readonly browserProfilingIntegration: "browserprofiling";
18
- readonly moduleMetadataIntegration: "modulemetadata";
19
- readonly instrumentAnthropicAiClient: "instrumentanthropicaiclient";
20
- readonly instrumentOpenAiClient: "instrumentopenaiclient";
21
- readonly instrumentGoogleGenAIClient: "instrumentgooglegenaiclient";
22
- readonly instrumentLangGraph: "instrumentlanggraph";
23
- readonly createLangChainCallbackHandler: "createlangchaincallbackhandler";
24
- };
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"];
3
+ type ElementOf<T extends readonly unknown[]> = T[number];
4
+ type LazyLoadableIntegrationName = ElementOf<typeof LAZY_LOADABLE_NAMES>;
25
5
  /**
26
6
  * Lazy load an integration from the CDN.
27
7
  * Rejects if the integration cannot be loaded.
28
8
  */
29
- export declare function lazyLoadIntegration(name: keyof typeof LazyLoadableIntegrations, scriptNonce?: string): Promise<IntegrationFn>;
9
+ export declare function lazyLoadIntegration(name: LazyLoadableIntegrationName, scriptNonce?: string): Promise<IntegrationFn>;
30
10
  export {};
31
11
  //# sourceMappingURL=lazyLoadIntegration.d.ts.map
@@ -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;AAMlD,QAAA,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;CAsBpB,CAAC;AAMX;;;GAGG;AACH,wBAAsB,mBAAmB,CACvC,IAAI,EAAE,MAAM,OAAO,wBAAwB,EAC3C,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,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,5 +1,5 @@
1
- import { browserTracingIntegrationShim, consoleLoggingIntegrationShim, feedbackIntegrationShim, loggerShim, replayIntegrationShim } from '@sentry-internal/integration-shims';
1
+ import { browserTracingIntegrationShim, consoleLoggingIntegrationShim, elementTimingIntegrationShim, feedbackIntegrationShim, loggerShim, replayIntegrationShim } from '@sentry-internal/integration-shims';
2
2
  export * from './index.bundle.base';
3
3
  export { consoleLoggingIntegrationShim as consoleLoggingIntegration, loggerShim as logger };
4
- export { browserTracingIntegrationShim as browserTracingIntegration, feedbackIntegrationShim as feedbackAsyncIntegration, feedbackIntegrationShim as feedbackIntegration, replayIntegrationShim as replayIntegration, };
4
+ export { browserTracingIntegrationShim as browserTracingIntegration, elementTimingIntegrationShim as elementTimingIntegration, feedbackIntegrationShim as feedbackAsyncIntegration, feedbackIntegrationShim as feedbackIntegration, replayIntegrationShim as replayIntegration, };
5
5
  //# sourceMappingURL=index.bundle.d.ts.map
@@ -1,7 +1,7 @@
1
- import { browserTracingIntegrationShim, consoleLoggingIntegrationShim, loggerShim, replayIntegrationShim } from '@sentry-internal/integration-shims';
1
+ import { browserTracingIntegrationShim, consoleLoggingIntegrationShim, elementTimingIntegrationShim, loggerShim, replayIntegrationShim } from '@sentry-internal/integration-shims';
2
2
  import { feedbackAsyncIntegration } from './feedbackAsync';
3
3
  export * from './index.bundle.base';
4
4
  export { consoleLoggingIntegrationShim as consoleLoggingIntegration, loggerShim as logger };
5
5
  export { getFeedback, sendFeedback } from '@sentry-internal/feedback';
6
- export { browserTracingIntegrationShim as browserTracingIntegration, feedbackAsyncIntegration as feedbackAsyncIntegration, feedbackAsyncIntegration as feedbackIntegration, replayIntegrationShim as replayIntegration, };
6
+ export { browserTracingIntegrationShim as browserTracingIntegration, elementTimingIntegrationShim as elementTimingIntegration, feedbackAsyncIntegration as feedbackAsyncIntegration, feedbackAsyncIntegration as feedbackIntegration, replayIntegrationShim as replayIntegration, };
7
7
  //# sourceMappingURL=index.bundle.feedback.d.ts.map
@@ -1,5 +1,6 @@
1
1
  import { browserTracingIntegrationShim, feedbackIntegrationShim, replayIntegrationShim } from '@sentry-internal/integration-shims';
2
2
  export * from './index.bundle.base';
3
3
  export { logger, consoleLoggingIntegration } from '@sentry/core';
4
+ export { elementTimingIntegration } from '@sentry-internal/browser-utils';
4
5
  export { browserTracingIntegrationShim as browserTracingIntegration, feedbackIntegrationShim as feedbackAsyncIntegration, feedbackIntegrationShim as feedbackIntegration, replayIntegrationShim as replayIntegration, };
5
6
  //# sourceMappingURL=index.bundle.logs.metrics.d.ts.map
@@ -1,6 +1,6 @@
1
- import { browserTracingIntegrationShim, consoleLoggingIntegrationShim, feedbackIntegrationShim, loggerShim } from '@sentry-internal/integration-shims';
1
+ import { browserTracingIntegrationShim, consoleLoggingIntegrationShim, elementTimingIntegrationShim, feedbackIntegrationShim, loggerShim } from '@sentry-internal/integration-shims';
2
2
  export * from './index.bundle.base';
3
3
  export { consoleLoggingIntegrationShim as consoleLoggingIntegration, loggerShim as logger };
4
4
  export { replayIntegration, getReplay } from '@sentry-internal/replay';
5
- export { browserTracingIntegrationShim as browserTracingIntegration, feedbackIntegrationShim as feedbackAsyncIntegration, feedbackIntegrationShim as feedbackIntegration, };
5
+ export { browserTracingIntegrationShim as browserTracingIntegration, elementTimingIntegrationShim as elementTimingIntegration, feedbackIntegrationShim as feedbackAsyncIntegration, feedbackIntegrationShim as feedbackIntegration, };
6
6
  //# sourceMappingURL=index.bundle.replay.d.ts.map
@@ -1,8 +1,8 @@
1
- import { browserTracingIntegrationShim, consoleLoggingIntegrationShim, loggerShim } from '@sentry-internal/integration-shims';
1
+ import { browserTracingIntegrationShim, consoleLoggingIntegrationShim, elementTimingIntegrationShim, loggerShim } from '@sentry-internal/integration-shims';
2
2
  import { feedbackAsyncIntegration } from './feedbackAsync';
3
3
  export * from './index.bundle.base';
4
4
  export { consoleLoggingIntegrationShim as consoleLoggingIntegration, loggerShim as logger };
5
5
  export { getFeedback, sendFeedback } from '@sentry-internal/feedback';
6
- export { browserTracingIntegrationShim as browserTracingIntegration, feedbackAsyncIntegration as feedbackAsyncIntegration, feedbackAsyncIntegration as feedbackIntegration, };
6
+ export { browserTracingIntegrationShim as browserTracingIntegration, elementTimingIntegrationShim as elementTimingIntegration, feedbackAsyncIntegration as feedbackAsyncIntegration, feedbackAsyncIntegration as feedbackIntegration, };
7
7
  export { replayIntegration, getReplay } from '@sentry-internal/replay';
8
8
  //# sourceMappingURL=index.bundle.replay.feedback.d.ts.map
@@ -2,5 +2,6 @@ import { browserTracingIntegrationShim, feedbackIntegrationShim } from '@sentry-
2
2
  export * from './index.bundle.base';
3
3
  export { logger, consoleLoggingIntegration } from '@sentry/core';
4
4
  export { replayIntegration, getReplay } from '@sentry-internal/replay';
5
+ export { elementTimingIntegration } from '@sentry-internal/browser-utils';
5
6
  export { browserTracingIntegrationShim as browserTracingIntegration, feedbackIntegrationShim as feedbackAsyncIntegration, feedbackIntegrationShim as feedbackIntegration, };
6
7
  //# sourceMappingURL=index.bundle.replay.logs.metrics.d.ts.map
@@ -1,8 +1,9 @@
1
- import { consoleLoggingIntegrationShim, feedbackIntegrationShim, loggerShim, replayIntegrationShim } from '@sentry-internal/integration-shims';
1
+ import { consoleLoggingIntegrationShim, elementTimingIntegrationShim, feedbackIntegrationShim, loggerShim, replayIntegrationShim } from '@sentry-internal/integration-shims';
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
5
  export { browserTracingIntegration, startBrowserTracingNavigationSpan, startBrowserTracingPageLoadSpan, } from './tracing/browserTracingIntegration';
6
+ export { elementTimingIntegrationShim as elementTimingIntegration };
6
7
  export { setActiveSpanInBrowser } from './tracing/setActiveSpan';
7
8
  export { reportPageLoaded } from './tracing/reportPageLoaded';
8
9
  export { feedbackIntegrationShim as feedbackAsyncIntegration, feedbackIntegrationShim as feedbackIntegration, replayIntegrationShim as replayIntegration, };
@@ -3,6 +3,7 @@ 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
5
  export { browserTracingIntegration, startBrowserTracingNavigationSpan, startBrowserTracingPageLoadSpan, } from './tracing/browserTracingIntegration';
6
+ export { elementTimingIntegration } from '@sentry-internal/browser-utils';
6
7
  export { reportPageLoaded } from './tracing/reportPageLoaded';
7
8
  export { setActiveSpanInBrowser } from './tracing/setActiveSpan';
8
9
  export { feedbackIntegrationShim as feedbackAsyncIntegration, feedbackIntegrationShim as feedbackIntegration, replayIntegrationShim as replayIntegration, };
@@ -1,8 +1,9 @@
1
- import { consoleLoggingIntegrationShim, feedbackIntegrationShim, loggerShim } from '@sentry-internal/integration-shims';
1
+ import { consoleLoggingIntegrationShim, elementTimingIntegrationShim, feedbackIntegrationShim, loggerShim } from '@sentry-internal/integration-shims';
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
5
  export { browserTracingIntegration, startBrowserTracingNavigationSpan, startBrowserTracingPageLoadSpan, } from './tracing/browserTracingIntegration';
6
+ export { elementTimingIntegrationShim as elementTimingIntegration };
6
7
  export { reportPageLoaded } from './tracing/reportPageLoaded';
7
8
  export { setActiveSpanInBrowser } from './tracing/setActiveSpan';
8
9
  export { feedbackIntegrationShim as feedbackAsyncIntegration, feedbackIntegrationShim as feedbackIntegration };
@@ -1,9 +1,10 @@
1
- import { consoleLoggingIntegrationShim, loggerShim } from '@sentry-internal/integration-shims';
1
+ import { consoleLoggingIntegrationShim, elementTimingIntegrationShim, loggerShim } from '@sentry-internal/integration-shims';
2
2
  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
6
  export { browserTracingIntegration, startBrowserTracingNavigationSpan, startBrowserTracingPageLoadSpan, } from './tracing/browserTracingIntegration';
7
+ export { elementTimingIntegrationShim as elementTimingIntegration };
7
8
  export { setActiveSpanInBrowser } from './tracing/setActiveSpan';
8
9
  export { reportPageLoaded } from './tracing/reportPageLoaded';
9
10
  export { getFeedback, sendFeedback } from '@sentry-internal/feedback';
@@ -2,6 +2,7 @@ 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
4
  export { browserTracingIntegration, startBrowserTracingNavigationSpan, startBrowserTracingPageLoadSpan, } from './tracing/browserTracingIntegration';
5
+ export { elementTimingIntegration } from '@sentry-internal/browser-utils';
5
6
  export { reportPageLoaded } from './tracing/reportPageLoaded';
6
7
  export { setActiveSpanInBrowser } from './tracing/setActiveSpan';
7
8
  export { getFeedback, sendFeedback } from '@sentry-internal/feedback';
@@ -3,6 +3,7 @@ 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
5
  export { browserTracingIntegration, startBrowserTracingNavigationSpan, startBrowserTracingPageLoadSpan, } from './tracing/browserTracingIntegration';
6
+ export { elementTimingIntegration } from '@sentry-internal/browser-utils';
6
7
  export { reportPageLoaded } from './tracing/reportPageLoaded';
7
8
  export { setActiveSpanInBrowser } from './tracing/setActiveSpan';
8
9
  export { feedbackIntegrationShim as feedbackAsyncIntegration, feedbackIntegrationShim as feedbackIntegration };
@@ -13,6 +13,7 @@ export { feedbackAsyncIntegration, feedbackSyncIntegration, feedbackSyncIntegrat
13
13
  export { getFeedback, sendFeedback } from '@sentry-internal/feedback';
14
14
  export { defaultRequestInstrumentationOptions, instrumentOutgoingRequests } from './tracing/request';
15
15
  export { browserTracingIntegration, startBrowserTracingNavigationSpan, startBrowserTracingPageLoadSpan, } from './tracing/browserTracingIntegration';
16
+ export { elementTimingIntegration } from '@sentry-internal/browser-utils';
16
17
  export { reportPageLoaded } from './tracing/reportPageLoaded';
17
18
  export { setActiveSpanInBrowser } from './tracing/setActiveSpan';
18
19
  export { RequestInstrumentationOptions } from './tracing/request';
@@ -62,12 +62,10 @@ export interface BrowserTracingOptions {
62
62
  */
63
63
  enableInp: boolean;
64
64
  /**
65
- * If true, Sentry will capture [element timing](https://developer.mozilla.org/en-US/docs/Web/API/PerformanceElementTiming)
66
- * information and add it to the corresponding transaction.
67
- *
68
- * Default: true
65
+ * @deprecated This option is no longer used. Element timing is now tracked via the standalone
66
+ * `elementTimingIntegration`. Add it to your `integrations` array to collect element timing metrics.
69
67
  */
70
- enableElementTiming: boolean;
68
+ enableElementTiming?: boolean;
71
69
  /**
72
70
  * Flag to disable patching all together for fetch requests.
73
71
  *
@@ -1,31 +1,33 @@
1
1
  import { IntegrationFn } from '@sentry/core';
2
- declare const LazyLoadableIntegrations: {
3
- readonly replayIntegration: "replay";
4
- readonly replayCanvasIntegration: "replay-canvas";
5
- readonly feedbackIntegration: "feedback";
6
- readonly feedbackModalIntegration: "feedback-modal";
7
- readonly feedbackScreenshotIntegration: "feedback-screenshot";
8
- readonly captureConsoleIntegration: "captureconsole";
9
- readonly contextLinesIntegration: "contextlines";
10
- readonly linkedErrorsIntegration: "linkederrors";
11
- readonly dedupeIntegration: "dedupe";
12
- readonly extraErrorDataIntegration: "extraerrordata";
13
- readonly graphqlClientIntegration: "graphqlclient";
14
- readonly httpClientIntegration: "httpclient";
15
- readonly reportingObserverIntegration: "reportingobserver";
16
- readonly rewriteFramesIntegration: "rewriteframes";
17
- readonly browserProfilingIntegration: "browserprofiling";
18
- readonly moduleMetadataIntegration: "modulemetadata";
19
- readonly instrumentAnthropicAiClient: "instrumentanthropicaiclient";
20
- readonly instrumentOpenAiClient: "instrumentopenaiclient";
21
- readonly instrumentGoogleGenAIClient: "instrumentgooglegenaiclient";
22
- readonly instrumentLangGraph: "instrumentlanggraph";
23
- readonly createLangChainCallbackHandler: "createlangchaincallbackhandler";
24
- };
2
+ declare const LAZY_LOADABLE_NAMES: readonly [
3
+ "replayIntegration",
4
+ "replayCanvasIntegration",
5
+ "feedbackIntegration",
6
+ "feedbackModalIntegration",
7
+ "feedbackScreenshotIntegration",
8
+ "captureConsoleIntegration",
9
+ "contextLinesIntegration",
10
+ "linkedErrorsIntegration",
11
+ "dedupeIntegration",
12
+ "extraErrorDataIntegration",
13
+ "graphqlClientIntegration",
14
+ "httpClientIntegration",
15
+ "reportingObserverIntegration",
16
+ "rewriteFramesIntegration",
17
+ "browserProfilingIntegration",
18
+ "moduleMetadataIntegration",
19
+ "instrumentAnthropicAiClient",
20
+ "instrumentOpenAiClient",
21
+ "instrumentGoogleGenAIClient",
22
+ "instrumentLangGraph",
23
+ "createLangChainCallbackHandler"
24
+ ];
25
+ type ElementOf<T extends readonly unknown[]> = T[number];
26
+ type LazyLoadableIntegrationName = ElementOf<typeof LAZY_LOADABLE_NAMES>;
25
27
  /**
26
28
  * Lazy load an integration from the CDN.
27
29
  * Rejects if the integration cannot be loaded.
28
30
  */
29
- export declare function lazyLoadIntegration(name: keyof typeof LazyLoadableIntegrations, scriptNonce?: string): Promise<IntegrationFn>;
31
+ export declare function lazyLoadIntegration(name: LazyLoadableIntegrationName, scriptNonce?: string): Promise<IntegrationFn>;
30
32
  export {};
31
33
  //# sourceMappingURL=lazyLoadIntegration.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentry/browser",
3
- "version": "10.45.0",
3
+ "version": "10.47.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.45.0",
48
- "@sentry-internal/feedback": "10.45.0",
49
- "@sentry-internal/replay": "10.45.0",
50
- "@sentry-internal/replay-canvas": "10.45.0",
51
- "@sentry/core": "10.45.0"
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"
52
52
  },
53
53
  "devDependencies": {
54
- "@sentry-internal/integration-shims": "10.45.0",
54
+ "@sentry-internal/integration-shims": "10.47.0",
55
55
  "fake-indexeddb": "^6.2.4"
56
56
  },
57
57
  "scripts": {