@azure/core-client
Advanced tools
Comparing version 1.0.0-alpha.20210225.1 to 1.0.0-alpha.20210226.1
@@ -5,2 +5,5 @@ # Release History | ||
- [Breaking] Removed `createSpanFunction` and `SpanConfig`. These have been moved into | ||
`@azure/core-tracing`. | ||
## 1.0.0-beta.1 (2021-02-04) | ||
@@ -7,0 +10,0 @@ |
// Copyright (c) Microsoft Corporation. | ||
// Licensed under the MIT license. | ||
export { createSerializer, MapperTypeNames } from "./serializer"; | ||
export { createSpanFunction } from "./createSpan"; | ||
export { ServiceClient } from "./serviceClient"; | ||
@@ -6,0 +5,0 @@ export { createClientPipeline } from "./pipeline"; |
{ | ||
"name": "@azure/core-client", | ||
"version": "1.0.0-alpha.20210225.1", | ||
"version": "1.0.0-alpha.20210226.1", | ||
"description": "Core library for interfacing with AutoRest generated code", | ||
@@ -5,0 +5,0 @@ "sdk-type": "client", |
@@ -11,3 +11,2 @@ import { AbortSignalLike } from '@azure/abort-controller'; | ||
import { PipelineResponse } from '@azure/core-https'; | ||
import { Span } from '@opentelemetry/api'; | ||
import { TokenCredential } from '@azure/core-auth'; | ||
@@ -111,12 +110,2 @@ import { TransferProgressEvent } from '@azure/core-https'; | ||
/** | ||
* Creates a function called createSpan to create spans using the global tracer. | ||
* @hidden | ||
* @param spanConfig - The name of the operation being performed. | ||
* @param tracingOptions - The options for the underlying http request. | ||
*/ | ||
export declare function createSpanFunction({ packagePrefix, namespace }: SpanConfig): <T extends OperationOptions>(operationName: string, operationOptions: T) => { | ||
span: Span; | ||
updatedOptions: T; | ||
}; | ||
/** | ||
* The content-types that will indicate that an operation response should be deserialized in a | ||
@@ -123,0 +112,0 @@ * particular way. |
@@ -11,3 +11,2 @@ import { AbortSignalLike } from '@azure/abort-controller'; | ||
import { PipelineResponse } from '@azure/core-https'; | ||
import { Span } from '@opentelemetry/api'; | ||
import { TokenCredential } from '@azure/core-auth'; | ||
@@ -118,13 +117,2 @@ import { TransferProgressEvent } from '@azure/core-https'; | ||
/** | ||
* Creates a function called createSpan to create spans using the global tracer. | ||
* @hidden | ||
* @param spanConfig - The name of the operation being performed. | ||
* @param tracingOptions - The options for the underlying http request. | ||
*/ | ||
export declare function createSpanFunction({ packagePrefix, namespace }: SpanConfig): <T extends OperationOptions>(operationName: string, operationOptions: T) => { | ||
span: Span; | ||
updatedOptions: T; | ||
}; | ||
/** | ||
* The content-types that will indicate that an operation response should be deserialized in a | ||
@@ -131,0 +119,0 @@ * particular way. |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
540837
40
4929