@@ -2,17 +2,16 @@ import type ApplicationInstance from '@ember/application/instance';
22import type Transition from '@ember/routing/-private/transition' ;
33import type RouterService from '@ember/routing/router-service' ;
44import type {
5- BrowserClient ,
65 startBrowserTracingNavigationSpan as startBrowserTracingNavigationSpanType ,
76 startBrowserTracingPageLoadSpan as startBrowserTracingPageLoadSpanType ,
87} from '@sentry/browser' ;
98import { SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN , SEMANTIC_ATTRIBUTE_SENTRY_SOURCE , startInactiveSpan } from '@sentry/browser' ;
10- import type { Span } from '@sentry/core' ;
9+ import type { Client , Span } from '@sentry/core' ;
1110import type { EmberRouterMain } from '../types' ;
1211import { getBackburner } from './performance' ;
1312
1413export function instrumentEmberAppInstanceForPerformance (
15- client : BrowserClient ,
14+ client : Client ,
1615 appInstance : ApplicationInstance ,
1716 config : { disableRunloopPerformance ?: boolean ; instrumentPageLoad ?: boolean ; instrumentNavigation ?: boolean } ,
1817 startBrowserTracingPageLoadSpan : typeof startBrowserTracingPageLoadSpanType ,
@@ -76,7 +75,7 @@ export function _getLocationURL(location: EmberRouterMain['location']): string {
7675}
7776
7877function _instrumentEmberRouter (
79- client : BrowserClient ,
78+ client : Client ,
8079 routerService : RouterService ,
8180 routerMain : EmberRouterMain ,
8281 config : { disableRunloopPerformance ?: boolean ; instrumentPageLoad ?: boolean ; instrumentNavigation ?: boolean } ,
0 commit comments