@elenjical-ai/browser 0.0.0-stage → 10.76.2
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/LICENSE +21 -0
- package/README.md +57 -2
- package/build/npm/cjs/dev/client.js +77 -0
- package/build/npm/cjs/dev/client.js.map +1 -0
- package/build/npm/cjs/dev/debug-build.js +6 -0
- package/build/npm/cjs/dev/debug-build.js.map +1 -0
- package/build/npm/cjs/dev/diagnose-sdk.js +34 -0
- package/build/npm/cjs/dev/diagnose-sdk.js.map +1 -0
- package/build/npm/cjs/dev/eventbuilder.js +231 -0
- package/build/npm/cjs/dev/eventbuilder.js.map +1 -0
- package/build/npm/cjs/dev/feedbackAsync.js +11 -0
- package/build/npm/cjs/dev/feedbackAsync.js.map +1 -0
- package/build/npm/cjs/dev/feedbackSync.js +11 -0
- package/build/npm/cjs/dev/feedbackSync.js.map +1 -0
- package/build/npm/cjs/dev/helpers.js +108 -0
- package/build/npm/cjs/dev/helpers.js.map +1 -0
- package/build/npm/cjs/dev/index.js +208 -0
- package/build/npm/cjs/dev/index.js.map +1 -0
- package/build/npm/cjs/dev/integrations/breadcrumbs.js +249 -0
- package/build/npm/cjs/dev/integrations/breadcrumbs.js.map +1 -0
- package/build/npm/cjs/dev/integrations/browserapierrors.js +167 -0
- package/build/npm/cjs/dev/integrations/browserapierrors.js.map +1 -0
- package/build/npm/cjs/dev/integrations/browsersession.js +50 -0
- package/build/npm/cjs/dev/integrations/browsersession.js.map +1 -0
- package/build/npm/cjs/dev/integrations/contextlines.js +53 -0
- package/build/npm/cjs/dev/integrations/contextlines.js.map +1 -0
- package/build/npm/cjs/dev/integrations/culturecontext.js +50 -0
- package/build/npm/cjs/dev/integrations/culturecontext.js.map +1 -0
- package/build/npm/cjs/dev/integrations/featureFlags/growthbook/integration.js +8 -0
- package/build/npm/cjs/dev/integrations/featureFlags/growthbook/integration.js.map +1 -0
- package/build/npm/cjs/dev/integrations/featureFlags/launchdarkly/integration.js +30 -0
- package/build/npm/cjs/dev/integrations/featureFlags/launchdarkly/integration.js.map +1 -0
- package/build/npm/cjs/dev/integrations/featureFlags/openfeature/integration.js +32 -0
- package/build/npm/cjs/dev/integrations/featureFlags/openfeature/integration.js.map +1 -0
- package/build/npm/cjs/dev/integrations/featureFlags/statsig/integration.js +23 -0
- package/build/npm/cjs/dev/integrations/featureFlags/statsig/integration.js.map +1 -0
- package/build/npm/cjs/dev/integrations/featureFlags/unleash/integration.js +37 -0
- package/build/npm/cjs/dev/integrations/featureFlags/unleash/integration.js.map +1 -0
- package/build/npm/cjs/dev/integrations/fetchStreamPerformance.js +60 -0
- package/build/npm/cjs/dev/integrations/fetchStreamPerformance.js.map +1 -0
- package/build/npm/cjs/dev/integrations/globalhandlers.js +143 -0
- package/build/npm/cjs/dev/integrations/globalhandlers.js.map +1 -0
- package/build/npm/cjs/dev/integrations/graphqlClient.js +148 -0
- package/build/npm/cjs/dev/integrations/graphqlClient.js.map +1 -0
- package/build/npm/cjs/dev/integrations/httpclient.js +250 -0
- package/build/npm/cjs/dev/integrations/httpclient.js.map +1 -0
- package/build/npm/cjs/dev/integrations/httpcontext.js +47 -0
- package/build/npm/cjs/dev/integrations/httpcontext.js.map +1 -0
- package/build/npm/cjs/dev/integrations/linkederrors.js +31 -0
- package/build/npm/cjs/dev/integrations/linkederrors.js.map +1 -0
- package/build/npm/cjs/dev/integrations/reportingobserver.js +60 -0
- package/build/npm/cjs/dev/integrations/reportingobserver.js.map +1 -0
- package/build/npm/cjs/dev/integrations/spanstreaming.js +49 -0
- package/build/npm/cjs/dev/integrations/spanstreaming.js.map +1 -0
- package/build/npm/cjs/dev/integrations/spotlight.js +61 -0
- package/build/npm/cjs/dev/integrations/spotlight.js.map +1 -0
- package/build/npm/cjs/dev/integrations/view-hierarchy.js +74 -0
- package/build/npm/cjs/dev/integrations/view-hierarchy.js.map +1 -0
- package/build/npm/cjs/dev/integrations/webVitals.js +62 -0
- package/build/npm/cjs/dev/integrations/webVitals.js.map +1 -0
- package/build/npm/cjs/dev/integrations/webWorker.js +133 -0
- package/build/npm/cjs/dev/integrations/webWorker.js.map +1 -0
- package/build/npm/cjs/dev/normalizeStringifyValue.js +27 -0
- package/build/npm/cjs/dev/normalizeStringifyValue.js.map +1 -0
- package/build/npm/cjs/dev/profiling/UIProfiler.js +306 -0
- package/build/npm/cjs/dev/profiling/UIProfiler.js.map +1 -0
- package/build/npm/cjs/dev/profiling/index.js +38 -0
- package/build/npm/cjs/dev/profiling/index.js.map +1 -0
- package/build/npm/cjs/dev/profiling/integration.js +120 -0
- package/build/npm/cjs/dev/profiling/integration.js.map +1 -0
- package/build/npm/cjs/dev/profiling/startProfileForSpan.js +91 -0
- package/build/npm/cjs/dev/profiling/startProfileForSpan.js.map +1 -0
- package/build/npm/cjs/dev/profiling/utils.js +498 -0
- package/build/npm/cjs/dev/profiling/utils.js.map +1 -0
- package/build/npm/cjs/dev/report-dialog.js +53 -0
- package/build/npm/cjs/dev/report-dialog.js.map +1 -0
- package/build/npm/cjs/dev/sdk.js +70 -0
- package/build/npm/cjs/dev/sdk.js.map +1 -0
- package/build/npm/cjs/dev/stack-parsers.js +118 -0
- package/build/npm/cjs/dev/stack-parsers.js.map +1 -0
- package/build/npm/cjs/dev/tracing/backgroundtab.js +34 -0
- package/build/npm/cjs/dev/tracing/backgroundtab.js.map +1 -0
- package/build/npm/cjs/dev/tracing/browserTracingIntegration.js +437 -0
- package/build/npm/cjs/dev/tracing/browserTracingIntegration.js.map +1 -0
- package/build/npm/cjs/dev/tracing/linkedTraces.js +140 -0
- package/build/npm/cjs/dev/tracing/linkedTraces.js.map +1 -0
- package/build/npm/cjs/dev/tracing/reportPageLoaded.js +10 -0
- package/build/npm/cjs/dev/tracing/reportPageLoaded.js.map +1 -0
- package/build/npm/cjs/dev/tracing/request.js +236 -0
- package/build/npm/cjs/dev/tracing/request.js.map +1 -0
- package/build/npm/cjs/dev/tracing/setActiveSpan.js +21 -0
- package/build/npm/cjs/dev/tracing/setActiveSpan.js.map +1 -0
- package/build/npm/cjs/dev/tracing/utils.js +31 -0
- package/build/npm/cjs/dev/tracing/utils.js.map +1 -0
- package/build/npm/cjs/dev/transports/fetch.js +58 -0
- package/build/npm/cjs/dev/transports/fetch.js.map +1 -0
- package/build/npm/cjs/dev/transports/offline.js +111 -0
- package/build/npm/cjs/dev/transports/offline.js.map +1 -0
- package/build/npm/cjs/dev/userfeedback.js +32 -0
- package/build/npm/cjs/dev/userfeedback.js.map +1 -0
- package/build/npm/cjs/dev/utils/detectBrowserExtension.js +38 -0
- package/build/npm/cjs/dev/utils/detectBrowserExtension.js.map +1 -0
- package/build/npm/cjs/dev/utils/lazyLoadIntegration.js +92 -0
- package/build/npm/cjs/dev/utils/lazyLoadIntegration.js.map +1 -0
- package/build/npm/cjs/prod/client.js +77 -0
- package/build/npm/cjs/prod/client.js.map +1 -0
- package/build/npm/cjs/prod/debug-build.js +6 -0
- package/build/npm/cjs/prod/debug-build.js.map +1 -0
- package/build/npm/cjs/prod/diagnose-sdk.js +34 -0
- package/build/npm/cjs/prod/diagnose-sdk.js.map +1 -0
- package/build/npm/cjs/prod/eventbuilder.js +231 -0
- package/build/npm/cjs/prod/eventbuilder.js.map +1 -0
- package/build/npm/cjs/prod/feedbackAsync.js +11 -0
- package/build/npm/cjs/prod/feedbackAsync.js.map +1 -0
- package/build/npm/cjs/prod/feedbackSync.js +11 -0
- package/build/npm/cjs/prod/feedbackSync.js.map +1 -0
- package/build/npm/cjs/prod/helpers.js +108 -0
- package/build/npm/cjs/prod/helpers.js.map +1 -0
- package/build/npm/cjs/prod/index.js +208 -0
- package/build/npm/cjs/prod/index.js.map +1 -0
- package/build/npm/cjs/prod/integrations/breadcrumbs.js +249 -0
- package/build/npm/cjs/prod/integrations/breadcrumbs.js.map +1 -0
- package/build/npm/cjs/prod/integrations/browserapierrors.js +167 -0
- package/build/npm/cjs/prod/integrations/browserapierrors.js.map +1 -0
- package/build/npm/cjs/prod/integrations/browsersession.js +50 -0
- package/build/npm/cjs/prod/integrations/browsersession.js.map +1 -0
- package/build/npm/cjs/prod/integrations/contextlines.js +53 -0
- package/build/npm/cjs/prod/integrations/contextlines.js.map +1 -0
- package/build/npm/cjs/prod/integrations/culturecontext.js +50 -0
- package/build/npm/cjs/prod/integrations/culturecontext.js.map +1 -0
- package/build/npm/cjs/prod/integrations/featureFlags/growthbook/integration.js +8 -0
- package/build/npm/cjs/prod/integrations/featureFlags/growthbook/integration.js.map +1 -0
- package/build/npm/cjs/prod/integrations/featureFlags/launchdarkly/integration.js +30 -0
- package/build/npm/cjs/prod/integrations/featureFlags/launchdarkly/integration.js.map +1 -0
- package/build/npm/cjs/prod/integrations/featureFlags/openfeature/integration.js +32 -0
- package/build/npm/cjs/prod/integrations/featureFlags/openfeature/integration.js.map +1 -0
- package/build/npm/cjs/prod/integrations/featureFlags/statsig/integration.js +23 -0
- package/build/npm/cjs/prod/integrations/featureFlags/statsig/integration.js.map +1 -0
- package/build/npm/cjs/prod/integrations/featureFlags/unleash/integration.js +37 -0
- package/build/npm/cjs/prod/integrations/featureFlags/unleash/integration.js.map +1 -0
- package/build/npm/cjs/prod/integrations/fetchStreamPerformance.js +60 -0
- package/build/npm/cjs/prod/integrations/fetchStreamPerformance.js.map +1 -0
- package/build/npm/cjs/prod/integrations/globalhandlers.js +143 -0
- package/build/npm/cjs/prod/integrations/globalhandlers.js.map +1 -0
- package/build/npm/cjs/prod/integrations/graphqlClient.js +148 -0
- package/build/npm/cjs/prod/integrations/graphqlClient.js.map +1 -0
- package/build/npm/cjs/prod/integrations/httpclient.js +250 -0
- package/build/npm/cjs/prod/integrations/httpclient.js.map +1 -0
- package/build/npm/cjs/prod/integrations/httpcontext.js +47 -0
- package/build/npm/cjs/prod/integrations/httpcontext.js.map +1 -0
- package/build/npm/cjs/prod/integrations/linkederrors.js +31 -0
- package/build/npm/cjs/prod/integrations/linkederrors.js.map +1 -0
- package/build/npm/cjs/prod/integrations/reportingobserver.js +60 -0
- package/build/npm/cjs/prod/integrations/reportingobserver.js.map +1 -0
- package/build/npm/cjs/prod/integrations/spanstreaming.js +49 -0
- package/build/npm/cjs/prod/integrations/spanstreaming.js.map +1 -0
- package/build/npm/cjs/prod/integrations/spotlight.js +61 -0
- package/build/npm/cjs/prod/integrations/spotlight.js.map +1 -0
- package/build/npm/cjs/prod/integrations/view-hierarchy.js +74 -0
- package/build/npm/cjs/prod/integrations/view-hierarchy.js.map +1 -0
- package/build/npm/cjs/prod/integrations/webVitals.js +62 -0
- package/build/npm/cjs/prod/integrations/webVitals.js.map +1 -0
- package/build/npm/cjs/prod/integrations/webWorker.js +133 -0
- package/build/npm/cjs/prod/integrations/webWorker.js.map +1 -0
- package/build/npm/cjs/prod/normalizeStringifyValue.js +27 -0
- package/build/npm/cjs/prod/normalizeStringifyValue.js.map +1 -0
- package/build/npm/cjs/prod/profiling/UIProfiler.js +306 -0
- package/build/npm/cjs/prod/profiling/UIProfiler.js.map +1 -0
- package/build/npm/cjs/prod/profiling/index.js +38 -0
- package/build/npm/cjs/prod/profiling/index.js.map +1 -0
- package/build/npm/cjs/prod/profiling/integration.js +120 -0
- package/build/npm/cjs/prod/profiling/integration.js.map +1 -0
- package/build/npm/cjs/prod/profiling/startProfileForSpan.js +91 -0
- package/build/npm/cjs/prod/profiling/startProfileForSpan.js.map +1 -0
- package/build/npm/cjs/prod/profiling/utils.js +498 -0
- package/build/npm/cjs/prod/profiling/utils.js.map +1 -0
- package/build/npm/cjs/prod/report-dialog.js +53 -0
- package/build/npm/cjs/prod/report-dialog.js.map +1 -0
- package/build/npm/cjs/prod/sdk.js +60 -0
- package/build/npm/cjs/prod/sdk.js.map +1 -0
- package/build/npm/cjs/prod/stack-parsers.js +118 -0
- package/build/npm/cjs/prod/stack-parsers.js.map +1 -0
- package/build/npm/cjs/prod/tracing/backgroundtab.js +34 -0
- package/build/npm/cjs/prod/tracing/backgroundtab.js.map +1 -0
- package/build/npm/cjs/prod/tracing/browserTracingIntegration.js +437 -0
- package/build/npm/cjs/prod/tracing/browserTracingIntegration.js.map +1 -0
- package/build/npm/cjs/prod/tracing/linkedTraces.js +139 -0
- package/build/npm/cjs/prod/tracing/linkedTraces.js.map +1 -0
- package/build/npm/cjs/prod/tracing/reportPageLoaded.js +10 -0
- package/build/npm/cjs/prod/tracing/reportPageLoaded.js.map +1 -0
- package/build/npm/cjs/prod/tracing/request.js +236 -0
- package/build/npm/cjs/prod/tracing/request.js.map +1 -0
- package/build/npm/cjs/prod/tracing/setActiveSpan.js +21 -0
- package/build/npm/cjs/prod/tracing/setActiveSpan.js.map +1 -0
- package/build/npm/cjs/prod/tracing/utils.js +31 -0
- package/build/npm/cjs/prod/tracing/utils.js.map +1 -0
- package/build/npm/cjs/prod/transports/fetch.js +58 -0
- package/build/npm/cjs/prod/transports/fetch.js.map +1 -0
- package/build/npm/cjs/prod/transports/offline.js +111 -0
- package/build/npm/cjs/prod/transports/offline.js.map +1 -0
- package/build/npm/cjs/prod/userfeedback.js +32 -0
- package/build/npm/cjs/prod/userfeedback.js.map +1 -0
- package/build/npm/cjs/prod/utils/detectBrowserExtension.js +38 -0
- package/build/npm/cjs/prod/utils/detectBrowserExtension.js.map +1 -0
- package/build/npm/cjs/prod/utils/lazyLoadIntegration.js +92 -0
- package/build/npm/cjs/prod/utils/lazyLoadIntegration.js.map +1 -0
- package/build/npm/esm/dev/client.js +74 -0
- package/build/npm/esm/dev/client.js.map +1 -0
- package/build/npm/esm/dev/debug-build.js +4 -0
- package/build/npm/esm/dev/debug-build.js.map +1 -0
- package/build/npm/esm/dev/diagnose-sdk.js +32 -0
- package/build/npm/esm/dev/diagnose-sdk.js.map +1 -0
- package/build/npm/esm/dev/eventbuilder.js +224 -0
- package/build/npm/esm/dev/eventbuilder.js.map +1 -0
- package/build/npm/esm/dev/feedbackAsync.js +9 -0
- package/build/npm/esm/dev/feedbackAsync.js.map +1 -0
- package/build/npm/esm/dev/feedbackSync.js +9 -0
- package/build/npm/esm/dev/feedbackSync.js.map +1 -0
- package/build/npm/esm/dev/helpers.js +102 -0
- package/build/npm/esm/dev/helpers.js.map +1 -0
- package/build/npm/esm/dev/index.js +48 -0
- package/build/npm/esm/dev/index.js.map +1 -0
- package/build/npm/esm/dev/integrations/breadcrumbs.js +247 -0
- package/build/npm/esm/dev/integrations/breadcrumbs.js.map +1 -0
- package/build/npm/esm/dev/integrations/browserapierrors.js +165 -0
- package/build/npm/esm/dev/integrations/browserapierrors.js.map +1 -0
- package/build/npm/esm/dev/integrations/browsersession.js +48 -0
- package/build/npm/esm/dev/integrations/browsersession.js.map +1 -0
- package/build/npm/esm/dev/integrations/contextlines.js +50 -0
- package/build/npm/esm/dev/integrations/contextlines.js.map +1 -0
- package/build/npm/esm/dev/integrations/culturecontext.js +48 -0
- package/build/npm/esm/dev/integrations/culturecontext.js.map +1 -0
- package/build/npm/esm/dev/integrations/featureFlags/growthbook/integration.js +6 -0
- package/build/npm/esm/dev/integrations/featureFlags/growthbook/integration.js.map +1 -0
- package/build/npm/esm/dev/integrations/featureFlags/launchdarkly/integration.js +27 -0
- package/build/npm/esm/dev/integrations/featureFlags/launchdarkly/integration.js.map +1 -0
- package/build/npm/esm/dev/integrations/featureFlags/openfeature/integration.js +29 -0
- package/build/npm/esm/dev/integrations/featureFlags/openfeature/integration.js.map +1 -0
- package/build/npm/esm/dev/integrations/featureFlags/statsig/integration.js +21 -0
- package/build/npm/esm/dev/integrations/featureFlags/statsig/integration.js.map +1 -0
- package/build/npm/esm/dev/integrations/featureFlags/unleash/integration.js +35 -0
- package/build/npm/esm/dev/integrations/featureFlags/unleash/integration.js.map +1 -0
- package/build/npm/esm/dev/integrations/fetchStreamPerformance.js +58 -0
- package/build/npm/esm/dev/integrations/fetchStreamPerformance.js.map +1 -0
- package/build/npm/esm/dev/integrations/globalhandlers.js +139 -0
- package/build/npm/esm/dev/integrations/globalhandlers.js.map +1 -0
- package/build/npm/esm/dev/integrations/graphqlClient.js +142 -0
- package/build/npm/esm/dev/integrations/graphqlClient.js.map +1 -0
- package/build/npm/esm/dev/integrations/httpclient.js +248 -0
- package/build/npm/esm/dev/integrations/httpclient.js.map +1 -0
- package/build/npm/esm/dev/integrations/httpcontext.js +45 -0
- package/build/npm/esm/dev/integrations/httpcontext.js.map +1 -0
- package/build/npm/esm/dev/integrations/linkederrors.js +29 -0
- package/build/npm/esm/dev/integrations/linkederrors.js.map +1 -0
- package/build/npm/esm/dev/integrations/reportingobserver.js +58 -0
- package/build/npm/esm/dev/integrations/reportingobserver.js.map +1 -0
- package/build/npm/esm/dev/integrations/spanstreaming.js +47 -0
- package/build/npm/esm/dev/integrations/spanstreaming.js.map +1 -0
- package/build/npm/esm/dev/integrations/spotlight.js +57 -0
- package/build/npm/esm/dev/integrations/spotlight.js.map +1 -0
- package/build/npm/esm/dev/integrations/view-hierarchy.js +72 -0
- package/build/npm/esm/dev/integrations/view-hierarchy.js.map +1 -0
- package/build/npm/esm/dev/integrations/webVitals.js +59 -0
- package/build/npm/esm/dev/integrations/webVitals.js.map +1 -0
- package/build/npm/esm/dev/integrations/webWorker.js +129 -0
- package/build/npm/esm/dev/integrations/webWorker.js.map +1 -0
- package/build/npm/esm/dev/normalizeStringifyValue.js +25 -0
- package/build/npm/esm/dev/normalizeStringifyValue.js.map +1 -0
- package/build/npm/esm/dev/package.json +1 -0
- package/build/npm/esm/dev/profiling/UIProfiler.js +304 -0
- package/build/npm/esm/dev/profiling/UIProfiler.js.map +1 -0
- package/build/npm/esm/dev/profiling/index.js +36 -0
- package/build/npm/esm/dev/profiling/index.js.map +1 -0
- package/build/npm/esm/dev/profiling/integration.js +118 -0
- package/build/npm/esm/dev/profiling/integration.js.map +1 -0
- package/build/npm/esm/dev/profiling/startProfileForSpan.js +89 -0
- package/build/npm/esm/dev/profiling/startProfileForSpan.js.map +1 -0
- package/build/npm/esm/dev/profiling/utils.js +474 -0
- package/build/npm/esm/dev/profiling/utils.js.map +1 -0
- package/build/npm/esm/dev/report-dialog.js +51 -0
- package/build/npm/esm/dev/report-dialog.js.map +1 -0
- package/build/npm/esm/dev/sdk.js +65 -0
- package/build/npm/esm/dev/sdk.js.map +1 -0
- package/build/npm/esm/dev/stack-parsers.js +110 -0
- package/build/npm/esm/dev/stack-parsers.js.map +1 -0
- package/build/npm/esm/dev/tracing/backgroundtab.js +32 -0
- package/build/npm/esm/dev/tracing/backgroundtab.js.map +1 -0
- package/build/npm/esm/dev/tracing/browserTracingIntegration.js +429 -0
- package/build/npm/esm/dev/tracing/browserTracingIntegration.js.map +1 -0
- package/build/npm/esm/dev/tracing/linkedTraces.js +131 -0
- package/build/npm/esm/dev/tracing/linkedTraces.js.map +1 -0
- package/build/npm/esm/dev/tracing/reportPageLoaded.js +8 -0
- package/build/npm/esm/dev/tracing/reportPageLoaded.js.map +1 -0
- package/build/npm/esm/dev/tracing/request.js +232 -0
- package/build/npm/esm/dev/tracing/request.js.map +1 -0
- package/build/npm/esm/dev/tracing/setActiveSpan.js +19 -0
- package/build/npm/esm/dev/tracing/setActiveSpan.js.map +1 -0
- package/build/npm/esm/dev/tracing/utils.js +26 -0
- package/build/npm/esm/dev/tracing/utils.js.map +1 -0
- package/build/npm/esm/dev/transports/fetch.js +56 -0
- package/build/npm/esm/dev/transports/fetch.js.map +1 -0
- package/build/npm/esm/dev/transports/offline.js +105 -0
- package/build/npm/esm/dev/transports/offline.js.map +1 -0
- package/build/npm/esm/dev/userfeedback.js +30 -0
- package/build/npm/esm/dev/userfeedback.js.map +1 -0
- package/build/npm/esm/dev/utils/detectBrowserExtension.js +36 -0
- package/build/npm/esm/dev/utils/detectBrowserExtension.js.map +1 -0
- package/build/npm/esm/dev/utils/lazyLoadIntegration.js +89 -0
- package/build/npm/esm/dev/utils/lazyLoadIntegration.js.map +1 -0
- package/build/npm/esm/prod/client.js +74 -0
- package/build/npm/esm/prod/client.js.map +1 -0
- package/build/npm/esm/prod/debug-build.js +4 -0
- package/build/npm/esm/prod/debug-build.js.map +1 -0
- package/build/npm/esm/prod/diagnose-sdk.js +32 -0
- package/build/npm/esm/prod/diagnose-sdk.js.map +1 -0
- package/build/npm/esm/prod/eventbuilder.js +224 -0
- package/build/npm/esm/prod/eventbuilder.js.map +1 -0
- package/build/npm/esm/prod/feedbackAsync.js +9 -0
- package/build/npm/esm/prod/feedbackAsync.js.map +1 -0
- package/build/npm/esm/prod/feedbackSync.js +9 -0
- package/build/npm/esm/prod/feedbackSync.js.map +1 -0
- package/build/npm/esm/prod/helpers.js +102 -0
- package/build/npm/esm/prod/helpers.js.map +1 -0
- package/build/npm/esm/prod/index.js +48 -0
- package/build/npm/esm/prod/index.js.map +1 -0
- package/build/npm/esm/prod/integrations/breadcrumbs.js +247 -0
- package/build/npm/esm/prod/integrations/breadcrumbs.js.map +1 -0
- package/build/npm/esm/prod/integrations/browserapierrors.js +165 -0
- package/build/npm/esm/prod/integrations/browserapierrors.js.map +1 -0
- package/build/npm/esm/prod/integrations/browsersession.js +48 -0
- package/build/npm/esm/prod/integrations/browsersession.js.map +1 -0
- package/build/npm/esm/prod/integrations/contextlines.js +50 -0
- package/build/npm/esm/prod/integrations/contextlines.js.map +1 -0
- package/build/npm/esm/prod/integrations/culturecontext.js +48 -0
- package/build/npm/esm/prod/integrations/culturecontext.js.map +1 -0
- package/build/npm/esm/prod/integrations/featureFlags/growthbook/integration.js +6 -0
- package/build/npm/esm/prod/integrations/featureFlags/growthbook/integration.js.map +1 -0
- package/build/npm/esm/prod/integrations/featureFlags/launchdarkly/integration.js +27 -0
- package/build/npm/esm/prod/integrations/featureFlags/launchdarkly/integration.js.map +1 -0
- package/build/npm/esm/prod/integrations/featureFlags/openfeature/integration.js +29 -0
- package/build/npm/esm/prod/integrations/featureFlags/openfeature/integration.js.map +1 -0
- package/build/npm/esm/prod/integrations/featureFlags/statsig/integration.js +21 -0
- package/build/npm/esm/prod/integrations/featureFlags/statsig/integration.js.map +1 -0
- package/build/npm/esm/prod/integrations/featureFlags/unleash/integration.js +35 -0
- package/build/npm/esm/prod/integrations/featureFlags/unleash/integration.js.map +1 -0
- package/build/npm/esm/prod/integrations/fetchStreamPerformance.js +58 -0
- package/build/npm/esm/prod/integrations/fetchStreamPerformance.js.map +1 -0
- package/build/npm/esm/prod/integrations/globalhandlers.js +139 -0
- package/build/npm/esm/prod/integrations/globalhandlers.js.map +1 -0
- package/build/npm/esm/prod/integrations/graphqlClient.js +142 -0
- package/build/npm/esm/prod/integrations/graphqlClient.js.map +1 -0
- package/build/npm/esm/prod/integrations/httpclient.js +248 -0
- package/build/npm/esm/prod/integrations/httpclient.js.map +1 -0
- package/build/npm/esm/prod/integrations/httpcontext.js +45 -0
- package/build/npm/esm/prod/integrations/httpcontext.js.map +1 -0
- package/build/npm/esm/prod/integrations/linkederrors.js +29 -0
- package/build/npm/esm/prod/integrations/linkederrors.js.map +1 -0
- package/build/npm/esm/prod/integrations/reportingobserver.js +58 -0
- package/build/npm/esm/prod/integrations/reportingobserver.js.map +1 -0
- package/build/npm/esm/prod/integrations/spanstreaming.js +47 -0
- package/build/npm/esm/prod/integrations/spanstreaming.js.map +1 -0
- package/build/npm/esm/prod/integrations/spotlight.js +57 -0
- package/build/npm/esm/prod/integrations/spotlight.js.map +1 -0
- package/build/npm/esm/prod/integrations/view-hierarchy.js +72 -0
- package/build/npm/esm/prod/integrations/view-hierarchy.js.map +1 -0
- package/build/npm/esm/prod/integrations/webVitals.js +59 -0
- package/build/npm/esm/prod/integrations/webVitals.js.map +1 -0
- package/build/npm/esm/prod/integrations/webWorker.js +129 -0
- package/build/npm/esm/prod/integrations/webWorker.js.map +1 -0
- package/build/npm/esm/prod/normalizeStringifyValue.js +25 -0
- package/build/npm/esm/prod/normalizeStringifyValue.js.map +1 -0
- package/build/npm/esm/prod/package.json +1 -0
- package/build/npm/esm/prod/profiling/UIProfiler.js +304 -0
- package/build/npm/esm/prod/profiling/UIProfiler.js.map +1 -0
- package/build/npm/esm/prod/profiling/index.js +36 -0
- package/build/npm/esm/prod/profiling/index.js.map +1 -0
- package/build/npm/esm/prod/profiling/integration.js +118 -0
- package/build/npm/esm/prod/profiling/integration.js.map +1 -0
- package/build/npm/esm/prod/profiling/startProfileForSpan.js +89 -0
- package/build/npm/esm/prod/profiling/startProfileForSpan.js.map +1 -0
- package/build/npm/esm/prod/profiling/utils.js +474 -0
- package/build/npm/esm/prod/profiling/utils.js.map +1 -0
- package/build/npm/esm/prod/report-dialog.js +51 -0
- package/build/npm/esm/prod/report-dialog.js.map +1 -0
- package/build/npm/esm/prod/sdk.js +55 -0
- package/build/npm/esm/prod/sdk.js.map +1 -0
- package/build/npm/esm/prod/stack-parsers.js +110 -0
- package/build/npm/esm/prod/stack-parsers.js.map +1 -0
- package/build/npm/esm/prod/tracing/backgroundtab.js +32 -0
- package/build/npm/esm/prod/tracing/backgroundtab.js.map +1 -0
- package/build/npm/esm/prod/tracing/browserTracingIntegration.js +429 -0
- package/build/npm/esm/prod/tracing/browserTracingIntegration.js.map +1 -0
- package/build/npm/esm/prod/tracing/linkedTraces.js +130 -0
- package/build/npm/esm/prod/tracing/linkedTraces.js.map +1 -0
- package/build/npm/esm/prod/tracing/reportPageLoaded.js +8 -0
- package/build/npm/esm/prod/tracing/reportPageLoaded.js.map +1 -0
- package/build/npm/esm/prod/tracing/request.js +232 -0
- package/build/npm/esm/prod/tracing/request.js.map +1 -0
- package/build/npm/esm/prod/tracing/setActiveSpan.js +19 -0
- package/build/npm/esm/prod/tracing/setActiveSpan.js.map +1 -0
- package/build/npm/esm/prod/tracing/utils.js +26 -0
- package/build/npm/esm/prod/tracing/utils.js.map +1 -0
- package/build/npm/esm/prod/transports/fetch.js +56 -0
- package/build/npm/esm/prod/transports/fetch.js.map +1 -0
- package/build/npm/esm/prod/transports/offline.js +105 -0
- package/build/npm/esm/prod/transports/offline.js.map +1 -0
- package/build/npm/esm/prod/userfeedback.js +30 -0
- package/build/npm/esm/prod/userfeedback.js.map +1 -0
- package/build/npm/esm/prod/utils/detectBrowserExtension.js +36 -0
- package/build/npm/esm/prod/utils/detectBrowserExtension.js.map +1 -0
- package/build/npm/esm/prod/utils/lazyLoadIntegration.js +89 -0
- package/build/npm/esm/prod/utils/lazyLoadIntegration.js.map +1 -0
- package/build/npm/types/client.d.ts +79 -0
- package/build/npm/types/client.d.ts.map +1 -0
- package/build/npm/types/debug-build.d.ts +7 -0
- package/build/npm/types/debug-build.d.ts.map +1 -0
- package/build/npm/types/diagnose-sdk.d.ts +11 -0
- package/build/npm/types/diagnose-sdk.d.ts.map +1 -0
- package/build/npm/types/eventbuilder.d.ts +40 -0
- package/build/npm/types/eventbuilder.d.ts.map +1 -0
- package/build/npm/types/exports.d.ts +21 -0
- package/build/npm/types/exports.d.ts.map +1 -0
- package/build/npm/types/feedbackAsync.d.ts +7 -0
- package/build/npm/types/feedbackAsync.d.ts.map +1 -0
- package/build/npm/types/feedbackSync.d.ts +4 -0
- package/build/npm/types/feedbackSync.d.ts.map +1 -0
- package/build/npm/types/helpers.d.ts +27 -0
- package/build/npm/types/helpers.d.ts.map +1 -0
- package/build/npm/types/index.bundle.base.d.ts +2 -0
- package/build/npm/types/index.bundle.base.d.ts.map +1 -0
- package/build/npm/types/index.bundle.d.ts +5 -0
- package/build/npm/types/index.bundle.d.ts.map +1 -0
- package/build/npm/types/index.bundle.feedback.d.ts +7 -0
- package/build/npm/types/index.bundle.feedback.d.ts.map +1 -0
- package/build/npm/types/index.bundle.logs.metrics.d.ts +6 -0
- package/build/npm/types/index.bundle.logs.metrics.d.ts.map +1 -0
- package/build/npm/types/index.bundle.replay.d.ts +6 -0
- package/build/npm/types/index.bundle.replay.d.ts.map +1 -0
- package/build/npm/types/index.bundle.replay.feedback.d.ts +8 -0
- package/build/npm/types/index.bundle.replay.feedback.d.ts.map +1 -0
- package/build/npm/types/index.bundle.replay.logs.metrics.d.ts +7 -0
- package/build/npm/types/index.bundle.replay.logs.metrics.d.ts.map +1 -0
- package/build/npm/types/index.bundle.tracing.d.ts +13 -0
- package/build/npm/types/index.bundle.tracing.d.ts.map +1 -0
- package/build/npm/types/index.bundle.tracing.logs.metrics.d.ts +13 -0
- package/build/npm/types/index.bundle.tracing.logs.metrics.d.ts.map +1 -0
- package/build/npm/types/index.bundle.tracing.replay.d.ts +14 -0
- package/build/npm/types/index.bundle.tracing.replay.d.ts.map +1 -0
- package/build/npm/types/index.bundle.tracing.replay.feedback.d.ts +16 -0
- package/build/npm/types/index.bundle.tracing.replay.feedback.d.ts.map +1 -0
- package/build/npm/types/index.bundle.tracing.replay.feedback.logs.metrics.d.ts +14 -0
- package/build/npm/types/index.bundle.tracing.replay.feedback.logs.metrics.d.ts.map +1 -0
- package/build/npm/types/index.bundle.tracing.replay.logs.metrics.d.ts +14 -0
- package/build/npm/types/index.bundle.tracing.replay.logs.metrics.d.ts.map +1 -0
- package/build/npm/types/index.d.ts +38 -0
- package/build/npm/types/index.d.ts.map +1 -0
- package/build/npm/types/integrations/breadcrumbs.d.ts +16 -0
- package/build/npm/types/integrations/breadcrumbs.d.ts.map +1 -0
- package/build/npm/types/integrations/browserapierrors.d.ts +23 -0
- package/build/npm/types/integrations/browserapierrors.d.ts.map +1 -0
- package/build/npm/types/integrations/browserprofiling.d.ts +2 -0
- package/build/npm/types/integrations/browserprofiling.d.ts.map +1 -0
- package/build/npm/types/integrations/browsersession.d.ts +25 -0
- package/build/npm/types/integrations/browsersession.d.ts.map +1 -0
- package/build/npm/types/integrations/contextlines.d.ts +32 -0
- package/build/npm/types/integrations/contextlines.d.ts.map +1 -0
- package/build/npm/types/integrations/culturecontext.d.ts +18 -0
- package/build/npm/types/integrations/culturecontext.d.ts.map +1 -0
- package/build/npm/types/integrations/featureFlags/growthbook/index.d.ts +2 -0
- package/build/npm/types/integrations/featureFlags/growthbook/index.d.ts.map +1 -0
- package/build/npm/types/integrations/featureFlags/growthbook/integration.d.ts +25 -0
- package/build/npm/types/integrations/featureFlags/growthbook/integration.d.ts.map +1 -0
- package/build/npm/types/integrations/featureFlags/growthbook/types.d.ts +6 -0
- package/build/npm/types/integrations/featureFlags/growthbook/types.d.ts.map +1 -0
- package/build/npm/types/integrations/featureFlags/launchdarkly/index.d.ts +2 -0
- package/build/npm/types/integrations/featureFlags/launchdarkly/index.d.ts.map +1 -0
- package/build/npm/types/integrations/featureFlags/launchdarkly/integration.d.ts +27 -0
- package/build/npm/types/integrations/featureFlags/launchdarkly/integration.d.ts.map +1 -0
- package/build/npm/types/integrations/featureFlags/launchdarkly/types.d.ts +44 -0
- package/build/npm/types/integrations/featureFlags/launchdarkly/types.d.ts.map +1 -0
- package/build/npm/types/integrations/featureFlags/openfeature/index.d.ts +2 -0
- package/build/npm/types/integrations/featureFlags/openfeature/index.d.ts.map +1 -0
- package/build/npm/types/integrations/featureFlags/openfeature/integration.d.ts +18 -0
- package/build/npm/types/integrations/featureFlags/openfeature/integration.d.ts.map +1 -0
- package/build/npm/types/integrations/featureFlags/openfeature/types.d.ts +78 -0
- package/build/npm/types/integrations/featureFlags/openfeature/types.d.ts.map +1 -0
- package/build/npm/types/integrations/featureFlags/statsig/index.d.ts +2 -0
- package/build/npm/types/integrations/featureFlags/statsig/index.d.ts.map +1 -0
- package/build/npm/types/integrations/featureFlags/statsig/integration.d.ts +30 -0
- package/build/npm/types/integrations/featureFlags/statsig/integration.d.ts.map +1 -0
- package/build/npm/types/integrations/featureFlags/statsig/types.d.ts +14 -0
- package/build/npm/types/integrations/featureFlags/statsig/types.d.ts.map +1 -0
- package/build/npm/types/integrations/featureFlags/unleash/index.d.ts +2 -0
- package/build/npm/types/integrations/featureFlags/unleash/index.d.ts.map +1 -0
- package/build/npm/types/integrations/featureFlags/unleash/integration.d.ts +31 -0
- package/build/npm/types/integrations/featureFlags/unleash/integration.d.ts.map +1 -0
- package/build/npm/types/integrations/featureFlags/unleash/types.d.ts +21 -0
- package/build/npm/types/integrations/featureFlags/unleash/types.d.ts.map +1 -0
- package/build/npm/types/integrations/fetchStreamPerformance.d.ts +16 -0
- package/build/npm/types/integrations/fetchStreamPerformance.d.ts.map +1 -0
- package/build/npm/types/integrations/globalhandlers.d.ts +19 -0
- package/build/npm/types/integrations/globalhandlers.d.ts.map +1 -0
- package/build/npm/types/integrations/graphqlClient.d.ts +60 -0
- package/build/npm/types/integrations/graphqlClient.d.ts.map +1 -0
- package/build/npm/types/integrations/httpclient.d.ts +29 -0
- package/build/npm/types/integrations/httpclient.d.ts.map +1 -0
- package/build/npm/types/integrations/httpcontext.d.ts +8 -0
- package/build/npm/types/integrations/httpcontext.d.ts.map +1 -0
- package/build/npm/types/integrations/linkederrors.d.ts +12 -0
- package/build/npm/types/integrations/linkederrors.d.ts.map +1 -0
- package/build/npm/types/integrations/reportingobserver.d.ts +12 -0
- package/build/npm/types/integrations/reportingobserver.d.ts.map +1 -0
- package/build/npm/types/integrations/spanstreaming.d.ts +4 -0
- package/build/npm/types/integrations/spanstreaming.d.ts.map +1 -0
- package/build/npm/types/integrations/spotlight.d.ts +21 -0
- package/build/npm/types/integrations/spotlight.d.ts.map +1 -0
- package/build/npm/types/integrations/view-hierarchy.d.ts +51 -0
- package/build/npm/types/integrations/view-hierarchy.d.ts.map +1 -0
- package/build/npm/types/integrations/webVitals.d.ts +26 -0
- package/build/npm/types/integrations/webVitals.d.ts.map +1 -0
- package/build/npm/types/integrations/webWorker.d.ts +129 -0
- package/build/npm/types/integrations/webWorker.d.ts.map +1 -0
- package/build/npm/types/integrations-bundle/index.captureconsole.d.ts +2 -0
- package/build/npm/types/integrations-bundle/index.captureconsole.d.ts.map +1 -0
- package/build/npm/types/integrations-bundle/index.createlangchaincallbackhandler.d.ts +2 -0
- package/build/npm/types/integrations-bundle/index.createlangchaincallbackhandler.d.ts.map +1 -0
- package/build/npm/types/integrations-bundle/index.dedupe.d.ts +2 -0
- package/build/npm/types/integrations-bundle/index.dedupe.d.ts.map +1 -0
- package/build/npm/types/integrations-bundle/index.extraerrordata.d.ts +2 -0
- package/build/npm/types/integrations-bundle/index.extraerrordata.d.ts.map +1 -0
- package/build/npm/types/integrations-bundle/index.feedback.d.ts +5 -0
- package/build/npm/types/integrations-bundle/index.feedback.d.ts.map +1 -0
- package/build/npm/types/integrations-bundle/index.graphqlclient.d.ts +2 -0
- package/build/npm/types/integrations-bundle/index.graphqlclient.d.ts.map +1 -0
- package/build/npm/types/integrations-bundle/index.instrumentanthropicaiclient.d.ts +2 -0
- package/build/npm/types/integrations-bundle/index.instrumentanthropicaiclient.d.ts.map +1 -0
- package/build/npm/types/integrations-bundle/index.instrumentgooglegenaiclient.d.ts +2 -0
- package/build/npm/types/integrations-bundle/index.instrumentgooglegenaiclient.d.ts.map +1 -0
- package/build/npm/types/integrations-bundle/index.instrumentlangchainembeddings.d.ts +2 -0
- package/build/npm/types/integrations-bundle/index.instrumentlangchainembeddings.d.ts.map +1 -0
- package/build/npm/types/integrations-bundle/index.instrumentlanggraph.d.ts +2 -0
- package/build/npm/types/integrations-bundle/index.instrumentlanggraph.d.ts.map +1 -0
- package/build/npm/types/integrations-bundle/index.instrumentopenaiclient.d.ts +2 -0
- package/build/npm/types/integrations-bundle/index.instrumentopenaiclient.d.ts.map +1 -0
- package/build/npm/types/integrations-bundle/index.instrumentstategraph.d.ts +2 -0
- package/build/npm/types/integrations-bundle/index.instrumentstategraph.d.ts.map +1 -0
- package/build/npm/types/integrations-bundle/index.modulemetadata.d.ts +2 -0
- package/build/npm/types/integrations-bundle/index.modulemetadata.d.ts.map +1 -0
- package/build/npm/types/integrations-bundle/index.rewriteframes.d.ts +2 -0
- package/build/npm/types/integrations-bundle/index.rewriteframes.d.ts.map +1 -0
- package/build/npm/types/integrations-bundle/index.spotlight.d.ts +2 -0
- package/build/npm/types/integrations-bundle/index.spotlight.d.ts.map +1 -0
- package/build/npm/types/normalizeStringifyValue.d.ts +15 -0
- package/build/npm/types/normalizeStringifyValue.d.ts.map +1 -0
- package/build/npm/types/pluggable-exports-bundle/index.multiplexedtransport.d.ts +2 -0
- package/build/npm/types/pluggable-exports-bundle/index.multiplexedtransport.d.ts.map +1 -0
- package/build/npm/types/profiling/UIProfiler.d.ts +75 -0
- package/build/npm/types/profiling/UIProfiler.d.ts.map +1 -0
- package/build/npm/types/profiling/index.d.ts +8 -0
- package/build/npm/types/profiling/index.d.ts.map +1 -0
- package/build/npm/types/profiling/integration.d.ts +4 -0
- package/build/npm/types/profiling/integration.d.ts.map +1 -0
- package/build/npm/types/profiling/jsSelfProfiling.d.ts +41 -0
- package/build/npm/types/profiling/jsSelfProfiling.d.ts.map +1 -0
- package/build/npm/types/profiling/startProfileForSpan.d.ts +8 -0
- package/build/npm/types/profiling/startProfileForSpan.d.ts.map +1 -0
- package/build/npm/types/profiling/utils.d.ts +112 -0
- package/build/npm/types/profiling/utils.d.ts.map +1 -0
- package/build/npm/types/report-dialog.d.ts +8 -0
- package/build/npm/types/report-dialog.d.ts.map +1 -0
- package/build/npm/types/sdk.d.ts +62 -0
- package/build/npm/types/sdk.d.ts.map +1 -0
- package/build/npm/types/stack-parsers.d.ts +9 -0
- package/build/npm/types/stack-parsers.d.ts.map +1 -0
- package/build/npm/types/tracing/backgroundtab.d.ts +6 -0
- package/build/npm/types/tracing/backgroundtab.d.ts.map +1 -0
- package/build/npm/types/tracing/browserTracingIntegration.d.ts +271 -0
- package/build/npm/types/tracing/browserTracingIntegration.d.ts.map +1 -0
- package/build/npm/types/tracing/linkedTraces.d.ts +52 -0
- package/build/npm/types/tracing/linkedTraces.d.ts.map +1 -0
- package/build/npm/types/tracing/reportPageLoaded.d.ts +11 -0
- package/build/npm/types/tracing/reportPageLoaded.d.ts.map +1 -0
- package/build/npm/types/tracing/request.d.ts +87 -0
- package/build/npm/types/tracing/request.d.ts.map +1 -0
- package/build/npm/types/tracing/setActiveSpan.d.ts +39 -0
- package/build/npm/types/tracing/setActiveSpan.d.ts.map +1 -0
- package/build/npm/types/tracing/utils.d.ts +17 -0
- package/build/npm/types/tracing/utils.d.ts.map +1 -0
- package/build/npm/types/transports/fetch.d.ts +8 -0
- package/build/npm/types/transports/fetch.d.ts.map +1 -0
- package/build/npm/types/transports/offline.d.ts +33 -0
- package/build/npm/types/transports/offline.d.ts.map +1 -0
- package/build/npm/types/transports/types.d.ts +6 -0
- package/build/npm/types/transports/types.d.ts.map +1 -0
- package/build/npm/types/userfeedback.d.ts +10 -0
- package/build/npm/types/userfeedback.d.ts.map +1 -0
- package/build/npm/types/utils/detectBrowserExtension.d.ts +6 -0
- package/build/npm/types/utils/detectBrowserExtension.d.ts.map +1 -0
- package/build/npm/types/utils/lazyLoadIntegration.d.ts +13 -0
- package/build/npm/types/utils/lazyLoadIntegration.d.ts.map +1 -0
- package/build/npm/types-ts3.8/client.d.ts +79 -0
- package/build/npm/types-ts3.8/debug-build.d.ts +7 -0
- package/build/npm/types-ts3.8/diagnose-sdk.d.ts +11 -0
- package/build/npm/types-ts3.8/eventbuilder.d.ts +40 -0
- package/build/npm/types-ts3.8/exports.d.ts +21 -0
- package/build/npm/types-ts3.8/feedbackAsync.d.ts +7 -0
- package/build/npm/types-ts3.8/feedbackSync.d.ts +4 -0
- package/build/npm/types-ts3.8/helpers.d.ts +27 -0
- package/build/npm/types-ts3.8/index.bundle.base.d.ts +2 -0
- package/build/npm/types-ts3.8/index.bundle.d.ts +5 -0
- package/build/npm/types-ts3.8/index.bundle.feedback.d.ts +7 -0
- package/build/npm/types-ts3.8/index.bundle.logs.metrics.d.ts +6 -0
- package/build/npm/types-ts3.8/index.bundle.replay.d.ts +6 -0
- package/build/npm/types-ts3.8/index.bundle.replay.feedback.d.ts +8 -0
- package/build/npm/types-ts3.8/index.bundle.replay.logs.metrics.d.ts +7 -0
- package/build/npm/types-ts3.8/index.bundle.tracing.d.ts +13 -0
- package/build/npm/types-ts3.8/index.bundle.tracing.logs.metrics.d.ts +13 -0
- package/build/npm/types-ts3.8/index.bundle.tracing.replay.d.ts +14 -0
- package/build/npm/types-ts3.8/index.bundle.tracing.replay.feedback.d.ts +16 -0
- package/build/npm/types-ts3.8/index.bundle.tracing.replay.feedback.logs.metrics.d.ts +14 -0
- package/build/npm/types-ts3.8/index.bundle.tracing.replay.logs.metrics.d.ts +14 -0
- package/build/npm/types-ts3.8/index.d.ts +38 -0
- package/build/npm/types-ts3.8/integrations/breadcrumbs.d.ts +16 -0
- package/build/npm/types-ts3.8/integrations/browserapierrors.d.ts +23 -0
- package/build/npm/types-ts3.8/integrations/browserprofiling.d.ts +2 -0
- package/build/npm/types-ts3.8/integrations/browsersession.d.ts +25 -0
- package/build/npm/types-ts3.8/integrations/contextlines.d.ts +32 -0
- package/build/npm/types-ts3.8/integrations/culturecontext.d.ts +18 -0
- package/build/npm/types-ts3.8/integrations/featureFlags/growthbook/index.d.ts +2 -0
- package/build/npm/types-ts3.8/integrations/featureFlags/growthbook/integration.d.ts +25 -0
- package/build/npm/types-ts3.8/integrations/featureFlags/growthbook/types.d.ts +6 -0
- package/build/npm/types-ts3.8/integrations/featureFlags/launchdarkly/index.d.ts +2 -0
- package/build/npm/types-ts3.8/integrations/featureFlags/launchdarkly/integration.d.ts +27 -0
- package/build/npm/types-ts3.8/integrations/featureFlags/launchdarkly/types.d.ts +44 -0
- package/build/npm/types-ts3.8/integrations/featureFlags/openfeature/index.d.ts +2 -0
- package/build/npm/types-ts3.8/integrations/featureFlags/openfeature/integration.d.ts +18 -0
- package/build/npm/types-ts3.8/integrations/featureFlags/openfeature/types.d.ts +78 -0
- package/build/npm/types-ts3.8/integrations/featureFlags/statsig/index.d.ts +2 -0
- package/build/npm/types-ts3.8/integrations/featureFlags/statsig/integration.d.ts +30 -0
- package/build/npm/types-ts3.8/integrations/featureFlags/statsig/types.d.ts +14 -0
- package/build/npm/types-ts3.8/integrations/featureFlags/unleash/index.d.ts +2 -0
- package/build/npm/types-ts3.8/integrations/featureFlags/unleash/integration.d.ts +31 -0
- package/build/npm/types-ts3.8/integrations/featureFlags/unleash/types.d.ts +21 -0
- package/build/npm/types-ts3.8/integrations/fetchStreamPerformance.d.ts +16 -0
- package/build/npm/types-ts3.8/integrations/globalhandlers.d.ts +19 -0
- package/build/npm/types-ts3.8/integrations/graphqlClient.d.ts +60 -0
- package/build/npm/types-ts3.8/integrations/httpclient.d.ts +32 -0
- package/build/npm/types-ts3.8/integrations/httpcontext.d.ts +8 -0
- package/build/npm/types-ts3.8/integrations/linkederrors.d.ts +12 -0
- package/build/npm/types-ts3.8/integrations/reportingobserver.d.ts +12 -0
- package/build/npm/types-ts3.8/integrations/spanstreaming.d.ts +4 -0
- package/build/npm/types-ts3.8/integrations/spotlight.d.ts +21 -0
- package/build/npm/types-ts3.8/integrations/view-hierarchy.d.ts +51 -0
- package/build/npm/types-ts3.8/integrations/webVitals.d.ts +26 -0
- package/build/npm/types-ts3.8/integrations/webWorker.d.ts +129 -0
- package/build/npm/types-ts3.8/integrations-bundle/index.captureconsole.d.ts +2 -0
- package/build/npm/types-ts3.8/integrations-bundle/index.createlangchaincallbackhandler.d.ts +2 -0
- package/build/npm/types-ts3.8/integrations-bundle/index.dedupe.d.ts +2 -0
- package/build/npm/types-ts3.8/integrations-bundle/index.extraerrordata.d.ts +2 -0
- package/build/npm/types-ts3.8/integrations-bundle/index.feedback.d.ts +5 -0
- package/build/npm/types-ts3.8/integrations-bundle/index.graphqlclient.d.ts +2 -0
- package/build/npm/types-ts3.8/integrations-bundle/index.instrumentanthropicaiclient.d.ts +2 -0
- package/build/npm/types-ts3.8/integrations-bundle/index.instrumentgooglegenaiclient.d.ts +2 -0
- package/build/npm/types-ts3.8/integrations-bundle/index.instrumentlangchainembeddings.d.ts +2 -0
- package/build/npm/types-ts3.8/integrations-bundle/index.instrumentlanggraph.d.ts +2 -0
- package/build/npm/types-ts3.8/integrations-bundle/index.instrumentopenaiclient.d.ts +2 -0
- package/build/npm/types-ts3.8/integrations-bundle/index.instrumentstategraph.d.ts +2 -0
- package/build/npm/types-ts3.8/integrations-bundle/index.modulemetadata.d.ts +2 -0
- package/build/npm/types-ts3.8/integrations-bundle/index.rewriteframes.d.ts +2 -0
- package/build/npm/types-ts3.8/integrations-bundle/index.spotlight.d.ts +2 -0
- package/build/npm/types-ts3.8/normalizeStringifyValue.d.ts +15 -0
- package/build/npm/types-ts3.8/pluggable-exports-bundle/index.multiplexedtransport.d.ts +2 -0
- package/build/npm/types-ts3.8/profiling/UIProfiler.d.ts +75 -0
- package/build/npm/types-ts3.8/profiling/index.d.ts +8 -0
- package/build/npm/types-ts3.8/profiling/integration.d.ts +4 -0
- package/build/npm/types-ts3.8/profiling/jsSelfProfiling.d.ts +41 -0
- package/build/npm/types-ts3.8/profiling/startProfileForSpan.d.ts +8 -0
- package/build/npm/types-ts3.8/profiling/utils.d.ts +112 -0
- package/build/npm/types-ts3.8/report-dialog.d.ts +8 -0
- package/build/npm/types-ts3.8/sdk.d.ts +62 -0
- package/build/npm/types-ts3.8/stack-parsers.d.ts +9 -0
- package/build/npm/types-ts3.8/tracing/backgroundtab.d.ts +6 -0
- package/build/npm/types-ts3.8/tracing/browserTracingIntegration.d.ts +271 -0
- package/build/npm/types-ts3.8/tracing/linkedTraces.d.ts +52 -0
- package/build/npm/types-ts3.8/tracing/reportPageLoaded.d.ts +11 -0
- package/build/npm/types-ts3.8/tracing/request.d.ts +87 -0
- package/build/npm/types-ts3.8/tracing/setActiveSpan.d.ts +39 -0
- package/build/npm/types-ts3.8/tracing/utils.d.ts +17 -0
- package/build/npm/types-ts3.8/transports/fetch.d.ts +8 -0
- package/build/npm/types-ts3.8/transports/offline.d.ts +33 -0
- package/build/npm/types-ts3.8/transports/types.d.ts +6 -0
- package/build/npm/types-ts3.8/userfeedback.d.ts +10 -0
- package/build/npm/types-ts3.8/utils/detectBrowserExtension.d.ts +6 -0
- package/build/npm/types-ts3.8/utils/lazyLoadIntegration.d.ts +37 -0
- package/package.json +85 -4
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import type { Client, PropagationContext, Span, SpanContextData } from '@elenjical/core/browser';
|
|
2
|
+
export interface PreviousTraceInfo {
|
|
3
|
+
/**
|
|
4
|
+
* Span context of the previous trace's local root span
|
|
5
|
+
*/
|
|
6
|
+
spanContext: SpanContextData;
|
|
7
|
+
/**
|
|
8
|
+
* Timestamp in seconds when the previous trace was started
|
|
9
|
+
*/
|
|
10
|
+
startTimestamp: number;
|
|
11
|
+
/**
|
|
12
|
+
* sample rate of the previous trace
|
|
13
|
+
*/
|
|
14
|
+
sampleRate: number;
|
|
15
|
+
/**
|
|
16
|
+
* The sample rand of the previous trace
|
|
17
|
+
*/
|
|
18
|
+
sampleRand: number;
|
|
19
|
+
}
|
|
20
|
+
export declare const PREVIOUS_TRACE_MAX_DURATION = 3600;
|
|
21
|
+
export declare const PREVIOUS_TRACE_KEY = "elenjical_previous_trace";
|
|
22
|
+
export declare const PREVIOUS_TRACE_TMP_SPAN_ATTRIBUTE = "sentry.previous_trace";
|
|
23
|
+
/**
|
|
24
|
+
* Takes care of linking traces and applying the (consistent) sampling behavoiour based on the passed options
|
|
25
|
+
* @param options - options for linking traces and consistent trace sampling (@see BrowserTracingOptions)
|
|
26
|
+
* @param client - Elenjical client
|
|
27
|
+
*/
|
|
28
|
+
export declare function linkTraces(client: Client, { linkPreviousTrace, consistentTraceSampling, }: {
|
|
29
|
+
linkPreviousTrace: 'session-storage' | 'in-memory';
|
|
30
|
+
consistentTraceSampling: boolean;
|
|
31
|
+
}): void;
|
|
32
|
+
/**
|
|
33
|
+
* Adds a previous_trace span link to the passed span if the passed
|
|
34
|
+
* previousTraceInfo is still valid.
|
|
35
|
+
*
|
|
36
|
+
* @returns the updated previous trace info (based on the current span/trace) to
|
|
37
|
+
* be used on the next call
|
|
38
|
+
*/
|
|
39
|
+
export declare function addPreviousTraceSpanLink(previousTraceInfo: PreviousTraceInfo | undefined, span: Span, oldPropagationContext: PropagationContext): PreviousTraceInfo;
|
|
40
|
+
/**
|
|
41
|
+
* Stores @param previousTraceInfo in sessionStorage.
|
|
42
|
+
*/
|
|
43
|
+
export declare function storePreviousTraceInSessionStorage(previousTraceInfo: PreviousTraceInfo): void;
|
|
44
|
+
/**
|
|
45
|
+
* Retrieves the previous trace from sessionStorage if available.
|
|
46
|
+
*/
|
|
47
|
+
export declare function getPreviousTraceFromSessionStorage(): PreviousTraceInfo | undefined;
|
|
48
|
+
/**
|
|
49
|
+
* see {@link import('@elenjical/core/browser').spanIsSampled}
|
|
50
|
+
*/
|
|
51
|
+
export declare function spanContextSampled(ctx: SpanContextData): boolean;
|
|
52
|
+
//# sourceMappingURL=linkedTraces.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"linkedTraces.d.ts","sourceRoot":"","sources":["../../../../src/tracing/linkedTraces.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,kBAAkB,EAAE,IAAI,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAajG,MAAM,WAAW,iBAAiB;IAChC;;OAEG;IACH,WAAW,EAAE,eAAe,CAAC;IAE7B;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;IAEvB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;CACpB;AAGD,eAAO,MAAM,2BAA2B,OAAO,CAAC;AAGhD,eAAO,MAAM,kBAAkB,6BAA6B,CAAC;AAE7D,eAAO,MAAM,iCAAiC,0BAA0B,CAAC;AAEzE;;;;GAIG;AACH,wBAAgB,UAAU,CACxB,MAAM,EAAE,MAAM,EACd,EACE,iBAAiB,EACjB,uBAAuB,GACxB,EAAE;IACD,iBAAiB,EAAE,iBAAiB,GAAG,WAAW,CAAC;IACnD,uBAAuB,EAAE,OAAO,CAAC;CAClC,GACA,IAAI,CAoEN;AAED;;;;;;GAMG;AACH,wBAAgB,wBAAwB,CACtC,iBAAiB,EAAE,iBAAiB,GAAG,SAAS,EAChD,IAAI,EAAE,IAAI,EACV,qBAAqB,EAAE,kBAAkB,GACxC,iBAAiB,CAoEnB;AAED;;GAEG;AACH,wBAAgB,kCAAkC,CAAC,iBAAiB,EAAE,iBAAiB,GAAG,IAAI,CAO7F;AAED;;GAEG;AACH,wBAAgB,kCAAkC,IAAI,iBAAiB,GAAG,SAAS,CAQlF;AAED;;GAEG;AACH,wBAAgB,kBAAkB,CAAC,GAAG,EAAE,eAAe,GAAG,OAAO,CAEhE"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Client } from '@elenjical/core/browser';
|
|
2
|
+
/**
|
|
3
|
+
* Manually report the end of the page load, resulting in the SDK ending the pageload span.
|
|
4
|
+
* This only works if {@link BrowserTracingOptions.enableReportPageLoaded} is set to `true`.
|
|
5
|
+
* Otherwise, the pageload span will end itself based on the {@link BrowserTracingOptions.finalTimeout},
|
|
6
|
+
* {@link BrowserTracingOptions.idleTimeout} and {@link BrowserTracingOptions.childSpanTimeout}.
|
|
7
|
+
*
|
|
8
|
+
* @param client - The client to use. If not provided, the global client will be used.
|
|
9
|
+
*/
|
|
10
|
+
export declare function reportPageLoaded(client?: Client | undefined): void;
|
|
11
|
+
//# sourceMappingURL=reportPageLoaded.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"reportPageLoaded.d.ts","sourceRoot":"","sources":["../../../../src/tracing/reportPageLoaded.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAGtD;;;;;;;GAOG;AACH,wBAAgB,gBAAgB,CAAC,MAAM,GAAE,MAAM,GAAG,SAAuB,GAAG,IAAI,CAE/E"}
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import type { Client, RequestHookInfo, ResponseHookInfo, Span } from '@elenjical/core/browser';
|
|
2
|
+
/** Options for Request Instrumentation */
|
|
3
|
+
export interface RequestInstrumentationOptions {
|
|
4
|
+
/**
|
|
5
|
+
* List of strings and/or Regular Expressions used to determine which outgoing requests will have `sentry-trace` and `baggage`
|
|
6
|
+
* headers attached.
|
|
7
|
+
*
|
|
8
|
+
* **Default:** If this option is not provided, tracing headers will be attached to all outgoing requests.
|
|
9
|
+
* If you are using a browser SDK, by default, tracing headers will only be attached to outgoing requests to the same origin.
|
|
10
|
+
*
|
|
11
|
+
* **Disclaimer:** Carelessly setting this option in browser environments may result into CORS errors!
|
|
12
|
+
* Only attach tracing headers to requests to the same origin, or to requests to services you can control CORS headers of.
|
|
13
|
+
* Cross-origin requests, meaning requests to a different domain, for example a request to `https://api.example.com/` while you're on `https://example.com/`, take special care.
|
|
14
|
+
* If you are attaching headers to cross-origin requests, make sure the backend handling the request returns a `"Access-Control-Allow-Headers: sentry-trace, baggage"` header to ensure your requests aren't blocked.
|
|
15
|
+
*
|
|
16
|
+
* If you provide a `tracePropagationTargets` array, the entries you provide will be matched against the entire URL of the outgoing request.
|
|
17
|
+
* If you are using a browser SDK, the entries will also be matched against the pathname of the outgoing requests.
|
|
18
|
+
* This is so you can have matchers for relative requests, for example, `/^\/api/` if you want to trace requests to your `/api` routes on the same domain.
|
|
19
|
+
*
|
|
20
|
+
* If any of the two match any of the provided values, tracing headers will be attached to the outgoing request.
|
|
21
|
+
* Both, the string values, and the RegExes you provide in the array will match if they partially match the URL or pathname.
|
|
22
|
+
*
|
|
23
|
+
* Examples:
|
|
24
|
+
* - `tracePropagationTargets: [/^\/api/]` and request to `https://same-origin.com/api/posts`:
|
|
25
|
+
* - Tracing headers will be attached because the request is sent to the same origin and the regex matches the pathname "/api/posts".
|
|
26
|
+
* - `tracePropagationTargets: [/^\/api/]` and request to `https://different-origin.com/api/posts`:
|
|
27
|
+
* - Tracing headers will not be attached because the pathname will only be compared when the request target lives on the same origin.
|
|
28
|
+
* - `tracePropagationTargets: [/^\/api/, 'https://external-api.com']` and request to `https://external-api.com/v1/data`:
|
|
29
|
+
* - Tracing headers will be attached because the request URL matches the string `'https://external-api.com'`.
|
|
30
|
+
*/
|
|
31
|
+
tracePropagationTargets?: Array<string | RegExp>;
|
|
32
|
+
/**
|
|
33
|
+
* Flag to disable patching all together for fetch requests.
|
|
34
|
+
*
|
|
35
|
+
* Default: true
|
|
36
|
+
*/
|
|
37
|
+
traceFetch: boolean;
|
|
38
|
+
/**
|
|
39
|
+
* Flag to disable patching all together for xhr requests.
|
|
40
|
+
*
|
|
41
|
+
* Default: true
|
|
42
|
+
*/
|
|
43
|
+
traceXHR: boolean;
|
|
44
|
+
/**
|
|
45
|
+
* Flag to disable tracking of long-lived streams, like server-sent events (SSE) via fetch.
|
|
46
|
+
* Do not enable this in case you have live streams or very long running streams.
|
|
47
|
+
*
|
|
48
|
+
* Disabled by default since it can lead to issues with streams using the `cancel()` api
|
|
49
|
+
* (https://github.com/getsentry/sentry-javascript/issues/13950)
|
|
50
|
+
*
|
|
51
|
+
* Default: false
|
|
52
|
+
*
|
|
53
|
+
* @deprecated Use `fetchStreamPerformanceIntegration()` instead. Add it to your `integrations` array
|
|
54
|
+
* to track the duration of streamed fetch response bodies.
|
|
55
|
+
*/
|
|
56
|
+
trackFetchStreamPerformance: boolean;
|
|
57
|
+
/**
|
|
58
|
+
* If true, Elenjical will capture http timings and add them to the corresponding http spans.
|
|
59
|
+
*
|
|
60
|
+
* Default: true
|
|
61
|
+
*/
|
|
62
|
+
enableHTTPTimings: boolean;
|
|
63
|
+
/**
|
|
64
|
+
* This function will be called before creating a span for a request with the given url.
|
|
65
|
+
* Return false if you don't want a span for the given url.
|
|
66
|
+
*
|
|
67
|
+
* Default: (url: string) => true
|
|
68
|
+
*/
|
|
69
|
+
shouldCreateSpanForRequest?(this: void, url: string): boolean;
|
|
70
|
+
/**
|
|
71
|
+
* Is called when spans are started for outgoing requests.
|
|
72
|
+
*/
|
|
73
|
+
onRequestSpanStart?(span: Span, requestInformation: RequestHookInfo): void;
|
|
74
|
+
/**
|
|
75
|
+
* Is called when spans end for outgoing requests, providing access to response headers.
|
|
76
|
+
*/
|
|
77
|
+
onRequestSpanEnd?(span: Span, responseInformation: ResponseHookInfo): void;
|
|
78
|
+
}
|
|
79
|
+
export declare const defaultRequestInstrumentationOptions: RequestInstrumentationOptions;
|
|
80
|
+
/** Registers span creators for xhr and fetch requests */
|
|
81
|
+
export declare function instrumentOutgoingRequests(client: Client, _options?: Partial<RequestInstrumentationOptions>): void;
|
|
82
|
+
/**
|
|
83
|
+
* A function that determines whether to attach tracing headers to a request.
|
|
84
|
+
* We only export this function for testing purposes.
|
|
85
|
+
*/
|
|
86
|
+
export declare function shouldAttachHeaders(targetUrl: string, tracePropagationTargets: (string | RegExp)[] | undefined): boolean;
|
|
87
|
+
//# sourceMappingURL=request.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"request.d.ts","sourceRoot":"","sources":["../../../../src/tracing/request.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,MAAM,EAEN,eAAe,EACf,gBAAgB,EAEhB,IAAI,EAEL,MAAM,yBAAyB,CAAC;AAqCjC,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;;;;;;;;;;;OAWG;IACH,2BAA2B,EAAE,OAAO,CAAC;IAErC;;;;OAIG;IACH,iBAAiB,EAAE,OAAO,CAAC;IAE3B;;;;;OAKG;IACH,0BAA0B,CAAC,CAAC,IAAI,EAAE,IAAI,EAAE,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;IAE9D;;OAEG;IACH,kBAAkB,CAAC,CAAC,IAAI,EAAE,IAAI,EAAE,kBAAkB,EAAE,eAAe,GAAG,IAAI,CAAC;IAE3E;;OAEG;IACH,gBAAgB,CAAC,CAAC,IAAI,EAAE,IAAI,EAAE,mBAAmB,EAAE,gBAAgB,GAAG,IAAI,CAAC;CAC5E;AAED,eAAO,MAAM,oCAAoC,EAAE,6BAKlD,CAAC;AAEF,0DAA0D;AAC1D,wBAAgB,0BAA0B,CAAC,MAAM,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,OAAO,CAAC,6BAA6B,CAAC,GAAG,IAAI,CA6ElH;AAiED;;;GAGG;AACH,wBAAgB,mBAAmB,CACjC,SAAS,EAAE,MAAM,EACjB,uBAAuB,EAAE,CAAC,MAAM,GAAG,MAAM,CAAC,EAAE,GAAG,SAAS,GACvD,OAAO,CAqCT"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import type { Span } from '@elenjical/core/browser';
|
|
2
|
+
/**
|
|
3
|
+
* Sets an inactive span active on the current scope.
|
|
4
|
+
*
|
|
5
|
+
* This is useful in browser applications, if you want to create a span that cannot be finished
|
|
6
|
+
* within its callback. Any spans started while the given span is active, will be children of the span.
|
|
7
|
+
*
|
|
8
|
+
* If there already was an active span on the scope prior to calling this function, it is replaced
|
|
9
|
+
* with the given span and restored after the span ended. Otherwise, the span will simply be
|
|
10
|
+
* removed, resulting in no active span on the scope.
|
|
11
|
+
*
|
|
12
|
+
* IMPORTANT: This function can ONLY be used in the browser! Calling this function in a server
|
|
13
|
+
* environment (for example in a server-side rendered component) will result in undefined behaviour
|
|
14
|
+
* and is not supported.
|
|
15
|
+
* You MUST call `span.end()` manually, otherwise the span will never be finished.
|
|
16
|
+
*
|
|
17
|
+
* @example
|
|
18
|
+
* ```js
|
|
19
|
+
* let checkoutSpan;
|
|
20
|
+
*
|
|
21
|
+
* on('checkoutStarted', () => {
|
|
22
|
+
* checkoutSpan = Elenjical.startInactiveSpan({ name: 'checkout-flow' });
|
|
23
|
+
* Elenjical.setActiveSpanInBrowser(checkoutSpan);
|
|
24
|
+
* })
|
|
25
|
+
*
|
|
26
|
+
* // during this time, any spans started will be children of `checkoutSpan`:
|
|
27
|
+
* Elenjical.startSpan({ name: 'checkout-step-1' }, () => {
|
|
28
|
+
* // ... `
|
|
29
|
+
* })
|
|
30
|
+
*
|
|
31
|
+
* on('checkoutCompleted', () => {
|
|
32
|
+
* checkoutSpan?.end();
|
|
33
|
+
* })
|
|
34
|
+
* ```
|
|
35
|
+
*
|
|
36
|
+
* @param span - the span to set active
|
|
37
|
+
*/
|
|
38
|
+
export declare function setActiveSpanInBrowser(span: Span): void;
|
|
39
|
+
//# sourceMappingURL=setActiveSpan.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"setActiveSpan.d.ts","sourceRoot":"","sources":["../../../../src/tracing/setActiveSpan.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,yBAAyB,CAAC;AAGpD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,IAAI,GAAG,IAAI,CAwBvD"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Checks if the baggage header has Elenjical values.
|
|
3
|
+
*/
|
|
4
|
+
export declare function baggageHeaderHasElenjicalValues(baggageHeader: string): boolean;
|
|
5
|
+
/**
|
|
6
|
+
* Gets the full URL from a given URL string.
|
|
7
|
+
*/
|
|
8
|
+
export declare function getFullURL(url: string): string | undefined;
|
|
9
|
+
/**
|
|
10
|
+
* Checks if the entry is a PerformanceResourceTiming.
|
|
11
|
+
*/
|
|
12
|
+
export declare function isPerformanceResourceTiming(entry: PerformanceEntry): entry is PerformanceResourceTiming;
|
|
13
|
+
/**
|
|
14
|
+
* Creates a Headers object from a record of string key-value pairs, and returns undefined if it fails.
|
|
15
|
+
*/
|
|
16
|
+
export declare function createHeadersSafely(headers: Record<string, string> | undefined): Headers | undefined;
|
|
17
|
+
//# sourceMappingURL=utils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../src/tracing/utils.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,wBAAgB,+BAA+B,CAAC,aAAa,EAAE,MAAM,GAAG,OAAO,CAE9E;AAED;;GAEG;AACH,wBAAgB,UAAU,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAS1D;AAED;;GAEG;AACH,wBAAgB,2BAA2B,CAAC,KAAK,EAAE,gBAAgB,GAAG,KAAK,IAAI,yBAAyB,CAOvG;AAED;;GAEG;AACH,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,SAAS,GAAG,OAAO,GAAG,SAAS,CAOpG"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { Transport } from '@elenjical/core/browser';
|
|
2
|
+
import type { WINDOW } from '../helpers';
|
|
3
|
+
import type { BrowserTransportOptions } from './types';
|
|
4
|
+
/**
|
|
5
|
+
* Creates a Transport that uses the Fetch API to send events to Elenjical.
|
|
6
|
+
*/
|
|
7
|
+
export declare function makeFetchTransport(options: BrowserTransportOptions, nativeFetch?: typeof WINDOW.fetch): Transport;
|
|
8
|
+
//# sourceMappingURL=fetch.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fetch.d.ts","sourceRoot":"","sources":["../../../../src/transports/fetch.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAkD,MAAM,yBAAyB,CAAC;AAGzG,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,YAAY,CAAC;AACzC,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,SAAS,CAAC;AAIvD;;GAEG;AACH,wBAAgB,kBAAkB,CAChC,OAAO,EAAE,uBAAuB,EAChC,WAAW,GAAE,OAAO,MAAM,CAAC,KAAwC,GAClE,SAAS,CAsDX"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import type { BaseTransportOptions, OfflineTransportOptions, Transport } from '@elenjical/core/browser';
|
|
2
|
+
type Store = <T>(callback: (store: IDBObjectStore) => T | PromiseLike<T>) => Promise<T>;
|
|
3
|
+
/** Create or open an IndexedDb store */
|
|
4
|
+
export declare function createStore(dbName: string, storeName: string): Store;
|
|
5
|
+
/** Insert into the end of the store */
|
|
6
|
+
export declare function push(store: Store, value: Uint8Array | string, maxQueueSize: number): Promise<void>;
|
|
7
|
+
/** Insert into the front of the store */
|
|
8
|
+
export declare function unshift(store: Store, value: Uint8Array | string, maxQueueSize: number): Promise<void>;
|
|
9
|
+
/** Pop the oldest value from the store */
|
|
10
|
+
export declare function shift(store: Store): Promise<Uint8Array | string | undefined>;
|
|
11
|
+
export interface BrowserOfflineTransportOptions extends Omit<OfflineTransportOptions, 'createStore'> {
|
|
12
|
+
/**
|
|
13
|
+
* Name of indexedDb database to store envelopes in
|
|
14
|
+
* Default: 'elenjical-offline'
|
|
15
|
+
*/
|
|
16
|
+
dbName?: string;
|
|
17
|
+
/**
|
|
18
|
+
* Name of indexedDb object store to store envelopes in
|
|
19
|
+
* Default: 'queue'
|
|
20
|
+
*/
|
|
21
|
+
storeName?: string;
|
|
22
|
+
/**
|
|
23
|
+
* Maximum number of envelopes to store
|
|
24
|
+
* Default: 30
|
|
25
|
+
*/
|
|
26
|
+
maxQueueSize?: number;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* Creates a transport that uses IndexedDb to store events when offline.
|
|
30
|
+
*/
|
|
31
|
+
export declare function makeBrowserOfflineTransport<T extends BaseTransportOptions>(createTransport?: (options: T) => Transport): (options: T & BrowserOfflineTransportOptions) => Transport;
|
|
32
|
+
export {};
|
|
33
|
+
//# sourceMappingURL=offline.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"offline.d.ts","sourceRoot":"","sources":["../../../../src/transports/offline.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,oBAAoB,EAGpB,uBAAuB,EACvB,SAAS,EACV,MAAM,yBAAyB,CAAC;AAyBjC,KAAK,KAAK,GAAG,CAAC,CAAC,EAAE,QAAQ,EAAE,CAAC,KAAK,EAAE,cAAc,KAAK,CAAC,GAAG,WAAW,CAAC,CAAC,CAAC,KAAK,OAAO,CAAC,CAAC,CAAC,CAAC;AAWxF,wCAAwC;AACxC,wBAAgB,WAAW,CAAC,MAAM,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,GAAG,KAAK,CAMpE;AAMD,uCAAuC;AACvC,wBAAgB,IAAI,CAAC,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,UAAU,GAAG,MAAM,EAAE,YAAY,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAYlG;AAED,yCAAyC;AACzC,wBAAgB,OAAO,CAAC,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,UAAU,GAAG,MAAM,EAAE,YAAY,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAYrG;AAED,0CAA0C;AAC1C,wBAAgB,KAAK,CAAC,KAAK,EAAE,KAAK,GAAG,OAAO,CAAC,UAAU,GAAG,MAAM,GAAG,SAAS,CAAC,CAc5E;AAED,MAAM,WAAW,8BAA+B,SAAQ,IAAI,CAAC,uBAAuB,EAAE,aAAa,CAAC;IAClG;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;OAGG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AA4DD;;GAEG;AACH,wBAAgB,2BAA2B,CAAC,CAAC,SAAS,oBAAoB,EACxE,eAAe,GAAE,CAAC,OAAO,EAAE,CAAC,KAAK,SAA8B,GAC9D,CAAC,OAAO,EAAE,CAAC,GAAG,8BAA8B,KAAK,SAAS,CAE5D"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { BaseTransportOptions } from '@elenjical/core/browser';
|
|
2
|
+
export interface BrowserTransportOptions extends BaseTransportOptions {
|
|
3
|
+
/** Fetch API init parameters. Used by the FetchTransport */
|
|
4
|
+
fetchOptions?: RequestInit;
|
|
5
|
+
}
|
|
6
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/transports/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAEpE,MAAM,WAAW,uBAAwB,SAAQ,oBAAoB;IACnE,4DAA4D;IAC5D,YAAY,CAAC,EAAE,WAAW,CAAC;CAC5B"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { DsnComponents, EventEnvelope, SdkMetadata, UserFeedback } from '@elenjical/core/browser';
|
|
2
|
+
/**
|
|
3
|
+
* Creates an envelope from a user feedback.
|
|
4
|
+
*/
|
|
5
|
+
export declare function createUserFeedbackEnvelope(feedback: UserFeedback, { metadata, tunnel, dsn, }: {
|
|
6
|
+
metadata: SdkMetadata | undefined;
|
|
7
|
+
tunnel: string | undefined;
|
|
8
|
+
dsn: DsnComponents | undefined;
|
|
9
|
+
}): EventEnvelope;
|
|
10
|
+
//# sourceMappingURL=userfeedback.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"userfeedback.d.ts","sourceRoot":"","sources":["../../../src/userfeedback.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,aAAa,EACb,aAAa,EACb,WAAW,EACX,YAAY,EAEb,MAAM,yBAAyB,CAAC;AAGjC;;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"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Returns true if the SDK is running in an embedded browser extension.
|
|
3
|
+
* Stand-alone browser extensions (which do not share the same data as the main browser page) are fine.
|
|
4
|
+
*/
|
|
5
|
+
export declare function checkAndWarnIfIsEmbeddedBrowserExtension(): boolean;
|
|
6
|
+
//# sourceMappingURL=detectBrowserExtension.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"detectBrowserExtension.d.ts","sourceRoot":"","sources":["../../../../src/utils/detectBrowserExtension.ts"],"names":[],"mappings":"AAeA;;;GAGG;AACH,wBAAgB,wCAAwC,IAAI,OAAO,CAelE"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { IntegrationFn } from '@elenjical/core/browser';
|
|
2
|
+
declare const LAZY_LOADABLE_NAMES: readonly ["replayIntegration", "replayCanvasIntegration", "feedbackIntegration", "feedbackModalIntegration", "feedbackScreenshotIntegration", "captureConsoleIntegration", "contextLinesIntegration", "linkedErrorsIntegration", "dedupeIntegration", "extraErrorDataIntegration", "graphqlClientIntegration", "httpClientIntegration", "reportingObserverIntegration", "rewriteFramesIntegration", "browserProfilingIntegration", "moduleMetadataIntegration", "instrumentAnthropicAiClient", "instrumentOpenAiClient", "instrumentGoogleGenAIClient", "instrumentStateGraph", "instrumentLangGraph", "createLangChainCallbackHandler", "instrumentLangChainEmbeddings"];
|
|
3
|
+
type ElementOf<T extends readonly unknown[]> = T[number];
|
|
4
|
+
type LazyLoadableIntegrationName = ElementOf<typeof LAZY_LOADABLE_NAMES>;
|
|
5
|
+
/**
|
|
6
|
+
* Lazy load an integration from the CDN.
|
|
7
|
+
* Rejects if the integration cannot be loaded.
|
|
8
|
+
*/
|
|
9
|
+
export declare function lazyLoadIntegration(name: LazyLoadableIntegrationName, scriptNonce?: string): Promise<IntegrationFn>;
|
|
10
|
+
/** The rejection reason of `lazyLoadIntegration` when the client has no `cdnBaseUrl`. */
|
|
11
|
+
export declare const NO_CDN_CONFIGURED = "no Elenjical CDN configured";
|
|
12
|
+
export {};
|
|
13
|
+
//# sourceMappingURL=lazyLoadIntegration.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lazyLoadIntegration.d.ts","sourceRoot":"","sources":["../../../../src/utils/lazyLoadIntegration.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAQ7D,QAAA,MAAM,mBAAmB,2oBAwBf,CAAC;AAEX,KAAK,SAAS,CAAC,CAAC,SAAS,SAAS,OAAO,EAAE,IAAI,CAAC,CAAC,MAAM,CAAC,CAAC;AACzD,KAAK,2BAA2B,GAAG,SAAS,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAgBzE;;;GAGG;AACH,wBAAsB,mBAAmB,CACvC,IAAI,EAAE,2BAA2B,EACjC,WAAW,CAAC,EAAE,MAAM,GACnB,OAAO,CAAC,aAAa,CAAC,CAwDxB;AAED,yFAAyF;AACzF,eAAO,MAAM,iBAAiB,gCAAgC,CAAC"}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import { BrowserClientProfilingOptions, BrowserClientReplayOptions, ClientOptions, Event, EventHint, Options as CoreOptions, ParameterizedString, Scope, SeverityLevel } from '@elenjical/core/browser';
|
|
2
|
+
import { Client } from '@elenjical/core/browser';
|
|
3
|
+
import { BrowserTransportOptions } from './transports/types';
|
|
4
|
+
type BrowserSpecificOptions = BrowserClientReplayOptions & BrowserClientProfilingOptions & {
|
|
5
|
+
/**
|
|
6
|
+
* Base URL of the CDN that `lazyLoadIntegration` and `feedbackAsyncIntegration` load integration bundles from.
|
|
7
|
+
* There is no default: without it, lazy loading rejects with `no Elenjical CDN configured`.
|
|
8
|
+
*/
|
|
9
|
+
cdnBaseUrl?: string;
|
|
10
|
+
/**
|
|
11
|
+
* Important: Only set this option if you know what you are doing!
|
|
12
|
+
*
|
|
13
|
+
* By default, the SDK will check if `Elenjical.init` is called in a browser extension.
|
|
14
|
+
* In case it is, it will stop initialization and log a warning
|
|
15
|
+
* because browser extensions require a different Elenjical initialization process:
|
|
16
|
+
* https://docs.sentry.io/platforms/javascript/best-practices/shared-environments/
|
|
17
|
+
*
|
|
18
|
+
* Setting up the SDK in a browser extension with global error monitoring is not recommended
|
|
19
|
+
* and will likely flood you with errors from other web sites or extensions. This can heavily
|
|
20
|
+
* impact your quota and cause interference with your and other Elenjical SDKs in shared environments.
|
|
21
|
+
*
|
|
22
|
+
* If this check wrongfully flags your setup as a browser extension, you can set this
|
|
23
|
+
* option to `true` to skip the check.
|
|
24
|
+
*
|
|
25
|
+
* @default false
|
|
26
|
+
*/
|
|
27
|
+
skipBrowserExtensionCheck?: boolean;
|
|
28
|
+
/**
|
|
29
|
+
* If you use Spotlight by Elenjical during development, use
|
|
30
|
+
* this option to forward captured Elenjical events to Spotlight.
|
|
31
|
+
*
|
|
32
|
+
* Either set it to true, or provide a specific Spotlight Sidecar URL.
|
|
33
|
+
*
|
|
34
|
+
* More details: https://spotlightjs.com/
|
|
35
|
+
*
|
|
36
|
+
* IMPORTANT: Only set this option to `true` while developing, not in production!
|
|
37
|
+
*/
|
|
38
|
+
spotlight?: boolean | string;
|
|
39
|
+
};
|
|
40
|
+
/**
|
|
41
|
+
* Configuration options for the Elenjical Browser SDK.
|
|
42
|
+
* @see @elenjical/core Options for more information.
|
|
43
|
+
*/
|
|
44
|
+
export type BrowserOptions = CoreOptions<BrowserTransportOptions> & BrowserSpecificOptions;
|
|
45
|
+
/**
|
|
46
|
+
* Configuration options for the Elenjical Browser SDK Client class
|
|
47
|
+
* @see BrowserClient for more information.
|
|
48
|
+
*/
|
|
49
|
+
export type BrowserClientOptions = ClientOptions<BrowserTransportOptions> & BrowserSpecificOptions;
|
|
50
|
+
/**
|
|
51
|
+
* The Elenjical Browser SDK Client.
|
|
52
|
+
*
|
|
53
|
+
* @see BrowserOptions for documentation on configuration options.
|
|
54
|
+
* @see ElenjicalClient for usage documentation.
|
|
55
|
+
*/
|
|
56
|
+
export declare class BrowserClient extends Client<BrowserClientOptions> {
|
|
57
|
+
/**
|
|
58
|
+
* Creates a new Browser SDK instance.
|
|
59
|
+
*
|
|
60
|
+
* @param options Configuration options for this SDK.
|
|
61
|
+
*/
|
|
62
|
+
constructor(options: BrowserClientOptions);
|
|
63
|
+
/**
|
|
64
|
+
* @inheritDoc
|
|
65
|
+
*/
|
|
66
|
+
eventFromException(exception: unknown, hint?: EventHint): PromiseLike<Event>;
|
|
67
|
+
/**
|
|
68
|
+
* @inheritDoc
|
|
69
|
+
*/
|
|
70
|
+
eventFromMessage(message: ParameterizedString, level?: SeverityLevel, hint?: EventHint): PromiseLike<Event>;
|
|
71
|
+
/**
|
|
72
|
+
* @inheritDoc
|
|
73
|
+
*/
|
|
74
|
+
protected _prepareEvent(event: Event, hint: EventHint, currentScope: Scope, isolationScope: Scope): PromiseLike<Event | null>;
|
|
75
|
+
}
|
|
76
|
+
/** Exported only for tests. */
|
|
77
|
+
export declare function applyDefaultOptions<T extends Partial<BrowserClientOptions>>(optionsArg: T): T;
|
|
78
|
+
export {};
|
|
79
|
+
//# sourceMappingURL=client.d.ts.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This serves as a build time flag that will be true by default, but false in non-debug builds or if users replace `__ELENJICAL_DEBUG__` in their generated code.
|
|
3
|
+
*
|
|
4
|
+
* ATTENTION: This constant must never cross package boundaries (i.e. be exported) to guarantee that it can be used for tree shaking.
|
|
5
|
+
*/
|
|
6
|
+
export declare const DEBUG_BUILD: boolean;
|
|
7
|
+
//# sourceMappingURL=debug-build.d.ts.map
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A function to diagnose why the SDK might not be successfully sending data.
|
|
3
|
+
*
|
|
4
|
+
* Possible return values wrapped in a Promise:
|
|
5
|
+
* - `"no-client-active"` - There was no active client when the function was called. This possibly means that the SDK was not initialized yet.
|
|
6
|
+
* - `"elenjical-unreachable"` - The Elenjical SaaS servers were not reachable. This likely means that there is an ad blocker active on the page or that there are other connection issues.
|
|
7
|
+
*
|
|
8
|
+
* If the function doesn't detect an issue it resolves to `undefined`.
|
|
9
|
+
*/
|
|
10
|
+
export declare function diagnoseSdkConnectivity(): Promise<'no-client-active' | 'elenjical-unreachable' | 'no-dsn-configured' | void>;
|
|
11
|
+
//# sourceMappingURL=diagnose-sdk.d.ts.map
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { Event, EventHint, Exception, ParameterizedString, SeverityLevel, StackParser } from '@elenjical/core/browser';
|
|
2
|
+
/**
|
|
3
|
+
* This function creates an exception from a JavaScript Error
|
|
4
|
+
*/
|
|
5
|
+
export declare function exceptionFromError(stackParser: StackParser, ex: Error): Exception;
|
|
6
|
+
/**
|
|
7
|
+
* Extracts from errors what we use as the exception `type` in error events.
|
|
8
|
+
*
|
|
9
|
+
* Usually, this is the `name` property on Error objects but WASM errors need to be treated differently.
|
|
10
|
+
*/
|
|
11
|
+
export declare function extractType(ex: Error & {
|
|
12
|
+
message: {
|
|
13
|
+
error?: Error;
|
|
14
|
+
};
|
|
15
|
+
}): string | undefined;
|
|
16
|
+
/**
|
|
17
|
+
* There are cases where stacktrace.message is an Event object
|
|
18
|
+
* https://github.com/getsentry/sentry-javascript/issues/1949
|
|
19
|
+
* In this specific case we try to extract stacktrace.message.error.message
|
|
20
|
+
*/
|
|
21
|
+
export declare function extractMessage(ex: Error & {
|
|
22
|
+
message: {
|
|
23
|
+
error?: Error;
|
|
24
|
+
};
|
|
25
|
+
}): string;
|
|
26
|
+
/**
|
|
27
|
+
* Creates an {@link Event} from all inputs to `captureException` and non-primitive inputs to `captureMessage`.
|
|
28
|
+
* @hidden
|
|
29
|
+
*/
|
|
30
|
+
export declare function eventFromException(stackParser: StackParser, exception: unknown, hint?: EventHint, attachStacktrace?: boolean): PromiseLike<Event>;
|
|
31
|
+
/**
|
|
32
|
+
* Builds and Event from a Message
|
|
33
|
+
* @hidden
|
|
34
|
+
*/
|
|
35
|
+
export declare function eventFromMessage(stackParser: StackParser, message: ParameterizedString, level?: SeverityLevel, hint?: EventHint, attachStacktrace?: boolean): PromiseLike<Event>;
|
|
36
|
+
/**
|
|
37
|
+
* @hidden
|
|
38
|
+
*/
|
|
39
|
+
export declare function eventFromUnknownInput(stackParser: StackParser, exception: unknown, syntheticException?: Error, attachStacktrace?: boolean, isUnhandledRejection?: boolean): Event;
|
|
40
|
+
//# sourceMappingURL=eventbuilder.d.ts.map
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export { Breadcrumb, BreadcrumbHint, Context, Contexts, RequestEventData, SdkInfo, Event, EventHint, ErrorEvent, Exception, SeverityLevel, StackFrame, Stacktrace, Thread, User, Session, ReportDialogOptions, CaptureContext, ExclusiveEventHintOrCaptureContext, Log, LogSeverityLevel, } from '@elenjical/core/browser';
|
|
2
|
+
export { BrowserOptions } from './client';
|
|
3
|
+
export { addEventProcessor, addBreadcrumb, addIntegration, captureException, captureEvent, captureFeedback, captureMessage, close, createTransport, lastEventId, flush, getClient, isInitialized, isEnabled, getCurrentScope, getIsolationScope, getGlobalScope, setCurrentClient, Scope, continueTrace, getTraceData, suppressTracing, SDK_VERSION, setContext, setExtra, setExtras, setTag, setTags, setAttribute, setAttributes, setUser, setConversationId, withScope, withIsolationScope, functionToStringIntegration, inboundFiltersIntegration, eventFiltersIntegration, dedupeIntegration, parameterize, startSession, captureSession, endSession, spanToJSON, spanToTraceHeader, spanToBaggageHeader, updateSpanName, withStreamedSpan, metrics, } from '@elenjical/core/browser';
|
|
4
|
+
export { SEMANTIC_ATTRIBUTE_ELENJICAL_OP, SEMANTIC_ATTRIBUTE_ELENJICAL_ORIGIN, SEMANTIC_ATTRIBUTE_ELENJICAL_SOURCE, SEMANTIC_ATTRIBUTE_ELENJICAL_SAMPLE_RATE, } from '@elenjical/core/browser';
|
|
5
|
+
export { WINDOW } from './helpers';
|
|
6
|
+
export { BrowserClient } from './client';
|
|
7
|
+
export { makeFetchTransport } from './transports/fetch';
|
|
8
|
+
export { uiProfiler } from './profiling';
|
|
9
|
+
export { defaultStackParser, defaultStackLineParsers, chromeStackLineParser, geckoStackLineParser, opera10StackLineParser, opera11StackLineParser, winjsStackLineParser, } from './stack-parsers';
|
|
10
|
+
export { eventFromException, eventFromMessage, exceptionFromError } from './eventbuilder';
|
|
11
|
+
export { createUserFeedbackEnvelope } from './userfeedback';
|
|
12
|
+
export { getDefaultIntegrations, forceLoad, init, onLoad } from './sdk';
|
|
13
|
+
export { showReportDialog } from './report-dialog';
|
|
14
|
+
export { breadcrumbsIntegration } from './integrations/breadcrumbs';
|
|
15
|
+
export { globalHandlersIntegration } from './integrations/globalhandlers';
|
|
16
|
+
export { httpContextIntegration } from './integrations/httpcontext';
|
|
17
|
+
export { linkedErrorsIntegration } from './integrations/linkederrors';
|
|
18
|
+
export { browserApiErrorsIntegration } from './integrations/browserapierrors';
|
|
19
|
+
export { browserSessionIntegration } from './integrations/browsersession';
|
|
20
|
+
export { lazyLoadIntegration } from './utils/lazyLoadIntegration';
|
|
21
|
+
//# sourceMappingURL=exports.d.ts.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { buildFeedbackIntegration } from '@elenjical/feedback';
|
|
2
|
+
/**
|
|
3
|
+
* An integration to add user feedback to your application,
|
|
4
|
+
* while loading most of the code lazily only when it's needed.
|
|
5
|
+
*/
|
|
6
|
+
export declare const feedbackAsyncIntegration: ReturnType<typeof buildFeedbackIntegration>;
|
|
7
|
+
//# sourceMappingURL=feedbackAsync.d.ts.map
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { Mechanism, WrappedFunction } from '@elenjical/core/browser';
|
|
2
|
+
import { GLOBAL_OBJ } from '@elenjical/core/browser';
|
|
3
|
+
export declare const WINDOW: typeof GLOBAL_OBJ & Window;
|
|
4
|
+
/**
|
|
5
|
+
* @hidden
|
|
6
|
+
*/
|
|
7
|
+
export declare function shouldIgnoreOnError(): boolean;
|
|
8
|
+
/**
|
|
9
|
+
* @hidden
|
|
10
|
+
*/
|
|
11
|
+
export declare function ignoreNextOnError(): void;
|
|
12
|
+
type WrappableFunction = Function;
|
|
13
|
+
export declare function wrap<T extends WrappableFunction>(fn: T, options?: {
|
|
14
|
+
mechanism?: Mechanism;
|
|
15
|
+
}): WrappedFunction<T>;
|
|
16
|
+
export declare function wrap<NonFunction>(fn: NonFunction, options?: {
|
|
17
|
+
mechanism?: Mechanism;
|
|
18
|
+
}): NonFunction;
|
|
19
|
+
/**
|
|
20
|
+
* Get HTTP request data from the current page.
|
|
21
|
+
*/
|
|
22
|
+
export declare function getHttpRequestData(): {
|
|
23
|
+
url: string;
|
|
24
|
+
headers: Record<string, string>;
|
|
25
|
+
};
|
|
26
|
+
export {};
|
|
27
|
+
//# sourceMappingURL=helpers.d.ts.map
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { browserTracingIntegrationShim, consoleLoggingIntegrationShim, elementTimingIntegrationShim, feedbackIntegrationShim, loggerShim, replayIntegrationShim, spanStreamingIntegrationShim, fetchStreamPerformanceIntegrationShim } from '@elenjical-internal/integration-shims';
|
|
2
|
+
export * from './index.bundle.base';
|
|
3
|
+
export { consoleLoggingIntegrationShim as consoleLoggingIntegration, loggerShim as logger };
|
|
4
|
+
export { browserTracingIntegrationShim as browserTracingIntegration, elementTimingIntegrationShim as elementTimingIntegration, feedbackIntegrationShim as feedbackAsyncIntegration, feedbackIntegrationShim as feedbackIntegration, replayIntegrationShim as replayIntegration, spanStreamingIntegrationShim as spanStreamingIntegration, fetchStreamPerformanceIntegrationShim as fetchStreamPerformanceIntegration, };
|
|
5
|
+
//# sourceMappingURL=index.bundle.d.ts.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { browserTracingIntegrationShim, consoleLoggingIntegrationShim, elementTimingIntegrationShim, loggerShim, replayIntegrationShim, spanStreamingIntegrationShim, fetchStreamPerformanceIntegrationShim } from '@elenjical-internal/integration-shims';
|
|
2
|
+
import { feedbackAsyncIntegration } from './feedbackAsync';
|
|
3
|
+
export * from './index.bundle.base';
|
|
4
|
+
export { consoleLoggingIntegrationShim as consoleLoggingIntegration, loggerShim as logger };
|
|
5
|
+
export { getFeedback, sendFeedback } from '@elenjical/feedback';
|
|
6
|
+
export { browserTracingIntegrationShim as browserTracingIntegration, elementTimingIntegrationShim as elementTimingIntegration, feedbackAsyncIntegration as feedbackAsyncIntegration, feedbackAsyncIntegration as feedbackIntegration, replayIntegrationShim as replayIntegration, spanStreamingIntegrationShim as spanStreamingIntegration, fetchStreamPerformanceIntegrationShim as fetchStreamPerformanceIntegration, };
|
|
7
|
+
//# sourceMappingURL=index.bundle.feedback.d.ts.map
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { browserTracingIntegrationShim, feedbackIntegrationShim, replayIntegrationShim, spanStreamingIntegrationShim, fetchStreamPerformanceIntegrationShim } from '@elenjical-internal/integration-shims';
|
|
2
|
+
export * from './index.bundle.base';
|
|
3
|
+
export { logger, consoleLoggingIntegration } from '@elenjical/core/browser';
|
|
4
|
+
export { elementTimingIntegration } from '@elenjical/browser-utils';
|
|
5
|
+
export { browserTracingIntegrationShim as browserTracingIntegration, feedbackIntegrationShim as feedbackAsyncIntegration, feedbackIntegrationShim as feedbackIntegration, replayIntegrationShim as replayIntegration, spanStreamingIntegrationShim as spanStreamingIntegration, fetchStreamPerformanceIntegrationShim as fetchStreamPerformanceIntegration, };
|
|
6
|
+
//# sourceMappingURL=index.bundle.logs.metrics.d.ts.map
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { browserTracingIntegrationShim, consoleLoggingIntegrationShim, elementTimingIntegrationShim, feedbackIntegrationShim, loggerShim, spanStreamingIntegrationShim, fetchStreamPerformanceIntegrationShim } from '@elenjical-internal/integration-shims';
|
|
2
|
+
export * from './index.bundle.base';
|
|
3
|
+
export { consoleLoggingIntegrationShim as consoleLoggingIntegration, loggerShim as logger };
|
|
4
|
+
export { replayIntegration, getReplay } from '@elenjical/replay';
|
|
5
|
+
export { browserTracingIntegrationShim as browserTracingIntegration, elementTimingIntegrationShim as elementTimingIntegration, feedbackIntegrationShim as feedbackAsyncIntegration, feedbackIntegrationShim as feedbackIntegration, spanStreamingIntegrationShim as spanStreamingIntegration, fetchStreamPerformanceIntegrationShim as fetchStreamPerformanceIntegration, };
|
|
6
|
+
//# sourceMappingURL=index.bundle.replay.d.ts.map
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { browserTracingIntegrationShim, consoleLoggingIntegrationShim, elementTimingIntegrationShim, loggerShim, spanStreamingIntegrationShim, fetchStreamPerformanceIntegrationShim } from '@elenjical-internal/integration-shims';
|
|
2
|
+
import { feedbackAsyncIntegration } from './feedbackAsync';
|
|
3
|
+
export * from './index.bundle.base';
|
|
4
|
+
export { consoleLoggingIntegrationShim as consoleLoggingIntegration, loggerShim as logger };
|
|
5
|
+
export { getFeedback, sendFeedback } from '@elenjical/feedback';
|
|
6
|
+
export { browserTracingIntegrationShim as browserTracingIntegration, elementTimingIntegrationShim as elementTimingIntegration, feedbackAsyncIntegration as feedbackAsyncIntegration, feedbackAsyncIntegration as feedbackIntegration, spanStreamingIntegrationShim as spanStreamingIntegration, fetchStreamPerformanceIntegrationShim as fetchStreamPerformanceIntegration, };
|
|
7
|
+
export { replayIntegration, getReplay } from '@elenjical/replay';
|
|
8
|
+
//# sourceMappingURL=index.bundle.replay.feedback.d.ts.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { browserTracingIntegrationShim, feedbackIntegrationShim, spanStreamingIntegrationShim, fetchStreamPerformanceIntegrationShim } from '@elenjical-internal/integration-shims';
|
|
2
|
+
export * from './index.bundle.base';
|
|
3
|
+
export { logger, consoleLoggingIntegration } from '@elenjical/core/browser';
|
|
4
|
+
export { replayIntegration, getReplay } from '@elenjical/replay';
|
|
5
|
+
export { elementTimingIntegration } from '@elenjical/browser-utils';
|
|
6
|
+
export { browserTracingIntegrationShim as browserTracingIntegration, feedbackIntegrationShim as feedbackAsyncIntegration, feedbackIntegrationShim as feedbackIntegration, spanStreamingIntegrationShim as spanStreamingIntegration, fetchStreamPerformanceIntegrationShim as fetchStreamPerformanceIntegration, };
|
|
7
|
+
//# sourceMappingURL=index.bundle.replay.logs.metrics.d.ts.map
|