Skip to content

Commit 01b12bf

Browse files
committed
ref(v8): Remove args on HandlerDataXhr
This is not used anymore and can/should be handled differently.
1 parent b0c9459 commit 01b12bf

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

packages/types/src/instrument.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,6 @@ export interface SentryXhrData {
2929
}
3030

3131
export interface HandlerDataXhr {
32-
/**
33-
* @deprecated This property will be removed in v8.
34-
*/
35-
args: [string, string];
3632
xhr: SentryWrappedXMLHttpRequest;
3733
startTimestamp?: number;
3834
endTimestamp?: number;

packages/utils/src/instrument/xhr.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,6 @@ export function instrumentXHR(): void {
7878
}
7979

8080
const handlerData: HandlerDataXhr = {
81-
args: [method, url],
8281
endTimestamp: Date.now(),
8382
startTimestamp,
8483
xhr: this,
@@ -132,7 +131,6 @@ export function instrumentXHR(): void {
132131
}
133132

134133
const handlerData: HandlerDataXhr = {
135-
args: [sentryXhrData.method, sentryXhrData.url],
136134
startTimestamp: Date.now(),
137135
xhr: this,
138136
};

0 commit comments

Comments
 (0)