@@ -100,9 +100,6 @@ export abstract class BaseClient<O extends ClientOptions> implements Client<O> {
100100 /** Array of set up integrations. */
101101 protected _integrations : IntegrationIndex ;
102102
103- /** Indicates whether this client's integrations have been set up. */
104- protected _integrationsInitialized : boolean ;
105-
106103 /** Number of calls being processed */
107104 protected _numProcessing : number ;
108105
@@ -122,7 +119,6 @@ export abstract class BaseClient<O extends ClientOptions> implements Client<O> {
122119 protected constructor ( options : O ) {
123120 this . _options = options ;
124121 this . _integrations = { } ;
125- this . _integrationsInitialized = false ;
126122 this . _numProcessing = 0 ;
127123 this . _outcomes = { } ;
128124 this . _hooks = { } ;
@@ -303,16 +299,6 @@ export abstract class BaseClient<O extends ClientOptions> implements Client<O> {
303299 this . _eventProcessors . push ( eventProcessor ) ;
304300 }
305301
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-
316302 /** @inheritdoc */
317303 public init ( ) : void {
318304 if ( this . _isEnabled ( ) ) {
@@ -533,9 +519,6 @@ export abstract class BaseClient<O extends ClientOptions> implements Client<O> {
533519 const { integrations } = this . _options ;
534520 this . _integrations = setupIntegrations ( this , integrations ) ;
535521 afterSetupIntegrations ( this , integrations ) ;
536-
537- // TODO v8: We don't need this flag anymore
538- this . _integrationsInitialized = true ;
539522 }
540523
541524 /** Updates existing session based on the provided event */
0 commit comments