Socket
Socket
Sign inDemoInstall

@sentry/types

Package Overview
Dependencies
Maintainers
11
Versions
463
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.21.0 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

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc