File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
packages/tracing/src/browser Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -217,7 +217,7 @@ export class BrowserTracing implements Integration {
217
217
*
218
218
* @returns Transaction context data from the header or undefined if there's no header or the header is malformed
219
219
*/
220
- function getHeaderContext ( ) : Partial < TransactionContext > | undefined {
220
+ export function getHeaderContext ( ) : Partial < TransactionContext > | undefined {
221
221
const header = getMetaContent ( 'sentry-trace' ) ;
222
222
if ( header ) {
223
223
return extractTraceparentData ( header ) ;
Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ export interface FetchData {
54
54
}
55
55
56
56
/** Data returned from XHR request */
57
- interface XHRData {
57
+ export interface XHRData {
58
58
xhr ?: {
59
59
__sentry_xhr__ ?: {
60
60
method : string ;
@@ -198,7 +198,7 @@ export function fetchCallback(
198
198
/**
199
199
* Create and track xhr request spans
200
200
*/
201
- function xhrCallback (
201
+ export function xhrCallback (
202
202
handlerData : XHRData ,
203
203
shouldCreateSpan : ( url : string ) => boolean ,
204
204
spans : Record < string , Span > ,
You can’t perform that action at this time.
0 commit comments