All Downloads are FREE. Search and download functionalities are using the official Maven repository.

package.build.cjs.defaultScopes.js.map Maven / Gradle / Ivy

There is a newer version: 8.39.0
Show newest version
{"version":3,"file":"defaultScopes.js","sources":["../../src/defaultScopes.ts"],"sourcesContent":["import type { Scope } from '@sentry/types';\nimport { getGlobalSingleton } from '@sentry/utils';\nimport { Scope as ScopeClass } from './scope';\n\n/** Get the default current scope. */\nexport function getDefaultCurrentScope(): Scope {\n  return getGlobalSingleton('defaultCurrentScope', () => new ScopeClass());\n}\n\n/** Get the default isolation scope. */\nexport function getDefaultIsolationScope(): Scope {\n  return getGlobalSingleton('defaultIsolationScope', () => new ScopeClass());\n}\n"],"names":["getGlobalSingleton","ScopeClass"],"mappings":";;;;;AAIA;AACO,SAAS,sBAAsB,GAAU;AAChD,EAAE,OAAOA,wBAAkB,CAAC,qBAAqB,EAAE,MAAM,IAAIC,WAAU,EAAE,CAAC,CAAA;AAC1E,CAAA;AACA;AACA;AACO,SAAS,wBAAwB,GAAU;AAClD,EAAE,OAAOD,wBAAkB,CAAC,uBAAuB,EAAE,MAAM,IAAIC,WAAU,EAAE,CAAC,CAAA;AAC5E;;;;;"}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy