@sentry/core
Version:
Base implementation for all Sentry JavaScript SDKs
16 lines (12 loc) • 564 B
JavaScript
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
const carrier = require('./carrier.js');
const scope = require('./scope.js');
function getDefaultCurrentScope() {
return carrier.getGlobalSingleton("defaultCurrentScope", () => new scope.Scope());
}
function getDefaultIsolationScope() {
return carrier.getGlobalSingleton("defaultIsolationScope", () => new scope.Scope());
}
exports.getDefaultCurrentScope = getDefaultCurrentScope;
exports.getDefaultIsolationScope = getDefaultIsolationScope;
//# sourceMappingURL=defaultScopes.js.map