@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.
- package/build/npm/cjs/dev/client.js +1 -0
- package/build/npm/cjs/dev/client.js.map +1 -1
- package/build/npm/cjs/dev/eventbuilder.js +8 -8
- package/build/npm/cjs/dev/eventbuilder.js.map +1 -1
- package/build/npm/cjs/dev/index.js +3 -9
- package/build/npm/cjs/dev/index.js.map +1 -1
- package/build/npm/cjs/dev/integrations/browsersession.js +1 -1
- package/build/npm/cjs/dev/integrations/browsersession.js.map +1 -1
- package/build/npm/cjs/dev/integrations/fetchStreamPerformance.js +2 -1
- package/build/npm/cjs/dev/integrations/fetchStreamPerformance.js.map +1 -1
- package/build/npm/cjs/dev/integrations/graphqlClient.js +4 -4
- package/build/npm/cjs/dev/integrations/graphqlClient.js.map +1 -1
- package/build/npm/cjs/dev/integrations/httpclient.js +1 -6
- package/build/npm/cjs/dev/integrations/httpclient.js.map +1 -1
- package/build/npm/cjs/dev/integrations/httpcontext.js +18 -10
- package/build/npm/cjs/dev/integrations/httpcontext.js.map +1 -1
- package/build/npm/cjs/dev/integrations/spanstreaming.js +4 -19
- package/build/npm/cjs/dev/integrations/spanstreaming.js.map +1 -1
- package/build/npm/cjs/dev/integrations/spotlight.js.map +1 -1
- package/build/npm/cjs/dev/integrations/view-hierarchy.js +1 -0
- package/build/npm/cjs/dev/integrations/view-hierarchy.js.map +1 -1
- package/build/npm/cjs/dev/integrations/webVitals.js +9 -14
- package/build/npm/cjs/dev/integrations/webVitals.js.map +1 -1
- package/build/npm/cjs/dev/profiling/index.js.map +1 -1
- package/build/npm/cjs/dev/profiling/integration.js +21 -91
- package/build/npm/cjs/dev/profiling/integration.js.map +1 -1
- package/build/npm/cjs/dev/profiling/utils.js +1 -284
- package/build/npm/cjs/dev/profiling/utils.js.map +1 -1
- package/build/npm/cjs/dev/sdk.js +10 -7
- package/build/npm/cjs/dev/sdk.js.map +1 -1
- package/build/npm/cjs/dev/tracing/backgroundtab.js +6 -2
- package/build/npm/cjs/dev/tracing/backgroundtab.js.map +1 -1
- package/build/npm/cjs/dev/tracing/browserTracingIntegration.js +30 -42
- package/build/npm/cjs/dev/tracing/browserTracingIntegration.js.map +1 -1
- package/build/npm/cjs/dev/tracing/linkedTraces.js +4 -2
- package/build/npm/cjs/dev/tracing/linkedTraces.js.map +1 -1
- package/build/npm/cjs/dev/tracing/request.js +10 -17
- package/build/npm/cjs/dev/tracing/request.js.map +1 -1
- package/build/npm/cjs/dev/transports/fetch.js.map +1 -1
- package/build/npm/cjs/dev/utils/lazyLoadIntegration.js +2 -8
- package/build/npm/cjs/dev/utils/lazyLoadIntegration.js.map +1 -1
- package/build/npm/cjs/prod/client.js +1 -0
- package/build/npm/cjs/prod/client.js.map +1 -1
- package/build/npm/cjs/prod/eventbuilder.js +8 -8
- package/build/npm/cjs/prod/eventbuilder.js.map +1 -1
- package/build/npm/cjs/prod/index.js +3 -9
- package/build/npm/cjs/prod/index.js.map +1 -1
- package/build/npm/cjs/prod/integrations/browsersession.js +1 -1
- package/build/npm/cjs/prod/integrations/browsersession.js.map +1 -1
- package/build/npm/cjs/prod/integrations/fetchStreamPerformance.js +2 -1
- package/build/npm/cjs/prod/integrations/fetchStreamPerformance.js.map +1 -1
- package/build/npm/cjs/prod/integrations/graphqlClient.js +4 -4
- package/build/npm/cjs/prod/integrations/graphqlClient.js.map +1 -1
- package/build/npm/cjs/prod/integrations/httpclient.js +1 -6
- package/build/npm/cjs/prod/integrations/httpclient.js.map +1 -1
- package/build/npm/cjs/prod/integrations/httpcontext.js +18 -10
- package/build/npm/cjs/prod/integrations/httpcontext.js.map +1 -1
- package/build/npm/cjs/prod/integrations/spanstreaming.js +4 -19
- package/build/npm/cjs/prod/integrations/spanstreaming.js.map +1 -1
- package/build/npm/cjs/prod/integrations/spotlight.js.map +1 -1
- package/build/npm/cjs/prod/integrations/view-hierarchy.js +1 -0
- package/build/npm/cjs/prod/integrations/view-hierarchy.js.map +1 -1
- package/build/npm/cjs/prod/integrations/webVitals.js +9 -14
- package/build/npm/cjs/prod/integrations/webVitals.js.map +1 -1
- package/build/npm/cjs/prod/profiling/index.js.map +1 -1
- package/build/npm/cjs/prod/profiling/integration.js +21 -91
- package/build/npm/cjs/prod/profiling/integration.js.map +1 -1
- package/build/npm/cjs/prod/profiling/utils.js +1 -284
- package/build/npm/cjs/prod/profiling/utils.js.map +1 -1
- package/build/npm/cjs/prod/sdk.js +10 -7
- package/build/npm/cjs/prod/sdk.js.map +1 -1
- package/build/npm/cjs/prod/tracing/backgroundtab.js +6 -2
- package/build/npm/cjs/prod/tracing/backgroundtab.js.map +1 -1
- package/build/npm/cjs/prod/tracing/browserTracingIntegration.js +30 -42
- package/build/npm/cjs/prod/tracing/browserTracingIntegration.js.map +1 -1
- package/build/npm/cjs/prod/tracing/linkedTraces.js +4 -2
- package/build/npm/cjs/prod/tracing/linkedTraces.js.map +1 -1
- package/build/npm/cjs/prod/tracing/request.js +10 -17
- package/build/npm/cjs/prod/tracing/request.js.map +1 -1
- package/build/npm/cjs/prod/transports/fetch.js.map +1 -1
- package/build/npm/cjs/prod/utils/lazyLoadIntegration.js +2 -8
- package/build/npm/cjs/prod/utils/lazyLoadIntegration.js.map +1 -1
- package/build/npm/esm/dev/client.js +1 -0
- package/build/npm/esm/dev/client.js.map +1 -1
- package/build/npm/esm/dev/eventbuilder.js +8 -8
- package/build/npm/esm/dev/eventbuilder.js.map +1 -1
- package/build/npm/esm/dev/index.js +2 -2
- package/build/npm/esm/dev/integrations/browsersession.js +1 -1
- package/build/npm/esm/dev/integrations/browsersession.js.map +1 -1
- package/build/npm/esm/dev/integrations/fetchStreamPerformance.js +3 -2
- package/build/npm/esm/dev/integrations/fetchStreamPerformance.js.map +1 -1
- package/build/npm/esm/dev/integrations/graphqlClient.js +6 -6
- package/build/npm/esm/dev/integrations/graphqlClient.js.map +1 -1
- package/build/npm/esm/dev/integrations/httpclient.js +1 -6
- package/build/npm/esm/dev/integrations/httpclient.js.map +1 -1
- package/build/npm/esm/dev/integrations/httpcontext.js +19 -11
- package/build/npm/esm/dev/integrations/httpcontext.js.map +1 -1
- package/build/npm/esm/dev/integrations/spanstreaming.js +5 -21
- package/build/npm/esm/dev/integrations/spanstreaming.js.map +1 -1
- package/build/npm/esm/dev/integrations/spotlight.js.map +1 -1
- package/build/npm/esm/dev/integrations/view-hierarchy.js +1 -0
- package/build/npm/esm/dev/integrations/view-hierarchy.js.map +1 -1
- package/build/npm/esm/dev/integrations/webVitals.js +10 -15
- package/build/npm/esm/dev/integrations/webVitals.js.map +1 -1
- package/build/npm/esm/dev/package.json +1 -1
- package/build/npm/esm/dev/profiling/index.js.map +1 -1
- package/build/npm/esm/dev/profiling/integration.js +22 -92
- package/build/npm/esm/dev/profiling/integration.js.map +1 -1
- package/build/npm/esm/dev/profiling/utils.js +3 -273
- package/build/npm/esm/dev/profiling/utils.js.map +1 -1
- package/build/npm/esm/dev/sdk.js +11 -8
- package/build/npm/esm/dev/sdk.js.map +1 -1
- package/build/npm/esm/dev/tracing/backgroundtab.js +6 -2
- package/build/npm/esm/dev/tracing/backgroundtab.js.map +1 -1
- package/build/npm/esm/dev/tracing/browserTracingIntegration.js +32 -44
- package/build/npm/esm/dev/tracing/browserTracingIntegration.js.map +1 -1
- package/build/npm/esm/dev/tracing/linkedTraces.js +4 -2
- package/build/npm/esm/dev/tracing/linkedTraces.js.map +1 -1
- package/build/npm/esm/dev/tracing/request.js +12 -19
- package/build/npm/esm/dev/tracing/request.js.map +1 -1
- package/build/npm/esm/dev/transports/fetch.js.map +1 -1
- package/build/npm/esm/dev/utils/lazyLoadIntegration.js +2 -8
- package/build/npm/esm/dev/utils/lazyLoadIntegration.js.map +1 -1
- package/build/npm/esm/prod/client.js +1 -0
- package/build/npm/esm/prod/client.js.map +1 -1
- package/build/npm/esm/prod/eventbuilder.js +8 -8
- package/build/npm/esm/prod/eventbuilder.js.map +1 -1
- package/build/npm/esm/prod/index.js +2 -2
- package/build/npm/esm/prod/integrations/browsersession.js +1 -1
- package/build/npm/esm/prod/integrations/browsersession.js.map +1 -1
- package/build/npm/esm/prod/integrations/fetchStreamPerformance.js +3 -2
- package/build/npm/esm/prod/integrations/fetchStreamPerformance.js.map +1 -1
- package/build/npm/esm/prod/integrations/graphqlClient.js +6 -6
- package/build/npm/esm/prod/integrations/graphqlClient.js.map +1 -1
- package/build/npm/esm/prod/integrations/httpclient.js +1 -6
- package/build/npm/esm/prod/integrations/httpclient.js.map +1 -1
- package/build/npm/esm/prod/integrations/httpcontext.js +19 -11
- package/build/npm/esm/prod/integrations/httpcontext.js.map +1 -1
- package/build/npm/esm/prod/integrations/spanstreaming.js +5 -21
- package/build/npm/esm/prod/integrations/spanstreaming.js.map +1 -1
- package/build/npm/esm/prod/integrations/spotlight.js.map +1 -1
- package/build/npm/esm/prod/integrations/view-hierarchy.js +1 -0
- package/build/npm/esm/prod/integrations/view-hierarchy.js.map +1 -1
- package/build/npm/esm/prod/integrations/webVitals.js +10 -15
- package/build/npm/esm/prod/integrations/webVitals.js.map +1 -1
- package/build/npm/esm/prod/package.json +1 -1
- package/build/npm/esm/prod/profiling/index.js.map +1 -1
- package/build/npm/esm/prod/profiling/integration.js +22 -92
- package/build/npm/esm/prod/profiling/integration.js.map +1 -1
- package/build/npm/esm/prod/profiling/utils.js +3 -273
- package/build/npm/esm/prod/profiling/utils.js.map +1 -1
- package/build/npm/esm/prod/sdk.js +11 -8
- package/build/npm/esm/prod/sdk.js.map +1 -1
- package/build/npm/esm/prod/tracing/backgroundtab.js +6 -2
- package/build/npm/esm/prod/tracing/backgroundtab.js.map +1 -1
- package/build/npm/esm/prod/tracing/browserTracingIntegration.js +32 -44
- package/build/npm/esm/prod/tracing/browserTracingIntegration.js.map +1 -1
- package/build/npm/esm/prod/tracing/linkedTraces.js +4 -2
- package/build/npm/esm/prod/tracing/linkedTraces.js.map +1 -1
- package/build/npm/esm/prod/tracing/request.js +12 -19
- package/build/npm/esm/prod/tracing/request.js.map +1 -1
- package/build/npm/esm/prod/transports/fetch.js.map +1 -1
- package/build/npm/esm/prod/utils/lazyLoadIntegration.js +2 -8
- package/build/npm/esm/prod/utils/lazyLoadIntegration.js.map +1 -1
- package/build/npm/types/client.d.ts.map +1 -1
- package/build/npm/types/eventbuilder.d.ts.map +1 -1
- package/build/npm/types/exports.d.ts +1 -1
- package/build/npm/types/exports.d.ts.map +1 -1
- package/build/npm/types/index.bundle.d.ts +2 -2
- package/build/npm/types/index.bundle.d.ts.map +1 -1
- package/build/npm/types/index.bundle.feedback.d.ts +2 -2
- package/build/npm/types/index.bundle.feedback.d.ts.map +1 -1
- package/build/npm/types/index.bundle.logs.metrics.d.ts +1 -1
- package/build/npm/types/index.bundle.logs.metrics.d.ts.map +1 -1
- package/build/npm/types/index.bundle.replay.d.ts +2 -2
- package/build/npm/types/index.bundle.replay.d.ts.map +1 -1
- package/build/npm/types/index.bundle.replay.feedback.d.ts +2 -2
- package/build/npm/types/index.bundle.replay.feedback.d.ts.map +1 -1
- package/build/npm/types/index.bundle.replay.logs.metrics.d.ts +1 -1
- package/build/npm/types/index.bundle.replay.logs.metrics.d.ts.map +1 -1
- package/build/npm/types/index.bundle.tracing.d.ts +2 -2
- package/build/npm/types/index.bundle.tracing.d.ts.map +1 -1
- package/build/npm/types/index.bundle.tracing.logs.metrics.d.ts +1 -1
- package/build/npm/types/index.bundle.tracing.logs.metrics.d.ts.map +1 -1
- package/build/npm/types/index.bundle.tracing.replay.d.ts +2 -2
- package/build/npm/types/index.bundle.tracing.replay.d.ts.map +1 -1
- package/build/npm/types/index.bundle.tracing.replay.feedback.d.ts +2 -2
- package/build/npm/types/index.bundle.tracing.replay.feedback.d.ts.map +1 -1
- package/build/npm/types/index.bundle.tracing.replay.feedback.logs.metrics.d.ts +1 -1
- package/build/npm/types/index.bundle.tracing.replay.feedback.logs.metrics.d.ts.map +1 -1
- package/build/npm/types/index.bundle.tracing.replay.logs.metrics.d.ts +1 -1
- package/build/npm/types/index.bundle.tracing.replay.logs.metrics.d.ts.map +1 -1
- package/build/npm/types/index.d.ts +2 -2
- package/build/npm/types/index.d.ts.map +1 -1
- package/build/npm/types/integrations/browsersession.d.ts +3 -5
- package/build/npm/types/integrations/browsersession.d.ts.map +1 -1
- package/build/npm/types/integrations/featureFlags/openfeature/integration.d.ts.map +1 -1
- package/build/npm/types/integrations/featureFlags/openfeature/types.d.ts +9 -9
- package/build/npm/types/integrations/featureFlags/openfeature/types.d.ts.map +1 -1
- package/build/npm/types/integrations/fetchStreamPerformance.d.ts.map +1 -1
- package/build/npm/types/integrations/graphqlClient.d.ts.map +1 -1
- package/build/npm/types/integrations/httpcontext.d.ts.map +1 -1
- package/build/npm/types/integrations/spanstreaming.d.ts +1 -0
- package/build/npm/types/integrations/spanstreaming.d.ts.map +1 -1
- package/build/npm/types/integrations/spotlight.d.ts +1 -1
- package/build/npm/types/integrations/usertiming.d.ts +2 -0
- package/build/npm/types/integrations/usertiming.d.ts.map +1 -0
- package/build/npm/types/integrations/view-hierarchy.d.ts.map +1 -1
- package/build/npm/types/integrations/webVitals.d.ts +1 -8
- package/build/npm/types/integrations/webVitals.d.ts.map +1 -1
- package/build/npm/types/integrations/webWorker.d.ts +1 -1
- package/build/npm/types/profiling/UIProfiler.d.ts.map +1 -1
- package/build/npm/types/profiling/index.d.ts.map +1 -1
- package/build/npm/types/profiling/integration.d.ts.map +1 -1
- package/build/npm/types/profiling/utils.d.ts +1 -74
- package/build/npm/types/profiling/utils.d.ts.map +1 -1
- package/build/npm/types/sdk.d.ts.map +1 -1
- package/build/npm/types/tracing/backgroundtab.d.ts.map +1 -1
- package/build/npm/types/tracing/browserTracingIntegration.d.ts +1 -47
- package/build/npm/types/tracing/browserTracingIntegration.d.ts.map +1 -1
- package/build/npm/types/tracing/linkedTraces.d.ts.map +1 -1
- package/build/npm/types/tracing/request.d.ts +0 -13
- package/build/npm/types/tracing/request.d.ts.map +1 -1
- package/build/npm/types/utils/lazyLoadIntegration.d.ts +1 -1
- package/build/npm/types/utils/lazyLoadIntegration.d.ts.map +1 -1
- package/package.json +12 -21
- package/build/npm/cjs/dev/profiling/startProfileForSpan.js +0 -91
- package/build/npm/cjs/dev/profiling/startProfileForSpan.js.map +0 -1
- package/build/npm/cjs/prod/profiling/startProfileForSpan.js +0 -91
- package/build/npm/cjs/prod/profiling/startProfileForSpan.js.map +0 -1
- package/build/npm/esm/dev/profiling/startProfileForSpan.js +0 -89
- package/build/npm/esm/dev/profiling/startProfileForSpan.js.map +0 -1
- package/build/npm/esm/prod/profiling/startProfileForSpan.js +0 -89
- package/build/npm/esm/prod/profiling/startProfileForSpan.js.map +0 -1
- package/build/npm/types/integrations-bundle/index.createlangchaincallbackhandler.d.ts +0 -2
- package/build/npm/types/integrations-bundle/index.createlangchaincallbackhandler.d.ts.map +0 -1
- package/build/npm/types/integrations-bundle/index.instrumentanthropicaiclient.d.ts +0 -2
- package/build/npm/types/integrations-bundle/index.instrumentanthropicaiclient.d.ts.map +0 -1
- package/build/npm/types/integrations-bundle/index.instrumentgooglegenaiclient.d.ts +0 -2
- package/build/npm/types/integrations-bundle/index.instrumentgooglegenaiclient.d.ts.map +0 -1
- package/build/npm/types/integrations-bundle/index.instrumentlangchainembeddings.d.ts +0 -2
- package/build/npm/types/integrations-bundle/index.instrumentlangchainembeddings.d.ts.map +0 -1
- package/build/npm/types/integrations-bundle/index.instrumentlanggraph.d.ts +0 -2
- package/build/npm/types/integrations-bundle/index.instrumentlanggraph.d.ts.map +0 -1
- package/build/npm/types/integrations-bundle/index.instrumentopenaiclient.d.ts +0 -2
- package/build/npm/types/integrations-bundle/index.instrumentopenaiclient.d.ts.map +0 -1
- package/build/npm/types/integrations-bundle/index.instrumentstategraph.d.ts +0 -2
- package/build/npm/types/integrations-bundle/index.instrumentstategraph.d.ts.map +0 -1
- package/build/npm/types/profiling/startProfileForSpan.d.ts +0 -8
- package/build/npm/types/profiling/startProfileForSpan.d.ts.map +0 -1
- package/build/npm/types-ts3.8/client.d.ts +0 -76
- package/build/npm/types-ts3.8/debug-build.d.ts +0 -7
- package/build/npm/types-ts3.8/diagnose-sdk.d.ts +0 -11
- package/build/npm/types-ts3.8/eventbuilder.d.ts +0 -40
- package/build/npm/types-ts3.8/exports.d.ts +0 -21
- package/build/npm/types-ts3.8/feedbackAsync.d.ts +0 -7
- package/build/npm/types-ts3.8/feedbackSync.d.ts +0 -4
- package/build/npm/types-ts3.8/helpers.d.ts +0 -27
- package/build/npm/types-ts3.8/index.bundle.base.d.ts +0 -2
- package/build/npm/types-ts3.8/index.bundle.d.ts +0 -5
- package/build/npm/types-ts3.8/index.bundle.feedback.d.ts +0 -7
- package/build/npm/types-ts3.8/index.bundle.logs.metrics.d.ts +0 -6
- package/build/npm/types-ts3.8/index.bundle.replay.d.ts +0 -6
- package/build/npm/types-ts3.8/index.bundle.replay.feedback.d.ts +0 -8
- package/build/npm/types-ts3.8/index.bundle.replay.logs.metrics.d.ts +0 -7
- package/build/npm/types-ts3.8/index.bundle.tracing.d.ts +0 -13
- package/build/npm/types-ts3.8/index.bundle.tracing.logs.metrics.d.ts +0 -13
- package/build/npm/types-ts3.8/index.bundle.tracing.replay.d.ts +0 -14
- package/build/npm/types-ts3.8/index.bundle.tracing.replay.feedback.d.ts +0 -16
- package/build/npm/types-ts3.8/index.bundle.tracing.replay.feedback.logs.metrics.d.ts +0 -14
- package/build/npm/types-ts3.8/index.bundle.tracing.replay.logs.metrics.d.ts +0 -14
- package/build/npm/types-ts3.8/index.d.ts +0 -38
- package/build/npm/types-ts3.8/integrations/breadcrumbs.d.ts +0 -16
- package/build/npm/types-ts3.8/integrations/browserapierrors.d.ts +0 -23
- package/build/npm/types-ts3.8/integrations/browserprofiling.d.ts +0 -2
- package/build/npm/types-ts3.8/integrations/browsersession.d.ts +0 -25
- package/build/npm/types-ts3.8/integrations/contextlines.d.ts +0 -32
- package/build/npm/types-ts3.8/integrations/culturecontext.d.ts +0 -18
- package/build/npm/types-ts3.8/integrations/featureFlags/growthbook/index.d.ts +0 -2
- package/build/npm/types-ts3.8/integrations/featureFlags/growthbook/integration.d.ts +0 -25
- package/build/npm/types-ts3.8/integrations/featureFlags/growthbook/types.d.ts +0 -6
- package/build/npm/types-ts3.8/integrations/featureFlags/launchdarkly/index.d.ts +0 -2
- package/build/npm/types-ts3.8/integrations/featureFlags/launchdarkly/integration.d.ts +0 -27
- package/build/npm/types-ts3.8/integrations/featureFlags/launchdarkly/types.d.ts +0 -44
- package/build/npm/types-ts3.8/integrations/featureFlags/openfeature/index.d.ts +0 -2
- package/build/npm/types-ts3.8/integrations/featureFlags/openfeature/integration.d.ts +0 -18
- package/build/npm/types-ts3.8/integrations/featureFlags/openfeature/types.d.ts +0 -78
- package/build/npm/types-ts3.8/integrations/featureFlags/statsig/index.d.ts +0 -2
- package/build/npm/types-ts3.8/integrations/featureFlags/statsig/integration.d.ts +0 -30
- package/build/npm/types-ts3.8/integrations/featureFlags/statsig/types.d.ts +0 -14
- package/build/npm/types-ts3.8/integrations/featureFlags/unleash/index.d.ts +0 -2
- package/build/npm/types-ts3.8/integrations/featureFlags/unleash/integration.d.ts +0 -31
- package/build/npm/types-ts3.8/integrations/featureFlags/unleash/types.d.ts +0 -21
- package/build/npm/types-ts3.8/integrations/fetchStreamPerformance.d.ts +0 -16
- package/build/npm/types-ts3.8/integrations/globalhandlers.d.ts +0 -19
- package/build/npm/types-ts3.8/integrations/graphqlClient.d.ts +0 -60
- package/build/npm/types-ts3.8/integrations/httpclient.d.ts +0 -32
- package/build/npm/types-ts3.8/integrations/httpcontext.d.ts +0 -8
- package/build/npm/types-ts3.8/integrations/linkederrors.d.ts +0 -12
- package/build/npm/types-ts3.8/integrations/reportingobserver.d.ts +0 -12
- package/build/npm/types-ts3.8/integrations/spanstreaming.d.ts +0 -4
- package/build/npm/types-ts3.8/integrations/spotlight.d.ts +0 -21
- package/build/npm/types-ts3.8/integrations/view-hierarchy.d.ts +0 -51
- package/build/npm/types-ts3.8/integrations/webVitals.d.ts +0 -26
- package/build/npm/types-ts3.8/integrations/webWorker.d.ts +0 -129
- package/build/npm/types-ts3.8/integrations-bundle/index.captureconsole.d.ts +0 -2
- package/build/npm/types-ts3.8/integrations-bundle/index.createlangchaincallbackhandler.d.ts +0 -2
- package/build/npm/types-ts3.8/integrations-bundle/index.dedupe.d.ts +0 -2
- package/build/npm/types-ts3.8/integrations-bundle/index.extraerrordata.d.ts +0 -2
- package/build/npm/types-ts3.8/integrations-bundle/index.feedback.d.ts +0 -5
- package/build/npm/types-ts3.8/integrations-bundle/index.graphqlclient.d.ts +0 -2
- package/build/npm/types-ts3.8/integrations-bundle/index.instrumentanthropicaiclient.d.ts +0 -2
- package/build/npm/types-ts3.8/integrations-bundle/index.instrumentgooglegenaiclient.d.ts +0 -2
- package/build/npm/types-ts3.8/integrations-bundle/index.instrumentlangchainembeddings.d.ts +0 -2
- package/build/npm/types-ts3.8/integrations-bundle/index.instrumentlanggraph.d.ts +0 -2
- package/build/npm/types-ts3.8/integrations-bundle/index.instrumentopenaiclient.d.ts +0 -2
- package/build/npm/types-ts3.8/integrations-bundle/index.instrumentstategraph.d.ts +0 -2
- package/build/npm/types-ts3.8/integrations-bundle/index.modulemetadata.d.ts +0 -2
- package/build/npm/types-ts3.8/integrations-bundle/index.rewriteframes.d.ts +0 -2
- package/build/npm/types-ts3.8/integrations-bundle/index.spotlight.d.ts +0 -2
- package/build/npm/types-ts3.8/normalizeStringifyValue.d.ts +0 -15
- package/build/npm/types-ts3.8/pluggable-exports-bundle/index.multiplexedtransport.d.ts +0 -2
- package/build/npm/types-ts3.8/profiling/UIProfiler.d.ts +0 -75
- package/build/npm/types-ts3.8/profiling/index.d.ts +0 -8
- package/build/npm/types-ts3.8/profiling/integration.d.ts +0 -4
- package/build/npm/types-ts3.8/profiling/jsSelfProfiling.d.ts +0 -41
- package/build/npm/types-ts3.8/profiling/startProfileForSpan.d.ts +0 -8
- package/build/npm/types-ts3.8/profiling/utils.d.ts +0 -112
- package/build/npm/types-ts3.8/report-dialog.d.ts +0 -8
- package/build/npm/types-ts3.8/sdk.d.ts +0 -62
- package/build/npm/types-ts3.8/stack-parsers.d.ts +0 -9
- package/build/npm/types-ts3.8/tracing/backgroundtab.d.ts +0 -6
- package/build/npm/types-ts3.8/tracing/browserTracingIntegration.d.ts +0 -271
- package/build/npm/types-ts3.8/tracing/linkedTraces.d.ts +0 -52
- package/build/npm/types-ts3.8/tracing/reportPageLoaded.d.ts +0 -11
- package/build/npm/types-ts3.8/tracing/request.d.ts +0 -87
- package/build/npm/types-ts3.8/tracing/setActiveSpan.d.ts +0 -39
- package/build/npm/types-ts3.8/tracing/utils.d.ts +0 -17
- package/build/npm/types-ts3.8/transports/fetch.d.ts +0 -8
- package/build/npm/types-ts3.8/transports/offline.d.ts +0 -33
- package/build/npm/types-ts3.8/transports/types.d.ts +0 -6
- package/build/npm/types-ts3.8/userfeedback.d.ts +0 -10
- package/build/npm/types-ts3.8/utils/detectBrowserExtension.d.ts +0 -6
- package/build/npm/types-ts3.8/utils/lazyLoadIntegration.d.ts +0 -35
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
export interface IVariant {
|
|
2
|
-
name: string;
|
|
3
|
-
enabled: boolean;
|
|
4
|
-
feature_enabled?: boolean;
|
|
5
|
-
payload?: {
|
|
6
|
-
type: string;
|
|
7
|
-
value: string;
|
|
8
|
-
};
|
|
9
|
-
}
|
|
10
|
-
export interface UnleashClient {
|
|
11
|
-
isEnabled(this: UnleashClient, featureName: string): boolean;
|
|
12
|
-
getVariant(this: UnleashClient, featureName: string): IVariant;
|
|
13
|
-
}
|
|
14
|
-
export interface IConfig {
|
|
15
|
-
[key: string]: unknown;
|
|
16
|
-
appName: string;
|
|
17
|
-
clientKey: string;
|
|
18
|
-
url: URL | string;
|
|
19
|
-
}
|
|
20
|
-
export type UnleashClientClass = new (config: IConfig) => UnleashClient;
|
|
21
|
-
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Tracks streamed fetch response bodies by creating an `http.client.stream` sibling span.
|
|
3
|
-
*
|
|
4
|
-
* The regular `http.client` span ends when response headers arrive. This integration adds
|
|
5
|
-
* a span that starts at header arrival and ends when the body fully resolves:
|
|
6
|
-
*
|
|
7
|
-
* ```
|
|
8
|
-
* --------- pageload --------------------------------
|
|
9
|
-
* -- http.client --
|
|
10
|
-
* -- http.client.stream -------
|
|
11
|
-
* ```
|
|
12
|
-
*/
|
|
13
|
-
export declare const fetchStreamPerformanceIntegration: () => import("@sentry/core").Integration & {
|
|
14
|
-
name: "FetchStreamPerformance";
|
|
15
|
-
};
|
|
16
|
-
//# sourceMappingURL=fetchStreamPerformance.d.ts.map
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { Event, Primitive } from '@sentry/core/browser';
|
|
2
|
-
type GlobalHandlersIntegrationsOptionKeys = 'onerror' | 'onunhandledrejection';
|
|
3
|
-
type GlobalHandlersIntegrations = Record<GlobalHandlersIntegrationsOptionKeys, boolean>;
|
|
4
|
-
export declare const globalHandlersIntegration: (options?: Partial<GlobalHandlersIntegrations> | undefined) => import("@sentry/core").Integration & {
|
|
5
|
-
name: "GlobalHandlers";
|
|
6
|
-
};
|
|
7
|
-
/**
|
|
8
|
-
*
|
|
9
|
-
*/
|
|
10
|
-
export declare function _getUnhandledRejectionError(error: unknown): unknown;
|
|
11
|
-
/**
|
|
12
|
-
* Create an event from a promise rejection where the `reason` is a primitive.
|
|
13
|
-
*
|
|
14
|
-
* @param reason: The `reason` property of the promise rejection
|
|
15
|
-
* @returns An Event object with an appropriate `exception` value
|
|
16
|
-
*/
|
|
17
|
-
export declare function _eventFromRejectionWithPrimitive(reason: Primitive): Event;
|
|
18
|
-
export {};
|
|
19
|
-
//# sourceMappingURL=globalhandlers.d.ts.map
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
import { FetchHint, XhrHint } from '@sentry/browser-utils';
|
|
2
|
-
interface GraphQLClientOptions {
|
|
3
|
-
endpoints: Array<string | RegExp>;
|
|
4
|
-
}
|
|
5
|
-
/** Standard graphql request shape: https://graphql.org/learn/serving-over-http/#post-request-and-body */
|
|
6
|
-
interface GraphQLStandardRequest {
|
|
7
|
-
query: string;
|
|
8
|
-
operationName?: string;
|
|
9
|
-
variables?: Record<string, unknown>;
|
|
10
|
-
extensions?: Record<string, unknown>;
|
|
11
|
-
}
|
|
12
|
-
/** Persisted operation request */
|
|
13
|
-
interface GraphQLPersistedRequest {
|
|
14
|
-
operationName: string;
|
|
15
|
-
variables?: Record<string, unknown>;
|
|
16
|
-
extensions: {
|
|
17
|
-
persistedQuery: {
|
|
18
|
-
version: number;
|
|
19
|
-
sha256Hash: string;
|
|
20
|
-
};
|
|
21
|
-
} & Record<string, unknown>;
|
|
22
|
-
}
|
|
23
|
-
type GraphQLRequestPayload = GraphQLStandardRequest | GraphQLPersistedRequest;
|
|
24
|
-
interface GraphQLOperation {
|
|
25
|
-
operationType?: string;
|
|
26
|
-
operationName?: string;
|
|
27
|
-
}
|
|
28
|
-
/**
|
|
29
|
-
* @param requestBody - GraphQL request
|
|
30
|
-
* @returns A formatted version of the request: 'TYPE NAME' or 'TYPE' or 'persisted NAME'
|
|
31
|
-
*/
|
|
32
|
-
export declare function _getGraphQLOperation(requestBody: GraphQLRequestPayload): string;
|
|
33
|
-
/**
|
|
34
|
-
* Get the request body/payload based on the shape of the hint.
|
|
35
|
-
*
|
|
36
|
-
* Exported for tests only.
|
|
37
|
-
*/
|
|
38
|
-
export declare function getRequestPayloadXhrOrFetch(hint: XhrHint | FetchHint): string | undefined;
|
|
39
|
-
/**
|
|
40
|
-
* Extract the name and type of the operation from the GraphQL query.
|
|
41
|
-
*
|
|
42
|
-
* Exported for tests only.
|
|
43
|
-
*/
|
|
44
|
-
export declare function parseGraphQLQuery(query: string): GraphQLOperation;
|
|
45
|
-
/**
|
|
46
|
-
* Extract the payload of a request if it's GraphQL.
|
|
47
|
-
* Exported for tests only.
|
|
48
|
-
* @param payload - A valid JSON string
|
|
49
|
-
* @returns A POJO or undefined
|
|
50
|
-
*/
|
|
51
|
-
export declare function getGraphQLRequestPayload(payload: string): GraphQLRequestPayload | undefined;
|
|
52
|
-
/**
|
|
53
|
-
* This integration ensures that GraphQL requests made in the browser
|
|
54
|
-
* have their GraphQL-specific data captured and attached to spans and breadcrumbs.
|
|
55
|
-
*/
|
|
56
|
-
export declare const graphqlClientIntegration: (options: GraphQLClientOptions) => import("@sentry/core").Integration & {
|
|
57
|
-
name: "GraphQLClient";
|
|
58
|
-
};
|
|
59
|
-
export {};
|
|
60
|
-
//# sourceMappingURL=graphqlClient.d.ts.map
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
export type HttpStatusCodeRange = [
|
|
2
|
-
number,
|
|
3
|
-
number
|
|
4
|
-
] | number;
|
|
5
|
-
export type HttpRequestTarget = string | RegExp;
|
|
6
|
-
interface HttpClientOptions {
|
|
7
|
-
/**
|
|
8
|
-
* HTTP status codes that should be considered failed.
|
|
9
|
-
* This array can contain tuples of `[begin, end]` (both inclusive),
|
|
10
|
-
* single status codes, or a combinations of both
|
|
11
|
-
*
|
|
12
|
-
* Example: [[500, 505], 507]
|
|
13
|
-
* Default: [[500, 599]]
|
|
14
|
-
*/
|
|
15
|
-
failedRequestStatusCodes: HttpStatusCodeRange[];
|
|
16
|
-
/**
|
|
17
|
-
* Targets to track for failed requests.
|
|
18
|
-
* This array can contain strings or regular expressions.
|
|
19
|
-
*
|
|
20
|
-
* Example: ['http://localhost', /api\/.*\/]
|
|
21
|
-
* Default: [/.*\/]
|
|
22
|
-
*/
|
|
23
|
-
failedRequestTargets: HttpRequestTarget[];
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* Create events for failed client side HTTP requests.
|
|
27
|
-
*/
|
|
28
|
-
export declare const httpClientIntegration: (options?: Partial<HttpClientOptions> | undefined) => import("@sentry/core").Integration & {
|
|
29
|
-
name: "HttpClient";
|
|
30
|
-
};
|
|
31
|
-
export {};
|
|
32
|
-
//# sourceMappingURL=httpclient.d.ts.map
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
interface LinkedErrorsOptions {
|
|
2
|
-
key?: string;
|
|
3
|
-
limit?: number;
|
|
4
|
-
}
|
|
5
|
-
/**
|
|
6
|
-
* Aggregrate linked errors in an event.
|
|
7
|
-
*/
|
|
8
|
-
export declare const linkedErrorsIntegration: (options?: LinkedErrorsOptions | undefined) => import("@sentry/core").Integration & {
|
|
9
|
-
name: "LinkedErrors";
|
|
10
|
-
};
|
|
11
|
-
export {};
|
|
12
|
-
//# sourceMappingURL=linkederrors.d.ts.map
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
type ReportTypes = 'crash' | 'deprecation' | 'intervention';
|
|
2
|
-
interface ReportingObserverOptions {
|
|
3
|
-
types?: ReportTypes[];
|
|
4
|
-
}
|
|
5
|
-
/**
|
|
6
|
-
* Reporting API integration - https://w3c.github.io/reporting/
|
|
7
|
-
*/
|
|
8
|
-
export declare const reportingObserverIntegration: (options?: ReportingObserverOptions | undefined) => import("@sentry/core").Integration & {
|
|
9
|
-
name: "ReportingObserver";
|
|
10
|
-
};
|
|
11
|
-
export {};
|
|
12
|
-
//# sourceMappingURL=reportingobserver.d.ts.map
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
export type SpotlightConnectionOptions = {
|
|
2
|
-
/**
|
|
3
|
-
* Set this if the Spotlight Sidecar is not running on localhost:8969
|
|
4
|
-
* By default, the Url is set to http://localhost:8969/stream
|
|
5
|
-
*/
|
|
6
|
-
sidecarUrl?: string;
|
|
7
|
-
};
|
|
8
|
-
export declare const INTEGRATION_NAME: "SpotlightBrowser";
|
|
9
|
-
export declare const SPOTLIGHT_IGNORE_SPANS: {
|
|
10
|
-
op: string;
|
|
11
|
-
name: string;
|
|
12
|
-
}[];
|
|
13
|
-
/**
|
|
14
|
-
* Use this integration to send errors and transactions to Spotlight.
|
|
15
|
-
*
|
|
16
|
-
* Learn more about spotlight at https://spotlightjs.com
|
|
17
|
-
*/
|
|
18
|
-
export declare const spotlightBrowserIntegration: (options?: Partial<SpotlightConnectionOptions> | undefined) => import("@sentry/core").Integration & {
|
|
19
|
-
name: "SpotlightBrowser";
|
|
20
|
-
};
|
|
21
|
-
//# sourceMappingURL=spotlight.d.ts.map
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import { Event, EventHint } from '@sentry/core/browser';
|
|
2
|
-
interface OnElementArgs {
|
|
3
|
-
/**
|
|
4
|
-
* The element being processed.
|
|
5
|
-
*/
|
|
6
|
-
element: HTMLElement;
|
|
7
|
-
/**
|
|
8
|
-
* Lowercase tag name of the element.
|
|
9
|
-
*/
|
|
10
|
-
tagName: string;
|
|
11
|
-
/**
|
|
12
|
-
* The component name of the element.
|
|
13
|
-
*/
|
|
14
|
-
componentName?: string;
|
|
15
|
-
/**
|
|
16
|
-
* The current depth of the element in the view hierarchy. The root element will have a depth of 0.
|
|
17
|
-
*
|
|
18
|
-
* This allows you to limit the traversal depth for large DOM trees.
|
|
19
|
-
*/
|
|
20
|
-
depth?: number;
|
|
21
|
-
}
|
|
22
|
-
interface Options {
|
|
23
|
-
/**
|
|
24
|
-
* Whether to attach the view hierarchy to the event.
|
|
25
|
-
*
|
|
26
|
-
* Default: Always attach.
|
|
27
|
-
*/
|
|
28
|
-
shouldAttach?: (event: Event, hint: EventHint) => boolean;
|
|
29
|
-
/**
|
|
30
|
-
* A function that returns the root element to start walking the DOM from.
|
|
31
|
-
*
|
|
32
|
-
* Default: `window.document.body`
|
|
33
|
-
*/
|
|
34
|
-
rootElement?: () => HTMLElement | undefined;
|
|
35
|
-
/**
|
|
36
|
-
* Called for each HTMLElement as we walk the DOM.
|
|
37
|
-
*
|
|
38
|
-
* Return an object to include the element with any additional properties.
|
|
39
|
-
* Return `skip` to exclude the element and its children.
|
|
40
|
-
* Return `children` to skip the element but include its children.
|
|
41
|
-
*/
|
|
42
|
-
onElement?: (prop: OnElementArgs) => Record<string, string | number | boolean> | 'skip' | 'children';
|
|
43
|
-
}
|
|
44
|
-
/**
|
|
45
|
-
* An integration to include a view hierarchy attachment which contains the DOM.
|
|
46
|
-
*/
|
|
47
|
-
export declare const viewHierarchyIntegration: (options?: Options | undefined) => import("@sentry/core").Integration & {
|
|
48
|
-
name: "ViewHierarchy";
|
|
49
|
-
};
|
|
50
|
-
export {};
|
|
51
|
-
//# sourceMappingURL=view-hierarchy.d.ts.map
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
export declare const WEB_VITALS_INTEGRATION_NAME: "WebVitals";
|
|
2
|
-
export type WebVitalName = 'cls' | 'inp' | 'lcp';
|
|
3
|
-
export interface WebVitalsOptions {
|
|
4
|
-
/**
|
|
5
|
-
* Web vitals to skip.
|
|
6
|
-
*/
|
|
7
|
-
ignore?: WebVitalName[];
|
|
8
|
-
/**
|
|
9
|
-
* @experimental
|
|
10
|
-
*/
|
|
11
|
-
_experiments?: Partial<{
|
|
12
|
-
enableStandaloneClsSpans: boolean;
|
|
13
|
-
enableStandaloneLcpSpans: boolean;
|
|
14
|
-
}>;
|
|
15
|
-
}
|
|
16
|
-
/**
|
|
17
|
-
* Captures Core Web Vitals (LCP, CLS, INP) and related pageload vitals.
|
|
18
|
-
*
|
|
19
|
-
* `browserTracingIntegration` auto-registers this integration if no
|
|
20
|
-
* `webVitalsIntegration` is already present, so explicit registration is only
|
|
21
|
-
* needed to customize options or to use it without `browserTracingIntegration`.
|
|
22
|
-
*/
|
|
23
|
-
export declare const webVitalsIntegration: (options?: WebVitalsOptions | undefined) => import("@sentry/core").Integration & {
|
|
24
|
-
name: "WebVitals";
|
|
25
|
-
};
|
|
26
|
-
//# sourceMappingURL=webVitals.d.ts.map
|
|
@@ -1,129 +0,0 @@
|
|
|
1
|
-
import { Integration, IntegrationFn } from '@sentry/core/browser';
|
|
2
|
-
export declare const INTEGRATION_NAME: "WebWorker";
|
|
3
|
-
interface WebWorkerIntegration extends Integration {
|
|
4
|
-
addWorker: (worker: Worker) => void;
|
|
5
|
-
}
|
|
6
|
-
/**
|
|
7
|
-
* Use this integration to set up Sentry with web workers.
|
|
8
|
-
*
|
|
9
|
-
* IMPORTANT: This integration must be added **before** you start listening to
|
|
10
|
-
* any messages from the worker. Otherwise, your message handlers will receive
|
|
11
|
-
* messages from the Sentry SDK which you need to ignore.
|
|
12
|
-
*
|
|
13
|
-
* This integration only has an effect, if you call `Sentry.registerWebWorker(self)`
|
|
14
|
-
* from within the worker(s) you're adding to the integration.
|
|
15
|
-
*
|
|
16
|
-
* Given that you want to initialize the SDK as early as possible, you most likely
|
|
17
|
-
* want to add this integration **after** initializing the SDK:
|
|
18
|
-
*
|
|
19
|
-
* @example:
|
|
20
|
-
* ```ts filename={main.js}
|
|
21
|
-
* import * as Sentry from '@sentry/<your-sdk>';
|
|
22
|
-
*
|
|
23
|
-
* // some time earlier:
|
|
24
|
-
* Sentry.init(...)
|
|
25
|
-
*
|
|
26
|
-
* // 1. Initialize the worker
|
|
27
|
-
* const worker = new Worker(new URL('./worker.ts', import.meta.url));
|
|
28
|
-
*
|
|
29
|
-
* // 2. Add the integration
|
|
30
|
-
* const webWorkerIntegration = Sentry.webWorkerIntegration({ worker });
|
|
31
|
-
* Sentry.addIntegration(webWorkerIntegration);
|
|
32
|
-
*
|
|
33
|
-
* // 3. Register message listeners on the worker
|
|
34
|
-
* worker.addEventListener('message', event => {
|
|
35
|
-
* // ...
|
|
36
|
-
* });
|
|
37
|
-
* ```
|
|
38
|
-
*
|
|
39
|
-
* If you initialize multiple workers at the same time, you can also pass an array of workers
|
|
40
|
-
* to the integration:
|
|
41
|
-
*
|
|
42
|
-
* ```ts filename={main.js}
|
|
43
|
-
* const webWorkerIntegration = Sentry.webWorkerIntegration({ worker: [worker1, worker2] });
|
|
44
|
-
* Sentry.addIntegration(webWorkerIntegration);
|
|
45
|
-
* ```
|
|
46
|
-
*
|
|
47
|
-
* If you have any additional workers that you initialize at a later point,
|
|
48
|
-
* you can add them to the integration as follows:
|
|
49
|
-
*
|
|
50
|
-
* ```ts filename={main.js}
|
|
51
|
-
* const webWorkerIntegration = Sentry.webWorkerIntegration({ worker: worker1 });
|
|
52
|
-
* Sentry.addIntegration(webWorkerIntegration);
|
|
53
|
-
*
|
|
54
|
-
* // sometime later:
|
|
55
|
-
* webWorkerIntegration.addWorker(worker2);
|
|
56
|
-
* ```
|
|
57
|
-
*
|
|
58
|
-
* Of course, you can also directly add the integration in Sentry.init:
|
|
59
|
-
* ```ts filename={main.js}
|
|
60
|
-
* import * as Sentry from '@sentry/<your-sdk>';
|
|
61
|
-
*
|
|
62
|
-
* // 1. Initialize the worker
|
|
63
|
-
* const worker = new Worker(new URL('./worker.ts', import.meta.url));
|
|
64
|
-
*
|
|
65
|
-
* // 2. Initialize the SDK
|
|
66
|
-
* Sentry.init({
|
|
67
|
-
* integrations: [Sentry.webWorkerIntegration({ worker })]
|
|
68
|
-
* });
|
|
69
|
-
*
|
|
70
|
-
* // 3. Register message listeners on the worker
|
|
71
|
-
* worker.addEventListener('message', event => {
|
|
72
|
-
* // ...
|
|
73
|
-
* });
|
|
74
|
-
* ```
|
|
75
|
-
*
|
|
76
|
-
* @param options {WebWorkerIntegrationOptions} Integration options:
|
|
77
|
-
* - `worker`: The worker instance.
|
|
78
|
-
*/
|
|
79
|
-
export declare const webWorkerIntegration: IntegrationFn<WebWorkerIntegration>;
|
|
80
|
-
/**
|
|
81
|
-
* Minimal interface for DedicatedWorkerGlobalScope, only requiring the postMessage method.
|
|
82
|
-
* (which is the only thing we need from the worker's global object)
|
|
83
|
-
*
|
|
84
|
-
* @see https://developer.mozilla.org/en-US/docs/Web/API/DedicatedWorkerGlobalScope
|
|
85
|
-
*
|
|
86
|
-
* We can't use the actual type because it breaks everyone who doesn't have {"lib": ["WebWorker"]}
|
|
87
|
-
* but uses {"skipLibCheck": true} in their tsconfig.json.
|
|
88
|
-
*/
|
|
89
|
-
interface MinimalDedicatedWorkerGlobalScope {
|
|
90
|
-
postMessage: (message: unknown) => void;
|
|
91
|
-
addEventListener: (type: string, listener: (event: unknown) => void) => void;
|
|
92
|
-
location?: {
|
|
93
|
-
href?: string;
|
|
94
|
-
};
|
|
95
|
-
}
|
|
96
|
-
interface RegisterWebWorkerOptions {
|
|
97
|
-
self: MinimalDedicatedWorkerGlobalScope & {
|
|
98
|
-
_sentryDebugIds?: Record<string, string>;
|
|
99
|
-
_sentryModuleMetadata?: Record<string, any>;
|
|
100
|
-
};
|
|
101
|
-
}
|
|
102
|
-
/**
|
|
103
|
-
* Use this function to register the worker with the Sentry SDK.
|
|
104
|
-
*
|
|
105
|
-
* This function will:
|
|
106
|
-
* - Send debug IDs to the parent thread
|
|
107
|
-
* - Send module metadata to the parent thread (for thirdPartyErrorFilterIntegration)
|
|
108
|
-
* - Set up a handler for unhandled rejections in the worker
|
|
109
|
-
* - Forward unhandled rejections to the parent thread for capture
|
|
110
|
-
*
|
|
111
|
-
* Note: Synchronous errors in workers are already captured by globalHandlers.
|
|
112
|
-
* This only handles unhandled promise rejections which don't bubble to the parent.
|
|
113
|
-
*
|
|
114
|
-
* @example
|
|
115
|
-
* ```ts filename={worker.js}
|
|
116
|
-
* import * as Sentry from '@sentry/<your-sdk>';
|
|
117
|
-
*
|
|
118
|
-
* // Do this as early as possible in your worker.
|
|
119
|
-
* Sentry.registerWebWorker({ self });
|
|
120
|
-
*
|
|
121
|
-
* // continue setting up your worker
|
|
122
|
-
* self.postMessage(...)
|
|
123
|
-
* ```
|
|
124
|
-
* @param options {RegisterWebWorkerOptions} Integration options:
|
|
125
|
-
* - `self`: The worker instance you're calling this function from (self).
|
|
126
|
-
*/
|
|
127
|
-
export declare function registerWebWorker({ self }: RegisterWebWorkerOptions): void;
|
|
128
|
-
export {};
|
|
129
|
-
//# sourceMappingURL=webWorker.d.ts.map
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { feedbackAsyncIntegration } from '../feedbackAsync';
|
|
2
|
-
export { getFeedback } from '@sentry/feedback';
|
|
3
|
-
export { feedbackAsyncIntegration, feedbackAsyncIntegration as feedbackIntegration };
|
|
4
|
-
export { captureFeedback } from '@sentry/core/browser';
|
|
5
|
-
//# sourceMappingURL=index.feedback.d.ts.map
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Browser-specific contributions to `normalize()`'s `stringifyValue`. Plug into
|
|
3
|
-
* `setNormalizeStringifier` from the browser SDK so DOM values get a useful string
|
|
4
|
-
* representation without forcing core to carry the DOM-specific code.
|
|
5
|
-
*
|
|
6
|
-
* Handles:
|
|
7
|
-
* - `window` → `[Window]`
|
|
8
|
-
* - `document` → `[Document]`
|
|
9
|
-
* - `HTMLElement` subclasses → `[HTMLElement: <css-selector-path>]` (via `htmlTreeAsString`)
|
|
10
|
-
*
|
|
11
|
-
* Vue ViewModels and React SyntheticEvents are not handled here — the Vue and React
|
|
12
|
-
* SDKs wrap this function in their `init` and add their own checks on top.
|
|
13
|
-
*/
|
|
14
|
-
export declare function normalizeStringifyValue(value: Exclude<unknown, string | number | boolean | null>): string | undefined;
|
|
15
|
-
//# sourceMappingURL=normalizeStringifyValue.d.ts.map
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
import { Client, ContinuousProfiler, Span } from '@sentry/core/browser';
|
|
2
|
-
/**
|
|
3
|
-
* UIProfiler (Profiling V2):
|
|
4
|
-
* Supports two lifecycle modes:
|
|
5
|
-
* - 'manual': controlled explicitly via start()/stop()
|
|
6
|
-
* - 'trace': automatically runs while there are active sampled root spans
|
|
7
|
-
*
|
|
8
|
-
* Profiles are emitted as standalone `profile_chunk` envelopes either when:
|
|
9
|
-
* - there are no more sampled root spans, or
|
|
10
|
-
* - the 60s chunk timer elapses while profiling is running.
|
|
11
|
-
*/
|
|
12
|
-
export declare class UIProfiler implements ContinuousProfiler<Client> {
|
|
13
|
-
private _client;
|
|
14
|
-
private _profiler;
|
|
15
|
-
private _chunkTimer;
|
|
16
|
-
private _profilerId;
|
|
17
|
-
private _isRunning;
|
|
18
|
-
private _sessionSampled;
|
|
19
|
-
private _lifecycleMode;
|
|
20
|
-
private _activeRootSpanIds;
|
|
21
|
-
private _rootSpanTimeouts;
|
|
22
|
-
constructor();
|
|
23
|
-
/**
|
|
24
|
-
* Initialize the profiler with client, session sampling and lifecycle mode.
|
|
25
|
-
*/
|
|
26
|
-
initialize(client: Client): void;
|
|
27
|
-
/** Starts UI profiling (only effective in 'manual' mode and when sampled). */
|
|
28
|
-
start(): void;
|
|
29
|
-
/** Stops UI profiling (only effective in 'manual' mode). */
|
|
30
|
-
stop(): void;
|
|
31
|
-
/** Handle an already-active root span at integration setup time (used only in trace mode). */
|
|
32
|
-
notifyRootSpanActive(rootSpan: Span): void;
|
|
33
|
-
/**
|
|
34
|
-
* Begin profiling if not already running.
|
|
35
|
-
*/
|
|
36
|
-
private _beginProfiling;
|
|
37
|
-
/** End profiling session; final chunk will be collected and sent. */
|
|
38
|
-
private _endProfiling;
|
|
39
|
-
/** Trace-mode: attach spanStart/spanEnd listeners. */
|
|
40
|
-
private _setupTraceLifecycleListeners;
|
|
41
|
-
/**
|
|
42
|
-
* Resets profiling information from scope and resets running state (used on failure)
|
|
43
|
-
*/
|
|
44
|
-
private _resetProfilerInfo;
|
|
45
|
-
/**
|
|
46
|
-
* Clear and reset all per-root-span timeouts.
|
|
47
|
-
*/
|
|
48
|
-
private _clearAllRootSpanTimeouts;
|
|
49
|
-
/** Keep track of root spans and schedule safeguard timeout (trace mode). */
|
|
50
|
-
private _registerTraceRootSpan;
|
|
51
|
-
/**
|
|
52
|
-
* Start a profiler instance if needed.
|
|
53
|
-
*/
|
|
54
|
-
private _startProfilerInstance;
|
|
55
|
-
/**
|
|
56
|
-
* Schedule the next 60s chunk while running.
|
|
57
|
-
* Each tick collects a chunk and restarts the profiler.
|
|
58
|
-
* A chunk should be closed when there are no active root spans anymore OR when the maximum chunk interval is reached.
|
|
59
|
-
*/
|
|
60
|
-
private _startPeriodicChunking;
|
|
61
|
-
/**
|
|
62
|
-
* Handle timeout for a specific root span ID to avoid indefinitely running profiler if `spanEnd` never fires.
|
|
63
|
-
* If this was the last active root span, collect the current chunk and stop profiling.
|
|
64
|
-
*/
|
|
65
|
-
private _onRootSpanTimeout;
|
|
66
|
-
/**
|
|
67
|
-
* Stop current profiler instance, convert profile to chunk & send.
|
|
68
|
-
*/
|
|
69
|
-
private _collectCurrentChunk;
|
|
70
|
-
/**
|
|
71
|
-
* Send a profile chunk as a standalone envelope.
|
|
72
|
-
*/
|
|
73
|
-
private _sendProfileChunk;
|
|
74
|
-
}
|
|
75
|
-
//# sourceMappingURL=UIProfiler.d.ts.map
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { Profiler } from '@sentry/core/browser';
|
|
2
|
-
/**
|
|
3
|
-
* Profiler namespace for controlling the JS profiler in 'manual' mode.
|
|
4
|
-
*
|
|
5
|
-
* Requires the `browserProfilingIntegration` from the `@sentry/browser` package.
|
|
6
|
-
*/
|
|
7
|
-
export declare const uiProfiler: Profiler;
|
|
8
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
type JSSelfProfileSampleMarker = 'script' | 'gc' | 'style' | 'layout' | 'paint' | 'other';
|
|
2
|
-
export type JSSelfProfileSample = {
|
|
3
|
-
timestamp: number;
|
|
4
|
-
stackId?: number;
|
|
5
|
-
marker?: JSSelfProfileSampleMarker;
|
|
6
|
-
};
|
|
7
|
-
export type JSSelfProfileStack = {
|
|
8
|
-
frameId: number;
|
|
9
|
-
parentId?: number;
|
|
10
|
-
};
|
|
11
|
-
export type JSSelfProfileFrame = {
|
|
12
|
-
name: string;
|
|
13
|
-
resourceId?: number;
|
|
14
|
-
line?: number;
|
|
15
|
-
column?: number;
|
|
16
|
-
};
|
|
17
|
-
export type JSSelfProfile = {
|
|
18
|
-
resources: string[];
|
|
19
|
-
frames: JSSelfProfileFrame[];
|
|
20
|
-
stacks: JSSelfProfileStack[];
|
|
21
|
-
samples: JSSelfProfileSample[];
|
|
22
|
-
};
|
|
23
|
-
export interface JSSelfProfiler {
|
|
24
|
-
sampleInterval: number;
|
|
25
|
-
stopped: boolean;
|
|
26
|
-
stop: () => Promise<JSSelfProfile>;
|
|
27
|
-
addEventListener(event: 'samplebufferfull', callback: (trace: JSSelfProfile) => void): void;
|
|
28
|
-
}
|
|
29
|
-
export declare const JSSelfProfilerConstructor: {
|
|
30
|
-
new (options: {
|
|
31
|
-
sampleInterval: number;
|
|
32
|
-
maxBufferSize: number;
|
|
33
|
-
}): JSSelfProfiler;
|
|
34
|
-
};
|
|
35
|
-
declare global {
|
|
36
|
-
interface Window {
|
|
37
|
-
Profiler: typeof JSSelfProfilerConstructor | undefined;
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
export {};
|
|
41
|
-
//# sourceMappingURL=jsSelfProfiling.d.ts.map
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { Span } from '@sentry/core/browser';
|
|
2
|
-
/**
|
|
3
|
-
* Wraps startTransaction and stopTransaction with profiling related logic.
|
|
4
|
-
* startProfileForTransaction is called after the call to startTransaction in order to avoid our own code from
|
|
5
|
-
* being profiled. Because of that same reason, stopProfiling is called before the call to stopTransaction.
|
|
6
|
-
*/
|
|
7
|
-
export declare function startProfileForSpan(span: Span): void;
|
|
8
|
-
//# sourceMappingURL=startProfileForSpan.d.ts.map
|