Socket
Socket
Sign inDemoInstall

azure-iot-common

Package Overview
Dependencies
Maintainers
8
Versions
114
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

azure-iot-common - npm Package Compare versions

Comparing version 1.12.8-alpha.210322.1 to 1.12.8

4

dist/endpoint.d.ts
/*! 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",

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