Socket
Socket
Sign inDemoInstall

@sentry/types

Package Overview
Dependencies
Maintainers
11
Versions
474
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.18.0 to 8.19.0

16

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

@@ -185,3 +185,3 @@ import { Measurements } from './measurement';

*/
setAttribute(key: string, value: SpanAttributeValue | undefined): void;
setAttribute(key: string, value: SpanAttributeValue | undefined): this;
/**

@@ -191,3 +191,3 @@ * Set multiple attributes on the span.

*/
setAttributes(attributes: SpanAttributes): void;
setAttributes(attributes: SpanAttributes): this;
/**

@@ -210,4 +210,16 @@ * Sets the status attribute on the current span.

addEvent(name: string, attributesOrStartTime?: SpanAttributes | SpanTimeInput, startTime?: SpanTimeInput): this;
/**
* NOT USED IN SENTRY, only added for compliance with OTEL Span interface
*/
addLink(link: unknown): this;
/**
* NOT USED IN SENTRY, only added for compliance with OTEL Span interface
*/
addLinks(links: unknown): this;
/**
* NOT USED IN SENTRY, only added for compliance with OTEL Span interface
*/
recordException(exception: unknown, time?: number): void;
}
export {};
//# sourceMappingURL=span.d.ts.map

@@ -185,3 +185,3 @@ import type { Measurements } from './measurement';

*/
setAttribute(key: string, value: SpanAttributeValue | undefined): void;
setAttribute(key: string, value: SpanAttributeValue | undefined): this;
/**

@@ -191,3 +191,3 @@ * Set multiple attributes on the span.

*/
setAttributes(attributes: SpanAttributes): void;
setAttributes(attributes: SpanAttributes): this;
/**

@@ -210,4 +210,16 @@ * Sets the status attribute on the current span.

addEvent(name: string, attributesOrStartTime?: SpanAttributes | SpanTimeInput, startTime?: SpanTimeInput): this;
/**
* NOT USED IN SENTRY, only added for compliance with OTEL Span interface
*/
addLink(link: unknown): this;
/**
* NOT USED IN SENTRY, only added for compliance with OTEL Span interface
*/
addLinks(links: unknown): this;
/**
* NOT USED IN SENTRY, only added for compliance with OTEL Span interface
*/
recordException(exception: unknown, time?: number): void;
}
export {};
//# sourceMappingURL=span.d.ts.map

2

package.json
{
"name": "@sentry/types",
"version": "8.18.0",
"version": "8.19.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