Socket
Socket
Sign inDemoInstall

@sentry/types

Package Overview
Dependencies
Maintainers
11
Versions
465
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.1.0 to 8.2.0

2

package.json
{
"name": "@sentry/types",
"version": "8.1.0",
"version": "8.2.0",
"description": "Types for all Sentry JavaScript SDKs",

@@ -5,0 +5,0 @@ "repository": "git://github.com/getsentry/sentry-javascript.git",

@@ -6,2 +6,3 @@ import { Breadcrumb, BreadcrumbHint } from './breadcrumb';

import { SdkMetadata } from './sdkmetadata';
import { SpanJSON } from './span';
import { StackLineParser, StackParser } from './stacktrace';

@@ -251,2 +252,10 @@ import { TracePropagationTargets } from './tracing';

/**
* An event-processing callback for spans. This allows a span to be modified before it's sent.
*
* Returning `null` will cause this span to be dropped.
* @param span The span generated by the SDK.
* @returns A new span that will be sent | null.
*/
beforeSendSpan?: (span: SpanJSON) => SpanJSON | null;
/**
* An event-processing callback for transaction events, guaranteed to be invoked after all other event

@@ -253,0 +262,0 @@ * processors. This allows an event to be modified or dropped before it's sent.

@@ -6,2 +6,3 @@ import type { Breadcrumb, BreadcrumbHint } from './breadcrumb';

import type { SdkMetadata } from './sdkmetadata';
import type { SpanJSON } from './span';
import type { StackLineParser, StackParser } from './stacktrace';

@@ -251,2 +252,10 @@ import type { TracePropagationTargets } from './tracing';

/**
* An event-processing callback for spans. This allows a span to be modified before it's sent.
*
* Returning `null` will cause this span to be dropped.
* @param span The span generated by the SDK.
* @returns A new span that will be sent | null.
*/
beforeSendSpan?: (span: SpanJSON) => SpanJSON | null;
/**
* An event-processing callback for transaction events, guaranteed to be invoked after all other event

@@ -253,0 +262,0 @@ * processors. This allows an event to be modified or dropped before it's sent.

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