Socket
Socket
Sign inDemoInstall

@sentry/types

Package Overview
Dependencies
Maintainers
11
Versions
460
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sentry/types - npm Package Compare versions

Comparing version 8.17.0 to 8.18.0

6

build/types-ts3.8/options.d.ts

@@ -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;

3

build/types-ts3.8/startSpanOptions.d.ts

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc