azure-iot-common
Advanced tools
Comparing version 1.12.8-alpha.210322.1 to 1.12.8
/*! Copyright (c) Microsoft. All rights reserved. | ||
*! Licensed under the MIT license. See LICENSE file in the project root for full license information. | ||
*/ | ||
export declare const apiVersion = "2020-09-30"; | ||
export declare const apiVersionLimitedAvail = "2020-03-13"; | ||
export declare const apiVersion = "2021-04-12"; | ||
export declare function devicePath(deviceId: string): string; | ||
@@ -21,2 +20,1 @@ export declare function deviceEventPath(deviceId: string): string; | ||
export declare function versionQueryString(): string; | ||
export declare function versionQueryStringLimitedAvailability(): string; |
@@ -6,4 +6,3 @@ /*! Copyright (c) Microsoft. All rights reserved. | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.apiVersion = '2020-09-30'; | ||
exports.apiVersionLimitedAvail = '2020-03-13'; | ||
exports.apiVersion = '2021-04-12'; | ||
function devicePath(deviceId) { | ||
@@ -69,13 +68,2 @@ return '/devices/' + deviceId; | ||
exports.versionQueryString = versionQueryString; | ||
function versionQueryStringLimitedAvailability() { | ||
// This addition is for the limited Availability of certain service | ||
// regions | ||
if (process.env.EnableStorageIdentity === '1') { | ||
return '?api-version=' + exports.apiVersionLimitedAvail; | ||
} | ||
else { | ||
return '?api-version=' + exports.apiVersion; | ||
} | ||
} | ||
exports.versionQueryStringLimitedAvailability = versionQueryStringLimitedAvailability; | ||
//# sourceMappingURL=endpoint.js.map |
@@ -19,2 +19,5 @@ // Copyright (c) Microsoft. All rights reserved. | ||
this._retryCount = 0; | ||
if (policy && policy.constructor && policy.constructor.name === 'NoRetry') { | ||
debug('A RetryOperation is being used with a NoRetry policy. The operation will not be retried on failure.'); | ||
} | ||
this._policy = policy; | ||
@@ -21,0 +24,0 @@ this._maxTimeout = maxTimeout; |
{ | ||
"name": "azure-iot-common", | ||
"version": "1.12.8-alpha.210322.1", | ||
"version": "1.12.8", | ||
"description": "Common components shared by Azure IoT device and service SDKs", | ||
@@ -5,0 +5,0 @@ "author": "Microsoft Corporation", |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
0
135697
3064