Socket
Socket
Sign inDemoInstall

azure-iot-common

Package Overview
Dependencies
Maintainers
7
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.0-preview.1 to 1.12.0-preview.2

5

lib/connection_string.d.ts

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

/**
* Unique repository identifier as it exists in the model repository.
* @memberof {azure-iot-common.ConnectionString}
*/
RepositoryId?: string;
/**
* Symmetric key used to create shared access signature tokens that are in turn used to authenticate the connection. Associated either with a specific device or a specific service policy.

@@ -26,0 +31,0 @@ * @memberof {azure-iot-common.ConnectionString}

@@ -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 @@ *

12

package.json
{
"name": "azure-iot-common",
"version": "1.12.0-preview.1",
"version": "1.12.0-preview.2",
"description": "Common components shared by Azure IoT device and service SDKs",

@@ -11,12 +11,12 @@ "author": "Microsoft Corporation",

"debug": "^4.1.1",
"getos": "^3.1.0"
"getos": "^3.1.1"
},
"devDependencies": {
"@types/getos": "^3.0.0",
"@types/node": "^9.3.0",
"@types/node": "^9.6.50",
"chai": "^4.2.0",
"istanbul": "^0.4.5",
"mocha": "^5.2.0",
"sinon": "^7.2.7",
"tslint": "^5.9.1",
"sinon": "^7.4.1",
"tslint": "^5.18.0",
"typescript": "2.9.2"

@@ -36,3 +36,3 @@ },

"engines": {
"node": ">= 0.10"
"node": ">= 8.0.0"
},

@@ -39,0 +39,0 @@ "repository": {

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