(isolationScope: Scope | undefined, currentScope: Scope | undefined)
| 122 | * @returns The scope data. |
| 123 | */ |
| 124 | export function getCombinedScopeData(isolationScope: Scope | undefined, currentScope: Scope | undefined): ScopeData { |
| 125 | const scopeData = getGlobalScope().getScopeData(); |
| 126 | isolationScope && mergeScopeData(scopeData, isolationScope.getScopeData()); |
| 127 | currentScope && mergeScopeData(scopeData, currentScope.getScopeData()); |
| 128 | return scopeData; |
| 129 | } |
| 130 | |
| 131 | function applyDataToEvent(event: Event, data: ScopeData): void { |
| 132 | const { extra, tags, user, contexts, level, transactionName } = data; |
no test coverage detected