@sentry/browser 10.8.0 → 10.10.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/tracing/browserTracingIntegration.js +2 -1
- package/build/npm/cjs/tracing/browserTracingIntegration.js.map +1 -1
- package/build/npm/cjs/tracing/request.js +29 -9
- package/build/npm/cjs/tracing/request.js.map +1 -1
- package/build/npm/esm/client.js.map +1 -1
- package/build/npm/esm/package.json +1 -1
- package/build/npm/esm/tracing/browserTracingIntegration.js +2 -1
- package/build/npm/esm/tracing/browserTracingIntegration.js.map +1 -1
- package/build/npm/esm/tracing/request.js +30 -9
- package/build/npm/esm/tracing/request.js.map +1 -1
- package/build/npm/types/client.d.ts +19 -7
- package/build/npm/types/client.d.ts.map +1 -1
- package/build/npm/types/index.bundle.feedback.d.ts +1 -1
- package/build/npm/types/index.bundle.feedback.d.ts.map +1 -1
- package/build/npm/types/index.bundle.replay.feedback.d.ts +7 -0
- package/build/npm/types/index.bundle.replay.feedback.d.ts.map +1 -0
- package/build/npm/types/index.bundle.tracing.replay.feedback.d.ts +1 -1
- package/build/npm/types/index.bundle.tracing.replay.feedback.d.ts.map +1 -1
- package/build/npm/types/tracing/browserTracingIntegration.d.ts.map +1 -1
- package/build/npm/types/tracing/request.d.ts +1 -7
- package/build/npm/types/tracing/request.d.ts.map +1 -1
- package/build/npm/types-ts3.8/client.d.ts +19 -7
- package/build/npm/types-ts3.8/index.bundle.feedback.d.ts +1 -1
- package/build/npm/types-ts3.8/index.bundle.replay.feedback.d.ts +7 -0
- package/build/npm/types-ts3.8/index.bundle.tracing.replay.feedback.d.ts +1 -1
- package/build/npm/types-ts3.8/tracing/request.d.ts +1 -7
- package/package.json +7 -7
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { browserTracingIntegrationShim, replayIntegrationShim } from '@sentry-internal/integration-shims';
|
|
2
2
|
import { feedbackAsyncIntegration } from './feedbackAsync';
|
|
3
3
|
export * from './index.bundle.base';
|
|
4
|
-
export { getFeedback } from '@sentry-internal/feedback';
|
|
4
|
+
export { getFeedback, sendFeedback } from '@sentry-internal/feedback';
|
|
5
5
|
export { browserTracingIntegrationShim as browserTracingIntegration, feedbackAsyncIntegration as feedbackAsyncIntegration, feedbackAsyncIntegration as feedbackIntegration, replayIntegrationShim as replayIntegration, };
|
|
6
6
|
//# sourceMappingURL=index.bundle.feedback.d.ts.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { browserTracingIntegrationShim } from '@sentry-internal/integration-shims';
|
|
2
|
+
import { feedbackAsyncIntegration } from './feedbackAsync';
|
|
3
|
+
export * from './index.bundle.base';
|
|
4
|
+
export { getFeedback, sendFeedback } from '@sentry-internal/feedback';
|
|
5
|
+
export { browserTracingIntegrationShim as browserTracingIntegration, feedbackAsyncIntegration as feedbackAsyncIntegration, feedbackAsyncIntegration as feedbackIntegration, };
|
|
6
|
+
export { replayIntegration, getReplay } from '@sentry-internal/replay';
|
|
7
|
+
//# sourceMappingURL=index.bundle.replay.feedback.d.ts.map
|
|
@@ -2,7 +2,7 @@ import { feedbackAsyncIntegration } from './feedbackAsync';
|
|
|
2
2
|
export * from './index.bundle.base';
|
|
3
3
|
export { getActiveSpan, getRootSpan, startSpan, startInactiveSpan, startSpanManual, startNewTrace, withActiveSpan, getSpanDescendants, setMeasurement, } from '@sentry/core';
|
|
4
4
|
export { browserTracingIntegration, startBrowserTracingNavigationSpan, startBrowserTracingPageLoadSpan, } from './tracing/browserTracingIntegration';
|
|
5
|
-
export { getFeedback } from '@sentry-internal/feedback';
|
|
5
|
+
export { getFeedback, sendFeedback } from '@sentry-internal/feedback';
|
|
6
6
|
export { feedbackAsyncIntegration as feedbackAsyncIntegration, feedbackAsyncIntegration as feedbackIntegration };
|
|
7
7
|
export { replayIntegration, getReplay } from '@sentry-internal/replay';
|
|
8
8
|
//# sourceMappingURL=index.bundle.tracing.replay.feedback.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Client,
|
|
1
|
+
import { Client, Span, WebFetchHeaders } from '@sentry/core';
|
|
2
2
|
/** Options for Request Instrumentation */
|
|
3
3
|
export interface RequestInstrumentationOptions {
|
|
4
4
|
/**
|
|
@@ -79,10 +79,4 @@ export declare function instrumentOutgoingRequests(client: Client, _options?: Pa
|
|
|
79
79
|
* We only export this function for testing purposes.
|
|
80
80
|
*/
|
|
81
81
|
export declare function shouldAttachHeaders(targetUrl: string, tracePropagationTargets: (string | RegExp)[] | undefined): boolean;
|
|
82
|
-
/**
|
|
83
|
-
* Create and track xhr request spans
|
|
84
|
-
*
|
|
85
|
-
* @returns Span if a span was created, otherwise void.
|
|
86
|
-
*/
|
|
87
|
-
export declare function xhrCallback(handlerData: HandlerDataXhr, shouldCreateSpan: (url: string) => boolean, shouldAttachHeaders: (url: string) => boolean, spans: Record<string, Span>): Span | undefined;
|
|
88
82
|
//# sourceMappingURL=request.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sentry/browser",
|
|
3
|
-
"version": "10.
|
|
3
|
+
"version": "10.10.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": "10.
|
|
43
|
-
"@sentry-internal/feedback": "10.
|
|
44
|
-
"@sentry-internal/replay": "10.
|
|
45
|
-
"@sentry-internal/replay-canvas": "10.
|
|
46
|
-
"@sentry/core": "10.
|
|
42
|
+
"@sentry-internal/browser-utils": "10.10.0",
|
|
43
|
+
"@sentry-internal/feedback": "10.10.0",
|
|
44
|
+
"@sentry-internal/replay": "10.10.0",
|
|
45
|
+
"@sentry-internal/replay-canvas": "10.10.0",
|
|
46
|
+
"@sentry/core": "10.10.0"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
|
-
"@sentry-internal/integration-shims": "10.
|
|
49
|
+
"@sentry-internal/integration-shims": "10.10.0",
|
|
50
50
|
"fake-indexeddb": "^4.0.1"
|
|
51
51
|
},
|
|
52
52
|
"scripts": {
|