@sentry/core
Advanced tools
Comparing version 8.23.0 to 8.24.0
@@ -19,3 +19,4 @@ Object.defineProperty(exports, '__esModule', { value: true }); | ||
const options = maybeOptions || getClientOptions(); | ||
const client = currentScopes.getClient(); | ||
const options = maybeOptions || (client && client.getOptions()); | ||
// eslint-disable-next-line deprecation/deprecation | ||
@@ -25,8 +26,3 @@ return !!options && (options.enableTracing || 'tracesSampleRate' in options || 'tracesSampler' in options); | ||
function getClientOptions() { | ||
const client = currentScopes.getClient(); | ||
return client && client.getOptions(); | ||
} | ||
exports.hasTracingEnabled = hasTracingEnabled; | ||
//# sourceMappingURL=hasTracingEnabled.js.map |
@@ -17,3 +17,4 @@ import { getClient } from '../currentScopes.js'; | ||
const options = maybeOptions || getClientOptions(); | ||
const client = getClient(); | ||
const options = maybeOptions || (client && client.getOptions()); | ||
// eslint-disable-next-line deprecation/deprecation | ||
@@ -23,8 +24,3 @@ return !!options && (options.enableTracing || 'tracesSampleRate' in options || 'tracesSampler' in options); | ||
function getClientOptions() { | ||
const client = getClient(); | ||
return client && client.getOptions(); | ||
} | ||
export { hasTracingEnabled }; | ||
//# sourceMappingURL=hasTracingEnabled.js.map |
{ | ||
"name": "@sentry/core", | ||
"version": "8.23.0", | ||
"version": "8.24.0", | ||
"description": "Base implementation for all Sentry JavaScript SDKs", | ||
@@ -42,4 +42,4 @@ "repository": "git://github.com/getsentry/sentry-javascript.git", | ||
"dependencies": { | ||
"@sentry/types": "8.23.0", | ||
"@sentry/utils": "8.23.0" | ||
"@sentry/types": "8.24.0", | ||
"@sentry/utils": "8.24.0" | ||
}, | ||
@@ -46,0 +46,0 @@ "scripts": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1919539
20787
+ Added@sentry/types@8.24.0(transitive)
+ Added@sentry/utils@8.24.0(transitive)
- Removed@sentry/types@8.23.0(transitive)
- Removed@sentry/utils@8.23.0(transitive)
Updated@sentry/types@8.24.0
Updated@sentry/utils@8.24.0