File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
packages/node/src/integrations Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ import { extractPathForTransaction } from '@sentry/utils';
6
6
7
7
import { addRequestDataToEvent , AddRequestDataToEventOptions , TransactionNamingScheme } from '../requestdata' ;
8
8
9
- type RequestDataOptions = {
9
+ type RequestDataIntegrationOptions = {
10
10
/**
11
11
* Controls what data is pulled from the request and added to the event
12
12
*/
@@ -69,12 +69,12 @@ export class RequestData implements Integration {
69
69
*/
70
70
public name : string = RequestData . id ;
71
71
72
- private _options : RequestDataOptions ;
72
+ private _options : RequestDataIntegrationOptions ;
73
73
74
74
/**
75
75
* @inheritDoc
76
76
*/
77
- public constructor ( options : Partial < RequestDataOptions > = { } ) {
77
+ public constructor ( options : Partial < RequestDataIntegrationOptions > = { } ) {
78
78
this . _options = {
79
79
...DEFAULT_OPTIONS ,
80
80
...options ,
@@ -154,7 +154,7 @@ export class RequestData implements Integration {
154
154
/** Convert `include` option to match what `addRequestDataToEvent` expects */
155
155
/** TODO: Can possibly be deleted once https://github.com/getsentry/sentry-javascript/issues/5718 is fixed */
156
156
function formatIncludeOption (
157
- integrationInclude : RequestDataOptions [ 'include' ] = { } ,
157
+ integrationInclude : RequestDataIntegrationOptions [ 'include' ] = { } ,
158
158
) : AddRequestDataToEventOptions [ 'include' ] {
159
159
const { ip, user, ...requestOptions } = integrationInclude ;
160
160
You can’t perform that action at this time.
0 commit comments