File tree 2 files changed +20
-18
lines changed
2 files changed +20
-18
lines changed Original file line number Diff line number Diff line change @@ -8,33 +8,17 @@ import { Breadcrumbs } from './integrations';
8
8
import { BREADCRUMB_INTEGRATION_ID } from './integrations/breadcrumbs' ;
9
9
import { BrowserTransportOptions } from './transports/types' ;
10
10
11
- export interface BaseBrowserOptions {
12
- /**
13
- * A pattern for error URLs which should exclusively be sent to Sentry.
14
- * This is the opposite of {@link Options.denyUrls}.
15
- * By default, all errors will be sent.
16
- */
17
- allowUrls ?: Array < string | RegExp > ;
18
-
19
- /**
20
- * A pattern for error URLs which should not be sent to Sentry.
21
- * To allow certain errors instead, use {@link Options.allowUrls}.
22
- * By default, all errors will be sent.
23
- */
24
- denyUrls ?: Array < string | RegExp > ;
25
- }
26
-
27
11
/**
28
12
* Configuration options for the Sentry Browser SDK.
29
13
* @see @sentry /types Options for more information.
30
14
*/
31
- export interface BrowserOptions extends Options < BrowserTransportOptions > , BaseBrowserOptions { }
15
+ export type BrowserOptions = Options < BrowserTransportOptions > ;
32
16
33
17
/**
34
18
* Configuration options for the Sentry Browser SDK Client class
35
19
* @see BrowserClient for more information.
36
20
*/
37
- export interface BrowserClientOptions extends ClientOptions < BrowserTransportOptions > , BaseBrowserOptions { }
21
+ export type BrowserClientOptions = ClientOptions < BrowserTransportOptions > ;
38
22
39
23
/**
40
24
* The Sentry Browser SDK Client.
Original file line number Diff line number Diff line change @@ -190,6 +190,24 @@ export interface ClientOptions<TO extends BaseTransportOptions = BaseTransportOp
190
190
[ key : string ] : any ;
191
191
} ;
192
192
193
+ /**
194
+ * A pattern for error URLs which should exclusively be sent to Sentry.
195
+ * This is the opposite of {@link Options.denyUrls}.
196
+ * By default, all errors will be sent.
197
+ *
198
+ * Requires the use of the `InboundFilters` integration.
199
+ */
200
+ allowUrls ?: Array < string | RegExp > ;
201
+
202
+ /**
203
+ * A pattern for error URLs which should not be sent to Sentry.
204
+ * To allow certain errors instead, use {@link Options.allowUrls}.
205
+ * By default, all errors will be sent.
206
+ *
207
+ * Requires the use of the `InboundFilters` integration.
208
+ */
209
+ denyUrls ?: Array < string | RegExp > ;
210
+
193
211
/**
194
212
* Function to compute tracing sample rate dynamically and filter unwanted traces.
195
213
*
You can’t perform that action at this time.
0 commit comments