File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -95,6 +95,8 @@ export class Scope implements ScopeInterface {
95
95
/** Request Mode Session Status */
96
96
protected _requestSession ?: RequestSession ;
97
97
98
+ // NOTE: Any field which gets added here should get added not only to the constructor but also to the `clone` method.
99
+
98
100
public constructor ( ) {
99
101
this . _notifyingListeners = false ;
100
102
this . _scopeListeners = [ ] ;
@@ -128,6 +130,7 @@ export class Scope implements ScopeInterface {
128
130
newScope . _eventProcessors = [ ...scope . _eventProcessors ] ;
129
131
newScope . _requestSession = scope . _requestSession ;
130
132
newScope . _attachments = [ ...scope . _attachments ] ;
133
+ newScope . _sdkProcessingMetadata = { ...scope . _sdkProcessingMetadata } ;
131
134
}
132
135
return newScope ;
133
136
}
You can’t perform that action at this time.
0 commit comments