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 {
9595 /** Request Mode Session Status */
9696 protected _requestSession ?: RequestSession ;
9797
98+ // NOTE: Any field which gets added here should get added not only to the constructor but also to the `clone` method.
99+
98100 public constructor ( ) {
99101 this . _notifyingListeners = false ;
100102 this . _scopeListeners = [ ] ;
@@ -128,6 +130,7 @@ export class Scope implements ScopeInterface {
128130 newScope . _eventProcessors = [ ...scope . _eventProcessors ] ;
129131 newScope . _requestSession = scope . _requestSession ;
130132 newScope . _attachments = [ ...scope . _attachments ] ;
133+ newScope . _sdkProcessingMetadata = { ...scope . _sdkProcessingMetadata } ;
131134 }
132135 return newScope ;
133136 }
You can’t perform that action at this time.
0 commit comments