blob: e3e78188fe4de0aaafe5a3aa1ed858883ac85a9d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
import { getCurrentHub } from '../hub.js';
export { TRACEPARENT_REGEXP, extractTraceparentData, stripUrlQueryAndFragment } from '@sentry/utils';
/** Grabs active transaction off scope, if any */
function getActiveTransaction(maybeHub) {
const hub = maybeHub || getCurrentHub();
const scope = hub.getScope();
return scope.getTransaction() ;
}
export { getActiveTransaction };
//# sourceMappingURL=utils.js.map
|