Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@azure/core-auth

Package Overview
Dependencies
Maintainers
1
Versions
307
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@azure/core-auth - npm Package Compare versions

Comparing version 1.1.4-alpha.20201224.1 to 1.1.4-alpha.20210106.1

dist-esm/src/tracing.js

2

CHANGELOG.md

@@ -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

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