azure-iot-common
Advanced tools
Comparing version 1.10.3 to 1.11.0
@@ -52,2 +52,6 @@ /*! Copyright (c) Microsoft. All rights reserved. | ||
/** | ||
* Is this message a security message | ||
*/ | ||
interfaceId: string; | ||
/** | ||
* @private | ||
@@ -77,2 +81,6 @@ */ | ||
/** | ||
* Sets this message as a security message | ||
*/ | ||
setAsSecurityMessage(): void; | ||
/** | ||
* Returns true if the given object is of type {@link Message.BufferConvertible}. Objects of type {@link Message.BufferConvertible} can be passed into the {@link Message} constructor. | ||
@@ -79,0 +87,0 @@ * |
@@ -7,2 +7,3 @@ /*! Copyright (c) Microsoft. All rights reserved. | ||
var properties_1 = require("./properties"); | ||
var securityInterfaceId = 'urn:azureiot:Security:SecurityAgent:1'; | ||
/** | ||
@@ -58,2 +59,8 @@ * The {@link azure-iot-common.Message} object is used for telemetry (device-to-cloud) and commands (cloud-to-device) asynchronous | ||
/** | ||
* Sets this message as a security message | ||
*/ | ||
Message.prototype.setAsSecurityMessage = function () { | ||
this.interfaceId = securityInterfaceId; | ||
}; | ||
/** | ||
* Returns true if the given object is of type {@link Message.BufferConvertible}. Objects of type {@link Message.BufferConvertible} can be passed into the {@link Message} constructor. | ||
@@ -60,0 +67,0 @@ * |
{ | ||
"name": "azure-iot-common", | ||
"version": "1.10.3", | ||
"version": "1.11.0", | ||
"description": "Common components shared by Azure IoT device and service SDKs", | ||
@@ -35,3 +35,3 @@ "author": "Microsoft Corporation", | ||
"engines": { | ||
"node": ">= 0.10" | ||
"node": ">= 8.0.0" | ||
}, | ||
@@ -38,0 +38,0 @@ "repository": { |
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
134445
3056