@sentry/browser 8.53.0 → 9.0.0-alpha.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 (152) hide show
  1. package/build/npm/cjs/client.js +36 -28
  2. package/build/npm/cjs/client.js.map +1 -1
  3. package/build/npm/cjs/debug-build.js +1 -1
  4. package/build/npm/cjs/eventbuilder.js +8 -8
  5. package/build/npm/cjs/eventbuilder.js.map +1 -1
  6. package/build/npm/cjs/feedbackAsync.js +1 -1
  7. package/build/npm/cjs/feedbackSync.js +1 -1
  8. package/build/npm/cjs/helpers.js +3 -3
  9. package/build/npm/cjs/helpers.js.map +1 -1
  10. package/build/npm/cjs/index.js +1 -8
  11. package/build/npm/cjs/index.js.map +1 -1
  12. package/build/npm/cjs/integrations/breadcrumbs.js +15 -10
  13. package/build/npm/cjs/integrations/breadcrumbs.js.map +1 -1
  14. package/build/npm/cjs/integrations/browserapierrors.js +4 -5
  15. package/build/npm/cjs/integrations/browserapierrors.js.map +1 -1
  16. package/build/npm/cjs/integrations/browsersession.js +1 -1
  17. package/build/npm/cjs/integrations/contextlines.js +4 -4
  18. package/build/npm/cjs/integrations/contextlines.js.map +1 -1
  19. package/build/npm/cjs/integrations/featureFlags/featureFlagsIntegration.js +1 -1
  20. package/build/npm/cjs/integrations/featureFlags/launchdarkly/integration.js +1 -1
  21. package/build/npm/cjs/integrations/featureFlags/openfeature/integration.js +1 -1
  22. package/build/npm/cjs/integrations/featureFlags/unleash/integration.js +1 -1
  23. package/build/npm/cjs/integrations/globalhandlers.js +3 -3
  24. package/build/npm/cjs/integrations/globalhandlers.js.map +1 -1
  25. package/build/npm/cjs/integrations/httpclient.js +4 -4
  26. package/build/npm/cjs/integrations/httpclient.js.map +1 -1
  27. package/build/npm/cjs/integrations/httpcontext.js +8 -4
  28. package/build/npm/cjs/integrations/httpcontext.js.map +1 -1
  29. package/build/npm/cjs/integrations/linkederrors.js +1 -1
  30. package/build/npm/cjs/integrations/reportingobserver.js +1 -1
  31. package/build/npm/cjs/integrations/spotlight.js +2 -2
  32. package/build/npm/cjs/integrations/spotlight.js.map +1 -1
  33. package/build/npm/cjs/profiling/integration.js +5 -5
  34. package/build/npm/cjs/profiling/integration.js.map +1 -1
  35. package/build/npm/cjs/profiling/startProfileForSpan.js +1 -1
  36. package/build/npm/cjs/profiling/utils.js +16 -16
  37. package/build/npm/cjs/profiling/utils.js.map +1 -1
  38. package/build/npm/cjs/sdk.js +30 -41
  39. package/build/npm/cjs/sdk.js.map +1 -1
  40. package/build/npm/cjs/stack-parsers.js +1 -1
  41. package/build/npm/cjs/stack-parsers.js.map +1 -1
  42. package/build/npm/cjs/tracing/backgroundtab.js +2 -2
  43. package/build/npm/cjs/tracing/backgroundtab.js.map +1 -1
  44. package/build/npm/cjs/tracing/browserTracingIntegration.js +68 -56
  45. package/build/npm/cjs/tracing/browserTracingIntegration.js.map +1 -1
  46. package/build/npm/cjs/tracing/request.js +40 -8
  47. package/build/npm/cjs/tracing/request.js.map +1 -1
  48. package/build/npm/cjs/transports/fetch.js +1 -1
  49. package/build/npm/cjs/transports/offline.js +1 -1
  50. package/build/npm/cjs/userfeedback.js +7 -8
  51. package/build/npm/cjs/userfeedback.js.map +1 -1
  52. package/build/npm/cjs/utils/featureFlags.js +1 -1
  53. package/build/npm/cjs/utils/featureFlags.js.map +1 -1
  54. package/build/npm/cjs/utils/lazyLoadIntegration.js +4 -7
  55. package/build/npm/cjs/utils/lazyLoadIntegration.js.map +1 -1
  56. package/build/npm/esm/client.js +36 -28
  57. package/build/npm/esm/client.js.map +1 -1
  58. package/build/npm/esm/eventbuilder.js +7 -7
  59. package/build/npm/esm/eventbuilder.js.map +1 -1
  60. package/build/npm/esm/helpers.js +2 -2
  61. package/build/npm/esm/helpers.js.map +1 -1
  62. package/build/npm/esm/index.js +2 -3
  63. package/build/npm/esm/index.js.map +1 -1
  64. package/build/npm/esm/integrations/breadcrumbs.js +14 -9
  65. package/build/npm/esm/integrations/breadcrumbs.js.map +1 -1
  66. package/build/npm/esm/integrations/browserapierrors.js +3 -4
  67. package/build/npm/esm/integrations/browserapierrors.js.map +1 -1
  68. package/build/npm/esm/integrations/contextlines.js +3 -3
  69. package/build/npm/esm/integrations/contextlines.js.map +1 -1
  70. package/build/npm/esm/integrations/globalhandlers.js +2 -2
  71. package/build/npm/esm/integrations/globalhandlers.js.map +1 -1
  72. package/build/npm/esm/integrations/httpclient.js +3 -3
  73. package/build/npm/esm/integrations/httpclient.js.map +1 -1
  74. package/build/npm/esm/integrations/httpcontext.js +8 -4
  75. package/build/npm/esm/integrations/httpcontext.js.map +1 -1
  76. package/build/npm/esm/integrations/spotlight.js +1 -1
  77. package/build/npm/esm/integrations/spotlight.js.map +1 -1
  78. package/build/npm/esm/package.json +1 -1
  79. package/build/npm/esm/profiling/integration.js +4 -4
  80. package/build/npm/esm/profiling/integration.js.map +1 -1
  81. package/build/npm/esm/profiling/utils.js +15 -15
  82. package/build/npm/esm/profiling/utils.js.map +1 -1
  83. package/build/npm/esm/sdk.js +30 -41
  84. package/build/npm/esm/sdk.js.map +1 -1
  85. package/build/npm/esm/stack-parsers.js.map +1 -1
  86. package/build/npm/esm/tracing/backgroundtab.js +1 -1
  87. package/build/npm/esm/tracing/backgroundtab.js.map +1 -1
  88. package/build/npm/esm/tracing/browserTracingIntegration.js +68 -56
  89. package/build/npm/esm/tracing/browserTracingIntegration.js.map +1 -1
  90. package/build/npm/esm/tracing/request.js +40 -9
  91. package/build/npm/esm/tracing/request.js.map +1 -1
  92. package/build/npm/esm/userfeedback.js +6 -7
  93. package/build/npm/esm/userfeedback.js.map +1 -1
  94. package/build/npm/esm/utils/featureFlags.js.map +1 -1
  95. package/build/npm/esm/utils/lazyLoadIntegration.js +3 -6
  96. package/build/npm/esm/utils/lazyLoadIntegration.js.map +1 -1
  97. package/build/npm/types/client.d.ts +4 -10
  98. package/build/npm/types/client.d.ts.map +1 -1
  99. package/build/npm/types/exports.d.ts +3 -4
  100. package/build/npm/types/exports.d.ts.map +1 -1
  101. package/build/npm/types/helpers.d.ts +26 -1
  102. package/build/npm/types/helpers.d.ts.map +1 -1
  103. package/build/npm/types/index.bundle.d.ts +2 -2
  104. package/build/npm/types/index.bundle.d.ts.map +1 -1
  105. package/build/npm/types/index.bundle.feedback.d.ts +2 -2
  106. package/build/npm/types/index.bundle.feedback.d.ts.map +1 -1
  107. package/build/npm/types/index.bundle.replay.d.ts +2 -2
  108. package/build/npm/types/index.bundle.replay.d.ts.map +1 -1
  109. package/build/npm/types/index.bundle.tracing.d.ts +0 -1
  110. package/build/npm/types/index.bundle.tracing.d.ts.map +1 -1
  111. package/build/npm/types/index.bundle.tracing.replay.d.ts +0 -1
  112. package/build/npm/types/index.bundle.tracing.replay.d.ts.map +1 -1
  113. package/build/npm/types/index.bundle.tracing.replay.feedback.d.ts +0 -1
  114. package/build/npm/types/index.bundle.tracing.replay.feedback.d.ts.map +1 -1
  115. package/build/npm/types/index.d.ts +2 -3
  116. package/build/npm/types/index.d.ts.map +1 -1
  117. package/build/npm/types/integrations/httpcontext.d.ts.map +1 -1
  118. package/build/npm/types/integrations-bundle/index.debug.d.ts +0 -1
  119. package/build/npm/types/integrations-bundle/index.debug.d.ts.map +1 -1
  120. package/build/npm/types/sdk.d.ts +4 -36
  121. package/build/npm/types/sdk.d.ts.map +1 -1
  122. package/build/npm/types/tracing/browserTracingIntegration.d.ts.map +1 -1
  123. package/build/npm/types/tracing/request.d.ts +10 -0
  124. package/build/npm/types/tracing/request.d.ts.map +1 -1
  125. package/build/npm/types/userfeedback.d.ts.map +1 -1
  126. package/build/npm/types/utils/lazyLoadIntegration.d.ts +0 -2
  127. package/build/npm/types/utils/lazyLoadIntegration.d.ts.map +1 -1
  128. package/build/npm/types-ts3.8/client.d.ts +4 -10
  129. package/build/npm/types-ts3.8/exports.d.ts +3 -4
  130. package/build/npm/types-ts3.8/helpers.d.ts +26 -1
  131. package/build/npm/types-ts3.8/index.bundle.d.ts +2 -2
  132. package/build/npm/types-ts3.8/index.bundle.feedback.d.ts +2 -2
  133. package/build/npm/types-ts3.8/index.bundle.replay.d.ts +2 -2
  134. package/build/npm/types-ts3.8/index.bundle.tracing.d.ts +0 -1
  135. package/build/npm/types-ts3.8/index.bundle.tracing.replay.d.ts +0 -1
  136. package/build/npm/types-ts3.8/index.bundle.tracing.replay.feedback.d.ts +0 -1
  137. package/build/npm/types-ts3.8/index.d.ts +2 -3
  138. package/build/npm/types-ts3.8/integrations-bundle/index.debug.d.ts +0 -1
  139. package/build/npm/types-ts3.8/sdk.d.ts +4 -36
  140. package/build/npm/types-ts3.8/tracing/request.d.ts +10 -0
  141. package/build/npm/types-ts3.8/utils/lazyLoadIntegration.d.ts +0 -2
  142. package/package.json +9 -9
  143. package/build/npm/cjs/metrics.js +0 -79
  144. package/build/npm/cjs/metrics.js.map +0 -1
  145. package/build/npm/esm/metrics.js +0 -77
  146. package/build/npm/esm/metrics.js.map +0 -1
  147. package/build/npm/types/integrations-bundle/index.sessiontiming.d.ts +0 -2
  148. package/build/npm/types/integrations-bundle/index.sessiontiming.d.ts.map +0 -1
  149. package/build/npm/types/metrics.d.ts +0 -8
  150. package/build/npm/types/metrics.d.ts.map +0 -1
  151. package/build/npm/types-ts3.8/integrations-bundle/index.sessiontiming.d.ts +0 -2
  152. package/build/npm/types-ts3.8/metrics.d.ts +0 -8
@@ -1 +1 @@
1
- {"version":3,"file":"featureFlags.js","sources":["../../../../src/utils/featureFlags.ts"],"sourcesContent":["import type { Event, FeatureFlag } from '@sentry/core';\n\nimport { getCurrentScope, logger } from '@sentry/core';\nimport { DEBUG_BUILD } from '../debug-build';\n\n/**\n * Ordered LRU cache for storing feature flags in the scope context. The name\n * of each flag in the buffer is unique, and the output of getAll() is ordered\n * from oldest to newest.\n */\n\n/**\n * Max size of the LRU flag buffer stored in Sentry scope and event contexts.\n */\nexport const FLAG_BUFFER_SIZE = 100;\n\n/**\n * Copies feature flags that are in current scope context to the event context\n */\nexport function copyFlagsFromScopeToEvent(event: Event): Event {\n const scope = getCurrentScope();\n const flagContext = scope.getScopeData().contexts.flags;\n const flagBuffer = flagContext ? flagContext.values : [];\n\n if (!flagBuffer.length) {\n return event;\n }\n\n if (event.contexts === undefined) {\n event.contexts = {};\n }\n event.contexts.flags = { values: [...flagBuffer] };\n return event;\n}\n\n/**\n * Creates a feature flags values array in current context if it does not exist\n * and inserts the flag into a FeatureFlag array while maintaining ordered LRU\n * properties. Not thread-safe. After inserting:\n * - `flags` is sorted in order of recency, with the newest flag at the end.\n * - No other flags with the same name exist in `flags`.\n * - The length of `flags` does not exceed `maxSize`. The oldest flag is evicted\n * as needed.\n *\n * @param name Name of the feature flag to insert.\n * @param value Value of the feature flag.\n * @param maxSize Max number of flags the buffer should store. It's recommended\n * to keep this consistent across insertions. Default is FLAG_BUFFER_SIZE\n */\nexport function insertFlagToScope(name: string, value: unknown, maxSize: number = FLAG_BUFFER_SIZE): void {\n const scopeContexts = getCurrentScope().getScopeData().contexts;\n if (!scopeContexts.flags) {\n scopeContexts.flags = { values: [] };\n }\n const flags = scopeContexts.flags.values as FeatureFlag[];\n insertToFlagBuffer(flags, name, value, maxSize);\n}\n\n/**\n * Exported for tests. Currently only accepts boolean values (otherwise no-op).\n */\nexport function insertToFlagBuffer(flags: FeatureFlag[], name: string, value: unknown, maxSize: number): void {\n if (typeof value !== 'boolean') {\n return;\n }\n\n if (flags.length > maxSize) {\n DEBUG_BUILD && logger.error(`[Feature Flags] insertToFlagBuffer called on a buffer larger than maxSize=${maxSize}`);\n return;\n }\n\n // Check if the flag is already in the buffer - O(n)\n const index = flags.findIndex(f => f.flag === name);\n\n if (index !== -1) {\n // The flag was found, remove it from its current position - O(n)\n flags.splice(index, 1);\n }\n\n if (flags.length === maxSize) {\n // If at capacity, pop the earliest flag - O(n)\n flags.shift();\n }\n\n // Push the flag to the end - O(1)\n flags.push({\n flag: name,\n result: value,\n });\n}\n"],"names":[],"mappings":";;;AAKA;AACA;AACA;AACA;AACA;;AAEA;AACA;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AAEA,EAAE,IAAI,KAAK,CAAC,MAAO,GAAE,OAAO,EAAE;AAC9B,IAAI,WAAA,IAAe,MAAM,CAAC,KAAK,CAAC,CAAC,0EAA0E,EAAE,OAAO,CAAC,CAAA,CAAA;AACA,IAAA;AACA;;AAEA;AACA,EAAA,MAAA,KAAA,GAAA,KAAA,CAAA,SAAA,CAAA,CAAA,IAAA,CAAA,CAAA,IAAA,KAAA,IAAA,CAAA;;AAEA,EAAA,IAAA,KAAA,KAAA,CAAA,CAAA,EAAA;AACA;AACA,IAAA,KAAA,CAAA,MAAA,CAAA,KAAA,EAAA,CAAA,CAAA;AACA;;AAEA,EAAA,IAAA,KAAA,CAAA,MAAA,KAAA,OAAA,EAAA;AACA;AACA,IAAA,KAAA,CAAA,KAAA,EAAA;AACA;;AAEA;AACA,EAAA,KAAA,CAAA,IAAA,CAAA;AACA,IAAA,IAAA,EAAA,IAAA;AACA,IAAA,MAAA,EAAA,KAAA;AACA,GAAA,CAAA;AACA;;;;"}
1
+ {"version":3,"file":"featureFlags.js","sources":["../../../../src/utils/featureFlags.ts"],"sourcesContent":["import type { Event, FeatureFlag } from '@sentry/core';\n\nimport { getCurrentScope, logger } from '@sentry/core';\nimport { DEBUG_BUILD } from '../debug-build';\n\n/**\n * Ordered LRU cache for storing feature flags in the scope context. The name\n * of each flag in the buffer is unique, and the output of getAll() is ordered\n * from oldest to newest.\n */\n\n/**\n * Max size of the LRU flag buffer stored in Sentry scope and event contexts.\n */\nexport const FLAG_BUFFER_SIZE = 100;\n\n/**\n * Copies feature flags that are in current scope context to the event context\n */\nexport function copyFlagsFromScopeToEvent(event: Event): Event {\n const scope = getCurrentScope();\n const flagContext = scope.getScopeData().contexts.flags;\n const flagBuffer = flagContext ? flagContext.values : [];\n\n if (!flagBuffer.length) {\n return event;\n }\n\n if (event.contexts === undefined) {\n event.contexts = {};\n }\n event.contexts.flags = { values: [...flagBuffer] };\n return event;\n}\n\n/**\n * Creates a feature flags values array in current context if it does not exist\n * and inserts the flag into a FeatureFlag array while maintaining ordered LRU\n * properties. Not thread-safe. After inserting:\n * - `flags` is sorted in order of recency, with the newest flag at the end.\n * - No other flags with the same name exist in `flags`.\n * - The length of `flags` does not exceed `maxSize`. The oldest flag is evicted\n * as needed.\n *\n * @param name Name of the feature flag to insert.\n * @param value Value of the feature flag.\n * @param maxSize Max number of flags the buffer should store. It's recommended\n * to keep this consistent across insertions. Default is FLAG_BUFFER_SIZE\n */\nexport function insertFlagToScope(name: string, value: unknown, maxSize: number = FLAG_BUFFER_SIZE): void {\n const scopeContexts = getCurrentScope().getScopeData().contexts;\n if (!scopeContexts.flags) {\n scopeContexts.flags = { values: [] };\n }\n const flags = scopeContexts.flags.values as FeatureFlag[];\n insertToFlagBuffer(flags, name, value, maxSize);\n}\n\n/**\n * Exported for tests. Currently only accepts boolean values (otherwise no-op).\n */\nexport function insertToFlagBuffer(flags: FeatureFlag[], name: string, value: unknown, maxSize: number): void {\n if (typeof value !== 'boolean') {\n return;\n }\n\n if (flags.length > maxSize) {\n DEBUG_BUILD && logger.error(`[Feature Flags] insertToFlagBuffer called on a buffer larger than maxSize=${maxSize}`);\n return;\n }\n\n // Check if the flag is already in the buffer - O(n)\n const index = flags.findIndex(f => f.flag === name);\n\n if (index !== -1) {\n // The flag was found, remove it from its current position - O(n)\n flags.splice(index, 1);\n }\n\n if (flags.length === maxSize) {\n // If at capacity, pop the earliest flag - O(n)\n flags.shift();\n }\n\n // Push the flag to the end - O(1)\n flags.push({\n flag: name,\n result: value,\n });\n}\n"],"names":[],"mappings":";;;AAKA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACO,MAAM,gBAAiB,GAAE;;AAEhC;AACA;AACA;AACO,SAAS,yBAAyB,CAAC,KAAK,EAAgB;AAC/D,EAAE,MAAM,KAAA,GAAQ,eAAe,EAAE;AACjC,EAAE,MAAM,WAAY,GAAE,KAAK,CAAC,YAAY,EAAE,CAAC,QAAQ,CAAC,KAAK;AACzD,EAAE,MAAM,UAAW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A,CAAA,CAAA,IAAA,KAAA,IAAA,CAAA;;AAEA,EAAA,IAAA,KAAA,KAAA,EAAA,EAAA;AACA;AACA,IAAA,KAAA,CAAA,MAAA,CAAA,KAAA,EAAA,CAAA,CAAA;AACA;;AAEA,EAAA,IAAA,KAAA,CAAA,MAAA,KAAA,OAAA,EAAA;AACA;AACA,IAAA,KAAA,CAAA,KAAA,EAAA;AACA;;AAEA;AACA,EAAA,KAAA,CAAA,IAAA,CAAA;AACA,IAAA,IAAA,EAAA,IAAA;AACA,IAAA,MAAA,EAAA,KAAA;AACA,GAAA,CAAA;AACA;;;;"}
@@ -11,13 +11,11 @@ const LazyLoadableIntegrations = {
11
11
  captureConsoleIntegration: 'captureconsole',
12
12
  contextLinesIntegration: 'contextlines',
13
13
  linkedErrorsIntegration: 'linkederrors',
14
- debugIntegration: 'debug',
15
14
  dedupeIntegration: 'dedupe',
16
15
  extraErrorDataIntegration: 'extraerrordata',
17
16
  httpClientIntegration: 'httpclient',
18
17
  reportingObserverIntegration: 'reportingobserver',
19
18
  rewriteFramesIntegration: 'rewriteframes',
20
- sessionTimingIntegration: 'sessiontiming',
21
19
  browserProfilingIntegration: 'browserprofiling',
22
20
  moduleMetadataIntegration: 'modulemetadata',
23
21
  } ;
@@ -68,7 +66,7 @@ async function lazyLoadIntegration(
68
66
  });
69
67
 
70
68
  const currentScript = WINDOW.document.currentScript;
71
- const parent = WINDOW.document.body || WINDOW.document.head || (currentScript && currentScript.parentElement);
69
+ const parent = WINDOW.document.body || WINDOW.document.head || currentScript?.parentElement;
72
70
 
73
71
  if (parent) {
74
72
  parent.appendChild(script);
@@ -78,7 +76,7 @@ async function lazyLoadIntegration(
78
76
 
79
77
  try {
80
78
  await waitForLoad;
81
- } catch (e) {
79
+ } catch {
82
80
  throw new Error(`Error when loading integration: ${name}`);
83
81
  }
84
82
 
@@ -93,8 +91,7 @@ async function lazyLoadIntegration(
93
91
 
94
92
  function getScriptURL(bundle) {
95
93
  const client = getClient();
96
- const options = client && client.getOptions();
97
- const baseURL = (options && options.cdnBaseUrl) || 'https://browser.sentry-cdn.com';
94
+ const baseURL = client?.getOptions()?.cdnBaseUrl || 'https://browser.sentry-cdn.com';
98
95
 
99
96
  return new URL(`/${SDK_VERSION}/${bundle}.min.js`, baseURL).toString();
100
97
  }
@@ -1 +1 @@
1
- {"version":3,"file":"lazyLoadIntegration.js","sources":["../../../../src/utils/lazyLoadIntegration.ts"],"sourcesContent":["import { SDK_VERSION, getClient } from '@sentry/core';\nimport type { IntegrationFn } from '@sentry/core';\nimport type { BrowserClient } from '../client';\nimport { WINDOW } from '../helpers';\n\n// This is a map of integration function method to bundle file name.\nconst LazyLoadableIntegrations = {\n replayIntegration: 'replay',\n replayCanvasIntegration: 'replay-canvas',\n feedbackIntegration: 'feedback',\n feedbackModalIntegration: 'feedback-modal',\n feedbackScreenshotIntegration: 'feedback-screenshot',\n captureConsoleIntegration: 'captureconsole',\n contextLinesIntegration: 'contextlines',\n linkedErrorsIntegration: 'linkederrors',\n debugIntegration: 'debug',\n dedupeIntegration: 'dedupe',\n extraErrorDataIntegration: 'extraerrordata',\n httpClientIntegration: 'httpclient',\n reportingObserverIntegration: 'reportingobserver',\n rewriteFramesIntegration: 'rewriteframes',\n sessionTimingIntegration: 'sessiontiming',\n browserProfilingIntegration: 'browserprofiling',\n moduleMetadataIntegration: 'modulemetadata',\n} as const;\n\nconst WindowWithMaybeIntegration = WINDOW as {\n Sentry?: Partial<Record<keyof typeof LazyLoadableIntegrations, IntegrationFn>>;\n};\n\n/**\n * Lazy load an integration from the CDN.\n * Rejects if the integration cannot be loaded.\n */\nexport async function lazyLoadIntegration(\n name: keyof typeof LazyLoadableIntegrations,\n scriptNonce?: string,\n): Promise<IntegrationFn> {\n const bundle = LazyLoadableIntegrations[name];\n\n // `window.Sentry` is only set when using a CDN bundle, but this method can also be used via the NPM package\n const sentryOnWindow = (WindowWithMaybeIntegration.Sentry = WindowWithMaybeIntegration.Sentry || {});\n\n if (!bundle) {\n throw new Error(`Cannot lazy load integration: ${name}`);\n }\n\n // Bail if the integration already exists\n const existing = sentryOnWindow[name];\n // The `feedbackIntegration` is loaded by default in the CDN bundles,\n // so we need to differentiate between the real integration and the shim.\n // if only the shim exists, we still want to lazy load the real integration.\n if (typeof existing === 'function' && !('_isShim' in existing)) {\n return existing;\n }\n\n const url = getScriptURL(bundle);\n const script = WINDOW.document.createElement('script');\n script.src = url;\n script.crossOrigin = 'anonymous';\n script.referrerPolicy = 'origin';\n\n if (scriptNonce) {\n script.setAttribute('nonce', scriptNonce);\n }\n\n const waitForLoad = new Promise<void>((resolve, reject) => {\n script.addEventListener('load', () => resolve());\n script.addEventListener('error', reject);\n });\n\n const currentScript = WINDOW.document.currentScript;\n const parent = WINDOW.document.body || WINDOW.document.head || (currentScript && currentScript.parentElement);\n\n if (parent) {\n parent.appendChild(script);\n } else {\n throw new Error(`Could not find parent element to insert lazy-loaded ${name} script`);\n }\n\n try {\n await waitForLoad;\n } catch {\n throw new Error(`Error when loading integration: ${name}`);\n }\n\n const integrationFn = sentryOnWindow[name];\n\n if (typeof integrationFn !== 'function') {\n throw new Error(`Could not load integration: ${name}`);\n }\n\n return integrationFn;\n}\n\nfunction getScriptURL(bundle: string): string {\n const client = getClient<BrowserClient>();\n const options = client && client.getOptions();\n const baseURL = (options && options.cdnBaseUrl) || 'https://browser.sentry-cdn.com';\n\n return new URL(`/${SDK_VERSION}/${bundle}.min.js`, baseURL).toString();\n}\n"],"names":[],"mappings":";;;AAKA;AACA,MAAM,2BAA2B;AACjC,EAAE,iBAAiB,EAAE,QAAQ;AAC7B,EAAE,uBAAuB,EAAE,eAAe;AAC1C,EAAE,mBAAmB,EAAE,UAAU;AACjC,EAAE,wBAAwB,EAAE,gBAAgB;AAC5C,EAAE,6BAA6B,EAAE,qBAAqB;AACtD,EAAE,yBAAyB,EAAE,gBAAgB;AAC7C,EAAE,uBAAuB,EAAE,cAAc;AACzC,EAAE,uBAAuB,EAAE,cAAc;AACzC,EAAE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;;AAEA,EAAA,OAAA,IAAA,GAAA,CAAA,CAAA,CAAA,EAAA,WAAA,CAAA,CAAA,EAAA,MAAA,CAAA,OAAA,CAAA,EAAA,OAAA,CAAA,CAAA,QAAA,EAAA;AACA;;;;"}
1
+ {"version":3,"file":"lazyLoadIntegration.js","sources":["../../../../src/utils/lazyLoadIntegration.ts"],"sourcesContent":["import { SDK_VERSION, getClient } from '@sentry/core';\nimport type { IntegrationFn } from '@sentry/core';\nimport type { BrowserClient } from '../client';\nimport { WINDOW } from '../helpers';\n\n// This is a map of integration function method to bundle file name.\nconst LazyLoadableIntegrations = {\n replayIntegration: 'replay',\n replayCanvasIntegration: 'replay-canvas',\n feedbackIntegration: 'feedback',\n feedbackModalIntegration: 'feedback-modal',\n feedbackScreenshotIntegration: 'feedback-screenshot',\n captureConsoleIntegration: 'captureconsole',\n contextLinesIntegration: 'contextlines',\n linkedErrorsIntegration: 'linkederrors',\n dedupeIntegration: 'dedupe',\n extraErrorDataIntegration: 'extraerrordata',\n httpClientIntegration: 'httpclient',\n reportingObserverIntegration: 'reportingobserver',\n rewriteFramesIntegration: 'rewriteframes',\n browserProfilingIntegration: 'browserprofiling',\n moduleMetadataIntegration: 'modulemetadata',\n} as const;\n\nconst WindowWithMaybeIntegration = WINDOW as {\n Sentry?: Partial<Record<keyof typeof LazyLoadableIntegrations, IntegrationFn>>;\n};\n\n/**\n * Lazy load an integration from the CDN.\n * Rejects if the integration cannot be loaded.\n */\nexport async function lazyLoadIntegration(\n name: keyof typeof LazyLoadableIntegrations,\n scriptNonce?: string,\n): Promise<IntegrationFn> {\n const bundle = LazyLoadableIntegrations[name];\n\n // `window.Sentry` is only set when using a CDN bundle, but this method can also be used via the NPM package\n const sentryOnWindow = (WindowWithMaybeIntegration.Sentry = WindowWithMaybeIntegration.Sentry || {});\n\n if (!bundle) {\n throw new Error(`Cannot lazy load integration: ${name}`);\n }\n\n // Bail if the integration already exists\n const existing = sentryOnWindow[name];\n // The `feedbackIntegration` is loaded by default in the CDN bundles,\n // so we need to differentiate between the real integration and the shim.\n // if only the shim exists, we still want to lazy load the real integration.\n if (typeof existing === 'function' && !('_isShim' in existing)) {\n return existing;\n }\n\n const url = getScriptURL(bundle);\n const script = WINDOW.document.createElement('script');\n script.src = url;\n script.crossOrigin = 'anonymous';\n script.referrerPolicy = 'origin';\n\n if (scriptNonce) {\n script.setAttribute('nonce', scriptNonce);\n }\n\n const waitForLoad = new Promise<void>((resolve, reject) => {\n script.addEventListener('load', () => resolve());\n script.addEventListener('error', reject);\n });\n\n const currentScript = WINDOW.document.currentScript;\n const parent = WINDOW.document.body || WINDOW.document.head || currentScript?.parentElement;\n\n if (parent) {\n parent.appendChild(script);\n } else {\n throw new Error(`Could not find parent element to insert lazy-loaded ${name} script`);\n }\n\n try {\n await waitForLoad;\n } catch {\n throw new Error(`Error when loading integration: ${name}`);\n }\n\n const integrationFn = sentryOnWindow[name];\n\n if (typeof integrationFn !== 'function') {\n throw new Error(`Could not load integration: ${name}`);\n }\n\n return integrationFn;\n}\n\nfunction getScriptURL(bundle: string): string {\n const client = getClient<BrowserClient>();\n const baseURL = client?.getOptions()?.cdnBaseUrl || 'https://browser.sentry-cdn.com';\n\n return new URL(`/${SDK_VERSION}/${bundle}.min.js`, baseURL).toString();\n}\n"],"names":[],"mappings":";;;AAKA;AACA,MAAM,2BAA2B;AACjC,EAAE,iBAAiB,EAAE,QAAQ;AAC7B,EAAE,uBAAuB,EAAE,eAAe;AAC1C,EAAE,mBAAmB,EAAE,UAAU;AACjC,EAAE,wBAAwB,EAAE,gBAAgB;AAC5C,EAAE,6BAA6B,EAAE,qBAAqB;AACtD,EAAE,yBAAyB,EAAE,gBAAgB;AAC7C,EAAE,uBAAuB,EAAE,cAAc;AACzC,EAAE,uBAAuB,EAAE,cAAc;AACzC,EAAE,iBAAiB,EAAE,QAAQ;AAC7B,EAAE,yBAAyB,EAAE,gBAAgB;AAC7C,EAAE,qBAAqB,EAAE,YAAY;AACrC,EAAE,4BAA4B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IAAA,MAAA,CAAA,gBAAA,CAAA,OAAA,EAAA,MAAA,CAAA;AACA,GAAA,CAAA;;AAEA,EAAA,MAAA,aAAA,GAAA,MAAA,CAAA,QAAA,CAAA,aAAA;AACA,EAAA,MAAA,MAAA,GAAA,MAAA,CAAA,QAAA,CAAA,IAAA,IAAA,MAAA,CAAA,QAAA,CAAA,IAAA,IAAA,aAAA,EAAA,aAAA;;AAEA,EAAA,IAAA,MAAA,EAAA;AACA,IAAA,MAAA,CAAA,WAAA,CAAA,MAAA,CAAA;AACA,GAAA,MAAA;AACA,IAAA,MAAA,IAAA,KAAA,CAAA,CAAA,oDAAA,EAAA,IAAA,CAAA,OAAA,CAAA,CAAA;AACA;;AAEA,EAAA,IAAA;AACA,IAAA,MAAA,WAAA;AACA,GAAA,CAAA,MAAA;AACA,IAAA,MAAA,IAAA,KAAA,CAAA,CAAA,gCAAA,EAAA,IAAA,CAAA,CAAA,CAAA;AACA;;AAEA,EAAA,MAAA,aAAA,GAAA,cAAA,CAAA,IAAA,CAAA;;AAEA,EAAA,IAAA,OAAA,aAAA,KAAA,UAAA,EAAA;AACA,IAAA,MAAA,IAAA,KAAA,CAAA,CAAA,4BAAA,EAAA,IAAA,CAAA,CAAA,CAAA;AACA;;AAEA,EAAA,OAAA,aAAA;AACA;;AAEA,SAAA,YAAA,CAAA,MAAA,EAAA;AACA,EAAA,MAAA,MAAA,GAAA,SAAA,EAAA;AACA,EAAA,MAAA,OAAA,GAAA,MAAA,EAAA,UAAA,EAAA,EAAA,UAAA,IAAA,gCAAA;;AAEA,EAAA,OAAA,IAAA,GAAA,CAAA,CAAA,CAAA,EAAA,WAAA,CAAA,CAAA,EAAA,MAAA,CAAA,OAAA,CAAA,EAAA,OAAA,CAAA,CAAA,QAAA,EAAA;AACA;;;;"}
@@ -1,5 +1,5 @@
1
- import type { BrowserClientProfilingOptions, BrowserClientReplayOptions, ClientOptions, Event, EventHint, Options, ParameterizedString, Scope, SeverityLevel, UserFeedback } from '@sentry/core';
2
- import { BaseClient } from '@sentry/core';
1
+ import type { BrowserClientProfilingOptions, BrowserClientReplayOptions, ClientOptions, Event, EventHint, Options, ParameterizedString, Scope, SeverityLevel } from '@sentry/core';
2
+ import { Client } from '@sentry/core';
3
3
  import type { BrowserTransportOptions } from './transports/types';
4
4
  /**
5
5
  * Configuration options for the Sentry Browser SDK.
@@ -39,7 +39,7 @@ export type BrowserClientOptions = ClientOptions<BrowserTransportOptions> & Brow
39
39
  * @see BrowserOptions for documentation on configuration options.
40
40
  * @see SentryClient for usage documentation.
41
41
  */
42
- export declare class BrowserClient extends BaseClient<BrowserClientOptions> {
42
+ export declare class BrowserClient extends Client<BrowserClientOptions> {
43
43
  /**
44
44
  * Creates a new Browser SDK instance.
45
45
  *
@@ -54,15 +54,9 @@ export declare class BrowserClient extends BaseClient<BrowserClientOptions> {
54
54
  * @inheritDoc
55
55
  */
56
56
  eventFromMessage(message: ParameterizedString, level?: SeverityLevel, hint?: EventHint): PromiseLike<Event>;
57
- /**
58
- * Sends user feedback to Sentry.
59
- *
60
- * @deprecated Use `captureFeedback` instead.
61
- */
62
- captureUserFeedback(feedback: UserFeedback): void;
63
57
  /**
64
58
  * @inheritDoc
65
59
  */
66
- protected _prepareEvent(event: Event, hint: EventHint, scope?: Scope): PromiseLike<Event | null>;
60
+ protected _prepareEvent(event: Event, hint: EventHint, currentScope: Scope, isolationScope: Scope): PromiseLike<Event | null>;
67
61
  }
68
62
  //# sourceMappingURL=client.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../src/client.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,6BAA6B,EAC7B,0BAA0B,EAC1B,aAAa,EACb,KAAK,EACL,SAAS,EACT,OAAO,EACP,mBAAmB,EACnB,KAAK,EACL,aAAa,EACb,YAAY,EACb,MAAM,cAAc,CAAC;AACtB,OAAO,EAAE,UAAU,EAA0C,MAAM,cAAc,CAAC;AAIlF,OAAO,KAAK,E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AO,EAAE,MAAM,EAAkC,MAAM,cAAc,CAAC;AAGtE,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,oBAAoB,CAAC;AAElE;;;GAGG;AACH,MAAM,MAAM,cAAc,GAAG,OAAO,CAAC,uBAAuB,CAAC,GAC3D,0BAA0B,GAC1B,6BAA6B,GAAG;IAC9B;;;;;;;;;;;;;;;;OAgBG;IACH,yBAAyB,CAAC,EAAE,OAAO,CAAC;CACrC,CAAC;AAEJ;;;GAGG;AACH,MAAM,MAAM,oBAAoB,GAAG,aAAa,CAAC,uBAAuB,CAAC,GACvE,0BAA0B,GAC1B,6BAA6B,GAAG;IAC9B,qFAAqF;IACrF,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC;AAEJ;;;;;GAKG;AACH,qBAAa,aAAc,SAAQ,MAAM,CAAC,oBAAoB,CAAC;IAC7D;;;;OAIG;gBACgB,OAAO,EAAE,oBAAoB;IA8ChD;;OAEG;IACI,kBAAkB,CAAC,SAAS,EAAE,OAAO,EAAE,IAAI,CAAC,EAAE,SAAS,GAAG,WAAW,CAAC,KAAK,CAAC;IAInF;;OAEG;IACI,gBAAgB,CACrB,OAAO,EAAE,mBAAmB,EAC5B,KAAK,GAAE,aAAsB,EAC7B,IAAI,CAAC,EAAE,SAAS,GACf,WAAW,CAAC,KAAK,CAAC;IAIrB;;OAEG;IACH,SAAS,CAAC,aAAa,CACrB,KAAK,EAAE,KAAK,EACZ,IAAI,EAAE,SAAS,EACf,YAAY,EAAE,KAAK,EACnB,cAAc,EAAE,KAAK,GACpB,WAAW,CAAC,KAAK,GAAG,IAAI,CAAC;CAK7B"}
@@ -1,7 +1,6 @@
1
- export type { Breadcrumb, BreadcrumbHint, Request, RequestEventData, SdkInfo, Event, EventHint, ErrorEvent, Exception, SeverityLevel, StackFrame, Stacktrace, Thread, User, Session, } from '@sentry/core';
1
+ export type { Breadcrumb, BreadcrumbHint, RequestEventData, SdkInfo, Event, EventHint, ErrorEvent, Exception, SeverityLevel, StackFrame, Stacktrace, Thread, User, Session, ReportDialogOptions, } from '@sentry/core';
2
2
  export type { BrowserOptions } from './client';
3
- export type { ReportDialogOptions } from './sdk';
4
- export { addEventProcessor, addBreadcrumb, addIntegration, captureException, captureEvent, captureMessage, close, createTransport, lastEventId, flush, getCurrentHub, getClient, isInitialized, getCurrentScope, getIsolationScope, getGlobalScope, setCurrentClient, Scope, continueTrace, suppressTracing, SDK_VERSION, setContext, setExtra, setExtras, setTag, setTags, setUser, withScope, withIsolationScope, functionToStringIntegration, inboundFiltersIntegration, dedupeIntegration, parameterize, startSession, captureSession, endSession, spanToJSON, spanToTraceHeader, spanToBaggageHeader, updateSpanName, } from '@sentry/core';
3
+ export { addEventProcessor, addBreadcrumb, addIntegration, captureException, captureEvent, captureFeedback, captureMessage, close, createTransport, lastEventId, flush, getClient, isInitialized, getCurrentScope, getIsolationScope, getGlobalScope, setCurrentClient, Scope, continueTrace, suppressTracing, SDK_VERSION, setContext, setExtra, setExtras, setTag, setTags, setUser, withScope, withIsolationScope, functionToStringIntegration, inboundFiltersIntegration, dedupeIntegration, parameterize, startSession, captureSession, endSession, spanToJSON, spanToTraceHeader, spanToBaggageHeader, updateSpanName, } from '@sentry/core';
5
4
  export { SEMANTIC_ATTRIBUTE_SENTRY_OP, SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN, SEMANTIC_ATTRIBUTE_SENTRY_SOURCE, SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE, } from '@sentry/core';
6
5
  export { WINDOW } from './helpers';
7
6
  export { BrowserClient } from './client';
@@ -9,7 +8,7 @@ export { makeFetchTransport } from './transports/fetch';
9
8
  export { defaultStackParser, defaultStackLineParsers, chromeStackLineParser, geckoStackLineParser, opera10StackLineParser, opera11StackLineParser, winjsStackLineParser, } from './stack-parsers';
10
9
  export { eventFromException, eventFromMessage, exceptionFromError } from './eventbuilder';
11
10
  export { createUserFeedbackEnvelope } from './userfeedback';
12
- export { getDefaultIntegrations, forceLoad, init, onLoad, showReportDialog, captureUserFeedback, } from './sdk';
11
+ export { getDefaultIntegrations, forceLoad, init, onLoad, showReportDialog, } from './sdk';
13
12
  export { breadcrumbsIntegration } from './integrations/breadcrumbs';
14
13
  export { globalHandlersIntegration } from './integrations/globalhandlers';
15
14
  export { httpContextIntegration } from './integrations/httpcontext';
@@ -1 +1 @@
1
- {"version":3,"file":"exports.d.ts","sourceRoot":"","sources":["../../../src/exports.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,UAAU,EACV,cAAc,EAEd,OAAO,EACP,gBAAgB,EAChB,OAAO,EACP,KAAK,EACL,SAAS,EACT,UAAU,EACV,SAAS,EACT,aAAa,EACb,UAAU,EACV,UAAU,EACV,MAAM,EACN,IAAI,EACJ,OAAO,GACR,MAAM,cAAc,CAAC;AAEtB,YAAY,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAE/C,YAAY,EAAE,mBAAmB,EAAE,MAAM,OAAO,CAAC;AAEjD,OAAO,EACL,iBAAiB,EACjB,aAAa,EACb,cAAc,EACd,gBAAgB,EAChB,YAAY,EACZ,cAAc,EACd,KAAK,EACL,eAAe,EACf,WAAW,EACX,KAAK,EAEL,aAAa,EACb,SAAS,EACT,aAAa,EACb,eAAe,EACf,iBAAiB,EACjB,cAAc,EACd,gBAAgB,EAChB,KAAK,EACL,aAAa,EACb,eAAe,EACf,WAAW,EACX,UAAU,EACV,QAAQ,EACR,SAAS,EACT,MAAM,EACN,OAAO,EACP,OAAO,EACP,SAAS,EACT,kBAAkB,EAClB,2BAA2B,EAC3B,yBAAyB,EACzB,iBAAiB,EACjB,YAAY,EACZ,YAAY,EACZ,cAAc,EACd,UAAU,EACV,UAAU,EACV,iBAAiB,EACjB,mBAAmB,EACnB,cAAc,GACf,MAAM,cAAc,CAAC;AAEtB,OAAO,EACL,4BAA4B,EAC5B,gCAAgC,EAChC,gCAAgC,EAChC,qCAAqC,GACtC,MAAM,cAAc,CAAC;AAEtB,OAAO,EAAE,MAAM,EAAE,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BAAuB,EAAE,MAAM,6BAA6B,CAAC;AACtE,OAAO,EAAE,2BAA2B,EAAE,MAAM,iCAAiC,CAAC;AAE9E,OAAO,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAC"}
@@ -1,5 +1,30 @@
1
1
  import type { Mechanism, WrappedFunction } from '@sentry/core';
2
- export declare const WINDOW: import("@sentry/core").InternalGlobal & Window;
2
+ export declare const WINDOW: {
3
+ navigator?: {
4
+ userAgent?: string | undefined;
5
+ maxTouchPoints?: number | undefined;
6
+ } | undefined;
7
+ console: Console;
8
+ PerformanceObserver?: any;
9
+ Sentry?: any;
10
+ onerror?: {
11
+ (event: string | object, source?: string | undefined, lineno?: number | undefined, colno?: number | undefined, error?: Error | undefined): any;
12
+ __SENTRY_INSTRUMENTED__?: true | undefined;
13
+ } | undefined;
14
+ onunhandledrejection?: {
15
+ (event: unknown): boolean;
16
+ __SENTRY_INSTRUMENTED__?: true | undefined;
17
+ } | undefined;
18
+ SENTRY_ENVIRONMENT?: string | undefined;
19
+ SENTRY_DSN?: string | undefined;
20
+ SENTRY_RELEASE?: {
21
+ id?: string | undefined;
22
+ } | undefined;
23
+ SENTRY_SDK_SOURCE?: import("@sentry/core").SdkSource | undefined;
24
+ _sentryDebugIds?: Record<string, string> | undefined;
25
+ _sentryModuleMetadata?: Record<string, any> | undefined;
26
+ _sentryEsmLoaderHookRegistered?: boolean | undefined;
27
+ } & import("@sentry/core").Carrier & Window;
3
28
  /**
4
29
  * @hidden
5
30
  */
@@ -1 +1 @@
1
- {"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../src/helpers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAY/D,eAAO,MAAM,MAAM,gDAA2C,CAAC;AAI/D;;GAEG;AACH,wBAAgB,mBAAmB,IAAI,OAAO,CAE7C;AAED;;GAEG;AACH,wBAAgB,iBAAiB,IAAI,IAAI,CAMxC;AAGD,KAAK,iBAAiB,GAAG,QAAQ,CAAC;AAElC,wBAAgB,IAAI,CAAC,CAAC,SAAS,iBAAiB,EAC9C,EAAE,EAAE,CAAC,EACL,OAAO,CAAC,EAAE;IACR,SAAS,CAAC,EAAE,SAAS,CAAC;CACvB,GACA,eAAe,CAAC,CAAC,CAAC,CAAC;AACtB,wBAAgB,IAAI,CAAC,WAAW,EAC9B,EAAE,EAAE,WAAW,EACf,OAAO,CAAC,EAAE;IACR,SAAS,CAAC,EAAE,SAAS,CAAC;CACvB,GACA,WAAW,CAAC"}
1
+ {"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../src/helpers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAY/D,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;2CAA2C,CAAC;AAI/D;;GAEG;AACH,wBAAgB,mBAAmB,IAAI,OAAO,CAE7C;AAED;;GAEG;AACH,wBAAgB,iBAAiB,IAAI,IAAI,CAMxC;AAGD,KAAK,iBAAiB,GAAG,QAAQ,CAAC;AAElC,wBAAgB,IAAI,CAAC,CAAC,SAAS,iBAAiB,EAC9C,EAAE,EAAE,CAAC,EACL,OAAO,CAAC,EAAE;IACR,SAAS,CAAC,EAAE,SAAS,CAAC;CACvB,GACA,eAAe,CAAC,CAAC,CAAC,CAAC;AACtB,wBAAgB,IAAI,CAAC,WAAW,EAC9B,EAAE,EAAE,WAAW,EACf,OAAO,CAAC,EAAE;IACR,SAAS,CAAC,EAAE,SAAS,CAAC;CACvB,GACA,WAAW,CAAC"}
@@ -1,4 +1,4 @@
1
- import { browserTracingIntegrationShim, feedbackIntegrationShim, metricsShim, replayIntegrationShim } from '@sentry-internal/integration-shims';
1
+ import { browserTracingIntegrationShim, feedbackIntegrationShim, replayIntegrationShim } from '@sentry-internal/integration-shims';
2
2
  export * from './index.bundle.base';
3
- export { browserTracingIntegrationShim as browserTracingIntegration, feedbackIntegrationShim as feedbackAsyncIntegration, feedbackIntegrationShim as feedbackIntegration, replayIntegrationShim as replayIntegration, metricsShim as metrics, };
3
+ export { browserTracingIntegrationShim as browserTracingIntegration, feedbackIntegrationShim as feedbackAsyncIntegration, feedbackIntegrationShim as feedbackIntegration, replayIntegrationShim as replayIntegration, };
4
4
  //# sourceMappingURL=index.bundle.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.bundle.d.ts","sourceRoot":"","sources":["../../../src/index.bundle.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,6BAA6B,EAC7B,uBAAuB,EACvB,WAAW,EACX,qBAAqB,EACtB,MAAM,oCAAoC,CAAC;AAE5C,cAAc,qBAAqB,CAAC;AAEpC,OAAO,EACL,6BAA6B,IAAI,yBAAyB,EAC1D,uBAAuB,IAAI,wBAAwB,EACnD,uBAAuB,IAAI,mBAAmB,EAC9C,qBAAqB,IAAI,iBAAiB,EAC1C,WAAW,IAAI,OAAO,GACvB,CAAC"}
1
+ {"version":3,"file":"index.bundle.d.ts","sourceRoot":"","sources":["../../../src/index.bundle.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,6BAA6B,EAC7B,uBAAuB,EACvB,qBAAqB,EACtB,MAAM,oCAAoC,CAAC;AAE5C,cAAc,qBAAqB,CAAC;AAEpC,OAAO,EACL,6BAA6B,IAAI,yBAAyB,EAC1D,uBAAuB,IAAI,wBAAwB,EACnD,uBAAuB,IAAI,mBAAmB,EAC9C,qBAAqB,IAAI,iBAAiB,GAC3C,CAAC"}
@@ -1,7 +1,7 @@
1
- import { browserTracingIntegrationShim, metricsShim, replayIntegrationShim } from '@sentry-internal/integration-shims';
1
+ import { browserTracingIntegrationShim, replayIntegrationShim } from '@sentry-internal/integration-shims';
2
2
  import { feedbackAsyncIntegration } from './feedbackAsync';
3
3
  export * from './index.bundle.base';
4
4
  export { getFeedback } from '@sentry-internal/feedback';
5
- export { browserTracingIntegrationShim as browserTracingIntegration, feedbackAsyncIntegration as feedbackAsyncIntegration, feedbackAsyncIntegration as feedbackIntegration, replayIntegrationShim as replayIntegration, metricsShim as metrics, };
5
+ export { browserTracingIntegrationShim as browserTracingIntegration, feedbackAsyncIntegration as feedbackAsyncIntegration, feedbackAsyncIntegration as feedbackIntegration, replayIntegrationShim as replayIntegration, };
6
6
  export { captureFeedback } from '@sentry/core';
7
7
  //# sourceMappingURL=index.bundle.feedback.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.bundle.feedback.d.ts","sourceRoot":"","sources":["../../../src/index.bundle.feedback.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,6BAA6B,EAAE,WAAW,EAAE,qBAAqB,EAAE,MAAM,oCAAoC,CAAC;AACvH,OAAO,EAAE,wBAAwB,EAAE,MAAM,iBAAiB,CAAC;AAE3D,cAAc,qBAAqB,CAAC;AAEpC,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAExD,OAAO,EACL,6BAA6B,IAAI,yBAAyB,EAC1D,wBAAwB,IAAI,wBAAwB,EACpD,wBAAwB,IAAI,mBAAmB,EAC/C,qBAAqB,IAAI,iBAAiB,EAC1C,WAAW,IAAI,OAAO,GACvB,CAAC;AAEF,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC"}
1
+ {"version":3,"file":"index.bundle.feedback.d.ts","sourceRoot":"","sources":["../../../src/index.bundle.feedback.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,6BAA6B,EAAE,qBAAqB,EAAE,MAAM,oCAAoC,CAAC;AAC1G,OAAO,EAAE,wBAAwB,EAAE,MAAM,iBAAiB,CAAC;AAE3D,cAAc,qBAAqB,CAAC;AAEpC,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAExD,OAAO,EACL,6BAA6B,IAAI,yBAAyB,EAC1D,wBAAwB,IAAI,wBAAwB,EACpD,wBAAwB,IAAI,mBAAmB,EAC/C,qBAAqB,IAAI,iBAAiB,GAC3C,CAAC;AAEF,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC"}
@@ -1,5 +1,5 @@
1
- import { browserTracingIntegrationShim, feedbackIntegrationShim, metricsShim } from '@sentry-internal/integration-shims';
1
+ import { browserTracingIntegrationShim, feedbackIntegrationShim } from '@sentry-internal/integration-shims';
2
2
  export * from './index.bundle.base';
3
3
  export { replayIntegration, getReplay } from '@sentry-internal/replay';
4
- export { browserTracingIntegrationShim as browserTracingIntegration, feedbackIntegrationShim as feedbackAsyncIntegration, feedbackIntegrationShim as feedbackIntegration, metricsShim as metrics, };
4
+ export { browserTracingIntegrationShim as browserTracingIntegration, feedbackIntegrationShim as feedbackAsyncIntegration, feedbackIntegrationShim as feedbackIntegration, };
5
5
  //# sourceMappingURL=index.bundle.replay.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.bundle.replay.d.ts","sourceRoot":"","sources":["../../../src/index.bundle.replay.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,6BAA6B,EAC7B,uBAAuB,EACvB,WAAW,EACZ,MAAM,oCAAoC,CAAC;AAE5C,cAAc,qBAAqB,CAAC;AAEpC,OAAO,EAAE,iBAAiB,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AAEvE,OAAO,EACL,6BAA6B,IAAI,yBAAyB,EAC1D,uBAAuB,IAAI,wBAAwB,EACnD,uBAAuB,IAAI,mBAAmB,EAC9C,WAAW,IAAI,OAAO,GACvB,CAAC"}
1
+ {"version":3,"file":"index.bundle.replay.d.ts","sourceRoot":"","sources":["../../../src/index.bundle.replay.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,6BAA6B,EAAE,uBAAuB,EAAE,MAAM,oCAAoC,CAAC;AAE5G,cAAc,qBAAqB,CAAC;AAEpC,OAAO,EAAE,iBAAiB,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AAEvE,OAAO,EACL,6BAA6B,IAAI,yBAAyB,EAC1D,uBAAuB,IAAI,wBAAwB,EACnD,uBAAuB,IAAI,mBAAmB,GAC/C,CAAC"}
@@ -1,6 +1,5 @@
1
1
  import { feedbackIntegrationShim, replayIntegrationShim } from '@sentry-internal/integration-shims';
2
2
  export * from './index.bundle.base';
3
- export * from './metrics';
4
3
  export { getActiveSpan, getRootSpan, startSpan, startInactiveSpan, startSpanManual, startNewTrace, withActiveSpan, getSpanDescendants, setMeasurement, } from '@sentry/core';
5
4
  export { browserTracingIntegration, startBrowserTracingNavigationSpan, startBrowserTracingPageLoadSpan, } from './tracing/browserTracingIntegration';
6
5
  export { feedbackIntegrationShim as feedbackAsyncIntegration, feedbackIntegrationShim as feedbackIntegration, replayIntegrationShim as replayIntegration, };
@@ -1 +1 @@
1
- {"version":3,"file":"index.bundle.tracing.d.ts","sourceRoot":"","sources":["../../../src/index.bundle.tracing.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,qBAAqB,EAAE,MAAM,oCAAoC,CAAC;AAKpG,cAAc,qBAAqB,CAAC;AAEpC,cAAc,WAAW,CAAC;AAE1B,OAAO,EACL,aAAa,EACb,WAAW,EACX,SAAS,EACT,iBAAiB,EACjB,eAAe,EACf,aAAa,EACb,cAAc,EACd,kBAAkB,EAClB,cAAc,GACf,MAAM,cAAc,CAAC;AAEtB,OAAO,EACL,yBAAyB,EACzB,iCAAiC,EACjC,+BAA+B,GAChC,MAAM,qCAAqC,CAAC;AAE7C,OAAO,EACL,uBAAuB,IAAI,wBAAwB,EACnD,uBAAuB,IAAI,mBAAmB,EAC9C,qBAAqB,IAAI,iBAAiB,GAC3C,CAAC"}
1
+ {"version":3,"file":"index.bundle.tracing.d.ts","sourceRoot":"","sources":["../../../src/index.bundle.tracing.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,qBAAqB,EAAE,MAAM,oCAAoC,CAAC;AAKpG,cAAc,qBAAqB,CAAC;AAEpC,OAAO,EACL,aAAa,EACb,WAAW,EACX,SAAS,EACT,iBAAiB,EACjB,eAAe,EACf,aAAa,EACb,cAAc,EACd,kBAAkB,EAClB,cAAc,GACf,MAAM,cAAc,CAAC;AAEtB,OAAO,EACL,yBAAyB,EACzB,iCAAiC,EACjC,+BAA+B,GAChC,MAAM,qCAAqC,CAAC;AAE7C,OAAO,EACL,uBAAuB,IAAI,wBAAwB,EACnD,uBAAuB,IAAI,mBAAmB,EAC9C,qBAAqB,IAAI,iBAAiB,GAC3C,CAAC"}
@@ -1,5 +1,4 @@
1
1
  export * from './index.bundle.base';
2
- export * from './metrics';
3
2
  export { getActiveSpan, getRootSpan, startSpan, startInactiveSpan, startSpanManual, startNewTrace, withActiveSpan, getSpanDescendants, setMeasurement, } from '@sentry/core';
4
3
  export { browserTracingIntegration, startBrowserTracingNavigationSpan, startBrowserTracingPageLoadSpan, } from './tracing/browserTracingIntegration';
5
4
  import { feedbackIntegrationShim } from '@sentry-internal/integration-shims';
@@ -1 +1 @@
1
- {"version":3,"file":"index.bundle.tracing.replay.d.ts","sourceRoot":"","sources":["../../../src/index.bundle.tracing.replay.ts"],"names":[],"mappings":"AAIA,cAAc,qBAAqB,CAAC;AAEpC,cAAc,WAAW,CAAC;AAE1B,OAAO,EACL,aAAa,EACb,WAAW,EACX,SAAS,EACT,iBAAiB,EACjB,eAAe,EACf,aAAa,EACb,cAAc,EACd,kBAAkB,EAClB,cAAc,GACf,MAAM,cAAc,CAAC;AAEtB,OAAO,EACL,yBAAyB,EACzB,iCAAiC,EACjC,+BAA+B,GAChC,MAAM,qCAAqC,CAAC;AAE7C,OAAO,EAAE,uBAAuB,EAAE,MAAM,oCAAoC,CAAC;AAC7E,OAAO,EAAE,uBAAuB,IAAI,wBAAwB,EAAE,uBAAuB,IAAI,mBAAmB,EAAE,CAAC;AAE/G,OAAO,EAAE,iBAAiB,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC"}
1
+ {"version":3,"file":"index.bundle.tracing.replay.d.ts","sourceRoot":"","sources":["../../../src/index.bundle.tracing.replay.ts"],"names":[],"mappings":"AAIA,cAAc,qBAAqB,CAAC;AAEpC,OAAO,EACL,aAAa,EACb,WAAW,EACX,SAAS,EACT,iBAAiB,EACjB,eAAe,EACf,aAAa,EACb,cAAc,EACd,kBAAkB,EAClB,cAAc,GACf,MAAM,cAAc,CAAC;AAEtB,OAAO,EACL,yBAAyB,EACzB,iCAAiC,EACjC,+BAA+B,GAChC,MAAM,qCAAqC,CAAC;AAE7C,OAAO,EAAE,uBAAuB,EAAE,MAAM,oCAAoC,CAAC;AAC7E,OAAO,EAAE,uBAAuB,IAAI,wBAAwB,EAAE,uBAAuB,IAAI,mBAAmB,EAAE,CAAC;AAE/G,OAAO,EAAE,iBAAiB,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC"}
@@ -1,5 +1,4 @@
1
1
  export * from './index.bundle.base';
2
- export * from './metrics';
3
2
  export { getActiveSpan, getRootSpan, startSpan, startInactiveSpan, startSpanManual, startNewTrace, withActiveSpan, getSpanDescendants, setMeasurement, captureFeedback, } from '@sentry/core';
4
3
  export { browserTracingIntegration, startBrowserTracingNavigationSpan, startBrowserTracingPageLoadSpan, } from './tracing/browserTracingIntegration';
5
4
  import { feedbackAsyncIntegration } from './feedbackAsync';
@@ -1 +1 @@
1
- {"version":3,"file":"index.bundle.tracing.replay.feedback.d.ts","sourceRoot":"","sources":["../../../src/index.bundle.tracing.replay.feedback.ts"],"names":[],"mappings":"AAIA,cAAc,qBAAqB,CAAC;AAEpC,cAAc,WAAW,CAAC;AAE1B,OAAO,EACL,aAAa,EACb,WAAW,EACX,SAAS,EACT,iBAAiB,EACjB,eAAe,EACf,aAAa,EACb,cAAc,EACd,kBAAkB,EAClB,cAAc,EACd,eAAe,GAChB,MAAM,cAAc,CAAC;AAEtB,OAAO,EACL,yBAAyB,EACzB,iCAAiC,EACjC,+BAA+B,GAChC,MAAM,qCAAqC,CAAC;AAE7C,OAAO,EAAE,wBAAwB,EAAE,MAAM,iBAAiB,CAAC;AAC3D,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AACxD,OAAO,EAAE,wBAAwB,IAAI,wBAAwB,EAAE,wBAAwB,IAAI,mBAAmB,EAAE,CAAC;AAEjH,OAAO,EAAE,iBAAiB,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC"}
1
+ {"version":3,"file":"index.bundle.tracing.replay.feedback.d.ts","sourceRoot":"","sources":["../../../src/index.bundle.tracing.replay.feedback.ts"],"names":[],"mappings":"AAIA,cAAc,qBAAqB,CAAC;AAEpC,OAAO,EACL,aAAa,EACb,WAAW,EACX,SAAS,EACT,iBAAiB,EACjB,eAAe,EACf,aAAa,EACb,cAAc,EACd,kBAAkB,EAClB,cAAc,EACd,eAAe,GAChB,MAAM,cAAc,CAAC;AAEtB,OAAO,EACL,yBAAyB,EACzB,iCAAiC,EACjC,+BAA+B,GAChC,MAAM,qCAAqC,CAAC;AAE7C,OAAO,EAAE,wBAAwB,EAAE,MAAM,iBAAiB,CAAC;AAC3D,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AACxD,OAAO,EAAE,wBAAwB,IAAI,wBAAwB,EAAE,wBAAwB,IAAI,mBAAmB,EAAE,CAAC;AAEjH,OAAO,EAAE,iBAAiB,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC"}
@@ -2,7 +2,7 @@ export * from './exports';
2
2
  export { reportingObserverIntegration } from './integrations/reportingobserver';
3
3
  export { httpClientIntegration } from './integrations/httpclient';
4
4
  export { contextLinesIntegration } from './integrations/contextlines';
5
- export { captureConsoleIntegration, debugIntegration, extraErrorDataIntegration, rewriteFramesIntegration, sessionTimingIntegration, captureFeedback, } from '@sentry/core';
5
+ export { captureConsoleIntegration, extraErrorDataIntegration, rewriteFramesIntegration, captureFeedback, } from '@sentry/core';
6
6
  export { replayIntegration, getReplay } from '@sentry-internal/replay';
7
7
  export type { ReplayEventType, ReplayEventWithTime, ReplayBreadcrumbFrame, ReplayBreadcrumbFrameEvent, ReplayOptionFrameEvent, ReplayFrame, ReplayFrameEvent, ReplaySpanFrame, ReplaySpanFrameEvent, } from '@sentry-internal/replay';
8
8
  export { replayCanvasIntegration } from '@sentry-internal/replay-canvas';
@@ -10,11 +10,10 @@ import { feedbackAsyncIntegration } from './feedbackAsync';
10
10
  import { feedbackSyncIntegration } from './feedbackSync';
11
11
  export { feedbackAsyncIntegration, feedbackSyncIntegration, feedbackSyncIntegration as feedbackIntegration };
12
12
  export { getFeedback, sendFeedback } from '@sentry-internal/feedback';
13
- export * from './metrics';
14
13
  export { defaultRequestInstrumentationOptions, instrumentOutgoingRequests } from './tracing/request';
15
14
  export { browserTracingIntegration, startBrowserTracingNavigationSpan, startBrowserTracingPageLoadSpan, } from './tracing/browserTracingIntegration';
16
15
  export type { RequestInstrumentationOptions } from './tracing/request';
17
- export { addTracingExtensions, registerSpanErrorInstrumentation, getActiveSpan, getRootSpan, startSpan, startInactiveSpan, startSpanManual, withActiveSpan, startNewTrace, getSpanDescendants, setMeasurement, getSpanStatusFromHttpCode, setHttpStatus, makeMultiplexedTransport, moduleMetadataIntegration, zodErrorsIntegration, thirdPartyErrorFilterIntegration, } from '@sentry/core';
16
+ export { registerSpanErrorInstrumentation, getActiveSpan, getRootSpan, startSpan, startInactiveSpan, startSpanManual, withActiveSpan, startNewTrace, getSpanDescendants, setMeasurement, getSpanStatusFromHttpCode, setHttpStatus, makeMultiplexedTransport, moduleMetadataIntegration, zodErrorsIntegration, thirdPartyErrorFilterIntegration, } from '@sentry/core';
18
17
  export type { Span } from '@sentry/core';
19
18
  export { makeBrowserOfflineTransport } from './transports/offline';
20
19
  export { browserProfilingIntegration } from './profiling/integration';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAAA,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,CAA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AE,CAAC;AAC7G,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAEtE,OAAO,EAAE,oCAAoC,EAAE,0BAA0B,EAAE,MAAM,mBAAmB,CAAC;AACrG,OAAO,EACL,yBAAyB,EACzB,iCAAiC,EACjC,+BAA+B,GAChC,MAAM,qCAAqC,CAAC;AAC7C,YAAY,EAAE,6BAA6B,EAAE,MAAM,mBAAmB,CAAC;AACvE,OAAO,EACL,gCAAgC,EAChC,aAAa,EACb,WAAW,EACX,SAAS,EACT,iBAAiB,EACjB,eAAe,EACf,cAAc,EACd,aAAa,EACb,kBAAkB,EAClB,cAAc,EACd,yBAAyB,EACzB,aAAa,EACb,wBAAwB,EACxB,yBAAyB,EACzB,oBAAoB,EACpB,gCAAgC,GACjC,MAAM,cAAc,CAAC;AACtB,YAAY,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,2BAA2B,EAAE,MAAM,sBAAsB,CAAC;AACnE,OAAO,EAAE,2BAA2B,EAAE,MAAM,yBAAyB,CAAC;AACtE,OAAO,EAAE,2BAA2B,EAAE,MAAM,0BAA0B,CAAC;AACvE,OAAO,EAAE,yBAAyB,EAAE,MAAM,+BAA+B,CAAC;AAC1E,OAAO,EACL,uBAAuB,EACvB,KAAK,uBAAuB,GAC7B,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAE,uBAAuB,EAAE,gCAAgC,EAAE,MAAM,0CAA0C,CAAC;AACrH,OAAO,EAAE,sBAAsB,EAAE,0BAA0B,EAAE,MAAM,yCAAyC,CAAC;AAC7G,OAAO,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"httpcontext.d.ts","sourceRoot":"","sources":["../../../../src/integrations/httpcontext.ts"],"names":[],"mappings":"AAGA;;;GAGG;AACH,eAAO,MAAM,sBAAsB,0CAwBjC,CAAC"}
1
+ {"version":3,"file":"httpcontext.d.ts","sourceRoot":"","sources":["../../../../src/integrations/httpcontext.ts"],"names":[],"mappings":"AAGA;;;GAGG;AACH,eAAO,MAAM,sBAAsB,0CA4BjC,CAAC"}
@@ -1,3 +1,2 @@
1
- export { debugIntegration } from '@sentry/core';
2
1
  export { spotlightBrowserIntegration } from '../integrations/spotlight';
3
2
  //# sourceMappingURL=index.debug.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.debug.d.ts","sourceRoot":"","sources":["../../../../src/integrations-bundle/index.debug.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAChD,OAAO,EAAE,2BAA2B,EAAE,MAAM,2BAA2B,CAAC"}
1
+ {"version":3,"file":"index.debug.d.ts","sourceRoot":"","sources":["../../../../src/integrations-bundle/index.debug.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAAE,MAAM,2BAA2B,CAAC"}
@@ -1,7 +1,9 @@
1
- import type { Client, DsnLike, Integration, Options, UserFeedback } from '@sentry/core';
1
+ import type { Client, Integration, Options, ReportDialogOptions } from '@sentry/core';
2
2
  import type { BrowserOptions } from './client';
3
3
  /** Get the default integrations for the browser SDK. */
4
- export declare function getDefaultIntegrations(options: Options): Integration[];
4
+ export declare function getDefaultIntegrations(_options: Options): Integration[];
5
+ /** Exported only for tests. */
6
+ export declare function applyDefaultOptions(optionsArg?: BrowserOptions): BrowserOptions;
5
7
  /**
6
8
  * The Sentry Browser SDK Client.
7
9
  *
@@ -49,34 +51,6 @@ export declare function getDefaultIntegrations(options: Options): Integration[];
49
51
  * @see {@link BrowserOptions} for documentation on configuration options.
50
52
  */
51
53
  export declare function init(browserOptions?: BrowserOptions): Client | undefined;
52
- /**
53
- * All properties the report dialog supports
54
- */
55
- export interface ReportDialogOptions {
56
- [key: string]: any;
57
- eventId?: string;
58
- dsn?: DsnLike;
59
- user?: {
60
- email?: string;
61
- name?: string;
62
- };
63
- lang?: string;
64
- title?: string;
65
- subtitle?: string;
66
- subtitle2?: string;
67
- labelName?: string;
68
- labelEmail?: string;
69
- labelComments?: string;
70
- labelClose?: string;
71
- labelSubmit?: string;
72
- errorGeneric?: string;
73
- errorFormEntry?: string;
74
- successMessage?: string;
75
- /** Callback after reportDialog showed up */
76
- onLoad?(this: void): void;
77
- /** Callback after reportDialog closed */
78
- onClose?(this: void): void;
79
- }
80
54
  /**
81
55
  * Present the user with a report dialog.
82
56
  *
@@ -93,10 +67,4 @@ export declare function forceLoad(): void;
93
67
  * @hidden
94
68
  */
95
69
  export declare function onLoad(callback: () => void): void;
96
- /**
97
- * Captures user feedback and sends it to Sentry.
98
- *
99
- * @deprecated Use `captureFeedback` instead.
100
- */
101
- export declare function captureUserFeedback(feedback: UserFeedback): void;
102
70
  //# sourceMappingURL=sdk.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"sdk.d.ts","sourceRoot":"","sources":["../../../src/sdk.ts"],"names":[],"mappings":"AAeA,OAAO,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,WAAW,EAAE,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AACxF,OAAO,KAAK,EAAwB,cAAc,EAAE,MAAM,UAAU,CAAC;AAarE,wDAAwD;AACxD,wBAAgB,sBAAsB,CAAC,OAAO,EAAE,OAAO,GAAG,WAAW,EAAE,CAsBtE;AAqED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6CG;AACH,wBAAgB,IAAI,CAAC,cAAc,GAAE,cAAmB,GAAG,MAAM,GAAG,SAAS,CA4B5E;AAED;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAGlC,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,GAAG,CAAC,EAAE,OAAO,CAAC;IACd,IAAI,CAAC,EAAE;QACL,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,IAAI,CAAC,EAAE,MAAM,CAAC;KACf,CAAC;IACF,IAA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AAC,UAAU,GAAE,cAAmB,GAAG,cAAc,CAgBnF;AA8DD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6CG;AACH,wBAAgB,IAAI,CAAC,cAAc,GAAE,cAAmB,GAAG,MAAM,GAAG,SAAS,CA4B5E;AAED;;;;GAIG;AACH,wBAAgB,gBAAgB,CAAC,OAAO,GAAE,mBAAwB,GAAG,IAAI,CA2DxE;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":"browserTracingIntegration.d.ts","sourceRoot":"","sources":["../../../../src/tracing/browserTracingIntegration.ts"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,MAAM,EAAiB,IAAI,EAAE,gBAAgB,EAAqB,MAAM,cAAc,CAAC;AA4BrG,eAAO,MAAM,8BAA8B,mBAAmB,CAAC;AAO/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;;;;OAIG;IACH,UAAU,EAAE,OAAO,CAAC;IAEpB;;;;OAIG;IACH,QAAQ,EAAE,OAAO,CAAC;IAElB;;;;;OAKG;IACH,2BAA2B,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SAAS,CAKlB;AAED;;;GAGG;AACH,wBAAgB,iCAAiC,CAAC,MAAM,EAAE,MAAM,EAAE,WAAW,EAAE,gBAAgB,GAAG,IAAI,GAAG,SAAS,CAMjH;AAED,sCAAsC;AACtC,wBAAgB,cAAc,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CASnE"}
@@ -68,6 +68,16 @@ export interface RequestInstrumentationOptions {
68
68
  export declare const defaultRequestInstrumentationOptions: RequestInstrumentationOptions;
69
69
  /** Registers span creators for xhr and fetch requests */
70
70
  export declare function instrumentOutgoingRequests(client: Client, _options?: Partial<RequestInstrumentationOptions>): void;
71
+ /**
72
+ * Converts ALPN protocol ids to name and version.
73
+ *
74
+ * (https://www.iana.org/assignments/tls-extensiontype-values/tls-extensiontype-values.xhtml#alpn-protocol-ids)
75
+ * @param nextHopProtocol PerformanceResourceTiming.nextHopProtocol
76
+ */
77
+ export declare function extractNetworkProtocol(nextHopProtocol: string): {
78
+ name: string;
79
+ version: string;
80
+ };
71
81
  /**
72
82
  * A function that determines whether to attach tracing headers to a request.
73
83
  * We only export this function for testing purposes.
@@ -1 +1 @@
1
- {"version":3,"file":"request.d.ts","sourceRoot":"","sources":["../../../../src/tracing/request.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,MAAM,EAAE,cAAc,EAA+B,IAAI,EAAE,MAAM,cAAc,CAAC;AAoB9F,0CAA0C;AAC1C,MAAM,WAAW,6BAA6B;IAC5C;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;OAQG;IACH,2BAA2B,EAAE,OAAO,CAAC;IAErC;;;;OAIG;IACH,iBAAiB,EAAE,OAAO,CAAC;IAE3B;;;;;OAKG;IACH,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,aAAa,CAgBf"}
1
+ {"version":3,"file":"userfeedback.d.ts","sourceRoot":"","sources":["../../../src/userfeedback.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,aAAa,EAAE,WAAW,EAAE,YAAY,EAAoB,MAAM,cAAc,CAAC;AAE9G;;GAEG;AACH,wBAAgB,0BAA0B,CACxC,QAAQ,EAAE,YAAY,EACtB,EACE,QAAQ,EACR,MAAM,EACN,GAAG,GACJ,EAAE;IACD,QAAQ,EAAE,WAAW,GAAG,SAAS,CAAC;IAClC,MAAM,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B,GAAG,EAAE,aAAa,GAAG,SAAS,CAAC;CAChC,GACA,aAAa,CAef"}
@@ -8,13 +8,11 @@ declare const LazyLoadableIntegrations: {
8
8
  readonly captureConsoleIntegration: "captureconsole";
9
9
  readonly contextLinesIntegration: "contextlines";
10
10
  readonly linkedErrorsIntegration: "linkederrors";
11
- readonly debugIntegration: "debug";
12
11
  readonly dedupeIntegration: "dedupe";
13
12
  readonly extraErrorDataIntegration: "extraerrordata";
14
13
  readonly httpClientIntegration: "httpclient";
15
14
  readonly reportingObserverIntegration: "reportingobserver";
16
15
  readonly rewriteFramesIntegration: "rewriteframes";
17
- readonly sessionTimingIntegration: "sessiontiming";
18
16
  readonly browserProfilingIntegration: "browserprofiling";
19
17
  readonly moduleMetadataIntegration: "modulemetadata";
20
18
  };
@@ -1 +1 @@
1
- {"version":3,"file":"lazyLoadIntegration.d.ts","sourceRoot":"","sources":["../../../../src/utils/lazyLoadIntegration.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAKlD,QAAA,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;CAkBpB,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":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAKlD,QAAA,MAAM,wBAAwB;;;;;;;;;;;;;;;;CAgBpB,CAAC;AAMX;;;GAGG;AACH,wBAAsB,mBAAmB,CACvC,IAAI,EAAE,MAAM,OAAO,wBAAwB,EAC3C,WAAW,CAAC,EAAE,MAAM,GACnB,OAAO,CAAC,aAAa,CAAC,CAwDxB"}
@@ -1,5 +1,5 @@
1
- import { BrowserClientProfilingOptions, BrowserClientReplayOptions, ClientOptions, Event, EventHint, Options, ParameterizedString, Scope, SeverityLevel, UserFeedback } from '@sentry/core';
2
- import { BaseClient } from '@sentry/core';
1
+ import { BrowserClientProfilingOptions, BrowserClientReplayOptions, ClientOptions, Event, EventHint, Options, ParameterizedString, Scope, SeverityLevel } from '@sentry/core';
2
+ import { Client } from '@sentry/core';
3
3
  import { BrowserTransportOptions } from './transports/types';
4
4
  /**
5
5
  * Configuration options for the Sentry Browser SDK.
@@ -39,7 +39,7 @@ export type BrowserClientOptions = ClientOptions<BrowserTransportOptions> & Brow
39
39
  * @see BrowserOptions for documentation on configuration options.
40
40
  * @see SentryClient for usage documentation.
41
41
  */
42
- export declare class BrowserClient extends BaseClient<BrowserClientOptions> {
42
+ export declare class BrowserClient extends Client<BrowserClientOptions> {
43
43
  /**
44
44
  * Creates a new Browser SDK instance.
45
45
  *
@@ -54,15 +54,9 @@ export declare class BrowserClient extends BaseClient<BrowserClientOptions> {
54
54
  * @inheritDoc
55
55
  */
56
56
  eventFromMessage(message: ParameterizedString, level?: SeverityLevel, hint?: EventHint): PromiseLike<Event>;
57
- /**
58
- * Sends user feedback to Sentry.
59
- *
60
- * @deprecated Use `captureFeedback` instead.
61
- */
62
- captureUserFeedback(feedback: UserFeedback): void;
63
57
  /**
64
58
  * @inheritDoc
65
59
  */
66
- protected _prepareEvent(event: Event, hint: EventHint, scope?: Scope): PromiseLike<Event | null>;
60
+ protected _prepareEvent(event: Event, hint: EventHint, currentScope: Scope, isolationScope: Scope): PromiseLike<Event | null>;
67
61
  }
68
62
  //# sourceMappingURL=client.d.ts.map
@@ -1,7 +1,6 @@
1
- export { Breadcrumb, BreadcrumbHint, Request, RequestEventData, SdkInfo, Event, EventHint, ErrorEvent, Exception, SeverityLevel, StackFrame, Stacktrace, Thread, User, Session, } from '@sentry/core';
1
+ export { Breadcrumb, BreadcrumbHint, RequestEventData, SdkInfo, Event, EventHint, ErrorEvent, Exception, SeverityLevel, StackFrame, Stacktrace, Thread, User, Session, ReportDialogOptions, } from '@sentry/core';
2
2
  export { BrowserOptions } from './client';
3
- export { ReportDialogOptions } from './sdk';
4
- export { addEventProcessor, addBreadcrumb, addIntegration, captureException, captureEvent, captureMessage, close, createTransport, lastEventId, flush, getCurrentHub, getClient, isInitialized, getCurrentScope, getIsolationScope, getGlobalScope, setCurrentClient, Scope, continueTrace, suppressTracing, SDK_VERSION, setContext, setExtra, setExtras, setTag, setTags, setUser, withScope, withIsolationScope, functionToStringIntegration, inboundFiltersIntegration, dedupeIntegration, parameterize, startSession, captureSession, endSession, spanToJSON, spanToTraceHeader, spanToBaggageHeader, updateSpanName, } from '@sentry/core';
3
+ export { addEventProcessor, addBreadcrumb, addIntegration, captureException, captureEvent, captureFeedback, captureMessage, close, createTransport, lastEventId, flush, getClient, isInitialized, getCurrentScope, getIsolationScope, getGlobalScope, setCurrentClient, Scope, continueTrace, suppressTracing, SDK_VERSION, setContext, setExtra, setExtras, setTag, setTags, setUser, withScope, withIsolationScope, functionToStringIntegration, inboundFiltersIntegration, dedupeIntegration, parameterize, startSession, captureSession, endSession, spanToJSON, spanToTraceHeader, spanToBaggageHeader, updateSpanName, } from '@sentry/core';
5
4
  export { SEMANTIC_ATTRIBUTE_SENTRY_OP, SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN, SEMANTIC_ATTRIBUTE_SENTRY_SOURCE, SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE, } from '@sentry/core';
6
5
  export { WINDOW } from './helpers';
7
6
  export { BrowserClient } from './client';
@@ -9,7 +8,7 @@ export { makeFetchTransport } from './transports/fetch';
9
8
  export { defaultStackParser, defaultStackLineParsers, chromeStackLineParser, geckoStackLineParser, opera10StackLineParser, opera11StackLineParser, winjsStackLineParser, } from './stack-parsers';
10
9
  export { eventFromException, eventFromMessage, exceptionFromError } from './eventbuilder';
11
10
  export { createUserFeedbackEnvelope } from './userfeedback';
12
- export { getDefaultIntegrations, forceLoad, init, onLoad, showReportDialog, captureUserFeedback, } from './sdk';
11
+ export { getDefaultIntegrations, forceLoad, init, onLoad, showReportDialog, } from './sdk';
13
12
  export { breadcrumbsIntegration } from './integrations/breadcrumbs';
14
13
  export { globalHandlersIntegration } from './integrations/globalhandlers';
15
14
  export { httpContextIntegration } from './integrations/httpcontext';
@@ -1,5 +1,30 @@
1
1
  import { Mechanism, WrappedFunction } from '@sentry/core';
2
- export declare const WINDOW: import("@sentry/core").InternalGlobal & Window;
2
+ export declare const WINDOW: {
3
+ navigator?: {
4
+ userAgent?: string | undefined;
5
+ maxTouchPoints?: number | undefined;
6
+ } | undefined;
7
+ console: Console;
8
+ PerformanceObserver?: any;
9
+ Sentry?: any;
10
+ onerror?: {
11
+ (event: string | object, source?: string | undefined, lineno?: number | undefined, colno?: number | undefined, error?: Error | undefined): any;
12
+ __SENTRY_INSTRUMENTED__?: true | undefined;
13
+ } | undefined;
14
+ onunhandledrejection?: {
15
+ (event: unknown): boolean;
16
+ __SENTRY_INSTRUMENTED__?: true | undefined;
17
+ } | undefined;
18
+ SENTRY_ENVIRONMENT?: string | undefined;
19
+ SENTRY_DSN?: string | undefined;
20
+ SENTRY_RELEASE?: {
21
+ id?: string | undefined;
22
+ } | undefined;
23
+ SENTRY_SDK_SOURCE?: import("@sentry/core").SdkSource | undefined;
24
+ _sentryDebugIds?: Record<string, string> | undefined;
25
+ _sentryModuleMetadata?: Record<string, any> | undefined;
26
+ _sentryEsmLoaderHookRegistered?: boolean | undefined;
27
+ } & import("@sentry/core").Carrier & Window;
3
28
  /**
4
29
  * @hidden
5
30
  */
@@ -1,4 +1,4 @@
1
- import { browserTracingIntegrationShim, feedbackIntegrationShim, metricsShim, replayIntegrationShim } from '@sentry-internal/integration-shims';
1
+ import { browserTracingIntegrationShim, feedbackIntegrationShim, replayIntegrationShim } from '@sentry-internal/integration-shims';
2
2
  export * from './index.bundle.base';
3
- export { browserTracingIntegrationShim as browserTracingIntegration, feedbackIntegrationShim as feedbackAsyncIntegration, feedbackIntegrationShim as feedbackIntegration, replayIntegrationShim as replayIntegration, metricsShim as metrics, };
3
+ export { browserTracingIntegrationShim as browserTracingIntegration, feedbackIntegrationShim as feedbackAsyncIntegration, feedbackIntegrationShim as feedbackIntegration, replayIntegrationShim as replayIntegration, };
4
4
  //# sourceMappingURL=index.bundle.d.ts.map