@@ -55,7 +55,7 @@ export class Scope implements ScopeInterface {
55
55
/**
56
56
* This will be called on every set call.
57
57
*/
58
- protected notifyScopeListeners ( ) : void {
58
+ protected _notifyScopeListeners ( ) : void {
59
59
if ( ! this . _notifyingListeners ) {
60
60
this . _notifyingListeners = true ;
61
61
setTimeout ( ( ) => {
@@ -101,7 +101,7 @@ export class Scope implements ScopeInterface {
101
101
*/
102
102
public setUser ( user : User ) : this {
103
103
this . _user = normalize ( user ) ;
104
- this . notifyScopeListeners ( ) ;
104
+ this . _notifyScopeListeners ( ) ;
105
105
return this ;
106
106
}
107
107
@@ -113,7 +113,7 @@ export class Scope implements ScopeInterface {
113
113
...this . _tags ,
114
114
...normalize ( tags ) ,
115
115
} ;
116
- this . notifyScopeListeners ( ) ;
116
+ this . _notifyScopeListeners ( ) ;
117
117
return this ;
118
118
}
119
119
@@ -122,7 +122,7 @@ export class Scope implements ScopeInterface {
122
122
*/
123
123
public setTag ( key : string , value : string ) : this {
124
124
this . _tags = { ...this . _tags , [ key ] : normalize ( value ) } ;
125
- this . notifyScopeListeners ( ) ;
125
+ this . _notifyScopeListeners ( ) ;
126
126
return this ;
127
127
}
128
128
@@ -134,7 +134,7 @@ export class Scope implements ScopeInterface {
134
134
...this . _extra ,
135
135
...normalize ( extra ) ,
136
136
} ;
137
- this . notifyScopeListeners ( ) ;
137
+ this . _notifyScopeListeners ( ) ;
138
138
return this ;
139
139
}
140
140
@@ -143,7 +143,7 @@ export class Scope implements ScopeInterface {
143
143
*/
144
144
public setExtra ( key : string , extra : any ) : this {
145
145
this . _extra = { ...this . _extra , [ key ] : normalize ( extra ) } ;
146
- this . notifyScopeListeners ( ) ;
146
+ this . _notifyScopeListeners ( ) ;
147
147
return this ;
148
148
}
149
149
@@ -152,7 +152,7 @@ export class Scope implements ScopeInterface {
152
152
*/
153
153
public setFingerprint ( fingerprint : string [ ] ) : this {
154
154
this . _fingerprint = normalize ( fingerprint ) ;
155
- this . notifyScopeListeners ( ) ;
155
+ this . _notifyScopeListeners ( ) ;
156
156
return this ;
157
157
}
158
158
@@ -161,7 +161,7 @@ export class Scope implements ScopeInterface {
161
161
*/
162
162
public setLevel ( level ?: Severity ) : this {
163
163
this . _level = normalize ( level ) ;
164
- this . notifyScopeListeners ( ) ;
164
+ this . _notifyScopeListeners ( ) ;
165
165
return this ;
166
166
}
167
167
@@ -196,7 +196,7 @@ export class Scope implements ScopeInterface {
196
196
this . _user = { } ;
197
197
this . _level = undefined ;
198
198
this . _fingerprint = undefined ;
199
- this . notifyScopeListeners ( ) ;
199
+ this . _notifyScopeListeners ( ) ;
200
200
return this ;
201
201
}
202
202
@@ -208,7 +208,7 @@ export class Scope implements ScopeInterface {
208
208
maxBreadcrumbs !== undefined && maxBreadcrumbs >= 0
209
209
? [ ...this . _breadcrumbs , normalize ( breadcrumb ) ] . slice ( - maxBreadcrumbs )
210
210
: [ ...this . _breadcrumbs , normalize ( breadcrumb ) ] ;
211
- this . notifyScopeListeners ( ) ;
211
+ this . _notifyScopeListeners ( ) ;
212
212
return this ;
213
213
}
214
214
@@ -217,7 +217,7 @@ export class Scope implements ScopeInterface {
217
217
*/
218
218
public clearBreadcrumbs ( ) : this {
219
219
this . _breadcrumbs = [ ] ;
220
- this . notifyScopeListeners ( ) ;
220
+ this . _notifyScopeListeners ( ) ;
221
221
return this ;
222
222
}
223
223
0 commit comments