@azure/core-auth
Advanced tools
Comparing version 1.1.4-alpha.20201224.1 to 1.1.4-alpha.20210106.1
@@ -5,3 +5,3 @@ # Release History | ||
- Updated to use OpenTelemetry 0.10.2 via `@azure/core-tracing` | ||
- Removed direct dependency on `@opentelemetry/api` and `@azure/core-tracing`. | ||
@@ -8,0 +8,0 @@ ## 1.1.3 (2020-06-30) |
{ | ||
"name": "@azure/core-auth", | ||
"version": "1.1.4-alpha.20201224.1", | ||
"version": "1.1.4-alpha.20210106.1", | ||
"description": "Provides low-level interfaces and helper methods for authentication in Azure SDK", | ||
@@ -70,4 +70,2 @@ "sdk-type": "client", | ||
"@azure/abort-controller": "^1.0.0", | ||
"@azure/core-tracing": "^1.0.0-alpha", | ||
"@opentelemetry/api": "^0.10.2", | ||
"tslib": "^2.0.0" | ||
@@ -74,0 +72,0 @@ }, |
import { AbortSignalLike } from '@azure/abort-controller'; | ||
import { SpanOptions } from '@azure/core-tracing'; | ||
/** | ||
@@ -83,2 +82,36 @@ * Represents an access token with an expiration time. | ||
/** | ||
* A light interface that tries to be structurally compatible with OpenTelemetry. | ||
*/ | ||
export declare interface SpanContext { | ||
/** | ||
* UUID of a trace. | ||
*/ | ||
traceId: string; | ||
/** | ||
* UUID of a Span. | ||
*/ | ||
spanId: string; | ||
/** | ||
* https://www.w3.org/TR/trace-context/#trace-flags | ||
*/ | ||
traceFlags: number; | ||
} | ||
/** | ||
* An interface that enables manual propagation of Spans. | ||
*/ | ||
export declare interface SpanOptions { | ||
/** | ||
* The SpanContext that refers to a parent span, if any. | ||
* A null value indicates that this should be a new root span, | ||
* rather than potentially detecting a span via a context manager. | ||
*/ | ||
parent?: SpanContext | null; | ||
/** | ||
* Attributes to set on the Span | ||
*/ | ||
attributes?: { | ||
[key: string]: unknown; | ||
}; | ||
} | ||
/** | ||
* Represents a credential capable of providing an authentication token. | ||
@@ -85,0 +118,0 @@ */ |
import { AbortSignalLike } from '@azure/abort-controller'; | ||
import { SpanOptions } from '@azure/core-tracing'; | ||
@@ -92,2 +91,38 @@ /** | ||
/** | ||
* A light interface that tries to be structurally compatible with OpenTelemetry. | ||
*/ | ||
export declare interface SpanContext { | ||
/** | ||
* UUID of a trace. | ||
*/ | ||
traceId: string; | ||
/** | ||
* UUID of a Span. | ||
*/ | ||
spanId: string; | ||
/** | ||
* https://www.w3.org/TR/trace-context/#trace-flags | ||
*/ | ||
traceFlags: number; | ||
} | ||
/** | ||
* An interface that enables manual propagation of Spans. | ||
*/ | ||
export declare interface SpanOptions { | ||
/** | ||
* The SpanContext that refers to a parent span, if any. | ||
* A null value indicates that this should be a new root span, | ||
* rather than potentially detecting a span via a context manager. | ||
*/ | ||
parent?: SpanContext | null; | ||
/** | ||
* Attributes to set on the Span | ||
*/ | ||
attributes?: { | ||
[key: string]: unknown; | ||
}; | ||
} | ||
/** | ||
* Represents a credential capable of providing an authentication token. | ||
@@ -94,0 +129,0 @@ */ |
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
31528
2
16
398
- Removed@azure/core-tracing@^1.0.0-alpha
- Removed@opentelemetry/api@^0.10.2
- Removed@azure/core-tracing@1.2.0(transitive)
- Removed@opentelemetry/api@0.10.2(transitive)
- Removed@opentelemetry/context-base@0.10.2(transitive)