File tree 2 files changed +4
-2
lines changed
2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -113,6 +113,8 @@ export interface Client<O extends ClientOptions = ClientOptions> {
113
113
* This can be used to e.g. lazy load integrations.
114
114
* In most cases, this should not be necessary, and you're better off just passing the integrations via `integrations: []` at initialization time.
115
115
* However, if you find the need to conditionally load & add an integration, you can use `addIntegration` to do so.
116
+ *
117
+ * TODO (v8): Make this a required method.
116
118
* */
117
119
addIntegration ?( integration : Integration ) : void ;
118
120
Original file line number Diff line number Diff line change @@ -222,7 +222,7 @@ export interface ClientOptions<TO extends BaseTransportOptions = BaseTransportOp
222
222
*/
223
223
tracesSampler ?: ( samplingContext : SamplingContext ) => number | boolean ;
224
224
225
- // TODO v8 : Narrow the response type to `ErrorEvent` - this is technically a breaking change.
225
+ // TODO (v8) : Narrow the response type to `ErrorEvent` - this is technically a breaking change.
226
226
/**
227
227
* An event-processing callback for error and message events, guaranteed to be invoked after all other event
228
228
* processors, which allows an event to be modified or dropped.
@@ -236,7 +236,7 @@ export interface ClientOptions<TO extends BaseTransportOptions = BaseTransportOp
236
236
*/
237
237
beforeSend ?: ( event : ErrorEvent , hint : EventHint ) => PromiseLike < Event | null > | Event | null ;
238
238
239
- // TODO v8 : Narrow the response type to `TransactionEvent` - this is technically a breaking change.
239
+ // TODO (v8) : Narrow the response type to `TransactionEvent` - this is technically a breaking change.
240
240
/**
241
241
* An event-processing callback for transaction events, guaranteed to be invoked after all other event
242
242
* processors. This allows an event to be modified or dropped before it's sent.
You can’t perform that action at this time.
0 commit comments