Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

azure-iot-digitaltwins-service

Package Overview
Dependencies
Maintainers
7
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

azure-iot-digitaltwins-service - npm Package Compare versions

Comparing version 1.0.0-preview.2 to 1.0.0-preview.3

4

dist/pl/iotHubGatewayServiceAPIs20190701PreviewContext.js

@@ -37,4 +37,4 @@ "use strict";

var _this = this;
if (credentials === null || credentials === undefined) {
throw new Error('\'credentials\' cannot be null.');
if (credentials == undefined) {
throw new Error("'credentials' cannot be null.");
}

@@ -41,0 +41,0 @@ if (!options) {

@@ -1,2 +0,2 @@

export { DigitalTwinInterfaces, InterfaceModel, Property, Reported, DesiredState, Desired, DigitalTwinGetInterfacesHeaders, DigitalTwinInterfacesPatch, DigitalTwinInterfacesPatchInterfacesValue, DigitalTwinInterfacesPatchInterfacesValuePropertiesValue, DigitalTwinInterfacesPatchInterfacesValuePropertiesValueDesired, DigitalTwinUpdateInterfacesHeaders, DigitalTwinGetInterfaceHeaders, DigitalTwinGetDigitalTwinModelHeaders, DigitalTwinInvokeInterfaceCommandHeaders } from "../models/mappers";
export { Desired, DesiredState, DigitalTwinGetDigitalTwinModelHeaders, DigitalTwinGetInterfaceHeaders, DigitalTwinGetInterfacesHeaders, DigitalTwinInterfaces, DigitalTwinInterfacesPatch, DigitalTwinInterfacesPatchInterfacesValue, DigitalTwinInterfacesPatchInterfacesValuePropertiesValue, DigitalTwinInterfacesPatchInterfacesValuePropertiesValueDesired, DigitalTwinInvokeInterfaceCommandHeaders, DigitalTwinUpdateInterfacesHeaders, InterfaceModel, Property, Reported } from "../models/mappers";
//# sourceMappingURL=digitalTwinMappers.d.ts.map
"use strict";
/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
* Licensed under the MIT License. See License.txt in the project root for license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is
* regenerated.
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
*/
Object.defineProperty(exports, "__esModule", { value: true });
var mappers_1 = require("../models/mappers");
exports.DigitalTwinInterfaces = mappers_1.DigitalTwinInterfaces;
exports.InterfaceModel = mappers_1.InterfaceModel;
exports.Property = mappers_1.Property;
exports.Reported = mappers_1.Reported;
exports.Desired = mappers_1.Desired;
exports.DesiredState = mappers_1.DesiredState;
exports.Desired = mappers_1.Desired;
exports.DigitalTwinGetDigitalTwinModelHeaders = mappers_1.DigitalTwinGetDigitalTwinModelHeaders;
exports.DigitalTwinGetInterfaceHeaders = mappers_1.DigitalTwinGetInterfaceHeaders;
exports.DigitalTwinGetInterfacesHeaders = mappers_1.DigitalTwinGetInterfacesHeaders;
exports.DigitalTwinInterfaces = mappers_1.DigitalTwinInterfaces;
exports.DigitalTwinInterfacesPatch = mappers_1.DigitalTwinInterfacesPatch;

@@ -24,6 +21,7 @@ exports.DigitalTwinInterfacesPatchInterfacesValue = mappers_1.DigitalTwinInterfacesPatchInterfacesValue;

exports.DigitalTwinInterfacesPatchInterfacesValuePropertiesValueDesired = mappers_1.DigitalTwinInterfacesPatchInterfacesValuePropertiesValueDesired;
exports.DigitalTwinInvokeInterfaceCommandHeaders = mappers_1.DigitalTwinInvokeInterfaceCommandHeaders;
exports.DigitalTwinUpdateInterfacesHeaders = mappers_1.DigitalTwinUpdateInterfacesHeaders;
exports.DigitalTwinGetInterfaceHeaders = mappers_1.DigitalTwinGetInterfaceHeaders;
exports.DigitalTwinGetDigitalTwinModelHeaders = mappers_1.DigitalTwinGetDigitalTwinModelHeaders;
exports.DigitalTwinInvokeInterfaceCommandHeaders = mappers_1.DigitalTwinInvokeInterfaceCommandHeaders;
exports.InterfaceModel = mappers_1.InterfaceModel;
exports.Property = mappers_1.Property;
exports.Reported = mappers_1.Reported;
//# sourceMappingURL=digitalTwinMappers.js.map
"use strict";
/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
* Licensed under the MIT License. See License.txt in the project root for license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is
* regenerated.
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
*/
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=index.js.map
"use strict";
/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
* Licensed under the MIT License. See License.txt in the project root for license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is
* regenerated.
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
*/

@@ -11,0 +9,0 @@ Object.defineProperty(exports, "__esModule", { value: true });

@@ -1,2 +0,2 @@

export { Configuration, ConfigurationContent, ConfigurationMetrics, ConfigurationQueriesTestInput, ConfigurationQueriesTestResponse, RegistryStatistics, ServiceStatistics, Device, AuthenticationMechanism, SymmetricKey, X509Thumbprint, DeviceCapabilities, ExportImportDevice, PropertyContainer, BulkRegistryOperationResult, DeviceRegistryOperationError, DeviceRegistryOperationWarning, QuerySpecification, QueryResult, JobProperties, PurgeMessageQueueResult, FaultInjectionProperties, FaultInjectionConnectionProperties, Twin, TwinProperties, JobResponse, CloudToDeviceMethod, DeviceJobStatistics, JobRequest, Module, CloudToDeviceMethodResult } from "../models/mappers";
export { AuthenticationMechanism, BulkRegistryOperationResult, CloudToDeviceMethod, CloudToDeviceMethodResult, Configuration, ConfigurationContent, ConfigurationMetrics, ConfigurationQueriesTestInput, ConfigurationQueriesTestResponse, Device, DeviceCapabilities, DeviceJobStatistics, DeviceRegistryOperationError, DeviceRegistryOperationWarning, ExportImportDevice, FaultInjectionConnectionProperties, FaultInjectionProperties, JobProperties, JobRequest, JobResponse, Module, PropertyContainer, PurgeMessageQueueResult, QueryResult, QuerySpecification, RegistryStatistics, ServiceStatistics, SymmetricKey, Twin, TwinProperties, X509Thumbprint } from "../models/mappers";
//# sourceMappingURL=serviceMappers.d.ts.map
"use strict";
/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
* Licensed under the MIT License. See License.txt in the project root for license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is
* regenerated.
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
*/
Object.defineProperty(exports, "__esModule", { value: true });
var mappers_1 = require("../models/mappers");
exports.AuthenticationMechanism = mappers_1.AuthenticationMechanism;
exports.BulkRegistryOperationResult = mappers_1.BulkRegistryOperationResult;
exports.CloudToDeviceMethod = mappers_1.CloudToDeviceMethod;
exports.CloudToDeviceMethodResult = mappers_1.CloudToDeviceMethodResult;
exports.Configuration = mappers_1.Configuration;

@@ -18,28 +20,24 @@ exports.ConfigurationContent = mappers_1.ConfigurationContent;

exports.ConfigurationQueriesTestResponse = mappers_1.ConfigurationQueriesTestResponse;
exports.RegistryStatistics = mappers_1.RegistryStatistics;
exports.ServiceStatistics = mappers_1.ServiceStatistics;
exports.Device = mappers_1.Device;
exports.AuthenticationMechanism = mappers_1.AuthenticationMechanism;
exports.SymmetricKey = mappers_1.SymmetricKey;
exports.X509Thumbprint = mappers_1.X509Thumbprint;
exports.DeviceCapabilities = mappers_1.DeviceCapabilities;
exports.ExportImportDevice = mappers_1.ExportImportDevice;
exports.PropertyContainer = mappers_1.PropertyContainer;
exports.BulkRegistryOperationResult = mappers_1.BulkRegistryOperationResult;
exports.DeviceJobStatistics = mappers_1.DeviceJobStatistics;
exports.DeviceRegistryOperationError = mappers_1.DeviceRegistryOperationError;
exports.DeviceRegistryOperationWarning = mappers_1.DeviceRegistryOperationWarning;
exports.QuerySpecification = mappers_1.QuerySpecification;
exports.QueryResult = mappers_1.QueryResult;
exports.ExportImportDevice = mappers_1.ExportImportDevice;
exports.FaultInjectionConnectionProperties = mappers_1.FaultInjectionConnectionProperties;
exports.FaultInjectionProperties = mappers_1.FaultInjectionProperties;
exports.JobProperties = mappers_1.JobProperties;
exports.JobRequest = mappers_1.JobRequest;
exports.JobResponse = mappers_1.JobResponse;
exports.Module = mappers_1.Module;
exports.PropertyContainer = mappers_1.PropertyContainer;
exports.PurgeMessageQueueResult = mappers_1.PurgeMessageQueueResult;
exports.FaultInjectionProperties = mappers_1.FaultInjectionProperties;
exports.FaultInjectionConnectionProperties = mappers_1.FaultInjectionConnectionProperties;
exports.QueryResult = mappers_1.QueryResult;
exports.QuerySpecification = mappers_1.QuerySpecification;
exports.RegistryStatistics = mappers_1.RegistryStatistics;
exports.ServiceStatistics = mappers_1.ServiceStatistics;
exports.SymmetricKey = mappers_1.SymmetricKey;
exports.Twin = mappers_1.Twin;
exports.TwinProperties = mappers_1.TwinProperties;
exports.JobResponse = mappers_1.JobResponse;
exports.CloudToDeviceMethod = mappers_1.CloudToDeviceMethod;
exports.DeviceJobStatistics = mappers_1.DeviceJobStatistics;
exports.JobRequest = mappers_1.JobRequest;
exports.Module = mappers_1.Module;
exports.CloudToDeviceMethodResult = mappers_1.CloudToDeviceMethodResult;
exports.X509Thumbprint = mappers_1.X509Thumbprint;
//# sourceMappingURL=serviceMappers.js.map

@@ -107,3 +107,3 @@ "use strict";

parameterPath: "interfacesPatchInfo",
mapper: __assign({}, Mappers.DigitalTwinInterfacesPatch, { required: true })
mapper: __assign(__assign({}, Mappers.DigitalTwinInterfacesPatch), { required: true })
},

@@ -110,0 +110,0 @@ responses: {

@@ -304,3 +304,3 @@ "use strict";

parameterPath: "configuration",
mapper: __assign({}, Mappers.Configuration, { required: true })
mapper: __assign(__assign({}, Mappers.Configuration), { required: true })
},

@@ -370,3 +370,3 @@ responses: {

parameterPath: "input",
mapper: __assign({}, Mappers.ConfigurationQueriesTestInput, { required: true })
mapper: __assign(__assign({}, Mappers.ConfigurationQueriesTestInput), { required: true })
},

@@ -476,3 +476,3 @@ responses: {

parameterPath: "querySpecification",
mapper: __assign({}, Mappers.QuerySpecification, { required: true })
mapper: __assign(__assign({}, Mappers.QuerySpecification), { required: true })
},

@@ -518,3 +518,3 @@ responses: {

parameterPath: "device",
mapper: __assign({}, Mappers.Device, { required: true })
mapper: __assign(__assign({}, Mappers.Device), { required: true })
},

@@ -558,3 +558,3 @@ responses: {

parameterPath: "content",
mapper: __assign({}, Mappers.ConfigurationContent, { required: true })
mapper: __assign(__assign({}, Mappers.ConfigurationContent), { required: true })
},

@@ -583,3 +583,3 @@ responses: {

parameterPath: "jobProperties",
mapper: __assign({}, Mappers.JobProperties, { required: true })
mapper: __assign(__assign({}, Mappers.JobProperties), { required: true })
},

@@ -698,3 +698,3 @@ responses: {

parameterPath: "value",
mapper: __assign({}, Mappers.FaultInjectionProperties, { required: true })
mapper: __assign(__assign({}, Mappers.FaultInjectionProperties), { required: true })
},

@@ -738,3 +738,3 @@ responses: {

parameterPath: "deviceTwinInfo",
mapper: __assign({}, Mappers.Twin, { required: true })
mapper: __assign(__assign({}, Mappers.Twin), { required: true })
},

@@ -763,3 +763,3 @@ responses: {

parameterPath: "deviceTwinInfo",
mapper: __assign({}, Mappers.Twin, { required: true })
mapper: __assign(__assign({}, Mappers.Twin), { required: true })
},

@@ -807,3 +807,3 @@ responses: {

parameterPath: "deviceTwinInfo",
mapper: __assign({}, Mappers.Twin, { required: true })
mapper: __assign(__assign({}, Mappers.Twin), { required: true })
},

@@ -833,3 +833,3 @@ responses: {

parameterPath: "deviceTwinInfo",
mapper: __assign({}, Mappers.Twin, { required: true })
mapper: __assign(__assign({}, Mappers.Twin), { required: true })
},

@@ -872,3 +872,3 @@ responses: {

parameterPath: "jobRequest",
mapper: __assign({}, Mappers.JobRequest, { required: true })
mapper: __assign(__assign({}, Mappers.JobRequest), { required: true })
},

@@ -977,3 +977,3 @@ responses: {

parameterPath: "module",
mapper: __assign({}, Mappers.Module, { required: true })
mapper: __assign(__assign({}, Mappers.Module), { required: true })
},

@@ -1021,3 +1021,3 @@ responses: {

parameterPath: "directMethodRequest",
mapper: __assign({}, Mappers.CloudToDeviceMethod, { required: true })
mapper: __assign(__assign({}, Mappers.CloudToDeviceMethod), { required: true })
},

@@ -1044,3 +1044,3 @@ responses: {

parameterPath: "directMethodRequest",
mapper: __assign({}, Mappers.CloudToDeviceMethod, { required: true })
mapper: __assign(__assign({}, Mappers.CloudToDeviceMethod), { required: true })
},

@@ -1047,0 +1047,0 @@ responses: {

{
"name": "azure-iot-digitaltwins-service",
"version": "1.0.0-preview.2",
"version": "1.0.0-preview.3",
"description": "Azure IoT Digital Twins Preview",

@@ -12,4 +12,4 @@ "main": "index.js",

"build": "npm -s run lint && npm -s run compile",
"test-min": "istanbul cover --report none ./node_modules/mocha/bin/_mocha -- --reporter dot test/_*_test.js",
"test": "istanbul cover ./node_modules/mocha/bin/_mocha -- --reporter spec test/_*_test.js",
"test-min": "istanbul cover --report none ../../node_modules/mocha/bin/_mocha -- --reporter dot test/_*_test.js",
"test": "istanbul cover ../../node_modules/mocha/bin/_mocha -- --reporter spec test/_*_test.js",
"check-cover": "istanbul check-coverage --statements 84 --branches 51 --lines 85 --functions 48",

@@ -45,10 +45,10 @@ "ci": "npm -s run build && npm -s run test-min && npm -s run check-cover"

"devDependencies": {
"autorest": "^2.0.4283",
"autorest": "^2.0.4413",
"istanbul": "^0.4.5",
"mocha": "^6.1.4",
"tslint": "^5.16.0",
"typescript": "^3.4.5"
"tslint": "^6.0.0",
"typescript": "^3.7.5"
},
"dependencies": {
"@azure/ms-rest-js": "^1.8.13",
"@azure/ms-rest-js": "^2.0.5",
"azure-iot-common": "1.12.0-preview.2",

@@ -55,0 +55,0 @@ "tslib": "^1.9.3"

@@ -27,4 +27,4 @@ /*

constructor(credentials: msRest.ServiceClientCredentials, options?: Models.IotHubGatewayServiceAPIs20190701PreviewOptions) {
if (credentials === null || credentials === undefined) {
throw new Error('\'credentials\' cannot be null.');
if (credentials == undefined) {
throw new Error("'credentials' cannot be null.");
}

@@ -35,3 +35,4 @@

}
if(!options.userAgent) {
if (!options.userAgent) {
const defaultUserAgent = msRest.getDefaultUserAgentValue();

@@ -47,4 +48,3 @@ options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`;

this.credentials = credentials;
if(options.apiVersion !== null && options.apiVersion !== undefined) {
if (options.apiVersion !== null && options.apiVersion !== undefined) {
this.apiVersion = options.apiVersion;

@@ -51,0 +51,0 @@ }

/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
* Licensed under the MIT License. See License.txt in the project root for license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is
* regenerated.
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
*/
export {
DigitalTwinInterfaces,
InterfaceModel,
Property,
Reported,
Desired,
DesiredState,
Desired,
DigitalTwinGetDigitalTwinModelHeaders,
DigitalTwinGetInterfaceHeaders,
DigitalTwinGetInterfacesHeaders,
DigitalTwinInterfaces,
DigitalTwinInterfacesPatch,

@@ -23,7 +20,7 @@ DigitalTwinInterfacesPatchInterfacesValue,

DigitalTwinInterfacesPatchInterfacesValuePropertiesValueDesired,
DigitalTwinInvokeInterfaceCommandHeaders,
DigitalTwinUpdateInterfacesHeaders,
DigitalTwinGetInterfaceHeaders,
DigitalTwinGetDigitalTwinModelHeaders,
DigitalTwinInvokeInterfaceCommandHeaders
InterfaceModel,
Property,
Reported
} from "../models/mappers";
/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
* Licensed under the MIT License. See License.txt in the project root for license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is
* regenerated.
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
*/

@@ -10,0 +8,0 @@

/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
* Licensed under the MIT License. See License.txt in the project root for license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is
* regenerated.
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
*/
export {
AuthenticationMechanism,
BulkRegistryOperationResult,
CloudToDeviceMethod,
CloudToDeviceMethodResult,
Configuration,

@@ -17,29 +19,24 @@ ConfigurationContent,

ConfigurationQueriesTestResponse,
RegistryStatistics,
ServiceStatistics,
Device,
AuthenticationMechanism,
SymmetricKey,
X509Thumbprint,
DeviceCapabilities,
ExportImportDevice,
PropertyContainer,
BulkRegistryOperationResult,
DeviceJobStatistics,
DeviceRegistryOperationError,
DeviceRegistryOperationWarning,
QuerySpecification,
QueryResult,
ExportImportDevice,
FaultInjectionConnectionProperties,
FaultInjectionProperties,
JobProperties,
JobRequest,
JobResponse,
Module,
PropertyContainer,
PurgeMessageQueueResult,
FaultInjectionProperties,
FaultInjectionConnectionProperties,
QueryResult,
QuerySpecification,
RegistryStatistics,
ServiceStatistics,
SymmetricKey,
Twin,
TwinProperties,
JobResponse,
CloudToDeviceMethod,
DeviceJobStatistics,
JobRequest,
Module,
CloudToDeviceMethodResult
X509Thumbprint
} from "../models/mappers";

@@ -9,3 +9,3 @@ {

"lib": [
"es6"
"es6", "dom"
],

@@ -12,0 +12,0 @@ "declaration": true,

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

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