@sentry/types
Advanced tools
Comparing version 8.17.0 to 8.18.0
@@ -77,5 +77,9 @@ import { Breadcrumb, BreadcrumbHint } from './breadcrumb'; | ||
/** | ||
* If this is enabled, transactions and trace data will be generated and captured. | ||
* If this is enabled, spans and trace data will be generated and captured. | ||
* This will set the `tracesSampleRate` to the recommended default of `1.0` if `tracesSampleRate` is undefined. | ||
* Note that `tracesSampleRate` and `tracesSampler` take precedence over this option. | ||
* | ||
* @deprecated This option is deprecated and will be removed in the next major version. If you want to enable performance | ||
* monitoring, please use the `tracesSampleRate` or `tracesSampler` options instead. If you wan't to disable performance | ||
* monitoring, remove the `tracesSampler` and `tracesSampleRate` options. | ||
*/ | ||
@@ -82,0 +86,0 @@ enableTracing?: boolean; |
@@ -17,4 +17,5 @@ import { Scope } from './scope'; | ||
* If this is not provided, the new span will be a child of the currently active span. | ||
* If this is set to `null`, the new span will have no parent span. | ||
*/ | ||
parentSpan?: Span; | ||
parentSpan?: Span | null; | ||
/** | ||
@@ -21,0 +22,0 @@ * If set to true, this span will be forced to be treated as a transaction in the Sentry UI, if possible and applicable. |
@@ -77,5 +77,9 @@ import type { Breadcrumb, BreadcrumbHint } from './breadcrumb'; | ||
/** | ||
* If this is enabled, transactions and trace data will be generated and captured. | ||
* If this is enabled, spans and trace data will be generated and captured. | ||
* This will set the `tracesSampleRate` to the recommended default of `1.0` if `tracesSampleRate` is undefined. | ||
* Note that `tracesSampleRate` and `tracesSampler` take precedence over this option. | ||
* | ||
* @deprecated This option is deprecated and will be removed in the next major version. If you want to enable performance | ||
* monitoring, please use the `tracesSampleRate` or `tracesSampler` options instead. If you wan't to disable performance | ||
* monitoring, remove the `tracesSampler` and `tracesSampleRate` options. | ||
*/ | ||
@@ -82,0 +86,0 @@ enableTracing?: boolean; |
@@ -17,4 +17,5 @@ import type { Scope } from './scope'; | ||
* If this is not provided, the new span will be a child of the currently active span. | ||
* If this is set to `null`, the new span will have no parent span. | ||
*/ | ||
parentSpan?: Span; | ||
parentSpan?: Span | null; | ||
/** | ||
@@ -21,0 +22,0 @@ * If set to true, this span will be forced to be treated as a transaction in the Sentry UI, if possible and applicable. |
{ | ||
"name": "@sentry/types", | ||
"version": "8.17.0", | ||
"version": "8.18.0", | ||
"description": "Types for all Sentry JavaScript SDKs", | ||
@@ -5,0 +5,0 @@ "repository": "git://github.com/getsentry/sentry-javascript.git", |
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
327894
6729