🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

@sentry/types

Package Overview
Dependencies
Maintainers
11
Versions
567
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

to
8.22.0

10

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

@@ -254,7 +254,11 @@ import { Breadcrumb, BreadcrumbHint } from './breadcrumb';

/**
* An event-processing callback for spans. This allows a span to be modified before it's sent.
* This function can be defined to modify or entirely drop a child span before it's sent.
* Returning `null` will cause this span to be dropped.
*
* Returning `null` will cause this span to be dropped.
* Note that this function is only called for child spans and not for the root span (formerly known as transaction).
* If you want to modify or drop the root span, use {@link Options.beforeSendTransaction} instead.
*
* @param span The span generated by the SDK.
* @returns A new span that will be sent | null.
*
* @returns A new span that will be sent or null if the span should not be sent.
*/

@@ -261,0 +265,0 @@ beforeSendSpan?: (span: SpanJSON) => SpanJSON | null;

@@ -254,7 +254,11 @@ import type { Breadcrumb, BreadcrumbHint } from './breadcrumb';

/**
* An event-processing callback for spans. This allows a span to be modified before it's sent.
* This function can be defined to modify or entirely drop a child span before it's sent.
* Returning `null` will cause this span to be dropped.
*
* Returning `null` will cause this span to be dropped.
* Note that this function is only called for child spans and not for the root span (formerly known as transaction).
* If you want to modify or drop the root span, use {@link Options.beforeSendTransaction} instead.
*
* @param span The span generated by the SDK.
* @returns A new span that will be sent | null.
*
* @returns A new span that will be sent or null if the span should not be sent.
*/

@@ -261,0 +265,0 @@ beforeSendSpan?: (span: SpanJSON) => SpanJSON | null;

{
"name": "@sentry/types",
"version": "8.21.0",
"version": "8.22.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