@sentry/core
Advanced tools
Comparing version 8.18.0 to 8.19.0
@@ -62,2 +62,35 @@ Object.defineProperty(exports, '__esModule', { value: true }); | ||
} | ||
/** | ||
* This should generally not be used, | ||
* but we need it for being comliant with the OTEL Span interface. | ||
* | ||
* @hidden | ||
* @internal | ||
*/ | ||
addLink(_link) { | ||
return this; | ||
} | ||
/** | ||
* This should generally not be used, | ||
* but we need it for being comliant with the OTEL Span interface. | ||
* | ||
* @hidden | ||
* @internal | ||
*/ | ||
addLinks(_links) { | ||
return this; | ||
} | ||
/** | ||
* This should generally not be used, | ||
* but we need it for being comliant with the OTEL Span interface. | ||
* | ||
* @hidden | ||
* @internal | ||
*/ | ||
recordException(_exception, _time) { | ||
// noop | ||
} | ||
} | ||
@@ -64,0 +97,0 @@ |
@@ -74,2 +74,35 @@ Object.defineProperty(exports, '__esModule', { value: true }); | ||
/** | ||
* This should generally not be used, | ||
* but it is needed for being compliant with the OTEL Span interface. | ||
* | ||
* @hidden | ||
* @internal | ||
*/ | ||
addLink(_link) { | ||
return this; | ||
} | ||
/** | ||
* This should generally not be used, | ||
* but it is needed for being compliant with the OTEL Span interface. | ||
* | ||
* @hidden | ||
* @internal | ||
*/ | ||
addLinks(_links) { | ||
return this; | ||
} | ||
/** | ||
* This should generally not be used, | ||
* but it is needed for being compliant with the OTEL Span interface. | ||
* | ||
* @hidden | ||
* @internal | ||
*/ | ||
recordException(_exception, _time) { | ||
// noop | ||
} | ||
/** @inheritdoc */ | ||
@@ -93,2 +126,4 @@ spanContext() { | ||
} | ||
return this; | ||
} | ||
@@ -99,2 +134,3 @@ | ||
Object.keys(attributes).forEach(key => this.setAttribute(key, attributes[key])); | ||
return this; | ||
} | ||
@@ -101,0 +137,0 @@ |
@@ -60,2 +60,35 @@ import { uuid4 } from '@sentry/utils'; | ||
} | ||
/** | ||
* This should generally not be used, | ||
* but we need it for being comliant with the OTEL Span interface. | ||
* | ||
* @hidden | ||
* @internal | ||
*/ | ||
addLink(_link) { | ||
return this; | ||
} | ||
/** | ||
* This should generally not be used, | ||
* but we need it for being comliant with the OTEL Span interface. | ||
* | ||
* @hidden | ||
* @internal | ||
*/ | ||
addLinks(_links) { | ||
return this; | ||
} | ||
/** | ||
* This should generally not be used, | ||
* but we need it for being comliant with the OTEL Span interface. | ||
* | ||
* @hidden | ||
* @internal | ||
*/ | ||
recordException(_exception, _time) { | ||
// noop | ||
} | ||
} | ||
@@ -62,0 +95,0 @@ |
@@ -72,2 +72,35 @@ import { uuid4, timestampInSeconds, dropUndefinedKeys, logger } from '@sentry/utils'; | ||
/** | ||
* This should generally not be used, | ||
* but it is needed for being compliant with the OTEL Span interface. | ||
* | ||
* @hidden | ||
* @internal | ||
*/ | ||
addLink(_link) { | ||
return this; | ||
} | ||
/** | ||
* This should generally not be used, | ||
* but it is needed for being compliant with the OTEL Span interface. | ||
* | ||
* @hidden | ||
* @internal | ||
*/ | ||
addLinks(_links) { | ||
return this; | ||
} | ||
/** | ||
* This should generally not be used, | ||
* but it is needed for being compliant with the OTEL Span interface. | ||
* | ||
* @hidden | ||
* @internal | ||
*/ | ||
recordException(_exception, _time) { | ||
// noop | ||
} | ||
/** @inheritdoc */ | ||
@@ -91,2 +124,4 @@ spanContext() { | ||
} | ||
return this; | ||
} | ||
@@ -97,2 +132,3 @@ | ||
Object.keys(attributes).forEach(key => this.setAttribute(key, attributes[key])); | ||
return this; | ||
} | ||
@@ -99,0 +135,0 @@ |
@@ -25,3 +25,27 @@ import { SentrySpanArguments, Span, SpanAttributeValue, SpanAttributes, SpanContextData, SpanStatus, SpanTimeInput } from '@sentry/types'; | ||
addEvent(_name: string, _attributesOrStartTime?: SpanAttributes | SpanTimeInput, _startTime?: SpanTimeInput): this; | ||
/** | ||
* This should generally not be used, | ||
* but we need it for being comliant with the OTEL Span interface. | ||
* | ||
* @hidden | ||
* @internal | ||
*/ | ||
addLink(_link: unknown): this; | ||
/** | ||
* This should generally not be used, | ||
* but we need it for being comliant with the OTEL Span interface. | ||
* | ||
* @hidden | ||
* @internal | ||
*/ | ||
addLinks(_links: unknown[]): this; | ||
/** | ||
* This should generally not be used, | ||
* but we need it for being comliant with the OTEL Span interface. | ||
* | ||
* @hidden | ||
* @internal | ||
*/ | ||
recordException(_exception: unknown, _time?: number | undefined): void; | ||
} | ||
//# sourceMappingURL=sentryNonRecordingSpan.d.ts.map |
@@ -30,8 +30,32 @@ import { SentrySpanArguments, Span, SpanAttributeValue, SpanAttributes, SpanContextData, SpanJSON, SpanStatus, SpanTimeInput, TimedEvent } from '@sentry/types'; | ||
constructor(spanContext?: SentrySpanArguments); | ||
/** | ||
* This should generally not be used, | ||
* but it is needed for being compliant with the OTEL Span interface. | ||
* | ||
* @hidden | ||
* @internal | ||
*/ | ||
addLink(_link: unknown): this; | ||
/** | ||
* This should generally not be used, | ||
* but it is needed for being compliant with the OTEL Span interface. | ||
* | ||
* @hidden | ||
* @internal | ||
*/ | ||
addLinks(_links: unknown[]): this; | ||
/** | ||
* This should generally not be used, | ||
* but it is needed for being compliant with the OTEL Span interface. | ||
* | ||
* @hidden | ||
* @internal | ||
*/ | ||
recordException(_exception: unknown, _time?: number | undefined): void; | ||
/** @inheritdoc */ | ||
spanContext(): SpanContextData; | ||
/** @inheritdoc */ | ||
setAttribute(key: string, value: SpanAttributeValue | undefined): void; | ||
setAttribute(key: string, value: SpanAttributeValue | undefined): this; | ||
/** @inheritdoc */ | ||
setAttributes(attributes: SpanAttributes): void; | ||
setAttributes(attributes: SpanAttributes): this; | ||
/** | ||
@@ -38,0 +62,0 @@ * This should generally not be used, |
@@ -25,3 +25,27 @@ import type { SentrySpanArguments, Span, SpanAttributeValue, SpanAttributes, SpanContextData, SpanStatus, SpanTimeInput } from '@sentry/types'; | ||
addEvent(_name: string, _attributesOrStartTime?: SpanAttributes | SpanTimeInput, _startTime?: SpanTimeInput): this; | ||
/** | ||
* This should generally not be used, | ||
* but we need it for being comliant with the OTEL Span interface. | ||
* | ||
* @hidden | ||
* @internal | ||
*/ | ||
addLink(_link: unknown): this; | ||
/** | ||
* This should generally not be used, | ||
* but we need it for being comliant with the OTEL Span interface. | ||
* | ||
* @hidden | ||
* @internal | ||
*/ | ||
addLinks(_links: unknown[]): this; | ||
/** | ||
* This should generally not be used, | ||
* but we need it for being comliant with the OTEL Span interface. | ||
* | ||
* @hidden | ||
* @internal | ||
*/ | ||
recordException(_exception: unknown, _time?: number | undefined): void; | ||
} | ||
//# sourceMappingURL=sentryNonRecordingSpan.d.ts.map |
@@ -30,8 +30,32 @@ import type { SentrySpanArguments, Span, SpanAttributeValue, SpanAttributes, SpanContextData, SpanJSON, SpanStatus, SpanTimeInput, TimedEvent } from '@sentry/types'; | ||
constructor(spanContext?: SentrySpanArguments); | ||
/** | ||
* This should generally not be used, | ||
* but it is needed for being compliant with the OTEL Span interface. | ||
* | ||
* @hidden | ||
* @internal | ||
*/ | ||
addLink(_link: unknown): this; | ||
/** | ||
* This should generally not be used, | ||
* but it is needed for being compliant with the OTEL Span interface. | ||
* | ||
* @hidden | ||
* @internal | ||
*/ | ||
addLinks(_links: unknown[]): this; | ||
/** | ||
* This should generally not be used, | ||
* but it is needed for being compliant with the OTEL Span interface. | ||
* | ||
* @hidden | ||
* @internal | ||
*/ | ||
recordException(_exception: unknown, _time?: number | undefined): void; | ||
/** @inheritdoc */ | ||
spanContext(): SpanContextData; | ||
/** @inheritdoc */ | ||
setAttribute(key: string, value: SpanAttributeValue | undefined): void; | ||
setAttribute(key: string, value: SpanAttributeValue | undefined): this; | ||
/** @inheritdoc */ | ||
setAttributes(attributes: SpanAttributes): void; | ||
setAttributes(attributes: SpanAttributes): this; | ||
/** | ||
@@ -38,0 +62,0 @@ * This should generally not be used, |
{ | ||
"name": "@sentry/core", | ||
"version": "8.18.0", | ||
"version": "8.19.0", | ||
"description": "Base implementation for all Sentry JavaScript SDKs", | ||
@@ -42,4 +42,4 @@ "repository": "git://github.com/getsentry/sentry-javascript.git", | ||
"dependencies": { | ||
"@sentry/types": "8.18.0", | ||
"@sentry/utils": "8.18.0" | ||
"@sentry/types": "8.19.0", | ||
"@sentry/utils": "8.19.0" | ||
}, | ||
@@ -46,0 +46,0 @@ "scripts": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
1886748
20485
+ Added@sentry/types@8.19.0(transitive)
+ Added@sentry/utils@8.19.0(transitive)
- Removed@sentry/types@8.18.0(transitive)
- Removed@sentry/utils@8.18.0(transitive)
Updated@sentry/types@8.19.0
Updated@sentry/utils@8.19.0