@@ -100,9 +100,6 @@ export abstract class BaseClient<O extends ClientOptions> implements Client<O> {
100
100
/** Array of set up integrations. */
101
101
protected _integrations : IntegrationIndex ;
102
102
103
- /** Indicates whether this client's integrations have been set up. */
104
- protected _integrationsInitialized : boolean ;
105
-
106
103
/** Number of calls being processed */
107
104
protected _numProcessing : number ;
108
105
@@ -122,7 +119,6 @@ export abstract class BaseClient<O extends ClientOptions> implements Client<O> {
122
119
protected constructor ( options : O ) {
123
120
this . _options = options ;
124
121
this . _integrations = { } ;
125
- this . _integrationsInitialized = false ;
126
122
this . _numProcessing = 0 ;
127
123
this . _outcomes = { } ;
128
124
this . _hooks = { } ;
@@ -303,16 +299,6 @@ export abstract class BaseClient<O extends ClientOptions> implements Client<O> {
303
299
this . _eventProcessors . push ( eventProcessor ) ;
304
300
}
305
301
306
- /**
307
- * This is an internal function to setup all integrations that should run on the client.
308
- * @deprecated Use `client.init()` instead.
309
- */
310
- public setupIntegrations ( forceInitialize ?: boolean ) : void {
311
- if ( ( forceInitialize && ! this . _integrationsInitialized ) || ( this . _isEnabled ( ) && ! this . _integrationsInitialized ) ) {
312
- this . _setupIntegrations ( ) ;
313
- }
314
- }
315
-
316
302
/** @inheritdoc */
317
303
public init ( ) : void {
318
304
if ( this . _isEnabled ( ) ) {
@@ -533,9 +519,6 @@ export abstract class BaseClient<O extends ClientOptions> implements Client<O> {
533
519
const { integrations } = this . _options ;
534
520
this . _integrations = setupIntegrations ( this , integrations ) ;
535
521
afterSetupIntegrations ( this , integrations ) ;
536
-
537
- // TODO v8: We don't need this flag anymore
538
- this . _integrationsInitialized = true ;
539
522
}
540
523
541
524
/** Updates existing session based on the provided event */
0 commit comments