@sentry/types
Advanced tools
Comparing version 8.18.0 to 8.19.0
@@ -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 |
{ | ||
"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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
328930
6753