@sentry/browser 9.36.0 → 9.37.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/npm/cjs/client.js.map +1 -1
- package/build/npm/cjs/debug-build.js.map +1 -1
- package/build/npm/cjs/eventbuilder.js.map +1 -1
- package/build/npm/cjs/feedbackAsync.js.map +1 -1
- package/build/npm/cjs/feedbackSync.js.map +1 -1
- package/build/npm/cjs/helpers.js.map +1 -1
- package/build/npm/cjs/integrations/breadcrumbs.js.map +1 -1
- package/build/npm/cjs/integrations/browserapierrors.js.map +1 -1
- package/build/npm/cjs/integrations/browsersession.js.map +1 -1
- package/build/npm/cjs/integrations/contextlines.js.map +1 -1
- package/build/npm/cjs/integrations/featureFlags/launchdarkly/integration.js.map +1 -1
- package/build/npm/cjs/integrations/featureFlags/openfeature/integration.js.map +1 -1
- package/build/npm/cjs/integrations/featureFlags/statsig/integration.js.map +1 -1
- package/build/npm/cjs/integrations/featureFlags/unleash/integration.js.map +1 -1
- package/build/npm/cjs/integrations/globalhandlers.js.map +1 -1
- package/build/npm/cjs/integrations/graphqlClient.js.map +1 -1
- package/build/npm/cjs/integrations/httpclient.js.map +1 -1
- package/build/npm/cjs/integrations/httpcontext.js.map +1 -1
- package/build/npm/cjs/integrations/linkederrors.js.map +1 -1
- package/build/npm/cjs/integrations/reportingobserver.js.map +1 -1
- package/build/npm/cjs/integrations/spotlight.js.map +1 -1
- package/build/npm/cjs/log.js.map +1 -1
- package/build/npm/cjs/profiling/integration.js.map +1 -1
- package/build/npm/cjs/profiling/utils.js.map +1 -1
- package/build/npm/cjs/report-dialog.js.map +1 -1
- package/build/npm/cjs/sdk.js.map +1 -1
- package/build/npm/cjs/stack-parsers.js.map +1 -1
- package/build/npm/cjs/tracing/backgroundtab.js.map +1 -1
- package/build/npm/cjs/tracing/browserTracingIntegration.js +97 -23
- package/build/npm/cjs/tracing/browserTracingIntegration.js.map +1 -1
- package/build/npm/cjs/tracing/linkedTraces.js.map +1 -1
- package/build/npm/cjs/tracing/request.js.map +1 -1
- package/build/npm/cjs/tracing/resource-timing.js.map +1 -1
- package/build/npm/cjs/transports/fetch.js.map +1 -1
- package/build/npm/cjs/transports/offline.js.map +1 -1
- package/build/npm/cjs/userfeedback.js.map +1 -1
- package/build/npm/cjs/utils/detectBrowserExtension.js.map +1 -1
- package/build/npm/cjs/utils/lazyLoadIntegration.js.map +1 -1
- package/build/npm/esm/client.js.map +1 -1
- package/build/npm/esm/debug-build.js.map +1 -1
- package/build/npm/esm/eventbuilder.js.map +1 -1
- package/build/npm/esm/feedbackAsync.js.map +1 -1
- package/build/npm/esm/feedbackSync.js.map +1 -1
- package/build/npm/esm/helpers.js.map +1 -1
- package/build/npm/esm/integrations/breadcrumbs.js.map +1 -1
- package/build/npm/esm/integrations/browserapierrors.js.map +1 -1
- package/build/npm/esm/integrations/browsersession.js.map +1 -1
- package/build/npm/esm/integrations/contextlines.js.map +1 -1
- package/build/npm/esm/integrations/featureFlags/launchdarkly/integration.js.map +1 -1
- package/build/npm/esm/integrations/featureFlags/openfeature/integration.js.map +1 -1
- package/build/npm/esm/integrations/featureFlags/statsig/integration.js.map +1 -1
- package/build/npm/esm/integrations/featureFlags/unleash/integration.js.map +1 -1
- package/build/npm/esm/integrations/globalhandlers.js.map +1 -1
- package/build/npm/esm/integrations/graphqlClient.js.map +1 -1
- package/build/npm/esm/integrations/httpclient.js.map +1 -1
- package/build/npm/esm/integrations/httpcontext.js.map +1 -1
- package/build/npm/esm/integrations/linkederrors.js.map +1 -1
- package/build/npm/esm/integrations/reportingobserver.js.map +1 -1
- package/build/npm/esm/integrations/spotlight.js.map +1 -1
- package/build/npm/esm/log.js.map +1 -1
- package/build/npm/esm/package.json +1 -1
- package/build/npm/esm/profiling/integration.js.map +1 -1
- package/build/npm/esm/profiling/utils.js.map +1 -1
- package/build/npm/esm/report-dialog.js.map +1 -1
- package/build/npm/esm/sdk.js.map +1 -1
- package/build/npm/esm/stack-parsers.js.map +1 -1
- package/build/npm/esm/tracing/backgroundtab.js.map +1 -1
- package/build/npm/esm/tracing/browserTracingIntegration.js +98 -24
- package/build/npm/esm/tracing/browserTracingIntegration.js.map +1 -1
- package/build/npm/esm/tracing/linkedTraces.js.map +1 -1
- package/build/npm/esm/tracing/request.js.map +1 -1
- package/build/npm/esm/tracing/resource-timing.js.map +1 -1
- package/build/npm/esm/transports/fetch.js.map +1 -1
- package/build/npm/esm/transports/offline.js.map +1 -1
- package/build/npm/esm/userfeedback.js.map +1 -1
- package/build/npm/esm/utils/detectBrowserExtension.js.map +1 -1
- package/build/npm/esm/utils/lazyLoadIntegration.js.map +1 -1
- package/build/npm/types/tracing/browserTracingIntegration.d.ts +11 -1
- package/build/npm/types/tracing/browserTracingIntegration.d.ts.map +1 -1
- package/build/npm/types-ts3.8/tracing/browserTracingIntegration.d.ts +11 -1
- package/package.json +7 -7
|
@@ -133,6 +133,13 @@ export interface BrowserTracingOptions {
|
|
|
133
133
|
* Default: [] - By default, all `mark` and `measure` entries are sent as spans.
|
|
134
134
|
*/
|
|
135
135
|
ignorePerformanceApiSpans: Array<string | RegExp>;
|
|
136
|
+
/**
|
|
137
|
+
* By default, the SDK will try to detect redirects and avoid creating separate spans for them.
|
|
138
|
+
* If you want to opt-out of this behavior, you can set this option to `false`.
|
|
139
|
+
*
|
|
140
|
+
* Default: true
|
|
141
|
+
*/
|
|
142
|
+
detectRedirects: boolean;
|
|
136
143
|
/**
|
|
137
144
|
* Link the currently started trace to a previous trace (e.g. a prior pageload, navigation or
|
|
138
145
|
* manually started span). When enabled, this option will allow you to navigate between traces
|
|
@@ -233,7 +240,10 @@ export declare function startBrowserTracingPageLoadSpan(client: Client, spanOpti
|
|
|
233
240
|
* Manually start a navigation span.
|
|
234
241
|
* This will only do something if a browser tracing integration has been setup.
|
|
235
242
|
*/
|
|
236
|
-
export declare function startBrowserTracingNavigationSpan(client: Client, spanOptions: StartSpanOptions
|
|
243
|
+
export declare function startBrowserTracingNavigationSpan(client: Client, spanOptions: StartSpanOptions, options?: {
|
|
244
|
+
url?: string;
|
|
245
|
+
isRedirect?: boolean;
|
|
246
|
+
}): Span | undefined;
|
|
237
247
|
/** Returns the value of a meta tag */
|
|
238
248
|
export declare function getMetaContent(metaName: string): string | undefined;
|
|
239
249
|
//# sourceMappingURL=browserTracingIntegration.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sentry/browser",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.37.0",
|
|
4
4
|
"description": "Official Sentry SDK for browsers",
|
|
5
5
|
"repository": "git://github.com/getsentry/sentry-javascript.git",
|
|
6
6
|
"homepage": "https://github.com/getsentry/sentry-javascript/tree/master/packages/browser",
|
|
@@ -39,14 +39,14 @@
|
|
|
39
39
|
"access": "public"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@sentry-internal/browser-utils": "9.
|
|
43
|
-
"@sentry-internal/feedback": "9.
|
|
44
|
-
"@sentry-internal/replay": "9.
|
|
45
|
-
"@sentry-internal/replay-canvas": "9.
|
|
46
|
-
"@sentry/core": "9.
|
|
42
|
+
"@sentry-internal/browser-utils": "9.37.0",
|
|
43
|
+
"@sentry-internal/feedback": "9.37.0",
|
|
44
|
+
"@sentry-internal/replay": "9.37.0",
|
|
45
|
+
"@sentry-internal/replay-canvas": "9.37.0",
|
|
46
|
+
"@sentry/core": "9.37.0"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
|
-
"@sentry-internal/integration-shims": "9.
|
|
49
|
+
"@sentry-internal/integration-shims": "9.37.0",
|
|
50
50
|
"fake-indexeddb": "^4.0.1"
|
|
51
51
|
},
|
|
52
52
|
"scripts": {
|