@sentry/core
Version:
Base implementation for all Sentry JavaScript SDKs
13 lines (10 loc) • 414 B
JavaScript
import { getGlobalSingleton } from './carrier.js';
import { Scope } from './scope.js';
function getDefaultCurrentScope() {
return getGlobalSingleton("defaultCurrentScope", () => new Scope());
}
function getDefaultIsolationScope() {
return getGlobalSingleton("defaultIsolationScope", () => new Scope());
}
export { getDefaultCurrentScope, getDefaultIsolationScope };
//# sourceMappingURL=defaultScopes.js.map