Socket
Socket
Sign inDemoInstall

azure-iot-common

Package Overview
Dependencies
Maintainers
3
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.1.12 to 1.2.0

35

lib/errors.d.ts

@@ -215,1 +215,36 @@ /// <reference types="node" />

}
/**
* Error thrown when the c2d feature stopped working at the transport level, requiring the client to retry starting it.
*
* @augments {Error}
*/
export declare class CloudToDeviceDetachedError extends Error {
innerError: Error;
constructor(message?: string);
}
/**
* Error thrown when the device methods feature stopped working at the transport level, requiring the client to retry starting it.
*
* @augments {Error}
*/
export declare class DeviceMethodsDetachedError extends Error {
innerError: Error;
constructor(message?: string);
}
/**
* Error thrown when the twin feature stopped working at the transport level, requiring the client to retry starting it.
*
* @augments {Error}
*/
export declare class TwinDetachedError extends Error {
innerError: Error;
constructor(message?: string);
}
/**
* Error thrown when ant operation (local or remote) is cancelled
*
* @augments {Error}
*/
export declare class OperationCancelledError extends Error {
constructor(message?: string);
}

@@ -428,2 +428,66 @@ /*! Copyright (c) Microsoft. All rights reserved.

exports.DeviceTimeoutError = DeviceTimeoutError;
/**
* Error thrown when the c2d feature stopped working at the transport level, requiring the client to retry starting it.
*
* @augments {Error}
*/
var CloudToDeviceDetachedError = (function (_super) {
__extends(CloudToDeviceDetachedError, _super);
function CloudToDeviceDetachedError(message) {
_super.call(this, message);
this.name = 'CloudToDeviceDetachedError';
this.message = message;
Error.captureStackTrace(this, this.constructor);
}
return CloudToDeviceDetachedError;
}(Error));
exports.CloudToDeviceDetachedError = CloudToDeviceDetachedError;
/**
* Error thrown when the device methods feature stopped working at the transport level, requiring the client to retry starting it.
*
* @augments {Error}
*/
var DeviceMethodsDetachedError = (function (_super) {
__extends(DeviceMethodsDetachedError, _super);
function DeviceMethodsDetachedError(message) {
_super.call(this, message);
this.name = 'DeviceMethodsDetachedError';
this.message = message;
Error.captureStackTrace(this, this.constructor);
}
return DeviceMethodsDetachedError;
}(Error));
exports.DeviceMethodsDetachedError = DeviceMethodsDetachedError;
/**
* Error thrown when the twin feature stopped working at the transport level, requiring the client to retry starting it.
*
* @augments {Error}
*/
var TwinDetachedError = (function (_super) {
__extends(TwinDetachedError, _super);
function TwinDetachedError(message) {
_super.call(this, message);
this.name = 'TwinDetachedError';
this.message = message;
Error.captureStackTrace(this, this.constructor);
}
return TwinDetachedError;
}(Error));
exports.TwinDetachedError = TwinDetachedError;
/**
* Error thrown when ant operation (local or remote) is cancelled
*
* @augments {Error}
*/
var OperationCancelledError = (function (_super) {
__extends(OperationCancelledError, _super);
function OperationCancelledError(message) {
_super.call(this, message);
this.name = 'OperationCancelledError';
this.message = message;
Error.captureStackTrace(this, this.constructor);
}
return OperationCancelledError;
}(Error));
exports.OperationCancelledError = OperationCancelledError;
//# sourceMappingURL=errors.js.map

2

package.json
{
"name": "azure-iot-common",
"version": "1.1.12",
"version": "1.2.0",
"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