@azure/keyvault-keys
Advanced tools
Comparing version 4.0.1-dev.20191118.1 to 4.0.2-dev.20191204.1
# Release History | ||
## 4.0.2 (2019-12-03) | ||
- Updated dependencies to their latest available versions. | ||
- Fixed the support of dotenv while testing. | ||
- Improved the available documentation, and added a README in the test folder. | ||
- KeyClient's vaultUrl property is now public, but readonly. | ||
- Updated to use OpenTelemetry 0.2 via `@azure/core-tracing`. | ||
## 4.0.0 (2019-10-31) | ||
@@ -4,0 +12,0 @@ |
@@ -13,3 +13,3 @@ /* | ||
var packageName = "@azure/keyvault-keys"; | ||
var packageVersion = "4.0.1"; | ||
var packageVersion = "4.0.2"; | ||
var KeyVaultClientContext = /** @class */ (function (_super) { | ||
@@ -16,0 +16,0 @@ __extends(KeyVaultClientContext, _super); |
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// Licensed under the MIT License. See License.txt in the project root for license information. | ||
export var SDK_VERSION = "4.0.1"; | ||
export var SDK_VERSION = "4.0.2"; | ||
export var RetryConstants = { | ||
@@ -5,0 +5,0 @@ MIN_RETRY_INTERVAL_MS: 3000 |
@@ -679,3 +679,3 @@ import { __assign, __awaiter, __generator } from "tslib"; | ||
if (options === void 0) { options = {}; } | ||
if (span.isRecordingEvents()) { | ||
if (span.isRecording()) { | ||
return __assign(__assign({}, options), { spanOptions: __assign(__assign({}, options.spanOptions), { parent: span }) }); | ||
@@ -682,0 +682,0 @@ } |
@@ -1230,3 +1230,3 @@ // Copyright (c) Microsoft Corporation. | ||
if (options === void 0) { options = {}; } | ||
if (span.isRecordingEvents()) { | ||
if (span.isRecording()) { | ||
return __assign(__assign({}, options), { spanOptions: __assign(__assign({}, options.spanOptions), { parent: span }) }); | ||
@@ -1233,0 +1233,0 @@ } |
@@ -5,3 +5,3 @@ { | ||
"author": "Microsoft Corporation", | ||
"version": "4.0.1-dev.20191118.1", | ||
"version": "4.0.2-dev.20191204.1", | ||
"license": "MIT", | ||
@@ -77,2 +77,3 @@ "description": "Isomorphic client library for Azure KeyVault's keys.", | ||
"@azure/logger": "^1.0.0", | ||
"@opentelemetry/types": "^0.2.0", | ||
"tslib": "^1.9.3" | ||
@@ -88,3 +89,2 @@ }, | ||
"@types/chai": "^4.1.6", | ||
"@types/dotenv": "^6.1.0", | ||
"@types/fs-extra": "^8.0.0", | ||
@@ -98,4 +98,4 @@ "@types/mocha": "^5.2.5", | ||
"chai": "^4.2.0", | ||
"cross-env": "^5.2.0", | ||
"dotenv": "^8.0.0", | ||
"cross-env": "^6.0.3", | ||
"dotenv": "^8.2.0", | ||
"eslint": "^6.1.0", | ||
@@ -116,3 +116,3 @@ "eslint-config-prettier": "^6.0.0", | ||
"karma-json-to-file-reporter": "^1.0.1", | ||
"karma-junit-reporter": "^1.2.0", | ||
"karma-junit-reporter": "^2.0.1", | ||
"karma-mocha": "^1.3.0", | ||
@@ -126,3 +126,3 @@ "karma-mocha-reporter": "^2.2.5", | ||
"prettier": "^1.16.4", | ||
"puppeteer": "^1.11.0", | ||
"puppeteer": "^2.0.0", | ||
"query-string": "^5.0.0", | ||
@@ -137,3 +137,3 @@ "rimraf": "^3.0.0", | ||
"rollup-plugin-terser": "^5.1.1", | ||
"rollup-plugin-visualizer": "^2.0.0", | ||
"rollup-plugin-visualizer": "^3.1.1", | ||
"source-map-support": "^0.5.9", | ||
@@ -140,0 +140,0 @@ "typescript": "~3.6.4", |
@@ -31,3 +31,3 @@ # Azure Key Vault Key client library for JS | ||
[Source code](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/keyvault/keyvault-keys) | [Package (npm)](https://www.npmjs.com/package/@azure/keyvault-keys) | [API Reference Documentation](https://azure.github.io/azure-sdk-for-js/keyvault.html#azure-keyvault-keys) | [Product documentation](https://azure.microsoft.com/en-us/services/key-vault/) | [Samples](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/keyvault/keyvault-keys/samples) | ||
[Source code](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/keyvault/keyvault-keys) | [Package (npm)](https://www.npmjs.com/package/@azure/keyvault-keys) | [API Reference Documentation](https://docs.microsoft.com/javascript/api/@azure/keyvault-keys) | [Product documentation](https://azure.microsoft.com/en-us/services/key-vault/) | [Samples](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/keyvault/keyvault-keys/samples) | ||
@@ -816,4 +816,4 @@ ## Getting started | ||
You can read more about the tests of this project [here](https://github.com/Azure/azure-sdk-for-js/tree/2dfd6bc1f29cd2485b696e64858467042ad2c339/sdk/keyvault/keyvault-keys/test/README.md). | ||
You can read more about the tests of this project [here](https://github.com/Azure/azure-sdk-for-js/tree/72bb17fa22d8426555b78e1372dc7ae658ff20a9/sdk/keyvault/keyvault-keys/test/README.md). | ||
 |
@@ -14,3 +14,3 @@ /* | ||
const packageName = "@azure/keyvault-keys"; | ||
const packageVersion = "4.0.1"; | ||
const packageVersion = "4.0.2"; | ||
@@ -17,0 +17,0 @@ export class KeyVaultClientContext extends coreHttp.ServiceClient { |
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// Licensed under the MIT License. See License.txt in the project root for license information. | ||
export const SDK_VERSION: string = "4.0.1"; | ||
export const SDK_VERSION: string = "4.0.2"; | ||
@@ -6,0 +6,0 @@ export const RetryConstants = { |
@@ -19,3 +19,4 @@ import { | ||
import { getTracer, Span } from "@azure/core-tracing"; | ||
import { getTracer } from "@azure/core-tracing"; | ||
import { Span } from "@opentelemetry/types"; | ||
import { logger } from "./log"; | ||
@@ -768,3 +769,3 @@ import { parseKeyvaultIdentifier } from "./core/utils"; | ||
private setParentSpan(span: Span, options: RequestOptionsBase = {}): RequestOptionsBase { | ||
if (span.isRecordingEvents()) { | ||
if (span.isRecording()) { | ||
return { | ||
@@ -771,0 +772,0 @@ ...options, |
@@ -15,3 +15,4 @@ // Copyright (c) Microsoft Corporation. | ||
import { getTracer, Span } from "@azure/core-tracing"; | ||
import { getTracer } from "@azure/core-tracing"; | ||
import { Span } from "@opentelemetry/types"; | ||
import { logger } from "./log"; | ||
@@ -1268,3 +1269,3 @@ | ||
private setParentSpan(span: Span, options: RequestOptionsBase = {}): RequestOptionsBase { | ||
if (span.isRecordingEvents()) { | ||
if (span.isRecording()) { | ||
return { | ||
@@ -1271,0 +1272,0 @@ ...options, |
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 too big to display
Sorry, the diff of this file is not supported yet
1966982
56
35392
7
+ Added@opentelemetry/types@^0.2.0
+ Added@opentelemetry/types@0.2.0(transitive)