@sentry/browser 10.70.0 → 11.0.0-alpha.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.
Files changed (344) hide show
  1. package/build/npm/cjs/dev/client.js +1 -0
  2. package/build/npm/cjs/dev/client.js.map +1 -1
  3. package/build/npm/cjs/dev/eventbuilder.js +8 -8
  4. package/build/npm/cjs/dev/eventbuilder.js.map +1 -1
  5. package/build/npm/cjs/dev/index.js +3 -9
  6. package/build/npm/cjs/dev/index.js.map +1 -1
  7. package/build/npm/cjs/dev/integrations/browsersession.js +1 -1
  8. package/build/npm/cjs/dev/integrations/browsersession.js.map +1 -1
  9. package/build/npm/cjs/dev/integrations/fetchStreamPerformance.js +2 -1
  10. package/build/npm/cjs/dev/integrations/fetchStreamPerformance.js.map +1 -1
  11. package/build/npm/cjs/dev/integrations/graphqlClient.js +4 -4
  12. package/build/npm/cjs/dev/integrations/graphqlClient.js.map +1 -1
  13. package/build/npm/cjs/dev/integrations/httpclient.js +1 -6
  14. package/build/npm/cjs/dev/integrations/httpclient.js.map +1 -1
  15. package/build/npm/cjs/dev/integrations/httpcontext.js +18 -10
  16. package/build/npm/cjs/dev/integrations/httpcontext.js.map +1 -1
  17. package/build/npm/cjs/dev/integrations/spanstreaming.js +4 -19
  18. package/build/npm/cjs/dev/integrations/spanstreaming.js.map +1 -1
  19. package/build/npm/cjs/dev/integrations/spotlight.js.map +1 -1
  20. package/build/npm/cjs/dev/integrations/view-hierarchy.js +1 -0
  21. package/build/npm/cjs/dev/integrations/view-hierarchy.js.map +1 -1
  22. package/build/npm/cjs/dev/integrations/webVitals.js +9 -14
  23. package/build/npm/cjs/dev/integrations/webVitals.js.map +1 -1
  24. package/build/npm/cjs/dev/profiling/index.js.map +1 -1
  25. package/build/npm/cjs/dev/profiling/integration.js +21 -91
  26. package/build/npm/cjs/dev/profiling/integration.js.map +1 -1
  27. package/build/npm/cjs/dev/profiling/utils.js +1 -284
  28. package/build/npm/cjs/dev/profiling/utils.js.map +1 -1
  29. package/build/npm/cjs/dev/sdk.js +10 -7
  30. package/build/npm/cjs/dev/sdk.js.map +1 -1
  31. package/build/npm/cjs/dev/tracing/backgroundtab.js +6 -2
  32. package/build/npm/cjs/dev/tracing/backgroundtab.js.map +1 -1
  33. package/build/npm/cjs/dev/tracing/browserTracingIntegration.js +30 -42
  34. package/build/npm/cjs/dev/tracing/browserTracingIntegration.js.map +1 -1
  35. package/build/npm/cjs/dev/tracing/linkedTraces.js +4 -2
  36. package/build/npm/cjs/dev/tracing/linkedTraces.js.map +1 -1
  37. package/build/npm/cjs/dev/tracing/request.js +10 -17
  38. package/build/npm/cjs/dev/tracing/request.js.map +1 -1
  39. package/build/npm/cjs/dev/transports/fetch.js.map +1 -1
  40. package/build/npm/cjs/dev/utils/lazyLoadIntegration.js +2 -8
  41. package/build/npm/cjs/dev/utils/lazyLoadIntegration.js.map +1 -1
  42. package/build/npm/cjs/prod/client.js +1 -0
  43. package/build/npm/cjs/prod/client.js.map +1 -1
  44. package/build/npm/cjs/prod/eventbuilder.js +8 -8
  45. package/build/npm/cjs/prod/eventbuilder.js.map +1 -1
  46. package/build/npm/cjs/prod/index.js +3 -9
  47. package/build/npm/cjs/prod/index.js.map +1 -1
  48. package/build/npm/cjs/prod/integrations/browsersession.js +1 -1
  49. package/build/npm/cjs/prod/integrations/browsersession.js.map +1 -1
  50. package/build/npm/cjs/prod/integrations/fetchStreamPerformance.js +2 -1
  51. package/build/npm/cjs/prod/integrations/fetchStreamPerformance.js.map +1 -1
  52. package/build/npm/cjs/prod/integrations/graphqlClient.js +4 -4
  53. package/build/npm/cjs/prod/integrations/graphqlClient.js.map +1 -1
  54. package/build/npm/cjs/prod/integrations/httpclient.js +1 -6
  55. package/build/npm/cjs/prod/integrations/httpclient.js.map +1 -1
  56. package/build/npm/cjs/prod/integrations/httpcontext.js +18 -10
  57. package/build/npm/cjs/prod/integrations/httpcontext.js.map +1 -1
  58. package/build/npm/cjs/prod/integrations/spanstreaming.js +4 -19
  59. package/build/npm/cjs/prod/integrations/spanstreaming.js.map +1 -1
  60. package/build/npm/cjs/prod/integrations/spotlight.js.map +1 -1
  61. package/build/npm/cjs/prod/integrations/view-hierarchy.js +1 -0
  62. package/build/npm/cjs/prod/integrations/view-hierarchy.js.map +1 -1
  63. package/build/npm/cjs/prod/integrations/webVitals.js +9 -14
  64. package/build/npm/cjs/prod/integrations/webVitals.js.map +1 -1
  65. package/build/npm/cjs/prod/profiling/index.js.map +1 -1
  66. package/build/npm/cjs/prod/profiling/integration.js +21 -91
  67. package/build/npm/cjs/prod/profiling/integration.js.map +1 -1
  68. package/build/npm/cjs/prod/profiling/utils.js +1 -284
  69. package/build/npm/cjs/prod/profiling/utils.js.map +1 -1
  70. package/build/npm/cjs/prod/sdk.js +10 -7
  71. package/build/npm/cjs/prod/sdk.js.map +1 -1
  72. package/build/npm/cjs/prod/tracing/backgroundtab.js +6 -2
  73. package/build/npm/cjs/prod/tracing/backgroundtab.js.map +1 -1
  74. package/build/npm/cjs/prod/tracing/browserTracingIntegration.js +30 -42
  75. package/build/npm/cjs/prod/tracing/browserTracingIntegration.js.map +1 -1
  76. package/build/npm/cjs/prod/tracing/linkedTraces.js +4 -2
  77. package/build/npm/cjs/prod/tracing/linkedTraces.js.map +1 -1
  78. package/build/npm/cjs/prod/tracing/request.js +10 -17
  79. package/build/npm/cjs/prod/tracing/request.js.map +1 -1
  80. package/build/npm/cjs/prod/transports/fetch.js.map +1 -1
  81. package/build/npm/cjs/prod/utils/lazyLoadIntegration.js +2 -8
  82. package/build/npm/cjs/prod/utils/lazyLoadIntegration.js.map +1 -1
  83. package/build/npm/esm/dev/client.js +1 -0
  84. package/build/npm/esm/dev/client.js.map +1 -1
  85. package/build/npm/esm/dev/eventbuilder.js +8 -8
  86. package/build/npm/esm/dev/eventbuilder.js.map +1 -1
  87. package/build/npm/esm/dev/index.js +2 -2
  88. package/build/npm/esm/dev/integrations/browsersession.js +1 -1
  89. package/build/npm/esm/dev/integrations/browsersession.js.map +1 -1
  90. package/build/npm/esm/dev/integrations/fetchStreamPerformance.js +3 -2
  91. package/build/npm/esm/dev/integrations/fetchStreamPerformance.js.map +1 -1
  92. package/build/npm/esm/dev/integrations/graphqlClient.js +6 -6
  93. package/build/npm/esm/dev/integrations/graphqlClient.js.map +1 -1
  94. package/build/npm/esm/dev/integrations/httpclient.js +1 -6
  95. package/build/npm/esm/dev/integrations/httpclient.js.map +1 -1
  96. package/build/npm/esm/dev/integrations/httpcontext.js +19 -11
  97. package/build/npm/esm/dev/integrations/httpcontext.js.map +1 -1
  98. package/build/npm/esm/dev/integrations/spanstreaming.js +5 -21
  99. package/build/npm/esm/dev/integrations/spanstreaming.js.map +1 -1
  100. package/build/npm/esm/dev/integrations/spotlight.js.map +1 -1
  101. package/build/npm/esm/dev/integrations/view-hierarchy.js +1 -0
  102. package/build/npm/esm/dev/integrations/view-hierarchy.js.map +1 -1
  103. package/build/npm/esm/dev/integrations/webVitals.js +10 -15
  104. package/build/npm/esm/dev/integrations/webVitals.js.map +1 -1
  105. package/build/npm/esm/dev/package.json +1 -1
  106. package/build/npm/esm/dev/profiling/index.js.map +1 -1
  107. package/build/npm/esm/dev/profiling/integration.js +22 -92
  108. package/build/npm/esm/dev/profiling/integration.js.map +1 -1
  109. package/build/npm/esm/dev/profiling/utils.js +3 -273
  110. package/build/npm/esm/dev/profiling/utils.js.map +1 -1
  111. package/build/npm/esm/dev/sdk.js +11 -8
  112. package/build/npm/esm/dev/sdk.js.map +1 -1
  113. package/build/npm/esm/dev/tracing/backgroundtab.js +6 -2
  114. package/build/npm/esm/dev/tracing/backgroundtab.js.map +1 -1
  115. package/build/npm/esm/dev/tracing/browserTracingIntegration.js +32 -44
  116. package/build/npm/esm/dev/tracing/browserTracingIntegration.js.map +1 -1
  117. package/build/npm/esm/dev/tracing/linkedTraces.js +4 -2
  118. package/build/npm/esm/dev/tracing/linkedTraces.js.map +1 -1
  119. package/build/npm/esm/dev/tracing/request.js +12 -19
  120. package/build/npm/esm/dev/tracing/request.js.map +1 -1
  121. package/build/npm/esm/dev/transports/fetch.js.map +1 -1
  122. package/build/npm/esm/dev/utils/lazyLoadIntegration.js +2 -8
  123. package/build/npm/esm/dev/utils/lazyLoadIntegration.js.map +1 -1
  124. package/build/npm/esm/prod/client.js +1 -0
  125. package/build/npm/esm/prod/client.js.map +1 -1
  126. package/build/npm/esm/prod/eventbuilder.js +8 -8
  127. package/build/npm/esm/prod/eventbuilder.js.map +1 -1
  128. package/build/npm/esm/prod/index.js +2 -2
  129. package/build/npm/esm/prod/integrations/browsersession.js +1 -1
  130. package/build/npm/esm/prod/integrations/browsersession.js.map +1 -1
  131. package/build/npm/esm/prod/integrations/fetchStreamPerformance.js +3 -2
  132. package/build/npm/esm/prod/integrations/fetchStreamPerformance.js.map +1 -1
  133. package/build/npm/esm/prod/integrations/graphqlClient.js +6 -6
  134. package/build/npm/esm/prod/integrations/graphqlClient.js.map +1 -1
  135. package/build/npm/esm/prod/integrations/httpclient.js +1 -6
  136. package/build/npm/esm/prod/integrations/httpclient.js.map +1 -1
  137. package/build/npm/esm/prod/integrations/httpcontext.js +19 -11
  138. package/build/npm/esm/prod/integrations/httpcontext.js.map +1 -1
  139. package/build/npm/esm/prod/integrations/spanstreaming.js +5 -21
  140. package/build/npm/esm/prod/integrations/spanstreaming.js.map +1 -1
  141. package/build/npm/esm/prod/integrations/spotlight.js.map +1 -1
  142. package/build/npm/esm/prod/integrations/view-hierarchy.js +1 -0
  143. package/build/npm/esm/prod/integrations/view-hierarchy.js.map +1 -1
  144. package/build/npm/esm/prod/integrations/webVitals.js +10 -15
  145. package/build/npm/esm/prod/integrations/webVitals.js.map +1 -1
  146. package/build/npm/esm/prod/package.json +1 -1
  147. package/build/npm/esm/prod/profiling/index.js.map +1 -1
  148. package/build/npm/esm/prod/profiling/integration.js +22 -92
  149. package/build/npm/esm/prod/profiling/integration.js.map +1 -1
  150. package/build/npm/esm/prod/profiling/utils.js +3 -273
  151. package/build/npm/esm/prod/profiling/utils.js.map +1 -1
  152. package/build/npm/esm/prod/sdk.js +11 -8
  153. package/build/npm/esm/prod/sdk.js.map +1 -1
  154. package/build/npm/esm/prod/tracing/backgroundtab.js +6 -2
  155. package/build/npm/esm/prod/tracing/backgroundtab.js.map +1 -1
  156. package/build/npm/esm/prod/tracing/browserTracingIntegration.js +32 -44
  157. package/build/npm/esm/prod/tracing/browserTracingIntegration.js.map +1 -1
  158. package/build/npm/esm/prod/tracing/linkedTraces.js +4 -2
  159. package/build/npm/esm/prod/tracing/linkedTraces.js.map +1 -1
  160. package/build/npm/esm/prod/tracing/request.js +12 -19
  161. package/build/npm/esm/prod/tracing/request.js.map +1 -1
  162. package/build/npm/esm/prod/transports/fetch.js.map +1 -1
  163. package/build/npm/esm/prod/utils/lazyLoadIntegration.js +2 -8
  164. package/build/npm/esm/prod/utils/lazyLoadIntegration.js.map +1 -1
  165. package/build/npm/types/client.d.ts.map +1 -1
  166. package/build/npm/types/eventbuilder.d.ts.map +1 -1
  167. package/build/npm/types/exports.d.ts +1 -1
  168. package/build/npm/types/exports.d.ts.map +1 -1
  169. package/build/npm/types/index.bundle.d.ts +2 -2
  170. package/build/npm/types/index.bundle.d.ts.map +1 -1
  171. package/build/npm/types/index.bundle.feedback.d.ts +2 -2
  172. package/build/npm/types/index.bundle.feedback.d.ts.map +1 -1
  173. package/build/npm/types/index.bundle.logs.metrics.d.ts +1 -1
  174. package/build/npm/types/index.bundle.logs.metrics.d.ts.map +1 -1
  175. package/build/npm/types/index.bundle.replay.d.ts +2 -2
  176. package/build/npm/types/index.bundle.replay.d.ts.map +1 -1
  177. package/build/npm/types/index.bundle.replay.feedback.d.ts +2 -2
  178. package/build/npm/types/index.bundle.replay.feedback.d.ts.map +1 -1
  179. package/build/npm/types/index.bundle.replay.logs.metrics.d.ts +1 -1
  180. package/build/npm/types/index.bundle.replay.logs.metrics.d.ts.map +1 -1
  181. package/build/npm/types/index.bundle.tracing.d.ts +2 -2
  182. package/build/npm/types/index.bundle.tracing.d.ts.map +1 -1
  183. package/build/npm/types/index.bundle.tracing.logs.metrics.d.ts +1 -1
  184. package/build/npm/types/index.bundle.tracing.logs.metrics.d.ts.map +1 -1
  185. package/build/npm/types/index.bundle.tracing.replay.d.ts +2 -2
  186. package/build/npm/types/index.bundle.tracing.replay.d.ts.map +1 -1
  187. package/build/npm/types/index.bundle.tracing.replay.feedback.d.ts +2 -2
  188. package/build/npm/types/index.bundle.tracing.replay.feedback.d.ts.map +1 -1
  189. package/build/npm/types/index.bundle.tracing.replay.feedback.logs.metrics.d.ts +1 -1
  190. package/build/npm/types/index.bundle.tracing.replay.feedback.logs.metrics.d.ts.map +1 -1
  191. package/build/npm/types/index.bundle.tracing.replay.logs.metrics.d.ts +1 -1
  192. package/build/npm/types/index.bundle.tracing.replay.logs.metrics.d.ts.map +1 -1
  193. package/build/npm/types/index.d.ts +2 -2
  194. package/build/npm/types/index.d.ts.map +1 -1
  195. package/build/npm/types/integrations/browsersession.d.ts +3 -5
  196. package/build/npm/types/integrations/browsersession.d.ts.map +1 -1
  197. package/build/npm/types/integrations/featureFlags/openfeature/integration.d.ts.map +1 -1
  198. package/build/npm/types/integrations/featureFlags/openfeature/types.d.ts +9 -9
  199. package/build/npm/types/integrations/featureFlags/openfeature/types.d.ts.map +1 -1
  200. package/build/npm/types/integrations/fetchStreamPerformance.d.ts.map +1 -1
  201. package/build/npm/types/integrations/graphqlClient.d.ts.map +1 -1
  202. package/build/npm/types/integrations/httpcontext.d.ts.map +1 -1
  203. package/build/npm/types/integrations/spanstreaming.d.ts +1 -0
  204. package/build/npm/types/integrations/spanstreaming.d.ts.map +1 -1
  205. package/build/npm/types/integrations/spotlight.d.ts +1 -1
  206. package/build/npm/types/integrations/usertiming.d.ts +2 -0
  207. package/build/npm/types/integrations/usertiming.d.ts.map +1 -0
  208. package/build/npm/types/integrations/view-hierarchy.d.ts.map +1 -1
  209. package/build/npm/types/integrations/webVitals.d.ts +1 -8
  210. package/build/npm/types/integrations/webVitals.d.ts.map +1 -1
  211. package/build/npm/types/integrations/webWorker.d.ts +1 -1
  212. package/build/npm/types/profiling/UIProfiler.d.ts.map +1 -1
  213. package/build/npm/types/profiling/index.d.ts.map +1 -1
  214. package/build/npm/types/profiling/integration.d.ts.map +1 -1
  215. package/build/npm/types/profiling/utils.d.ts +1 -74
  216. package/build/npm/types/profiling/utils.d.ts.map +1 -1
  217. package/build/npm/types/sdk.d.ts.map +1 -1
  218. package/build/npm/types/tracing/backgroundtab.d.ts.map +1 -1
  219. package/build/npm/types/tracing/browserTracingIntegration.d.ts +1 -47
  220. package/build/npm/types/tracing/browserTracingIntegration.d.ts.map +1 -1
  221. package/build/npm/types/tracing/linkedTraces.d.ts.map +1 -1
  222. package/build/npm/types/tracing/request.d.ts +0 -13
  223. package/build/npm/types/tracing/request.d.ts.map +1 -1
  224. package/build/npm/types/utils/lazyLoadIntegration.d.ts +1 -1
  225. package/build/npm/types/utils/lazyLoadIntegration.d.ts.map +1 -1
  226. package/package.json +12 -21
  227. package/build/npm/cjs/dev/profiling/startProfileForSpan.js +0 -91
  228. package/build/npm/cjs/dev/profiling/startProfileForSpan.js.map +0 -1
  229. package/build/npm/cjs/prod/profiling/startProfileForSpan.js +0 -91
  230. package/build/npm/cjs/prod/profiling/startProfileForSpan.js.map +0 -1
  231. package/build/npm/esm/dev/profiling/startProfileForSpan.js +0 -89
  232. package/build/npm/esm/dev/profiling/startProfileForSpan.js.map +0 -1
  233. package/build/npm/esm/prod/profiling/startProfileForSpan.js +0 -89
  234. package/build/npm/esm/prod/profiling/startProfileForSpan.js.map +0 -1
  235. package/build/npm/types/integrations-bundle/index.createlangchaincallbackhandler.d.ts +0 -2
  236. package/build/npm/types/integrations-bundle/index.createlangchaincallbackhandler.d.ts.map +0 -1
  237. package/build/npm/types/integrations-bundle/index.instrumentanthropicaiclient.d.ts +0 -2
  238. package/build/npm/types/integrations-bundle/index.instrumentanthropicaiclient.d.ts.map +0 -1
  239. package/build/npm/types/integrations-bundle/index.instrumentgooglegenaiclient.d.ts +0 -2
  240. package/build/npm/types/integrations-bundle/index.instrumentgooglegenaiclient.d.ts.map +0 -1
  241. package/build/npm/types/integrations-bundle/index.instrumentlangchainembeddings.d.ts +0 -2
  242. package/build/npm/types/integrations-bundle/index.instrumentlangchainembeddings.d.ts.map +0 -1
  243. package/build/npm/types/integrations-bundle/index.instrumentlanggraph.d.ts +0 -2
  244. package/build/npm/types/integrations-bundle/index.instrumentlanggraph.d.ts.map +0 -1
  245. package/build/npm/types/integrations-bundle/index.instrumentopenaiclient.d.ts +0 -2
  246. package/build/npm/types/integrations-bundle/index.instrumentopenaiclient.d.ts.map +0 -1
  247. package/build/npm/types/integrations-bundle/index.instrumentstategraph.d.ts +0 -2
  248. package/build/npm/types/integrations-bundle/index.instrumentstategraph.d.ts.map +0 -1
  249. package/build/npm/types/profiling/startProfileForSpan.d.ts +0 -8
  250. package/build/npm/types/profiling/startProfileForSpan.d.ts.map +0 -1
  251. package/build/npm/types-ts3.8/client.d.ts +0 -76
  252. package/build/npm/types-ts3.8/debug-build.d.ts +0 -7
  253. package/build/npm/types-ts3.8/diagnose-sdk.d.ts +0 -11
  254. package/build/npm/types-ts3.8/eventbuilder.d.ts +0 -40
  255. package/build/npm/types-ts3.8/exports.d.ts +0 -21
  256. package/build/npm/types-ts3.8/feedbackAsync.d.ts +0 -7
  257. package/build/npm/types-ts3.8/feedbackSync.d.ts +0 -4
  258. package/build/npm/types-ts3.8/helpers.d.ts +0 -27
  259. package/build/npm/types-ts3.8/index.bundle.base.d.ts +0 -2
  260. package/build/npm/types-ts3.8/index.bundle.d.ts +0 -5
  261. package/build/npm/types-ts3.8/index.bundle.feedback.d.ts +0 -7
  262. package/build/npm/types-ts3.8/index.bundle.logs.metrics.d.ts +0 -6
  263. package/build/npm/types-ts3.8/index.bundle.replay.d.ts +0 -6
  264. package/build/npm/types-ts3.8/index.bundle.replay.feedback.d.ts +0 -8
  265. package/build/npm/types-ts3.8/index.bundle.replay.logs.metrics.d.ts +0 -7
  266. package/build/npm/types-ts3.8/index.bundle.tracing.d.ts +0 -13
  267. package/build/npm/types-ts3.8/index.bundle.tracing.logs.metrics.d.ts +0 -13
  268. package/build/npm/types-ts3.8/index.bundle.tracing.replay.d.ts +0 -14
  269. package/build/npm/types-ts3.8/index.bundle.tracing.replay.feedback.d.ts +0 -16
  270. package/build/npm/types-ts3.8/index.bundle.tracing.replay.feedback.logs.metrics.d.ts +0 -14
  271. package/build/npm/types-ts3.8/index.bundle.tracing.replay.logs.metrics.d.ts +0 -14
  272. package/build/npm/types-ts3.8/index.d.ts +0 -38
  273. package/build/npm/types-ts3.8/integrations/breadcrumbs.d.ts +0 -16
  274. package/build/npm/types-ts3.8/integrations/browserapierrors.d.ts +0 -23
  275. package/build/npm/types-ts3.8/integrations/browserprofiling.d.ts +0 -2
  276. package/build/npm/types-ts3.8/integrations/browsersession.d.ts +0 -25
  277. package/build/npm/types-ts3.8/integrations/contextlines.d.ts +0 -32
  278. package/build/npm/types-ts3.8/integrations/culturecontext.d.ts +0 -18
  279. package/build/npm/types-ts3.8/integrations/featureFlags/growthbook/index.d.ts +0 -2
  280. package/build/npm/types-ts3.8/integrations/featureFlags/growthbook/integration.d.ts +0 -25
  281. package/build/npm/types-ts3.8/integrations/featureFlags/growthbook/types.d.ts +0 -6
  282. package/build/npm/types-ts3.8/integrations/featureFlags/launchdarkly/index.d.ts +0 -2
  283. package/build/npm/types-ts3.8/integrations/featureFlags/launchdarkly/integration.d.ts +0 -27
  284. package/build/npm/types-ts3.8/integrations/featureFlags/launchdarkly/types.d.ts +0 -44
  285. package/build/npm/types-ts3.8/integrations/featureFlags/openfeature/index.d.ts +0 -2
  286. package/build/npm/types-ts3.8/integrations/featureFlags/openfeature/integration.d.ts +0 -18
  287. package/build/npm/types-ts3.8/integrations/featureFlags/openfeature/types.d.ts +0 -78
  288. package/build/npm/types-ts3.8/integrations/featureFlags/statsig/index.d.ts +0 -2
  289. package/build/npm/types-ts3.8/integrations/featureFlags/statsig/integration.d.ts +0 -30
  290. package/build/npm/types-ts3.8/integrations/featureFlags/statsig/types.d.ts +0 -14
  291. package/build/npm/types-ts3.8/integrations/featureFlags/unleash/index.d.ts +0 -2
  292. package/build/npm/types-ts3.8/integrations/featureFlags/unleash/integration.d.ts +0 -31
  293. package/build/npm/types-ts3.8/integrations/featureFlags/unleash/types.d.ts +0 -21
  294. package/build/npm/types-ts3.8/integrations/fetchStreamPerformance.d.ts +0 -16
  295. package/build/npm/types-ts3.8/integrations/globalhandlers.d.ts +0 -19
  296. package/build/npm/types-ts3.8/integrations/graphqlClient.d.ts +0 -60
  297. package/build/npm/types-ts3.8/integrations/httpclient.d.ts +0 -32
  298. package/build/npm/types-ts3.8/integrations/httpcontext.d.ts +0 -8
  299. package/build/npm/types-ts3.8/integrations/linkederrors.d.ts +0 -12
  300. package/build/npm/types-ts3.8/integrations/reportingobserver.d.ts +0 -12
  301. package/build/npm/types-ts3.8/integrations/spanstreaming.d.ts +0 -4
  302. package/build/npm/types-ts3.8/integrations/spotlight.d.ts +0 -21
  303. package/build/npm/types-ts3.8/integrations/view-hierarchy.d.ts +0 -51
  304. package/build/npm/types-ts3.8/integrations/webVitals.d.ts +0 -26
  305. package/build/npm/types-ts3.8/integrations/webWorker.d.ts +0 -129
  306. package/build/npm/types-ts3.8/integrations-bundle/index.captureconsole.d.ts +0 -2
  307. package/build/npm/types-ts3.8/integrations-bundle/index.createlangchaincallbackhandler.d.ts +0 -2
  308. package/build/npm/types-ts3.8/integrations-bundle/index.dedupe.d.ts +0 -2
  309. package/build/npm/types-ts3.8/integrations-bundle/index.extraerrordata.d.ts +0 -2
  310. package/build/npm/types-ts3.8/integrations-bundle/index.feedback.d.ts +0 -5
  311. package/build/npm/types-ts3.8/integrations-bundle/index.graphqlclient.d.ts +0 -2
  312. package/build/npm/types-ts3.8/integrations-bundle/index.instrumentanthropicaiclient.d.ts +0 -2
  313. package/build/npm/types-ts3.8/integrations-bundle/index.instrumentgooglegenaiclient.d.ts +0 -2
  314. package/build/npm/types-ts3.8/integrations-bundle/index.instrumentlangchainembeddings.d.ts +0 -2
  315. package/build/npm/types-ts3.8/integrations-bundle/index.instrumentlanggraph.d.ts +0 -2
  316. package/build/npm/types-ts3.8/integrations-bundle/index.instrumentopenaiclient.d.ts +0 -2
  317. package/build/npm/types-ts3.8/integrations-bundle/index.instrumentstategraph.d.ts +0 -2
  318. package/build/npm/types-ts3.8/integrations-bundle/index.modulemetadata.d.ts +0 -2
  319. package/build/npm/types-ts3.8/integrations-bundle/index.rewriteframes.d.ts +0 -2
  320. package/build/npm/types-ts3.8/integrations-bundle/index.spotlight.d.ts +0 -2
  321. package/build/npm/types-ts3.8/normalizeStringifyValue.d.ts +0 -15
  322. package/build/npm/types-ts3.8/pluggable-exports-bundle/index.multiplexedtransport.d.ts +0 -2
  323. package/build/npm/types-ts3.8/profiling/UIProfiler.d.ts +0 -75
  324. package/build/npm/types-ts3.8/profiling/index.d.ts +0 -8
  325. package/build/npm/types-ts3.8/profiling/integration.d.ts +0 -4
  326. package/build/npm/types-ts3.8/profiling/jsSelfProfiling.d.ts +0 -41
  327. package/build/npm/types-ts3.8/profiling/startProfileForSpan.d.ts +0 -8
  328. package/build/npm/types-ts3.8/profiling/utils.d.ts +0 -112
  329. package/build/npm/types-ts3.8/report-dialog.d.ts +0 -8
  330. package/build/npm/types-ts3.8/sdk.d.ts +0 -62
  331. package/build/npm/types-ts3.8/stack-parsers.d.ts +0 -9
  332. package/build/npm/types-ts3.8/tracing/backgroundtab.d.ts +0 -6
  333. package/build/npm/types-ts3.8/tracing/browserTracingIntegration.d.ts +0 -271
  334. package/build/npm/types-ts3.8/tracing/linkedTraces.d.ts +0 -52
  335. package/build/npm/types-ts3.8/tracing/reportPageLoaded.d.ts +0 -11
  336. package/build/npm/types-ts3.8/tracing/request.d.ts +0 -87
  337. package/build/npm/types-ts3.8/tracing/setActiveSpan.d.ts +0 -39
  338. package/build/npm/types-ts3.8/tracing/utils.d.ts +0 -17
  339. package/build/npm/types-ts3.8/transports/fetch.d.ts +0 -8
  340. package/build/npm/types-ts3.8/transports/offline.d.ts +0 -33
  341. package/build/npm/types-ts3.8/transports/types.d.ts +0 -6
  342. package/build/npm/types-ts3.8/userfeedback.d.ts +0 -10
  343. package/build/npm/types-ts3.8/utils/detectBrowserExtension.d.ts +0 -6
  344. package/build/npm/types-ts3.8/utils/lazyLoadIntegration.d.ts +0 -35
@@ -2,13 +2,11 @@ interface BrowserSessionOptions {
2
2
  /**
3
3
  * Controls the session lifecycle - when new sessions are created.
4
4
  *
5
- * - `'route'`: A session is created on page load and on every navigation.
6
- * This is the default behavior.
7
5
  * - `'page'`: A session is created once when the page is loaded. Session is not
8
- * updated on navigation. This is useful for webviews or single-page apps where
9
- * URL changes should not trigger new sessions.
6
+ * updated on navigation. This is the default behavior.
7
+ * - `'route'`: A session is created on page load and on every navigation.
10
8
  *
11
- * @default 'route'
9
+ * @default 'page'
12
10
  */
13
11
  lifecycle?: 'route' | 'page';
14
12
  }
@@ -1 +1 @@
1
- {"version":3,"file":"browsersession.d.ts","sourceRoot":"","sources":["../../../../src/integrations/browsersession.ts"],"names":[],"mappings":"AAKA,UAAU,qBAAqB;IAC7B;;;;;;;;;;OAUG;IACH,SAAS,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;CAC9B;AAED;;;;;GAKG;AACH,eAAO,MAAM,yBAAyB;;CA4EpC,CAAC"}
1
+ {"version":3,"file":"browsersession.d.ts","sourceRoot":"","sources":["../../../../src/integrations/browsersession.ts"],"names":[],"mappings":"AAKA,UAAU,qBAAqB;IAC7B;;;;;;;;OAQG;IACH,SAAS,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;CAC9B;AAED;;;;;GAKG;AACH,eAAO,MAAM,yBAAyB;;CA4EpC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"integration.d.ts","sourceRoot":"","sources":["../../../../../../src/integrations/featureFlags/openfeature/integration.ts"],"names":[],"mappings":"AAsBA,OAAO,KAAK,EAAE,iBAAiB,EAAE,WAAW,EAAE,SAAS,EAAE,SAAS,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAErG,eAAO,MAAM,sBAAsB;;CAQT,CAAC;AAE3B;;GAEG;AACH,qBAAa,0BAA2B,YAAW,eAAe;IAChE;;OAEG;IACI,KAAK,CAAC,YAAY,EAAE,QAAQ,CAAC,WAAW,CAAC,SAAS,CAAC,CAAC,EAAE,iBAAiB,EAAE,iBAAiB,CAAC,SAAS,CAAC,GAAG,IAAI;IAKnH;;OAEG;IACI,KAAK,CAAC,WAAW,EAAE,QAAQ,CAAC,WAAW,CAAC,SAAS,CAAC,CAAC,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,CAAC,EAAE,SAAS,GAAG,IAAI;CAI3G"}
1
+ {"version":3,"file":"integration.d.ts","sourceRoot":"","sources":["../../../../../../src/integrations/featureFlags/openfeature/integration.ts"],"names":[],"mappings":"AAsBA,OAAO,KAAK,EAAE,iBAAiB,EAAE,WAAW,EAAE,SAAS,EAAE,SAAS,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAErG,eAAO,MAAM,sBAAsB;;CAQT,CAAC;AAE3B;;GAEG;AACH,qBAAa,0BAA2B,YAAW,eAAe;IAChE;;OAEG;IACI,KAAK,CAAC,YAAY,EAAE,QAAQ,CAAC,WAAW,CAAC,SAAS,CAAC,CAAC,EAAE,iBAAiB,EAAE,iBAAiB,CAAC,SAAS,CAAC,GAAG,IAAI,CAGlH;IAED;;OAEG;IACI,KAAK,CAAC,WAAW,EAAE,QAAQ,CAAC,WAAW,CAAC,SAAS,CAAC,CAAC,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,CAAC,EAAE,SAAS,GAAG,IAAI,CAGzG;CACF"}
@@ -9,15 +9,15 @@ export type Metadata = Record<string, string>;
9
9
  export type PrimitiveValue = null | boolean | string | number;
10
10
  export type FlagMetadata = Record<string, string | number | boolean>;
11
11
  export declare const StandardResolutionReasons: {
12
- readonly STATIC: "STATIC";
13
- readonly DEFAULT: "DEFAULT";
14
- readonly TARGETING_MATCH: "TARGETING_MATCH";
15
- readonly SPLIT: "SPLIT";
16
- readonly CACHED: "CACHED";
17
- readonly DISABLED: "DISABLED";
18
- readonly UNKNOWN: "UNKNOWN";
19
- readonly STALE: "STALE";
20
- readonly ERROR: "ERROR";
12
+ readonly STATIC: 'STATIC';
13
+ readonly DEFAULT: 'DEFAULT';
14
+ readonly TARGETING_MATCH: 'TARGETING_MATCH';
15
+ readonly SPLIT: 'SPLIT';
16
+ readonly CACHED: 'CACHED';
17
+ readonly DISABLED: 'DISABLED';
18
+ readonly UNKNOWN: 'UNKNOWN';
19
+ readonly STALE: 'STALE';
20
+ readonly ERROR: 'ERROR';
21
21
  };
22
22
  type ErrorCode = 'PROVIDER_NOT_READY' | 'PROVIDER_FATAL' | 'FLAG_NOT_FOUND' | 'PARSE_ERROR' | 'TYPE_MISMATCH' | 'TARGETING_KEY_MISSING' | 'INVALID_CONTEXT' | 'GENERAL';
23
23
  export interface Logger {
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/integrations/featureFlags/openfeature/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,SAAS,GAAG,OAAO,GAAG,MAAM,GAAG,MAAM,GAAG,SAAS,CAAC;AAC9D,MAAM,MAAM,aAAa,GAAG,SAAS,GAAG,QAAQ,GAAG,QAAQ,GAAG,QAAQ,CAAC;AACvE,MAAM,MAAM,SAAS,GAAG,SAAS,EAAE,CAAC;AACpC,MAAM,MAAM,UAAU,GAAG;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS,CAAA;CAAE,CAAC;AACtD,MAAM,MAAM,SAAS,GAAG,cAAc,GAAG,UAAU,GAAG,SAAS,CAAC;AAChE,MAAM,MAAM,QAAQ,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;AAC9C,MAAM,MAAM,cAAc,GAAG,IAAI,G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;IAChB,YAAY,EAAE,QAAQ,CAAC,YAAY,CAAC,CAAC;CACtC,GAAG,iBAAiB,CAAC,CAAC,CAAC,CAAC;AACzB,MAAM,WAAW,QAAQ,CAAC,CAAC,SAAS,SAAS,GAAG,SAAS,EAAE,gBAAgB,GAAG,OAAO,EAAE,WAAW,GAAG,OAAO;IAC1G,MAAM,CAAC,CAAC,WAAW,EAAE,iBAAiB,EAAE,SAAS,CAAC,EAAE,SAAS,GAAG,gBAAgB,CAAC;IACjF,KAAK,CAAC,CACJ,WAAW,EAAE,QAAQ,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,EACrC,iBAAiB,EAAE,iBAAiB,CAAC,CAAC,CAAC,EACvC,SAAS,CAAC,EAAE,SAAS,GACpB,WAAW,CAAC;IACf,KAAK,CAAC,CAAC,WAAW,EAAE,QAAQ,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,OAAO,EAAE,SAAS,CAAC,EAAE,SAAS,GAAG,WAAW,CAAC;IAClG,OAAO,CAAC,CAAC,WAAW,EAAE,QAAQ,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,EAAE,SAAS,CAAC,EAAE,SAAS,GAAG,WAAW,CAAC;CACrF;AACD,MAAM,MAAM,eAAe,GAAG,QAAQ,CAAC,SAAS,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"fetchStreamPerformance.d.ts","sourceRoot":"","sources":["../../../../src/integrations/fetchStreamPerformance.ts"],"names":[],"mappings":"AAqBA;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,iCAAiC;;CAuEpB,CAAC"}
1
+ {"version":3,"file":"fetchStreamPerformance.d.ts","sourceRoot":"","sources":["../../../../src/integrations/fetchStreamPerformance.ts"],"names":[],"mappings":"AAuBA;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,iCAAiC;;CAuEpB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"graphqlClient.d.ts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AAgB,iBAAiB,CAAC,KAAK,EAAE,MAAM,GAAG,gBAAgB,CAuBjE;AA2BD;;;;;GAKG;AACH,wBAAgB,wBAAwB,CAAC,OAAO,EAAE,MAAM,GAAG,qBAAqB,GAAG,SAAS,CAe3F;AAED;;;GAGG;AACH,eAAO,MAAM,wBAAwB;;CAA+C,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"httpcontext.d.ts","sourceRoot":"","sources":["../../../../src/integrations/httpcontext.ts"],"names":[],"mappings":"AAIA;;;GAGG;AACH,eAAO,MAAM,sBAAsB;;CAwCjC,CAAC"}
1
+ {"version":3,"file":"httpcontext.d.ts","sourceRoot":"","sources":["../../../../src/integrations/httpcontext.ts"],"names":[],"mappings":"AAUA;;;GAGG;AACH,eAAO,MAAM,sBAAsB;;CAsDjC,CAAC"}
@@ -1,3 +1,4 @@
1
+ export declare const INTEGRATION_NAME: 'SpanStreaming';
1
2
  export declare const spanStreamingIntegration: () => import("@sentry/core").Integration & {
2
3
  name: "SpanStreaming";
3
4
  };
@@ -1 +1 @@
1
- {"version":3,"file":"spanstreaming.d.ts","sourceRoot":"","sources":["../../../../src/integrations/spanstreaming.ts"],"names":[],"mappings":"AAYA,eAAO,MAAM,wBAAwB;;CA0DX,CAAC"}
1
+ {"version":3,"file":"spanstreaming.d.ts","sourceRoot":"","sources":["../../../../src/integrations/spanstreaming.ts"],"names":[],"mappings":"AAWA,eAAO,MAAM,gBAAgB,EAAG,eAAwB,CAAC;AAEzD,eAAO,MAAM,wBAAwB;;CAgCX,CAAC"}
@@ -5,7 +5,7 @@ export type SpotlightConnectionOptions = {
5
5
  */
6
6
  sidecarUrl?: string;
7
7
  };
8
- export declare const INTEGRATION_NAME: "SpotlightBrowser";
8
+ export declare const INTEGRATION_NAME: 'SpotlightBrowser';
9
9
  export declare const SPOTLIGHT_IGNORE_SPANS: {
10
10
  op: string;
11
11
  name: string;
@@ -0,0 +1,2 @@
1
+ export { userTimingIntegration } from '@sentry/browser-utils';
2
+ //# sourceMappingURL=usertiming.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"usertiming.d.ts","sourceRoot":"","sources":["../../../../src/integrations/usertiming.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,uBAAuB,CAAC"}
@@ -1 +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,sBAAsB,CAAC;AAIjH,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;;CAyFnC,CAAC"}
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,sBAAsB,CAAC;AAIjH,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;;CA0FnC,CAAC"}
@@ -1,17 +1,10 @@
1
- export declare const WEB_VITALS_INTEGRATION_NAME: "WebVitals";
1
+ export declare const WEB_VITALS_INTEGRATION_NAME: 'WebVitals';
2
2
  export type WebVitalName = 'cls' | 'inp' | 'lcp';
3
3
  export interface WebVitalsOptions {
4
4
  /**
5
5
  * Web vitals to skip.
6
6
  */
7
7
  ignore?: WebVitalName[];
8
- /**
9
- * @experimental
10
- */
11
- _experiments?: Partial<{
12
- enableStandaloneClsSpans: boolean;
13
- enableStandaloneLcpSpans: boolean;
14
- }>;
15
8
  }
16
9
  /**
17
10
  * Captures Core Web Vitals (LCP, CLS, INP) and related pageload vitals.
@@ -1 +1 @@
1
- {"version":3,"file":"webVitals.d.ts","sourceRoot":"","sources":["../../../../src/integrations/webVitals.ts"],"names":[],"mappings":"AAYA,eAAO,MAAM,2BAA2B,EAAG,WAAoB,CAAC;AAEhE,MAAM,MAAM,YAAY,GAAG,KAAK,GAAG,KAAK,GAAG,KAAK,CAAC;AAEjD,MAAM,WAAW,gBAAgB;IAC/B;;OAEG;IACH,MAAM,CAAC,EAAE,YAAY,EAAE,CAAC;IAExB;;OAEG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;QACrB,wBAAwB,EAAE,OAAO,CAAC;QAClC,wBAAwB,EAAE,OAAO,CAAC;KACnC,CAAC,CAAC;CACJ;AAED;;;;;;GAMG;AACH,eAAO,MAAM,oBAAoB;;CA8DP,CAAC"}
1
+ {"version":3,"file":"webVitals.d.ts","sourceRoot":"","sources":["../../../../src/integrations/webVitals.ts"],"names":[],"mappings":"AAWA,eAAO,MAAM,2BAA2B,EAAG,WAAoB,CAAC;AAEhE,MAAM,MAAM,YAAY,GAAG,KAAK,GAAG,KAAK,GAAG,KAAK,CAAC;AAEjD,MAAM,WAAW,gBAAgB;IAC/B;;OAEG;IACH,MAAM,CAAC,EAAE,YAAY,EAAE,CAAC;CACzB;AAED;;;;;;GAMG;AACH,eAAO,MAAM,oBAAoB;;CA2DP,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import type { Integration, IntegrationFn } from '@sentry/core/browser';
2
- export declare const INTEGRATION_NAME: "WebWorker";
2
+ export declare const INTEGRATION_NAME: 'WebWorker';
3
3
  interface WebWorkerIntegration extends Integration {
4
4
  addWorker: (worker: Worker) => void;
5
5
  }
@@ -1 +1 @@
1
- {"version":3,"file":"UIProfiler.d.ts","sourceRoot":"","sources":["../../../../src/profiling/UIProfiler.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,kBAAkB,EAAsC,IAAI,EAAE,MAAM,sBAAsB,CAAC;AAyBjH;;;;;;;;;GASG;AACH,qBAAa,UAAW,YAAW,kBAAkB,CAAC,MAAM,CAAC;IAC3D,OAAO,CAAC,OAAO,CAAqB;IACpC,OAAO,CAAC,SAAS,CAA6B;IAC9C,OAAO,CAAC,WAAW,CAA4C;IAG/D,OAAO,CAAC,WAAW,CAAqB;IACxC,OAAO,CAAC,UAAU,CAAU;IAC5B,OAAO,CAAC,eAAe,CAAU;IACjC,OAAO,CAAC,cAAc,CAAiC;IAGvD,OAAO,CAAC,kBAAkB,CAAc;IACxC,OAAO,C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ED;;OAEG;IACI,UAAU,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CAyBtC;IAED,8EAA8E;IACvE,KAAK,IAAI,IAAI,CAoBnB;IAED,4DAA4D;IACrD,IAAI,IAAI,IAAI,CAelB;IAED,8FAA8F;IACvF,oBAAoB,CAAC,QAAQ,EAAE,IAAI,GAAG,IAAI,CAwBhD;IAED;;OAEG;IACH,OAAO,CAAC,eAAe;IAsBvB,qEAAqE;IACrE,OAAO,CAAC,aAAa;IAyBrB,sDAAsD;IACtD,OAAO,CAAC,6BAA6B;IAyDrC;;OAEG;IACH,OAAO,CAAC,kBAAkB;IAK1B;;OAEG;IACH,OAAO,CAAC,yBAAyB;IAKjC,4EAA4E;IAC5E,OAAO,CAAC,sBAAsB;IAM9B;;OAEG;IACH,OAAO,CAAC,sBAAsB;IAY9B;;;;OAIG;IACH,OAAO,CAAC,sBAAsB;IAwB9B;;;OAGG;IACH,OAAO,CAAC,kBAAkB;IAuB1B;;OAEG;YACW,oBAAoB;IAiClC;;OAEG;IACH,OAAO,CAAC,iBAAiB;CAsB1B"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/profiling/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AA8CrD;;;;GAIG;AACH,eAAO,MAAM,UAAU,EAAE,QAGxB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/profiling/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAgDrD;;;;GAIG;AACH,eAAO,MAAM,UAAU,EAAE,QAGxB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"integration.d.ts","sourceRoot":"","sources":["../../../../src/profiling/integration.ts"],"names":[],"mappings":"AAkKA,eAAO,MAAM,2BAA2B;;CAAkD,CAAC"}
1
+ {"version":3,"file":"integration.d.ts","sourceRoot":"","sources":["../../../../src/profiling/integration.ts"],"names":[],"mappings":"AA4DA,eAAO,MAAM,2BAA2B;;CAAkD,CAAC"}
@@ -1,30 +1,8 @@
1
- import type { Client, DebugImage, Envelope, Event, EventEnvelope, Profile, ProfileChunk, Span, ThreadCpuProfile } from '@sentry/core/browser';
1
+ import type { Client, DebugImage, ProfileChunk, Span } from '@sentry/core/browser';
2
2
  import type { BrowserOptions } from '../client';
3
3
  import type { JSSelfProfile, JSSelfProfiler } from './jsSelfProfiling';
4
4
  export declare const PROFILER_THREAD_ID_STRING: string;
5
5
  export declare const PROFILER_THREAD_NAME: string;
6
- /**
7
- *
8
- */
9
- export declare function enrichWithThreadInformation(profile: ThreadCpuProfile | JSSelfProfile): ThreadCpuProfile;
10
- export interface ProfiledEvent extends Event {
11
- sdkProcessingMetadata: {
12
- profile?: JSSelfProfile;
13
- };
14
- }
15
- /**
16
- * Creates a profiling event envelope from a Sentry event. If profile does not pass
17
- * validation, returns null.
18
- * @param event
19
- * @param dsn
20
- * @param metadata
21
- * @param tunnel
22
- * @returns {EventEnvelope | null}
23
- */
24
- /**
25
- * Creates a profiling event envelope from a Sentry event.
26
- */
27
- export declare function createProfilePayload(profile_id: string, start_timestamp: number | undefined, processed_profile: JSSelfProfile, event: ProfiledEvent): Profile;
28
6
  /**
29
7
  * Create a profile chunk envelope item
30
8
  */
@@ -40,30 +18,6 @@ export declare function validateProfileChunk(chunk: ProfileChunk): {
40
18
  } | {
41
19
  reason: string;
42
20
  };
43
- /**
44
- *
45
- */
46
- export declare function isProfiledTransactionEvent(event: Event): event is ProfiledEvent;
47
- /**
48
- *
49
- */
50
- export declare function isAutomatedPageLoadSpan(span: Span): boolean;
51
- /**
52
- * Converts a JSSelfProfile to a our sampled format.
53
- * Does not currently perform stack indexing.
54
- */
55
- export declare function convertJSSelfProfileToSampledFormat(input: JSSelfProfile): Profile['profile'];
56
- /**
57
- * Adds items to envelope if they are not already present - mutates the envelope.
58
- * @param envelope
59
- */
60
- export declare function addProfilesToEnvelope(envelope: EventEnvelope, profiles: Profile[]): Envelope;
61
- /**
62
- * Finds transactions with profile_id context in the envelope
63
- * @param envelope
64
- * @returns
65
- */
66
- export declare function findProfiledTransactionsFromEnvelope(envelope: Envelope): Event[];
67
21
  /**
68
22
  * Applies debug meta data to an event from a list of paths to resources (sourcemaps)
69
23
  */
@@ -77,36 +31,9 @@ export declare const MAX_PROFILE_DURATION_MS = 30000;
77
31
  * Starts the profiler and returns the profiler instance.
78
32
  */
79
33
  export declare function startJSSelfProfile(): JSSelfProfiler | undefined;
80
- /**
81
- * Determine if a profile should be profiled.
82
- */
83
- export declare function shouldProfileSpanLegacy(span: Span): boolean;
84
34
  /**
85
35
  * Determine if a profile should be created for the current session.
86
36
  */
87
37
  export declare function shouldProfileSession(options: BrowserOptions): boolean;
88
- /**
89
- * Checks if legacy profiling is configured.
90
- */
91
- export declare function hasLegacyProfiling(options: BrowserOptions): boolean;
92
- /**
93
- * Creates a profiling envelope item, if the profile does not pass validation, returns null.
94
- * @param event
95
- * @returns {Profile | null}
96
- */
97
- export declare function createProfilingEvent(profile_id: string, start_timestamp: number | undefined, profile: JSSelfProfile, event: ProfiledEvent): Profile | null;
98
- /**
99
- *
100
- */
101
- export declare function getActiveProfilesCount(): number;
102
- /**
103
- * Retrieves profile from global cache and removes it.
104
- */
105
- export declare function takeProfileFromGlobalCache(profile_id: string): JSSelfProfile | undefined;
106
- /**
107
- * Adds profile to global cache and evicts the oldest profile if the cache is full.
108
- */
109
- export declare function addProfileToGlobalCache(profile_id: string, profile: JSSelfProfile): void;
110
- export declare const PROFILED_ROOT_SPANS: WeakSet<Span>;
111
38
  export declare function setThreadAttributes(span: Span): void;
112
39
  //# sourceMappingURL=utils.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../src/profiling/utils.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,MAAM,EAEN,UAAU,EACV,QAAQ,EACR,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,IAAI,GAAG,IAAI,CAGpD"}
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../src/profiling/utils.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,MAAM,EAA8B,UAAU,EAAE,YAAY,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAC;AAS/G,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAGhD,OAAO,KAAK,EAAE,aAAa,EAAE,cAAc,EAA6B,MAAM,mBAAmB,CAAC;AAMlG,eAAO,MAAM,yBAAyB,QAAY,CAAC;AACnD,eAAO,MAAM,oBAAoB,QAAmC,CAAC;AAErE;;GAEG;AACH,wBAAgB,yBAAyB,CACvC,aAAa,EAAE,aAAa,EAC5B,MAAM,EAAE,MAAM,EACd,UAAU,CAAC,EAAE,MAAM,GAClB,YAAY,CA8Bd;AAED;;;;;GAKG;AACH,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,YAAY,GAAG;IAAE,KAAK,EAAE,IAAI,CAAA;CAAE,GAAG;IAAE,MAAM,EAAE,MAAM,CAAA;CAAE,CAwC9F;AAsED;;GAEG;AACH,wBAAgB,kBAAkB,CAAC,cAAc,EAAE,aAAa,CAAC,MAAM,CAAC,GAAG,UAAU,EAAE,CAUtF;AAED;;GAEG;AACH,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,OAAO,GAAG,OAAO,CAuBxD;AAKD,eAAO,MAAM,uBAAuB,QAAS,CAAC;AAU9C;;GAEG;AACH,wBAAgB,kBAAkB,IAAI,cAAc,GAAG,SAAS,CAgC/D;AAED;;GAEG;AACH,wBAAgB,oBAAoB,CAAC,OAAO,EAAE,cAAc,GAAG,OAAO,CA+BrE;AAED,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,IAAI,GAAG,IAAI,CAGpD"}
@@ -1 +1 @@
1
- {"version":3,"file":"sdk.d.ts","sourceRoot":"","sources":["../../../src/sdk.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,WAAW,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAWzE,OAAO,KAAK,EAAwB,cAAc,EAAE,MAAM,UAAU,CAAC;AAerE,wDAAwD;AACxD,wBAAgB,sBAAsB,CAAC,QAAQ,EAAE,OAAO,GAAG,WAAW,EAAE,CAoBvE;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6CG;AACH,wBAAgB,IAAI,CAAC,OAAO,GAAE,cAAmB,GAAG,MAAM,GAAG,SAAS,CA+BrE;AAED;;;GAGG;AACH,wBAAgB,SAAS,IAAI,IAAI,CAEhC;AAED;;;GAGG;AACH,wBAAgB,MAAM,CAAC,QAAQ,EAAE,MAAM,IAAI,GAAG,IAAI,CAEjD"}
1
+ {"version":3,"file":"sdk.d.ts","sourceRoot":"","sources":["../../../src/sdk.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,WAAW,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAWzE,OAAO,KAAK,EAAwB,cAAc,EAAE,MAAM,UAAU,CAAC;AAqBrE,wDAAwD;AACxD,wBAAgB,sBAAsB,CAAC,QAAQ,EAAE,OAAO,GAAG,WAAW,EAAE,CAkBvE;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6CG;AACH,wBAAgB,IAAI,CAAC,OAAO,GAAE,cAAmB,GAAG,MAAM,GAAG,SAAS,CAyCrE;AAED;;;GAGG;AACH,wBAAgB,SAAS,IAAI,IAAI,CAEhC;AAED;;;GAGG;AACH,wBAAgB,MAAM,CAAC,QAAQ,EAAE,MAAM,IAAI,GAAG,IAAI,CAEjD"}
@@ -1 +1 @@
1
- {"version":3,"file":"backgroundtab.d.ts","sourceRoot":"","sources":["../../../../src/tracing/backgroundtab.ts"],"names":[],"mappings":"AAIA;;;GAGG;AACH,wBAAgB,8BAA8B,IAAI,IAAI,CAgCrD"}
1
+ {"version":3,"file":"backgroundtab.d.ts","sourceRoot":"","sources":["../../../../src/tracing/backgroundtab.ts"],"names":[],"mappings":"AAKA;;;GAGG;AACH,wBAAgB,8BAA8B,IAAI,IAAI,CAmCrD"}
@@ -79,16 +79,6 @@ export interface BrowserTracingOptions {
79
79
  * Default: true
80
80
  */
81
81
  traceXHR: boolean;
82
- /**
83
- * Flag to disable tracking of long-lived streams, like server-sent events (SSE) via fetch.
84
- * Do not enable this in case you have live streams or very long running streams.
85
- *
86
- * Default: false
87
- *
88
- * @deprecated Use `fetchStreamPerformanceIntegration()` instead. Add it to your `integrations` array
89
- * to track the duration of streamed fetch response bodies.
90
- */
91
- trackFetchStreamPerformance: boolean;
92
82
  /**
93
83
  * If true, Sentry will capture http timings and add them to the corresponding http spans.
94
84
  *
@@ -100,41 +90,7 @@ export interface BrowserTracingOptions {
100
90
  *
101
91
  * Default: []
102
92
  */
103
- ignoreResourceSpans: Array<'resouce.script' | 'resource.css' | 'resource.img' | 'resource.other' | string>;
104
- /**
105
- * Spans created from the following browser Performance APIs,
106
- *
107
- * - [`performance.mark(...)`](https://developer.mozilla.org/en-US/docs/Web/API/Performance/mark)
108
- * - [`performance.measure(...)`](https://developer.mozilla.org/en-US/docs/Web/API/Performance/measure)
109
- *
110
- * will not be emitted if their names match strings in this array.
111
- *
112
- * This is useful, if you come across `mark` or `measure` spans in your Sentry traces
113
- * that you want to ignore. For example, sometimes, browser extensions or libraries
114
- * emit these entries on their own, which might not be relevant to your application.
115
- *
116
- * * @example
117
- * ```ts
118
- * Sentry.init({
119
- * integrations: [
120
- * Sentry.browserTracingIntegration({
121
- * ignorePerformanceApiSpans: ['myMeasurement', /myMark/],
122
- * }),
123
- * ],
124
- * });
125
- *
126
- * // no spans will be created for these:
127
- * performance.mark('myMark');
128
- * performance.measure('myMeasurement');
129
- *
130
- * // spans will be created for these:
131
- * performance.mark('authenticated');
132
- * performance.measure('input-duration', ...);
133
- * ```
134
- *
135
- * Default: [] - By default, all `mark` and `measure` entries are sent as spans.
136
- */
137
- ignorePerformanceApiSpans: Array<string | RegExp>;
93
+ ignoreResourceSpans: Array<'resource.script' | 'resource.css' | 'resource.img' | 'resource.other' | string>;
138
94
  /**
139
95
  * By default, the SDK will try to detect redirects and avoid creating separate spans for them.
140
96
  * If you want to opt-out of this behavior, you can set this option to `false`.
@@ -205,8 +161,6 @@ export interface BrowserTracingOptions {
205
161
  */
206
162
  _experiments: Partial<{
207
163
  enableInteractions: boolean;
208
- enableStandaloneClsSpans: boolean;
209
- enableStandaloneLcpSpans: boolean;
210
164
  }>;
211
165
  /**
212
166
  * A callback which is called before a span for a pageload or navigation is started.
@@ -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,sBAAsB,CAAC;AA+C9B,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,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,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AoBD;;;;;;;;GAQG;AACH,eAAO,MAAM,yBAAyB,aAAc,OAAO,CAAC,qBAAqB,CAAC;;;;CAiZxD,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
+ {"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,sBAAsB,CAAC;AA8C9B,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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AAiC,0BAA0B,CAAC;AAEzE;;;;GAIG;AACH,wBAAgB,UAAU,CACxB,MAAM,EAAE,MAAM,EACd,EACE,iBAAiB,EACjB,uBAAuB,GACxB,EAAE;IACD,iBAAiB,EAAE,iBAAiB,GAAG,WAAW,CAAC;IACnD,uBAAuB,EAAE,OAAO,CAAC;CAClC,GACA,IAAI,CAoEN;AAED;;;;;;GAMG;AACH,wBAAgB,wBAAwB,CACtC,iBAAiB,EAAE,iBAAiB,GAAG,SAAS,EAChD,IAAI,EAAE,IAAI,EACV,qBAAqB,EAAE,kBAAkB,GACxC,iBAAiB,CAoEnB;AAED;;GAEG;AACH,wBAAgB,kCAAkC,CAAC,iBAAiB,EAAE,iBAAiB,GAAG,IAAI,CAO7F;AAED;;GAEG;AACH,wBAAgB,kCAAkC,IAAI,iBAAiB,GAAG,SAAS,CAQlF;AAED;;GAEG;AACH,wBAAgB,kBAAkB,CAAC,GAAG,EAAE,eAAe,GAAG,OAAO,CAEhE"}
@@ -41,19 +41,6 @@ export interface RequestInstrumentationOptions {
41
41
  * Default: true
42
42
  */
43
43
  traceXHR: boolean;
44
- /**
45
- * Flag to disable tracking of long-lived streams, like server-sent events (SSE) via fetch.
46
- * Do not enable this in case you have live streams or very long running streams.
47
- *
48
- * Disabled by default since it can lead to issues with streams using the `cancel()` api
49
- * (https://github.com/getsentry/sentry-javascript/issues/13950)
50
- *
51
- * Default: false
52
- *
53
- * @deprecated Use `fetchStreamPerformanceIntegration()` instead. Add it to your `integrations` array
54
- * to track the duration of streamed fetch response bodies.
55
- */
56
- trackFetchStreamPerformance: boolean;
57
44
  /**
58
45
  * If true, Sentry will capture http timings and add them to the corresponding http spans.
59
46
  *
@@ -1 +1 @@
1
- {"version":3,"file":"request.d.ts","sourceRoot":"","sources":["../../../../src/tracing/request.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,MAAM,EAEN,eAAe,EACf,gBAAgB,EAEhB,IAAI,EAEL,MAAM,sBAAsB,CAAC;AAmC9B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;;;;;;;OA0BG;IACH,uBAAuB,CAAC,EAAE,KAAK,CAAC,MAAM,GAAG,MAAM,CAAC,CAAC;IAEjD;;;;OAIG;IACH,UAAU,EAAE,OAAO,CAAC;IAEpB;;;;OAIG;IACH,QAAQ,EAAE,OAAO,CAAC;IAElB;;;;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;AAED,eAAO,MAAM,oCAAoC,EAAE,6BAIlD,CAAC;AAEF,0DAA0D;AAC1D,wBAAgB,0BAA0B,CAAC,MAAM,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,OAAO,CAAC,6BAA6B,CAAC,GAAG,IAAI,CAyElH;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/browser';
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", "instrumentStateGraph", "instrumentLangGraph", "createLangChainCallbackHandler", "instrumentLangChainEmbeddings"];
2
+ declare const LAZY_LOADABLE_NAMES: readonly ['replayIntegration', 'replayCanvasIntegration', 'feedbackIntegration', 'feedbackModalIntegration', 'feedbackScreenshotIntegration', 'captureConsoleIntegration', 'contextLinesIntegration', 'linkedErrorsIntegration', 'dedupeIntegration', 'extraErrorDataIntegration', 'graphqlClientIntegration', 'httpClientIntegration', 'reportingObserverIntegration', 'rewriteFramesIntegration', 'browserProfilingIntegration', 'userTimingIntegration', 'moduleMetadataIntegration'];
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,sBAAsB,CAAC;AAQ1D,QAAA,MAAM,mBAAmB,2oBAwBf,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,sBAAsB,CAAC;AAQ1D,QAAA,MAAM,mBAAmB,YACvB,mBAAmB,EACnB,yBAAyB,EACzB,qBAAqB,EACrB,0BAA0B,EAC1B,+BAA+B,EAC/B,2BAA2B,EAC3B,yBAAyB,EACzB,yBAAyB,EACzB,mBAAmB,EACnB,2BAA2B,EAC3B,0BAA0B,EAC1B,uBAAuB,EACvB,8BAA8B,EAC9B,0BAA0B,EAC1B,6BAA6B,EAC7B,uBAAuB,EACvB,2BAA2B,CACnB,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"}
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@sentry/browser",
3
- "version": "10.70.0",
3
+ "version": "11.0.0-alpha.1",
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",
7
7
  "author": "Sentry",
8
8
  "license": "MIT",
9
9
  "engines": {
10
- "node": ">=18"
10
+ "node": ">=20.19.0 <22.0.0 || >=22.12.0 <23.0.0 || >=23.2.0"
11
11
  },
12
12
  "files": [
13
13
  "/build/npm"
@@ -34,26 +34,19 @@
34
34
  }
35
35
  }
36
36
  },
37
- "typesVersions": {
38
- "<5.0": {
39
- "build/npm/types/index.d.ts": [
40
- "build/npm/types-ts3.8/index.d.ts"
41
- ]
42
- }
43
- },
44
37
  "publishConfig": {
45
38
  "access": "public"
46
39
  },
47
40
  "dependencies": {
48
- "@sentry/browser-utils": "10.70.0",
49
- "@sentry/conventions": "^0.16.0",
50
- "@sentry/feedback": "10.70.0",
51
- "@sentry/replay": "10.70.0",
52
- "@sentry/replay-canvas": "10.70.0",
53
- "@sentry/core": "10.70.0"
41
+ "@sentry/browser-utils": "11.0.0-alpha.1",
42
+ "@sentry/conventions": "^0.19.0",
43
+ "@sentry/feedback": "11.0.0-alpha.1",
44
+ "@sentry/replay": "11.0.0-alpha.1",
45
+ "@sentry/replay-canvas": "11.0.0-alpha.1",
46
+ "@sentry/core": "11.0.0-alpha.1"
54
47
  },
55
48
  "devDependencies": {
56
- "@sentry-internal/integration-shims": "10.70.0",
49
+ "@sentry-internal/integration-shims": "11.0.0-alpha.1",
57
50
  "fake-indexeddb": "^6.2.4"
58
51
  },
59
52
  "scripts": {
@@ -61,9 +54,7 @@
61
54
  "build:dev": "run-p build:transpile build:types",
62
55
  "build:bundle": "rollup -c rollup.bundle.config.mjs",
63
56
  "build:transpile": "rollup -c rollup.npm.config.mjs",
64
- "build:types": "run-s build:types:core build:types:downlevel",
65
- "build:types:core": "tsc -p tsconfig.types.json",
66
- "build:types:downlevel": "yarn downlevel-dts build/npm/types build/npm/types-ts3.8 --to ts3.8",
57
+ "build:types": "tsc -p tsconfig.types.json",
67
58
  "build:watch": "run-p build:transpile:watch build:bundle:watch",
68
59
  "build:dev:watch": "run-p build:transpile:watch",
69
60
  "build:bundle:watch": "rollup -c rollup.bundle.config.mjs --watch",
@@ -71,8 +62,8 @@
71
62
  "build:tarball": "npm pack",
72
63
  "circularDepCheck": "madge --circular src/index.ts",
73
64
  "clean": "rimraf build coverage .rpt2_cache sentry-browser-*.tgz",
74
- "lint:fix": "OXLINT_TSGOLINT_DANGEROUSLY_SUPPRESS_PROGRAM_DIAGNOSTICS=true oxlint . --fix --type-aware",
75
- "lint": "OXLINT_TSGOLINT_DANGEROUSLY_SUPPRESS_PROGRAM_DIAGNOSTICS=true oxlint . --type-aware",
65
+ "lint:fix": "oxlint . --fix --type-aware",
66
+ "lint": "oxlint . --type-aware",
76
67
  "lint:es-compatibility": "es-check es2020 ./build/{bundles,npm/cjs/prod}/*.js && es-check es2020 ./build/npm/esm/prod/*.js --module",
77
68
  "size:check": "cat build/bundles/bundle.min.js | gzip -9 | wc -c | awk '{$1=$1/1024; print \"ES2017: \",$1,\"kB\";}'",
78
69
  "test": "vitest run",
@@ -1,91 +0,0 @@
1
- Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
-
3
- const browser = require('@sentry/core/browser');
4
- const debugBuild = require('../debug-build.js');
5
- const helpers = require('../helpers.js');
6
- const utils = require('./utils.js');
7
-
8
- function startProfileForSpan(span) {
9
- let startTimestamp;
10
- if (utils.isAutomatedPageLoadSpan(span)) {
11
- startTimestamp = browser.timestampInSeconds() * 1e3;
12
- }
13
- const profiler = utils.startJSSelfProfile();
14
- if (!profiler) {
15
- return;
16
- }
17
- if (debugBuild.DEBUG_BUILD) {
18
- browser.debug.log(`[Profiling] started profiling span: ${browser.spanToJSON(span).description}`);
19
- }
20
- const profileId = browser.uuid4();
21
- let processedProfile = null;
22
- browser.getCurrentScope().setContext("profile", {
23
- profile_id: profileId,
24
- start_timestamp: startTimestamp
25
- });
26
- utils.PROFILED_ROOT_SPANS.add(span);
27
- utils.setThreadAttributes(span);
28
- async function onProfileHandler() {
29
- if (!span) {
30
- return;
31
- }
32
- if (!profiler) {
33
- return;
34
- }
35
- if (processedProfile) {
36
- if (debugBuild.DEBUG_BUILD) {
37
- browser.debug.log("[Profiling] profile for:", browser.spanToJSON(span).description, "already exists, returning early");
38
- }
39
- return;
40
- }
41
- return profiler.stop().then((profile) => {
42
- if (maxDurationTimeoutID) {
43
- helpers.WINDOW.clearTimeout(maxDurationTimeoutID);
44
- maxDurationTimeoutID = void 0;
45
- }
46
- if (debugBuild.DEBUG_BUILD) {
47
- browser.debug.log(`[Profiling] stopped profiling of span: ${browser.spanToJSON(span).description}`);
48
- }
49
- if (!profile) {
50
- if (debugBuild.DEBUG_BUILD) {
51
- browser.debug.log(
52
- `[Profiling] profiler returned null profile for: ${browser.spanToJSON(span).description}`,
53
- "this may indicate an overlapping span or a call to stopProfiling with a profile title that was never started"
54
- );
55
- }
56
- return;
57
- }
58
- processedProfile = profile;
59
- utils.addProfileToGlobalCache(profileId, profile);
60
- }).catch((error) => {
61
- if (debugBuild.DEBUG_BUILD) {
62
- browser.debug.log("[Profiling] error while stopping profiler:", error);
63
- }
64
- });
65
- }
66
- let maxDurationTimeoutID = helpers.WINDOW.setTimeout(() => {
67
- if (debugBuild.DEBUG_BUILD) {
68
- browser.debug.log("[Profiling] max profile duration elapsed, stopping profiling for:", browser.spanToJSON(span).description);
69
- }
70
- onProfileHandler();
71
- }, utils.MAX_PROFILE_DURATION_MS);
72
- const originalEnd = span.end.bind(span);
73
- function profilingWrappedSpanEnd() {
74
- if (!span) {
75
- return originalEnd();
76
- }
77
- void onProfileHandler().then(
78
- () => {
79
- originalEnd();
80
- },
81
- () => {
82
- originalEnd();
83
- }
84
- );
85
- return span;
86
- }
87
- span.end = profilingWrappedSpanEnd;
88
- }
89
-
90
- exports.startProfileForSpan = startProfileForSpan;
91
- //# sourceMappingURL=startProfileForSpan.js.map