feat(azure-iothub): add Plug and Play api to azure-iothub (#887)
* feat(azure-iothub): add Plug and Play api to azure-iothub * fix((service samples)): use only process environment variables in javascript samples and lint * fix((service samples)): fixed a few more samples with environment variables
This commit is contained in:
Родитель
fdcf47cc33
Коммит
aac592d92c
|
@ -231,6 +231,7 @@ security/tpm/dist
|
|||
security/symmetric/dist
|
||||
|
||||
service/dist
|
||||
service/samples/typescript/dist
|
||||
|
||||
ts-e2e/dist
|
||||
|
||||
|
|
|
@ -33,12 +33,12 @@
|
|||
"integrity": "sha512-csOlWGAcRFJaI6m+F2WKdnMKr4HhdhFVBk0H/QbJFMCr+uO2kwohwXQPxw/9OCxp05r5ghVBFSyioixx3gfkNQ=="
|
||||
},
|
||||
"azure-iot-amqp-base": {
|
||||
"version": "2.4.4",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-amqp-base/-/azure-iot-amqp-base-2.4.4.tgz",
|
||||
"integrity": "sha512-NAAbq4Xf1rQf2BHegLBFvzhC0iszkWL7rVo8z2NgFi5+U7cdKPZ/6AjvloznXvN6Q/sdarghcYPH2XjTTz223A==",
|
||||
"version": "2.4.5",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-amqp-base/-/azure-iot-amqp-base-2.4.5.tgz",
|
||||
"integrity": "sha512-CmWklSc/OsY1p0WzICN5w03T/QrySaNnwjUOfzHbT9ikmHc9dzr4AYgOmVHXxhUimdaoRxGnmHHL873JnsCqhA==",
|
||||
"requires": {
|
||||
"async": "^2.6.2",
|
||||
"azure-iot-common": "1.12.4",
|
||||
"azure-iot-common": "1.12.5",
|
||||
"debug": "^4.1.1",
|
||||
"lodash.merge": "^4.6.1",
|
||||
"machina": "^4.0.2",
|
||||
|
@ -48,35 +48,35 @@
|
|||
}
|
||||
},
|
||||
"azure-iot-common": {
|
||||
"version": "1.12.4",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-common/-/azure-iot-common-1.12.4.tgz",
|
||||
"integrity": "sha512-iCIx7NW4DcxCzT83+fwxTlTk2ipMvgt6P6yuL7gLbFFXB60oa6b3CqkT6/ArTGV4gfORcipAhMBZv7igD6oTsA==",
|
||||
"version": "1.12.5",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-common/-/azure-iot-common-1.12.5.tgz",
|
||||
"integrity": "sha512-CEr5eN7FZ5a8VmFMSlInq6oYDjlPRcd22jpy1qS7XWz5I8exqrV3wmSP/z8wlT4BVePcnn4Fo4JfFVc8XS1Ung==",
|
||||
"requires": {
|
||||
"debug": "^4.1.1",
|
||||
"getos": "^3.1.1"
|
||||
}
|
||||
},
|
||||
"azure-iot-http-base": {
|
||||
"version": "1.11.4",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-http-base/-/azure-iot-http-base-1.11.4.tgz",
|
||||
"integrity": "sha512-OsucwoptU5BTPQI+GvSjc0KRzPvfankvhgxQ+PfsCsVLmlU8mjsQNXBTsE5WU1PPP5hem6XwjbpnZgAo0i2GbA==",
|
||||
"version": "1.11.5",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-http-base/-/azure-iot-http-base-1.11.5.tgz",
|
||||
"integrity": "sha512-8loD9dr+dwug+DWfGKBe1/iE7qdRZZ/08Rxj7UHIcdncZec7+Xf2DAGGPxvh9aKDJy/OxIglh12o3YjxeAnjjA==",
|
||||
"requires": {
|
||||
"azure-iot-common": "1.12.4",
|
||||
"azure-iot-common": "1.12.5",
|
||||
"debug": "^4.1.1",
|
||||
"uuid": "^3.3.2"
|
||||
}
|
||||
},
|
||||
"azure-iothub": {
|
||||
"version": "1.12.4",
|
||||
"resolved": "https://registry.npmjs.org/azure-iothub/-/azure-iothub-1.12.4.tgz",
|
||||
"integrity": "sha512-jYBRUewf9VyVUkA/p9z7tvYL2bIJe6Rz/ncnjlWcT3a85XMtoI2Jj2/UsNNeymtIk1Y6xjWaLdzgsKunfB0xdg==",
|
||||
"version": "1.12.5",
|
||||
"resolved": "https://registry.npmjs.org/azure-iothub/-/azure-iothub-1.12.5.tgz",
|
||||
"integrity": "sha512-Xj5vl7dot8y82ZY4y2vhBryRfy4agO0SVy72rWytPsNipfOYDw7GHUUawAGqhi1Dc66VVjMUq7x8XDa3W3taeA==",
|
||||
"requires": {
|
||||
"async": "^2.6.2",
|
||||
"azure-iot-amqp-base": "2.4.4",
|
||||
"azure-iot-common": "1.12.4",
|
||||
"azure-iot-http-base": "1.11.4",
|
||||
"azure-iot-amqp-base": "2.4.5",
|
||||
"azure-iot-common": "1.12.5",
|
||||
"azure-iot-http-base": "1.11.5",
|
||||
"debug": "^4.1.1",
|
||||
"lodash": "^4.17.15",
|
||||
"lodash": "^4.17.20",
|
||||
"machina": "^4.0.2",
|
||||
"rhea": "^1.0.15"
|
||||
}
|
||||
|
|
|
@ -24,4 +24,4 @@
|
|||
"pem": "^1.14.2",
|
||||
"yargs": "^15.3.1"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "azure-iot-common",
|
||||
"version": "1.12.4",
|
||||
"version": "1.12.5",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
|
|
|
@ -77,4 +77,4 @@
|
|||
"url": "https://github.com/Azure/azure-iot-sdk-node/issues"
|
||||
},
|
||||
"homepage": "https://github.com/Azure/azure-iot-sdk-node#readme"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
export const apiVersion = '2019-10-01';
|
||||
export const apiVersionLimitedAvail = '2020-03-13';
|
||||
export const apiVersionPnP = '2020-05-31-preview';
|
||||
export const apiVersionPnP = '2020-09-30';
|
||||
|
||||
export function devicePath(deviceId: string): string {
|
||||
return '/devices/' + deviceId;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "azure-iot-amqp-base",
|
||||
"version": "2.4.4",
|
||||
"version": "2.4.5",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
|
@ -420,9 +420,9 @@
|
|||
"integrity": "sha512-csOlWGAcRFJaI6m+F2WKdnMKr4HhdhFVBk0H/QbJFMCr+uO2kwohwXQPxw/9OCxp05r5ghVBFSyioixx3gfkNQ=="
|
||||
},
|
||||
"azure-iot-common": {
|
||||
"version": "1.12.4",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-common/-/azure-iot-common-1.12.4.tgz",
|
||||
"integrity": "sha512-iCIx7NW4DcxCzT83+fwxTlTk2ipMvgt6P6yuL7gLbFFXB60oa6b3CqkT6/ArTGV4gfORcipAhMBZv7igD6oTsA==",
|
||||
"version": "1.12.5",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-common/-/azure-iot-common-1.12.5.tgz",
|
||||
"integrity": "sha512-CEr5eN7FZ5a8VmFMSlInq6oYDjlPRcd22jpy1qS7XWz5I8exqrV3wmSP/z8wlT4BVePcnn4Fo4JfFVc8XS1Ung==",
|
||||
"requires": {
|
||||
"debug": "^4.1.1",
|
||||
"getos": "^3.1.1"
|
||||
|
|
|
@ -83,4 +83,4 @@
|
|||
"url": "https://github.com/Azure/azure-iot-sdk-node/issues"
|
||||
},
|
||||
"homepage": "https://github.com/Azure/azure-iot-sdk-node#readme"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "azure-iot-http-base",
|
||||
"version": "1.11.4",
|
||||
"version": "1.11.5",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
|
@ -406,9 +406,9 @@
|
|||
"integrity": "sha512-TR2mEZFVOj2pLStYxLht7TyfuRzaydfpxr3k9RpHIzMgw7A64dzsdqCxH1WJyQdoe8T10nDXd9wnEigmiuHIZw=="
|
||||
},
|
||||
"azure-iot-common": {
|
||||
"version": "1.12.4",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-common/-/azure-iot-common-1.12.4.tgz",
|
||||
"integrity": "sha512-iCIx7NW4DcxCzT83+fwxTlTk2ipMvgt6P6yuL7gLbFFXB60oa6b3CqkT6/ArTGV4gfORcipAhMBZv7igD6oTsA==",
|
||||
"version": "1.12.5",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-common/-/azure-iot-common-1.12.5.tgz",
|
||||
"integrity": "sha512-CEr5eN7FZ5a8VmFMSlInq6oYDjlPRcd22jpy1qS7XWz5I8exqrV3wmSP/z8wlT4BVePcnn4Fo4JfFVc8XS1Ung==",
|
||||
"requires": {
|
||||
"debug": "^4.1.1",
|
||||
"getos": "^3.1.1"
|
||||
|
|
|
@ -76,4 +76,4 @@
|
|||
"url": "https://github.com/Azure/azure-iot-sdk-node/issues"
|
||||
},
|
||||
"homepage": "https://github.com/Azure/azure-iot-sdk-node#readme"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "azure-iot-mqtt-base",
|
||||
"version": "1.12.4",
|
||||
"version": "1.12.5",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
|
@ -406,9 +406,9 @@
|
|||
"integrity": "sha512-TR2mEZFVOj2pLStYxLht7TyfuRzaydfpxr3k9RpHIzMgw7A64dzsdqCxH1WJyQdoe8T10nDXd9wnEigmiuHIZw=="
|
||||
},
|
||||
"azure-iot-common": {
|
||||
"version": "1.12.4",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-common/-/azure-iot-common-1.12.4.tgz",
|
||||
"integrity": "sha512-iCIx7NW4DcxCzT83+fwxTlTk2ipMvgt6P6yuL7gLbFFXB60oa6b3CqkT6/ArTGV4gfORcipAhMBZv7igD6oTsA==",
|
||||
"version": "1.12.5",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-common/-/azure-iot-common-1.12.5.tgz",
|
||||
"integrity": "sha512-CEr5eN7FZ5a8VmFMSlInq6oYDjlPRcd22jpy1qS7XWz5I8exqrV3wmSP/z8wlT4BVePcnn4Fo4JfFVc8XS1Ung==",
|
||||
"requires": {
|
||||
"debug": "^4.1.1",
|
||||
"getos": "^3.1.1"
|
||||
|
|
|
@ -79,4 +79,4 @@
|
|||
"url": "https://github.com/Azure/azure-iot-sdk-node/issues"
|
||||
},
|
||||
"homepage": "https://github.com/Azure/azure-iot-sdk-node#readme"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "azure-iot-device",
|
||||
"version": "1.17.0",
|
||||
"version": "1.17.1",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
|
@ -613,20 +613,20 @@
|
|||
"integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k="
|
||||
},
|
||||
"azure-iot-common": {
|
||||
"version": "1.12.4",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-common/-/azure-iot-common-1.12.4.tgz",
|
||||
"integrity": "sha512-iCIx7NW4DcxCzT83+fwxTlTk2ipMvgt6P6yuL7gLbFFXB60oa6b3CqkT6/ArTGV4gfORcipAhMBZv7igD6oTsA==",
|
||||
"version": "1.12.5",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-common/-/azure-iot-common-1.12.5.tgz",
|
||||
"integrity": "sha512-CEr5eN7FZ5a8VmFMSlInq6oYDjlPRcd22jpy1qS7XWz5I8exqrV3wmSP/z8wlT4BVePcnn4Fo4JfFVc8XS1Ung==",
|
||||
"requires": {
|
||||
"debug": "^4.1.1",
|
||||
"getos": "^3.1.1"
|
||||
}
|
||||
},
|
||||
"azure-iot-http-base": {
|
||||
"version": "1.11.4",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-http-base/-/azure-iot-http-base-1.11.4.tgz",
|
||||
"integrity": "sha512-OsucwoptU5BTPQI+GvSjc0KRzPvfankvhgxQ+PfsCsVLmlU8mjsQNXBTsE5WU1PPP5hem6XwjbpnZgAo0i2GbA==",
|
||||
"version": "1.11.5",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-http-base/-/azure-iot-http-base-1.11.5.tgz",
|
||||
"integrity": "sha512-8loD9dr+dwug+DWfGKBe1/iE7qdRZZ/08Rxj7UHIcdncZec7+Xf2DAGGPxvh9aKDJy/OxIglh12o3YjxeAnjjA==",
|
||||
"requires": {
|
||||
"azure-iot-common": "1.12.4",
|
||||
"azure-iot-common": "1.12.5",
|
||||
"debug": "^4.1.1",
|
||||
"uuid": "^3.3.2"
|
||||
}
|
||||
|
|
|
@ -85,4 +85,4 @@
|
|||
"url": "https://github.com/Azure/azure-iot-sdk-node/issues"
|
||||
},
|
||||
"homepage": "https://github.com/Azure/azure-iot-sdk-node#readme"
|
||||
}
|
||||
}
|
||||
|
|
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
|
@ -22,4 +22,4 @@
|
|||
"lint": "jshint --show-non-errors .",
|
||||
"ci": "npm run lint"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -36,9 +36,9 @@
|
|||
}
|
||||
},
|
||||
"@azure/core-http": {
|
||||
"version": "1.1.6",
|
||||
"resolved": "https://registry.npmjs.org/@azure/core-http/-/core-http-1.1.6.tgz",
|
||||
"integrity": "sha512-/C+qNzhwlLKt0F6SjaBEyY2pwZvwL2LviyS5PHlCh77qWuTF1sETmYAINM88BCN+kke+UlECK4YOQaAjJwyHvQ==",
|
||||
"version": "1.1.7",
|
||||
"resolved": "https://registry.npmjs.org/@azure/core-http/-/core-http-1.1.7.tgz",
|
||||
"integrity": "sha512-UmYMY22Zczg/hCtYuM/0KoV2kVc6juj4mrb5uYgBmmxQ9NIIZrpjgCdVSlYQNClpyrvaIMnecRFMqrZywzhiJA==",
|
||||
"requires": {
|
||||
"@azure/abort-controller": "^1.0.0",
|
||||
"@azure/core-auth": "^1.1.3",
|
||||
|
@ -99,9 +99,9 @@
|
|||
}
|
||||
},
|
||||
"@azure/core-paging": {
|
||||
"version": "1.1.1",
|
||||
"resolved": "https://registry.npmjs.org/@azure/core-paging/-/core-paging-1.1.1.tgz",
|
||||
"integrity": "sha512-hqEJBEGKan4YdOaL9ZG/GRG6PXaFd/Wb3SSjQW4LWotZzgl6xqG00h6wmkrpd2NNkbBkD1erLHBO3lPHApv+iQ==",
|
||||
"version": "1.1.2",
|
||||
"resolved": "https://registry.npmjs.org/@azure/core-paging/-/core-paging-1.1.2.tgz",
|
||||
"integrity": "sha512-6wZ+LrF8zwAuukvYsiff+uMNkVu9HZt8gRs/1o5377Cz9354y23QI7eZM0iwTfO38c8LZUSvzLJSqdM4T1QXxA==",
|
||||
"requires": {
|
||||
"@azure/core-asynciterator-polyfill": "^1.0.0"
|
||||
}
|
||||
|
@ -159,9 +159,9 @@
|
|||
"integrity": "sha512-5bHhlTBBq82ti3qPT15TRxkYTFPPQWbnkkQkmHPtqiS1XcTB69cEKd3Jm7Cfi/vkPoyxapmePE9tyA7EzLt8SQ=="
|
||||
},
|
||||
"@types/node": {
|
||||
"version": "14.6.0",
|
||||
"resolved": "https://registry.npmjs.org/@types/node/-/node-14.6.0.tgz",
|
||||
"integrity": "sha512-mikldZQitV94akrc4sCcSjtJfsTKt4p+e/s0AGscVA6XArQ9kFclP+ZiYUMnq987rc6QlYxXv/EivqlfSLxpKA=="
|
||||
"version": "14.6.4",
|
||||
"resolved": "https://registry.npmjs.org/@types/node/-/node-14.6.4.tgz",
|
||||
"integrity": "sha512-Wk7nG1JSaMfMpoMJDKUsWYugliB2Vy55pdjLpmLixeyMi7HizW2I/9QoxsPCkXl3dO+ZOVqPumKaDUv5zJu2uQ=="
|
||||
},
|
||||
"@types/node-fetch": {
|
||||
"version": "2.5.7",
|
||||
|
@ -196,12 +196,12 @@
|
|||
"integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k="
|
||||
},
|
||||
"azure-iot-amqp-base": {
|
||||
"version": "2.4.4",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-amqp-base/-/azure-iot-amqp-base-2.4.4.tgz",
|
||||
"integrity": "sha512-NAAbq4Xf1rQf2BHegLBFvzhC0iszkWL7rVo8z2NgFi5+U7cdKPZ/6AjvloznXvN6Q/sdarghcYPH2XjTTz223A==",
|
||||
"version": "2.4.5",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-amqp-base/-/azure-iot-amqp-base-2.4.5.tgz",
|
||||
"integrity": "sha512-CmWklSc/OsY1p0WzICN5w03T/QrySaNnwjUOfzHbT9ikmHc9dzr4AYgOmVHXxhUimdaoRxGnmHHL873JnsCqhA==",
|
||||
"requires": {
|
||||
"async": "^2.6.2",
|
||||
"azure-iot-common": "1.12.4",
|
||||
"azure-iot-common": "1.12.5",
|
||||
"debug": "^4.1.1",
|
||||
"lodash.merge": "^4.6.1",
|
||||
"machina": "^4.0.2",
|
||||
|
@ -226,38 +226,38 @@
|
|||
}
|
||||
},
|
||||
"azure-iot-common": {
|
||||
"version": "1.12.4",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-common/-/azure-iot-common-1.12.4.tgz",
|
||||
"integrity": "sha512-iCIx7NW4DcxCzT83+fwxTlTk2ipMvgt6P6yuL7gLbFFXB60oa6b3CqkT6/ArTGV4gfORcipAhMBZv7igD6oTsA==",
|
||||
"version": "1.12.5",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-common/-/azure-iot-common-1.12.5.tgz",
|
||||
"integrity": "sha512-CEr5eN7FZ5a8VmFMSlInq6oYDjlPRcd22jpy1qS7XWz5I8exqrV3wmSP/z8wlT4BVePcnn4Fo4JfFVc8XS1Ung==",
|
||||
"requires": {
|
||||
"debug": "^4.1.1",
|
||||
"getos": "^3.1.1"
|
||||
}
|
||||
},
|
||||
"azure-iot-device": {
|
||||
"version": "1.17.0",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-device/-/azure-iot-device-1.17.0.tgz",
|
||||
"integrity": "sha512-ItHxujjLE/GdwhuH4fJTuIhPMHxBzfOkd62U1iKTHYE1wgvts7m9BzqSGEP410/O1BXng+QlFw5VZchmXQerUg==",
|
||||
"version": "1.17.1",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-device/-/azure-iot-device-1.17.1.tgz",
|
||||
"integrity": "sha512-GA0TYrmfTjUc2A0xkcur4HqCIfFDe+aKLVqd4EtTPwQFRJ/uAVCKTeR/lWwYGoP5xmki9/jN4bcaclF2moF50A==",
|
||||
"requires": {
|
||||
"@azure/abort-controller": "1.0.1",
|
||||
"@azure/storage-blob": "^12.0.0",
|
||||
"azure-iot-common": "1.12.4",
|
||||
"azure-iot-http-base": "1.11.4",
|
||||
"azure-iot-common": "1.12.5",
|
||||
"azure-iot-http-base": "1.11.5",
|
||||
"debug": "^4.1.1",
|
||||
"lodash": "^4.17.15",
|
||||
"lodash": "^4.17.20",
|
||||
"machina": "^4.0.2",
|
||||
"traverse": "^0.6.6"
|
||||
}
|
||||
},
|
||||
"azure-iot-device-amqp": {
|
||||
"version": "1.13.0",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-device-amqp/-/azure-iot-device-amqp-1.13.0.tgz",
|
||||
"integrity": "sha512-h8dUdfObBQe8e/coPkmmrOCsQwV5DFPRzHEpMyNMhRPOO3q3Y5bWiipdgmFs62i4Tn7w4dy4HUvCAPihwAsNVg==",
|
||||
"version": "1.13.1",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-device-amqp/-/azure-iot-device-amqp-1.13.1.tgz",
|
||||
"integrity": "sha512-YM41jR278R/IewTiTxVZNXR3KGz2iNrbziPa0qdqJIiyTNWTH/KMWlMIk06kx7sABgMPGikX3J0S9MTrTsQMIQ==",
|
||||
"requires": {
|
||||
"async": "^2.6.2",
|
||||
"azure-iot-amqp-base": "2.4.4",
|
||||
"azure-iot-common": "1.12.4",
|
||||
"azure-iot-device": "1.17.0",
|
||||
"azure-iot-amqp-base": "2.4.5",
|
||||
"azure-iot-common": "1.12.5",
|
||||
"azure-iot-device": "1.17.1",
|
||||
"debug": "^4.1.1",
|
||||
"machina": "^4.0.2",
|
||||
"rhea": "^1.0.15",
|
||||
|
@ -280,25 +280,25 @@
|
|||
}
|
||||
},
|
||||
"azure-iot-device-http": {
|
||||
"version": "1.13.0",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-device-http/-/azure-iot-device-http-1.13.0.tgz",
|
||||
"integrity": "sha512-Rrec/2HjMuyDbmz/mmxycao2mHAY3ZZiG6u3hKZgMySGZI0MVSRo4mMR+AQlmbudVKbDGzsDC4tHYPNcRmrc+w==",
|
||||
"version": "1.13.1",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-device-http/-/azure-iot-device-http-1.13.1.tgz",
|
||||
"integrity": "sha512-L5ZmBcikCxo1MVXrzEzvS1kH4cWEZ1xhCJ9FdYqWTIMQKoXoIvtm58zR4Jy0Z1LtXEWJazFM7qNu4qy9McQ6CA==",
|
||||
"requires": {
|
||||
"azure-iot-common": "1.12.4",
|
||||
"azure-iot-device": "1.17.0",
|
||||
"azure-iot-http-base": "1.11.4",
|
||||
"azure-iot-common": "1.12.5",
|
||||
"azure-iot-device": "1.17.1",
|
||||
"azure-iot-http-base": "1.11.5",
|
||||
"debug": "^4.1.1",
|
||||
"node-crontab": "^0.0.8"
|
||||
}
|
||||
},
|
||||
"azure-iot-device-mqtt": {
|
||||
"version": "1.15.0",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-device-mqtt/-/azure-iot-device-mqtt-1.15.0.tgz",
|
||||
"integrity": "sha512-mPK5g6Yd7fziMfuoATqldqsK8OVDY2V89xhF9JIiP+JIu750mr9McR5jkEVWquiXIA7ZNfJOo/vasYHu4i1x8Q==",
|
||||
"version": "1.15.1",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-device-mqtt/-/azure-iot-device-mqtt-1.15.1.tgz",
|
||||
"integrity": "sha512-iHBmiY6/g/BmzGKj9MMWlJkP5TgQLis2aS8Ap2O/kyIoN5h5hFEbiulFMT8C/Alqp7e541mzairFXouiKD1SqQ==",
|
||||
"requires": {
|
||||
"azure-iot-common": "1.12.4",
|
||||
"azure-iot-device": "1.17.0",
|
||||
"azure-iot-mqtt-base": "1.12.4",
|
||||
"azure-iot-common": "1.12.5",
|
||||
"azure-iot-device": "1.17.1",
|
||||
"azure-iot-mqtt-base": "1.12.5",
|
||||
"debug": "^4.1.1",
|
||||
"machina": "^4.0.2",
|
||||
"uuid": "^3.3.2"
|
||||
|
@ -312,11 +312,11 @@
|
|||
}
|
||||
},
|
||||
"azure-iot-http-base": {
|
||||
"version": "1.11.4",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-http-base/-/azure-iot-http-base-1.11.4.tgz",
|
||||
"integrity": "sha512-OsucwoptU5BTPQI+GvSjc0KRzPvfankvhgxQ+PfsCsVLmlU8mjsQNXBTsE5WU1PPP5hem6XwjbpnZgAo0i2GbA==",
|
||||
"version": "1.11.5",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-http-base/-/azure-iot-http-base-1.11.5.tgz",
|
||||
"integrity": "sha512-8loD9dr+dwug+DWfGKBe1/iE7qdRZZ/08Rxj7UHIcdncZec7+Xf2DAGGPxvh9aKDJy/OxIglh12o3YjxeAnjjA==",
|
||||
"requires": {
|
||||
"azure-iot-common": "1.12.4",
|
||||
"azure-iot-common": "1.12.5",
|
||||
"debug": "^4.1.1",
|
||||
"uuid": "^3.3.2"
|
||||
},
|
||||
|
@ -329,34 +329,42 @@
|
|||
}
|
||||
},
|
||||
"azure-iot-mqtt-base": {
|
||||
"version": "1.12.4",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-mqtt-base/-/azure-iot-mqtt-base-1.12.4.tgz",
|
||||
"integrity": "sha512-VXd9AudDlZkbmWjIGnebfZnXJC1TRliILD8oX+w/Z2cZWW/DB3edLHI51H157rOBXbIgZoy2AEpnoIm3LUU/sQ==",
|
||||
"version": "1.12.5",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-mqtt-base/-/azure-iot-mqtt-base-1.12.5.tgz",
|
||||
"integrity": "sha512-a8J/9lqJqjJG+YuLw4+rP9lCWrwEBAClih5RFV9PNy+vkLC7+bv2kEGy+d4jT38zdom2MgzKwHTKsYEDNwdjpA==",
|
||||
"requires": {
|
||||
"azure-iot-common": "1.12.4",
|
||||
"azure-iot-common": "1.12.5",
|
||||
"debug": "^4.1.1",
|
||||
"machina": "^4.0.2",
|
||||
"mqtt": "^4.0.0"
|
||||
"mqtt": "^4.0.0",
|
||||
"uuid": "^3.3.2"
|
||||
},
|
||||
"dependencies": {
|
||||
"uuid": {
|
||||
"version": "3.4.0",
|
||||
"resolved": "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz",
|
||||
"integrity": "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A=="
|
||||
}
|
||||
}
|
||||
},
|
||||
"azure-iot-provisioning-device": {
|
||||
"version": "1.8.4",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-provisioning-device/-/azure-iot-provisioning-device-1.8.4.tgz",
|
||||
"integrity": "sha512-LmZQnXclp5aQYqevj3vdq/41TnkEYRih2GzHkkMY/keeIkfTSu5S03euPvQz3yx7+HsL9qsKOd10Ywp3uhhr0Q==",
|
||||
"version": "1.8.5",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-provisioning-device/-/azure-iot-provisioning-device-1.8.5.tgz",
|
||||
"integrity": "sha512-RLgbYmzyjU1DHL+rdYZEpRu5S+PMG6y68CZkwpGPmY5AFGxQiSMNzSjGC2BNG4b2Rz8qjcKMMiKC5AfR2BQX3A==",
|
||||
"requires": {
|
||||
"azure-iot-common": "1.12.4",
|
||||
"azure-iot-common": "1.12.5",
|
||||
"debug": "^4.1.1",
|
||||
"machina": "^4.0.2"
|
||||
}
|
||||
},
|
||||
"azure-iot-provisioning-device-mqtt": {
|
||||
"version": "1.7.4",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-provisioning-device-mqtt/-/azure-iot-provisioning-device-mqtt-1.7.4.tgz",
|
||||
"integrity": "sha512-LP0dv4jdGe7G1F+Nkwq4axiPcvaiNILTYWWPrIApilqIdlWE4jP8JPGac0AUnCzjHJ7nkmhm3CXWCHlJXz+dKA==",
|
||||
"version": "1.7.5",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-provisioning-device-mqtt/-/azure-iot-provisioning-device-mqtt-1.7.5.tgz",
|
||||
"integrity": "sha512-bAQbM2j0UeOYLjDlrJae2Obin6znrr9+ViaY9QdpOZ4PdMRL28XkXWgRa82iwP62/vo4902Or3AouQ1khiny2A==",
|
||||
"requires": {
|
||||
"azure-iot-common": "1.12.4",
|
||||
"azure-iot-mqtt-base": "1.12.4",
|
||||
"azure-iot-provisioning-device": "1.8.4",
|
||||
"azure-iot-common": "1.12.5",
|
||||
"azure-iot-mqtt-base": "1.12.5",
|
||||
"azure-iot-provisioning-device": "1.8.5",
|
||||
"debug": "^4.1.1",
|
||||
"machina": "^4.0.2",
|
||||
"uuid": "^3.3.2"
|
||||
|
@ -370,11 +378,11 @@
|
|||
}
|
||||
},
|
||||
"azure-iot-security-symmetric-key": {
|
||||
"version": "1.7.4",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-security-symmetric-key/-/azure-iot-security-symmetric-key-1.7.4.tgz",
|
||||
"integrity": "sha512-FB4oqvE37Ms9Sxg0cZTKBkDlDvJnCWcAeS4Hw5uPNGJ3W2yXzOc85wiNp/bqVzslGbv/rxSj2TAtDHFEjslVdQ==",
|
||||
"version": "1.7.5",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-security-symmetric-key/-/azure-iot-security-symmetric-key-1.7.5.tgz",
|
||||
"integrity": "sha512-6eYf6h4YI0u8r24nrhJmpayJ8FI4/Z7r9gBrbOSaYL/ee0WHzu1ofxSd4j4/r+RnmoYuGWwZ9NGmXmiyYK1xXg==",
|
||||
"requires": {
|
||||
"azure-iot-common": "1.12.4",
|
||||
"azure-iot-common": "1.12.5",
|
||||
"debug": "^4.1.1"
|
||||
}
|
||||
},
|
||||
|
@ -389,39 +397,36 @@
|
|||
"integrity": "sha512-mLQ4i2QO1ytvGWFWmcngKO//JXAQueZvwEKtjgQFM4jIK0kU+ytMfplL8j+n5mspOfjHwoAg+9yhb7BwAHm36g=="
|
||||
},
|
||||
"bl": {
|
||||
"version": "1.2.2",
|
||||
"resolved": "https://registry.npmjs.org/bl/-/bl-1.2.2.tgz",
|
||||
"integrity": "sha512-e8tQYnZodmebYDWGH7KMRvtzKXaJHx3BbilrgZCfvyLUYdKpK1t5PSPmpkny/SgiTSCnjfLW7v5rlONXVFkQEA==",
|
||||
"version": "4.0.3",
|
||||
"resolved": "https://registry.npmjs.org/bl/-/bl-4.0.3.tgz",
|
||||
"integrity": "sha512-fs4G6/Hu4/EE+F75J8DuN/0IpQqNjAdC7aEQv7Qt8MHGUH7Ckv2MwTEEeN9QehD0pfIDkMI1bkHYkKy7xHyKIg==",
|
||||
"requires": {
|
||||
"readable-stream": "^2.3.5",
|
||||
"safe-buffer": "^5.1.1"
|
||||
"buffer": "^5.5.0",
|
||||
"inherits": "^2.0.4",
|
||||
"readable-stream": "^3.4.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"isarray": {
|
||||
"version": "1.0.0",
|
||||
"resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz",
|
||||
"integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE="
|
||||
},
|
||||
"readable-stream": {
|
||||
"version": "2.3.7",
|
||||
"resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz",
|
||||
"integrity": "sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==",
|
||||
"version": "3.6.0",
|
||||
"resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz",
|
||||
"integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==",
|
||||
"requires": {
|
||||
"core-util-is": "~1.0.0",
|
||||
"inherits": "~2.0.3",
|
||||
"isarray": "~1.0.0",
|
||||
"process-nextick-args": "~2.0.0",
|
||||
"safe-buffer": "~5.1.1",
|
||||
"string_decoder": "~1.1.1",
|
||||
"util-deprecate": "~1.0.1"
|
||||
"inherits": "^2.0.3",
|
||||
"string_decoder": "^1.1.1",
|
||||
"util-deprecate": "^1.0.1"
|
||||
}
|
||||
},
|
||||
"safe-buffer": {
|
||||
"version": "5.2.1",
|
||||
"resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz",
|
||||
"integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ=="
|
||||
},
|
||||
"string_decoder": {
|
||||
"version": "1.1.1",
|
||||
"resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz",
|
||||
"integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==",
|
||||
"version": "1.3.0",
|
||||
"resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz",
|
||||
"integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==",
|
||||
"requires": {
|
||||
"safe-buffer": "~5.1.0"
|
||||
"safe-buffer": "~5.2.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -435,6 +440,15 @@
|
|||
"concat-map": "0.0.1"
|
||||
}
|
||||
},
|
||||
"buffer": {
|
||||
"version": "5.6.0",
|
||||
"resolved": "https://registry.npmjs.org/buffer/-/buffer-5.6.0.tgz",
|
||||
"integrity": "sha512-/gDYp/UtU0eA1ys8bOs9J6a+E/KWIY+DZ+Q2WESNUA0jFRsJOc0SNUO6xJ5SGA1xueg3NL65W6s+NY5l9cunuw==",
|
||||
"requires": {
|
||||
"base64-js": "^1.0.2",
|
||||
"ieee754": "^1.1.4"
|
||||
}
|
||||
},
|
||||
"buffer-from": {
|
||||
"version": "1.1.1",
|
||||
"resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.1.tgz",
|
||||
|
@ -770,9 +784,9 @@
|
|||
},
|
||||
"dependencies": {
|
||||
"type": {
|
||||
"version": "2.0.0",
|
||||
"resolved": "https://registry.npmjs.org/type/-/type-2.0.0.tgz",
|
||||
"integrity": "sha512-KBt58xCHry4Cejnc2ISQAF7QY+ORngsWfxezO68+12hKV6lQY8P/psIkcbjeHWn7MqcgciWJyCCevFMJdIXpow=="
|
||||
"version": "2.1.0",
|
||||
"resolved": "https://registry.npmjs.org/type/-/type-2.1.0.tgz",
|
||||
"integrity": "sha512-G9absDWvhAWCV2gmF1zKud3OyC61nZDwWvBL2DApaVFogI07CprggiQAOOjvp2NRjYWFzPyu7vwtDrQFq8jeSA=="
|
||||
}
|
||||
}
|
||||
},
|
||||
|
@ -896,6 +910,11 @@
|
|||
"readable-stream": "1.1"
|
||||
}
|
||||
},
|
||||
"ieee754": {
|
||||
"version": "1.1.13",
|
||||
"resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.1.13.tgz",
|
||||
"integrity": "sha512-4vf7I2LYV/HaWerSo3XmlMkp5eZ83i+/CDluXi/IGTs/O1sejBNhTtnxzmRZfvOUqj7lZjqHkeTvpgSFDlWZTg=="
|
||||
},
|
||||
"inflight": {
|
||||
"version": "1.0.6",
|
||||
"resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz",
|
||||
|
@ -1034,9 +1053,9 @@
|
|||
"integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw=="
|
||||
},
|
||||
"mqtt": {
|
||||
"version": "4.2.0",
|
||||
"resolved": "https://registry.npmjs.org/mqtt/-/mqtt-4.2.0.tgz",
|
||||
"integrity": "sha512-CGMLigAKCp0hknWPM15yuZRbVrfQjZCG9Wn3GXDEfY2chDmUi5GT3UQ3OhTtMi7fELYb2s4Q/QiWv+dECQ7ZQg==",
|
||||
"version": "4.2.1",
|
||||
"resolved": "https://registry.npmjs.org/mqtt/-/mqtt-4.2.1.tgz",
|
||||
"integrity": "sha512-Iv893r+jWlo5GkNcPOfCGwW8M49IixwHiKLFFYTociEymSibUVCORVEjPXWPGzSxhn7BdlUeHicbRmWiv0Crkg==",
|
||||
"requires": {
|
||||
"base64-js": "^1.3.0",
|
||||
"commist": "^1.0.0",
|
||||
|
@ -1091,15 +1110,13 @@
|
|||
}
|
||||
},
|
||||
"mqtt-packet": {
|
||||
"version": "6.3.2",
|
||||
"resolved": "https://registry.npmjs.org/mqtt-packet/-/mqtt-packet-6.3.2.tgz",
|
||||
"integrity": "sha512-i56+2kN6F57KInGtjjfUXSl4xG8u/zOvfaXFLKFAbBXzWkXOmwcmjaSCBPayf2IQCkQU0+h+S2DizCo3CF6gQA==",
|
||||
"version": "6.5.0",
|
||||
"resolved": "https://registry.npmjs.org/mqtt-packet/-/mqtt-packet-6.5.0.tgz",
|
||||
"integrity": "sha512-Pzv0auCMip3D2JZId5n8q084ASyi3AvpjP1qJUf9d/gjuk2YkjD5xSUe/KPKgXIqfr5x99bRm5FdAm7ag96RBQ==",
|
||||
"requires": {
|
||||
"bl": "^1.2.2",
|
||||
"bl": "^4.0.2",
|
||||
"debug": "^4.1.1",
|
||||
"inherits": "^2.0.3",
|
||||
"process-nextick-args": "^2.0.0",
|
||||
"safe-buffer": "^5.1.2"
|
||||
"process-nextick-args": "^2.0.1"
|
||||
}
|
||||
},
|
||||
"ms": {
|
||||
|
@ -1121,9 +1138,9 @@
|
|||
}
|
||||
},
|
||||
"node-fetch": {
|
||||
"version": "2.6.0",
|
||||
"resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.0.tgz",
|
||||
"integrity": "sha512-8dG4H5ujfvFiqDmVu9fQ5bOHUC15JMjMY/Zumv26oOvvVJjM67KF8koCWIabKQ1GJIa9r2mMZscBq/TbdOcmNA=="
|
||||
"version": "2.6.1",
|
||||
"resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.1.tgz",
|
||||
"integrity": "sha512-V4aYg89jEoVRxRb2fJdAg8FHvI7cEyYdVAh94HH0UIK8oJxUfkjlDQN9RbMx+bEjP7+ggMiFRprSti032Oipxw=="
|
||||
},
|
||||
"once": {
|
||||
"version": "1.4.0",
|
||||
|
@ -1286,9 +1303,9 @@
|
|||
"dev": true
|
||||
},
|
||||
"split2": {
|
||||
"version": "3.2.1",
|
||||
"resolved": "https://registry.npmjs.org/split2/-/split2-3.2.1.tgz",
|
||||
"integrity": "sha512-wmX3JdfKWWghQSjezpJyMxlFodG/vNbV/Y9scsCqYSDWo0nCdteOdzqh8z1NDxpcIZB6BhkqWo6642VI/HA3oA==",
|
||||
"version": "3.2.2",
|
||||
"resolved": "https://registry.npmjs.org/split2/-/split2-3.2.2.tgz",
|
||||
"integrity": "sha512-9NThjpgZnifTkJpzTZ7Eue85S49QwpNhZTq6GRJwObb6jnLFNGB7Qm73V5HewTROPyxD0C29xqmaI68bQtV+hg==",
|
||||
"requires": {
|
||||
"readable-stream": "^3.0.0"
|
||||
},
|
||||
|
|
|
@ -23,4 +23,4 @@
|
|||
"npmlockrefresh": "npm i --package-lock-only",
|
||||
"lint": "jshint --show-non-errors ."
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "azure-iot-device-amqp",
|
||||
"version": "1.13.0",
|
||||
"version": "1.13.1",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
|
@ -36,9 +36,9 @@
|
|||
}
|
||||
},
|
||||
"@azure/core-http": {
|
||||
"version": "1.1.6",
|
||||
"resolved": "https://registry.npmjs.org/@azure/core-http/-/core-http-1.1.6.tgz",
|
||||
"integrity": "sha512-/C+qNzhwlLKt0F6SjaBEyY2pwZvwL2LviyS5PHlCh77qWuTF1sETmYAINM88BCN+kke+UlECK4YOQaAjJwyHvQ==",
|
||||
"version": "1.1.7",
|
||||
"resolved": "https://registry.npmjs.org/@azure/core-http/-/core-http-1.1.7.tgz",
|
||||
"integrity": "sha512-UmYMY22Zczg/hCtYuM/0KoV2kVc6juj4mrb5uYgBmmxQ9NIIZrpjgCdVSlYQNClpyrvaIMnecRFMqrZywzhiJA==",
|
||||
"requires": {
|
||||
"@azure/abort-controller": "^1.0.0",
|
||||
"@azure/core-auth": "^1.1.3",
|
||||
|
@ -104,9 +104,9 @@
|
|||
}
|
||||
},
|
||||
"@azure/core-paging": {
|
||||
"version": "1.1.1",
|
||||
"resolved": "https://registry.npmjs.org/@azure/core-paging/-/core-paging-1.1.1.tgz",
|
||||
"integrity": "sha512-hqEJBEGKan4YdOaL9ZG/GRG6PXaFd/Wb3SSjQW4LWotZzgl6xqG00h6wmkrpd2NNkbBkD1erLHBO3lPHApv+iQ==",
|
||||
"version": "1.1.2",
|
||||
"resolved": "https://registry.npmjs.org/@azure/core-paging/-/core-paging-1.1.2.tgz",
|
||||
"integrity": "sha512-6wZ+LrF8zwAuukvYsiff+uMNkVu9HZt8gRs/1o5377Cz9354y23QI7eZM0iwTfO38c8LZUSvzLJSqdM4T1QXxA==",
|
||||
"requires": {
|
||||
"@azure/core-asynciterator-polyfill": "^1.0.0"
|
||||
}
|
||||
|
@ -600,12 +600,12 @@
|
|||
"integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k="
|
||||
},
|
||||
"azure-iot-amqp-base": {
|
||||
"version": "2.4.4",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-amqp-base/-/azure-iot-amqp-base-2.4.4.tgz",
|
||||
"integrity": "sha512-NAAbq4Xf1rQf2BHegLBFvzhC0iszkWL7rVo8z2NgFi5+U7cdKPZ/6AjvloznXvN6Q/sdarghcYPH2XjTTz223A==",
|
||||
"version": "2.4.5",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-amqp-base/-/azure-iot-amqp-base-2.4.5.tgz",
|
||||
"integrity": "sha512-CmWklSc/OsY1p0WzICN5w03T/QrySaNnwjUOfzHbT9ikmHc9dzr4AYgOmVHXxhUimdaoRxGnmHHL873JnsCqhA==",
|
||||
"requires": {
|
||||
"async": "^2.6.2",
|
||||
"azure-iot-common": "1.12.4",
|
||||
"azure-iot-common": "1.12.5",
|
||||
"debug": "^4.1.1",
|
||||
"lodash.merge": "^4.6.1",
|
||||
"machina": "^4.0.2",
|
||||
|
@ -615,35 +615,35 @@
|
|||
}
|
||||
},
|
||||
"azure-iot-common": {
|
||||
"version": "1.12.4",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-common/-/azure-iot-common-1.12.4.tgz",
|
||||
"integrity": "sha512-iCIx7NW4DcxCzT83+fwxTlTk2ipMvgt6P6yuL7gLbFFXB60oa6b3CqkT6/ArTGV4gfORcipAhMBZv7igD6oTsA==",
|
||||
"version": "1.12.5",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-common/-/azure-iot-common-1.12.5.tgz",
|
||||
"integrity": "sha512-CEr5eN7FZ5a8VmFMSlInq6oYDjlPRcd22jpy1qS7XWz5I8exqrV3wmSP/z8wlT4BVePcnn4Fo4JfFVc8XS1Ung==",
|
||||
"requires": {
|
||||
"debug": "^4.1.1",
|
||||
"getos": "^3.1.1"
|
||||
}
|
||||
},
|
||||
"azure-iot-device": {
|
||||
"version": "1.17.0",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-device/-/azure-iot-device-1.17.0.tgz",
|
||||
"integrity": "sha512-ItHxujjLE/GdwhuH4fJTuIhPMHxBzfOkd62U1iKTHYE1wgvts7m9BzqSGEP410/O1BXng+QlFw5VZchmXQerUg==",
|
||||
"version": "1.17.1",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-device/-/azure-iot-device-1.17.1.tgz",
|
||||
"integrity": "sha512-GA0TYrmfTjUc2A0xkcur4HqCIfFDe+aKLVqd4EtTPwQFRJ/uAVCKTeR/lWwYGoP5xmki9/jN4bcaclF2moF50A==",
|
||||
"requires": {
|
||||
"@azure/abort-controller": "1.0.1",
|
||||
"@azure/storage-blob": "^12.0.0",
|
||||
"azure-iot-common": "1.12.4",
|
||||
"azure-iot-http-base": "1.11.4",
|
||||
"azure-iot-common": "1.12.5",
|
||||
"azure-iot-http-base": "1.11.5",
|
||||
"debug": "^4.1.1",
|
||||
"lodash": "^4.17.15",
|
||||
"lodash": "^4.17.20",
|
||||
"machina": "^4.0.2",
|
||||
"traverse": "^0.6.6"
|
||||
}
|
||||
},
|
||||
"azure-iot-http-base": {
|
||||
"version": "1.11.4",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-http-base/-/azure-iot-http-base-1.11.4.tgz",
|
||||
"integrity": "sha512-OsucwoptU5BTPQI+GvSjc0KRzPvfankvhgxQ+PfsCsVLmlU8mjsQNXBTsE5WU1PPP5hem6XwjbpnZgAo0i2GbA==",
|
||||
"version": "1.11.5",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-http-base/-/azure-iot-http-base-1.11.5.tgz",
|
||||
"integrity": "sha512-8loD9dr+dwug+DWfGKBe1/iE7qdRZZ/08Rxj7UHIcdncZec7+Xf2DAGGPxvh9aKDJy/OxIglh12o3YjxeAnjjA==",
|
||||
"requires": {
|
||||
"azure-iot-common": "1.12.4",
|
||||
"azure-iot-common": "1.12.5",
|
||||
"debug": "^4.1.1",
|
||||
"uuid": "^3.3.2"
|
||||
}
|
||||
|
@ -1679,9 +1679,9 @@
|
|||
}
|
||||
},
|
||||
"node-fetch": {
|
||||
"version": "2.6.0",
|
||||
"resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.0.tgz",
|
||||
"integrity": "sha512-8dG4H5ujfvFiqDmVu9fQ5bOHUC15JMjMY/Zumv26oOvvVJjM67KF8koCWIabKQ1GJIa9r2mMZscBq/TbdOcmNA=="
|
||||
"version": "2.6.1",
|
||||
"resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.1.tgz",
|
||||
"integrity": "sha512-V4aYg89jEoVRxRb2fJdAg8FHvI7cEyYdVAh94HH0UIK8oJxUfkjlDQN9RbMx+bEjP7+ggMiFRprSti032Oipxw=="
|
||||
},
|
||||
"node-preload": {
|
||||
"version": "0.2.1",
|
||||
|
|
|
@ -82,4 +82,4 @@
|
|||
"url": "https://github.com/Azure/azure-iot-sdk-node/issues"
|
||||
},
|
||||
"homepage": "https://github.com/Azure/azure-iot-sdk-node#readme"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "azure-iot-device-http",
|
||||
"version": "1.13.0",
|
||||
"version": "1.13.1",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
|
@ -36,9 +36,9 @@
|
|||
}
|
||||
},
|
||||
"@azure/core-http": {
|
||||
"version": "1.1.6",
|
||||
"resolved": "https://registry.npmjs.org/@azure/core-http/-/core-http-1.1.6.tgz",
|
||||
"integrity": "sha512-/C+qNzhwlLKt0F6SjaBEyY2pwZvwL2LviyS5PHlCh77qWuTF1sETmYAINM88BCN+kke+UlECK4YOQaAjJwyHvQ==",
|
||||
"version": "1.1.7",
|
||||
"resolved": "https://registry.npmjs.org/@azure/core-http/-/core-http-1.1.7.tgz",
|
||||
"integrity": "sha512-UmYMY22Zczg/hCtYuM/0KoV2kVc6juj4mrb5uYgBmmxQ9NIIZrpjgCdVSlYQNClpyrvaIMnecRFMqrZywzhiJA==",
|
||||
"requires": {
|
||||
"@azure/abort-controller": "^1.0.0",
|
||||
"@azure/core-auth": "^1.1.3",
|
||||
|
@ -104,9 +104,9 @@
|
|||
}
|
||||
},
|
||||
"@azure/core-paging": {
|
||||
"version": "1.1.1",
|
||||
"resolved": "https://registry.npmjs.org/@azure/core-paging/-/core-paging-1.1.1.tgz",
|
||||
"integrity": "sha512-hqEJBEGKan4YdOaL9ZG/GRG6PXaFd/Wb3SSjQW4LWotZzgl6xqG00h6wmkrpd2NNkbBkD1erLHBO3lPHApv+iQ==",
|
||||
"version": "1.1.2",
|
||||
"resolved": "https://registry.npmjs.org/@azure/core-paging/-/core-paging-1.1.2.tgz",
|
||||
"integrity": "sha512-6wZ+LrF8zwAuukvYsiff+uMNkVu9HZt8gRs/1o5377Cz9354y23QI7eZM0iwTfO38c8LZUSvzLJSqdM4T1QXxA==",
|
||||
"requires": {
|
||||
"@azure/core-asynciterator-polyfill": "^1.0.0"
|
||||
}
|
||||
|
@ -592,13 +592,13 @@
|
|||
"integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k="
|
||||
},
|
||||
"azure-iot-amqp-base": {
|
||||
"version": "2.4.4",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-amqp-base/-/azure-iot-amqp-base-2.4.4.tgz",
|
||||
"integrity": "sha512-NAAbq4Xf1rQf2BHegLBFvzhC0iszkWL7rVo8z2NgFi5+U7cdKPZ/6AjvloznXvN6Q/sdarghcYPH2XjTTz223A==",
|
||||
"version": "2.4.5",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-amqp-base/-/azure-iot-amqp-base-2.4.5.tgz",
|
||||
"integrity": "sha512-CmWklSc/OsY1p0WzICN5w03T/QrySaNnwjUOfzHbT9ikmHc9dzr4AYgOmVHXxhUimdaoRxGnmHHL873JnsCqhA==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"async": "^2.6.2",
|
||||
"azure-iot-common": "1.12.4",
|
||||
"azure-iot-common": "1.12.5",
|
||||
"debug": "^4.1.1",
|
||||
"lodash.merge": "^4.6.1",
|
||||
"machina": "^4.0.2",
|
||||
|
@ -619,51 +619,51 @@
|
|||
}
|
||||
},
|
||||
"azure-iot-common": {
|
||||
"version": "1.12.4",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-common/-/azure-iot-common-1.12.4.tgz",
|
||||
"integrity": "sha512-iCIx7NW4DcxCzT83+fwxTlTk2ipMvgt6P6yuL7gLbFFXB60oa6b3CqkT6/ArTGV4gfORcipAhMBZv7igD6oTsA==",
|
||||
"version": "1.12.5",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-common/-/azure-iot-common-1.12.5.tgz",
|
||||
"integrity": "sha512-CEr5eN7FZ5a8VmFMSlInq6oYDjlPRcd22jpy1qS7XWz5I8exqrV3wmSP/z8wlT4BVePcnn4Fo4JfFVc8XS1Ung==",
|
||||
"requires": {
|
||||
"debug": "^4.1.1",
|
||||
"getos": "^3.1.1"
|
||||
}
|
||||
},
|
||||
"azure-iot-device": {
|
||||
"version": "1.17.0",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-device/-/azure-iot-device-1.17.0.tgz",
|
||||
"integrity": "sha512-ItHxujjLE/GdwhuH4fJTuIhPMHxBzfOkd62U1iKTHYE1wgvts7m9BzqSGEP410/O1BXng+QlFw5VZchmXQerUg==",
|
||||
"version": "1.17.1",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-device/-/azure-iot-device-1.17.1.tgz",
|
||||
"integrity": "sha512-GA0TYrmfTjUc2A0xkcur4HqCIfFDe+aKLVqd4EtTPwQFRJ/uAVCKTeR/lWwYGoP5xmki9/jN4bcaclF2moF50A==",
|
||||
"requires": {
|
||||
"@azure/abort-controller": "1.0.1",
|
||||
"@azure/storage-blob": "^12.0.0",
|
||||
"azure-iot-common": "1.12.4",
|
||||
"azure-iot-http-base": "1.11.4",
|
||||
"azure-iot-common": "1.12.5",
|
||||
"azure-iot-http-base": "1.11.5",
|
||||
"debug": "^4.1.1",
|
||||
"lodash": "^4.17.15",
|
||||
"lodash": "^4.17.20",
|
||||
"machina": "^4.0.2",
|
||||
"traverse": "^0.6.6"
|
||||
}
|
||||
},
|
||||
"azure-iot-http-base": {
|
||||
"version": "1.11.4",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-http-base/-/azure-iot-http-base-1.11.4.tgz",
|
||||
"integrity": "sha512-OsucwoptU5BTPQI+GvSjc0KRzPvfankvhgxQ+PfsCsVLmlU8mjsQNXBTsE5WU1PPP5hem6XwjbpnZgAo0i2GbA==",
|
||||
"version": "1.11.5",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-http-base/-/azure-iot-http-base-1.11.5.tgz",
|
||||
"integrity": "sha512-8loD9dr+dwug+DWfGKBe1/iE7qdRZZ/08Rxj7UHIcdncZec7+Xf2DAGGPxvh9aKDJy/OxIglh12o3YjxeAnjjA==",
|
||||
"requires": {
|
||||
"azure-iot-common": "1.12.4",
|
||||
"azure-iot-common": "1.12.5",
|
||||
"debug": "^4.1.1",
|
||||
"uuid": "^3.3.2"
|
||||
}
|
||||
},
|
||||
"azure-iothub": {
|
||||
"version": "1.12.4",
|
||||
"resolved": "https://registry.npmjs.org/azure-iothub/-/azure-iothub-1.12.4.tgz",
|
||||
"integrity": "sha512-jYBRUewf9VyVUkA/p9z7tvYL2bIJe6Rz/ncnjlWcT3a85XMtoI2Jj2/UsNNeymtIk1Y6xjWaLdzgsKunfB0xdg==",
|
||||
"version": "1.12.5",
|
||||
"resolved": "https://registry.npmjs.org/azure-iothub/-/azure-iothub-1.12.5.tgz",
|
||||
"integrity": "sha512-Xj5vl7dot8y82ZY4y2vhBryRfy4agO0SVy72rWytPsNipfOYDw7GHUUawAGqhi1Dc66VVjMUq7x8XDa3W3taeA==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"async": "^2.6.2",
|
||||
"azure-iot-amqp-base": "2.4.4",
|
||||
"azure-iot-common": "1.12.4",
|
||||
"azure-iot-http-base": "1.11.4",
|
||||
"azure-iot-amqp-base": "2.4.5",
|
||||
"azure-iot-common": "1.12.5",
|
||||
"azure-iot-http-base": "1.11.5",
|
||||
"debug": "^4.1.1",
|
||||
"lodash": "^4.17.15",
|
||||
"lodash": "^4.17.20",
|
||||
"machina": "^4.0.2",
|
||||
"rhea": "^1.0.15"
|
||||
},
|
||||
|
@ -1717,9 +1717,9 @@
|
|||
}
|
||||
},
|
||||
"node-fetch": {
|
||||
"version": "2.6.0",
|
||||
"resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.0.tgz",
|
||||
"integrity": "sha512-8dG4H5ujfvFiqDmVu9fQ5bOHUC15JMjMY/Zumv26oOvvVJjM67KF8koCWIabKQ1GJIa9r2mMZscBq/TbdOcmNA=="
|
||||
"version": "2.6.1",
|
||||
"resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.1.tgz",
|
||||
"integrity": "sha512-V4aYg89jEoVRxRb2fJdAg8FHvI7cEyYdVAh94HH0UIK8oJxUfkjlDQN9RbMx+bEjP7+ggMiFRprSti032Oipxw=="
|
||||
},
|
||||
"node-preload": {
|
||||
"version": "0.2.1",
|
||||
|
|
|
@ -79,4 +79,4 @@
|
|||
"url": "https://github.com/Azure/azure-iot-sdk-node/issues"
|
||||
},
|
||||
"homepage": "https://github.com/Azure/azure-iot-sdk-node#readme"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "azure-iot-device-mqtt",
|
||||
"version": "1.15.0",
|
||||
"version": "1.15.1",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
|
@ -36,9 +36,9 @@
|
|||
}
|
||||
},
|
||||
"@azure/core-http": {
|
||||
"version": "1.1.6",
|
||||
"resolved": "https://registry.npmjs.org/@azure/core-http/-/core-http-1.1.6.tgz",
|
||||
"integrity": "sha512-/C+qNzhwlLKt0F6SjaBEyY2pwZvwL2LviyS5PHlCh77qWuTF1sETmYAINM88BCN+kke+UlECK4YOQaAjJwyHvQ==",
|
||||
"version": "1.1.7",
|
||||
"resolved": "https://registry.npmjs.org/@azure/core-http/-/core-http-1.1.7.tgz",
|
||||
"integrity": "sha512-UmYMY22Zczg/hCtYuM/0KoV2kVc6juj4mrb5uYgBmmxQ9NIIZrpjgCdVSlYQNClpyrvaIMnecRFMqrZywzhiJA==",
|
||||
"requires": {
|
||||
"@azure/abort-controller": "^1.0.0",
|
||||
"@azure/core-auth": "^1.1.3",
|
||||
|
@ -104,9 +104,9 @@
|
|||
}
|
||||
},
|
||||
"@azure/core-paging": {
|
||||
"version": "1.1.1",
|
||||
"resolved": "https://registry.npmjs.org/@azure/core-paging/-/core-paging-1.1.1.tgz",
|
||||
"integrity": "sha512-hqEJBEGKan4YdOaL9ZG/GRG6PXaFd/Wb3SSjQW4LWotZzgl6xqG00h6wmkrpd2NNkbBkD1erLHBO3lPHApv+iQ==",
|
||||
"version": "1.1.2",
|
||||
"resolved": "https://registry.npmjs.org/@azure/core-paging/-/core-paging-1.1.2.tgz",
|
||||
"integrity": "sha512-6wZ+LrF8zwAuukvYsiff+uMNkVu9HZt8gRs/1o5377Cz9354y23QI7eZM0iwTfO38c8LZUSvzLJSqdM4T1QXxA==",
|
||||
"requires": {
|
||||
"@azure/core-asynciterator-polyfill": "^1.0.0"
|
||||
}
|
||||
|
@ -595,48 +595,49 @@
|
|||
"integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k="
|
||||
},
|
||||
"azure-iot-common": {
|
||||
"version": "1.12.4",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-common/-/azure-iot-common-1.12.4.tgz",
|
||||
"integrity": "sha512-iCIx7NW4DcxCzT83+fwxTlTk2ipMvgt6P6yuL7gLbFFXB60oa6b3CqkT6/ArTGV4gfORcipAhMBZv7igD6oTsA==",
|
||||
"version": "1.12.5",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-common/-/azure-iot-common-1.12.5.tgz",
|
||||
"integrity": "sha512-CEr5eN7FZ5a8VmFMSlInq6oYDjlPRcd22jpy1qS7XWz5I8exqrV3wmSP/z8wlT4BVePcnn4Fo4JfFVc8XS1Ung==",
|
||||
"requires": {
|
||||
"debug": "^4.1.1",
|
||||
"getos": "^3.1.1"
|
||||
}
|
||||
},
|
||||
"azure-iot-device": {
|
||||
"version": "1.17.0",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-device/-/azure-iot-device-1.17.0.tgz",
|
||||
"integrity": "sha512-ItHxujjLE/GdwhuH4fJTuIhPMHxBzfOkd62U1iKTHYE1wgvts7m9BzqSGEP410/O1BXng+QlFw5VZchmXQerUg==",
|
||||
"version": "1.17.1",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-device/-/azure-iot-device-1.17.1.tgz",
|
||||
"integrity": "sha512-GA0TYrmfTjUc2A0xkcur4HqCIfFDe+aKLVqd4EtTPwQFRJ/uAVCKTeR/lWwYGoP5xmki9/jN4bcaclF2moF50A==",
|
||||
"requires": {
|
||||
"@azure/abort-controller": "1.0.1",
|
||||
"@azure/storage-blob": "^12.0.0",
|
||||
"azure-iot-common": "1.12.4",
|
||||
"azure-iot-http-base": "1.11.4",
|
||||
"azure-iot-common": "1.12.5",
|
||||
"azure-iot-http-base": "1.11.5",
|
||||
"debug": "^4.1.1",
|
||||
"lodash": "^4.17.15",
|
||||
"lodash": "^4.17.20",
|
||||
"machina": "^4.0.2",
|
||||
"traverse": "^0.6.6"
|
||||
}
|
||||
},
|
||||
"azure-iot-http-base": {
|
||||
"version": "1.11.4",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-http-base/-/azure-iot-http-base-1.11.4.tgz",
|
||||
"integrity": "sha512-OsucwoptU5BTPQI+GvSjc0KRzPvfankvhgxQ+PfsCsVLmlU8mjsQNXBTsE5WU1PPP5hem6XwjbpnZgAo0i2GbA==",
|
||||
"version": "1.11.5",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-http-base/-/azure-iot-http-base-1.11.5.tgz",
|
||||
"integrity": "sha512-8loD9dr+dwug+DWfGKBe1/iE7qdRZZ/08Rxj7UHIcdncZec7+Xf2DAGGPxvh9aKDJy/OxIglh12o3YjxeAnjjA==",
|
||||
"requires": {
|
||||
"azure-iot-common": "1.12.4",
|
||||
"azure-iot-common": "1.12.5",
|
||||
"debug": "^4.1.1",
|
||||
"uuid": "^3.3.2"
|
||||
}
|
||||
},
|
||||
"azure-iot-mqtt-base": {
|
||||
"version": "1.12.4",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-mqtt-base/-/azure-iot-mqtt-base-1.12.4.tgz",
|
||||
"integrity": "sha512-VXd9AudDlZkbmWjIGnebfZnXJC1TRliILD8oX+w/Z2cZWW/DB3edLHI51H157rOBXbIgZoy2AEpnoIm3LUU/sQ==",
|
||||
"version": "1.12.5",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-mqtt-base/-/azure-iot-mqtt-base-1.12.5.tgz",
|
||||
"integrity": "sha512-a8J/9lqJqjJG+YuLw4+rP9lCWrwEBAClih5RFV9PNy+vkLC7+bv2kEGy+d4jT38zdom2MgzKwHTKsYEDNwdjpA==",
|
||||
"requires": {
|
||||
"azure-iot-common": "1.12.4",
|
||||
"azure-iot-common": "1.12.5",
|
||||
"debug": "^4.1.1",
|
||||
"machina": "^4.0.2",
|
||||
"mqtt": "^4.0.0"
|
||||
"mqtt": "^4.0.0",
|
||||
"uuid": "^3.3.2"
|
||||
}
|
||||
},
|
||||
"balanced-match": {
|
||||
|
@ -656,12 +657,25 @@
|
|||
"dev": true
|
||||
},
|
||||
"bl": {
|
||||
"version": "1.2.2",
|
||||
"resolved": "https://registry.npmjs.org/bl/-/bl-1.2.2.tgz",
|
||||
"integrity": "sha512-e8tQYnZodmebYDWGH7KMRvtzKXaJHx3BbilrgZCfvyLUYdKpK1t5PSPmpkny/SgiTSCnjfLW7v5rlONXVFkQEA==",
|
||||
"version": "4.0.3",
|
||||
"resolved": "https://registry.npmjs.org/bl/-/bl-4.0.3.tgz",
|
||||
"integrity": "sha512-fs4G6/Hu4/EE+F75J8DuN/0IpQqNjAdC7aEQv7Qt8MHGUH7Ckv2MwTEEeN9QehD0pfIDkMI1bkHYkKy7xHyKIg==",
|
||||
"requires": {
|
||||
"readable-stream": "^2.3.5",
|
||||
"safe-buffer": "^5.1.1"
|
||||
"buffer": "^5.5.0",
|
||||
"inherits": "^2.0.4",
|
||||
"readable-stream": "^3.4.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"readable-stream": {
|
||||
"version": "3.6.0",
|
||||
"resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz",
|
||||
"integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==",
|
||||
"requires": {
|
||||
"inherits": "^2.0.3",
|
||||
"string_decoder": "^1.1.1",
|
||||
"util-deprecate": "^1.0.1"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"brace-expansion": {
|
||||
|
@ -688,6 +702,15 @@
|
|||
"integrity": "sha512-qhAVI1+Av2X7qelOfAIYwXONood6XlZE/fXaBSmW/T5SzLAmCgzi+eiWE7fUvbHaeNBQH13UftjpXxsfLkMpgw==",
|
||||
"dev": true
|
||||
},
|
||||
"buffer": {
|
||||
"version": "5.6.0",
|
||||
"resolved": "https://registry.npmjs.org/buffer/-/buffer-5.6.0.tgz",
|
||||
"integrity": "sha512-/gDYp/UtU0eA1ys8bOs9J6a+E/KWIY+DZ+Q2WESNUA0jFRsJOc0SNUO6xJ5SGA1xueg3NL65W6s+NY5l9cunuw==",
|
||||
"requires": {
|
||||
"base64-js": "^1.0.2",
|
||||
"ieee754": "^1.1.4"
|
||||
}
|
||||
},
|
||||
"buffer-from": {
|
||||
"version": "1.1.1",
|
||||
"resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.1.tgz",
|
||||
|
@ -1153,9 +1176,9 @@
|
|||
},
|
||||
"dependencies": {
|
||||
"type": {
|
||||
"version": "2.0.0",
|
||||
"resolved": "https://registry.npmjs.org/type/-/type-2.0.0.tgz",
|
||||
"integrity": "sha512-KBt58xCHry4Cejnc2ISQAF7QY+ORngsWfxezO68+12hKV6lQY8P/psIkcbjeHWn7MqcgciWJyCCevFMJdIXpow=="
|
||||
"version": "2.1.0",
|
||||
"resolved": "https://registry.npmjs.org/type/-/type-2.1.0.tgz",
|
||||
"integrity": "sha512-G9absDWvhAWCV2gmF1zKud3OyC61nZDwWvBL2DApaVFogI07CprggiQAOOjvp2NRjYWFzPyu7vwtDrQFq8jeSA=="
|
||||
}
|
||||
}
|
||||
},
|
||||
|
@ -1408,6 +1431,11 @@
|
|||
"integrity": "sha512-H2iMtd0I4Mt5eYiapRdIDjp+XzelXQ0tFE4JS7YFwFevXXMmOp9myNrUvCg0D6ws8iqkRPBfKHgbwig1SmlLfg==",
|
||||
"dev": true
|
||||
},
|
||||
"ieee754": {
|
||||
"version": "1.1.13",
|
||||
"resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.1.13.tgz",
|
||||
"integrity": "sha512-4vf7I2LYV/HaWerSo3XmlMkp5eZ83i+/CDluXi/IGTs/O1sejBNhTtnxzmRZfvOUqj7lZjqHkeTvpgSFDlWZTg=="
|
||||
},
|
||||
"imurmurhash": {
|
||||
"version": "0.1.4",
|
||||
"resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz",
|
||||
|
@ -1870,9 +1898,9 @@
|
|||
}
|
||||
},
|
||||
"mqtt": {
|
||||
"version": "4.2.0",
|
||||
"resolved": "https://registry.npmjs.org/mqtt/-/mqtt-4.2.0.tgz",
|
||||
"integrity": "sha512-CGMLigAKCp0hknWPM15yuZRbVrfQjZCG9Wn3GXDEfY2chDmUi5GT3UQ3OhTtMi7fELYb2s4Q/QiWv+dECQ7ZQg==",
|
||||
"version": "4.2.1",
|
||||
"resolved": "https://registry.npmjs.org/mqtt/-/mqtt-4.2.1.tgz",
|
||||
"integrity": "sha512-Iv893r+jWlo5GkNcPOfCGwW8M49IixwHiKLFFYTociEymSibUVCORVEjPXWPGzSxhn7BdlUeHicbRmWiv0Crkg==",
|
||||
"requires": {
|
||||
"base64-js": "^1.3.0",
|
||||
"commist": "^1.0.0",
|
||||
|
@ -1893,15 +1921,13 @@
|
|||
}
|
||||
},
|
||||
"mqtt-packet": {
|
||||
"version": "6.3.2",
|
||||
"resolved": "https://registry.npmjs.org/mqtt-packet/-/mqtt-packet-6.3.2.tgz",
|
||||
"integrity": "sha512-i56+2kN6F57KInGtjjfUXSl4xG8u/zOvfaXFLKFAbBXzWkXOmwcmjaSCBPayf2IQCkQU0+h+S2DizCo3CF6gQA==",
|
||||
"version": "6.5.0",
|
||||
"resolved": "https://registry.npmjs.org/mqtt-packet/-/mqtt-packet-6.5.0.tgz",
|
||||
"integrity": "sha512-Pzv0auCMip3D2JZId5n8q084ASyi3AvpjP1qJUf9d/gjuk2YkjD5xSUe/KPKgXIqfr5x99bRm5FdAm7ag96RBQ==",
|
||||
"requires": {
|
||||
"bl": "^1.2.2",
|
||||
"bl": "^4.0.2",
|
||||
"debug": "^4.1.1",
|
||||
"inherits": "^2.0.3",
|
||||
"process-nextick-args": "^2.0.0",
|
||||
"safe-buffer": "^5.1.2"
|
||||
"process-nextick-args": "^2.0.1"
|
||||
}
|
||||
},
|
||||
"ms": {
|
||||
|
@ -1949,9 +1975,9 @@
|
|||
}
|
||||
},
|
||||
"node-fetch": {
|
||||
"version": "2.6.0",
|
||||
"resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.0.tgz",
|
||||
"integrity": "sha512-8dG4H5ujfvFiqDmVu9fQ5bOHUC15JMjMY/Zumv26oOvvVJjM67KF8koCWIabKQ1GJIa9r2mMZscBq/TbdOcmNA=="
|
||||
"version": "2.6.1",
|
||||
"resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.1.tgz",
|
||||
"integrity": "sha512-V4aYg89jEoVRxRb2fJdAg8FHvI7cEyYdVAh94HH0UIK8oJxUfkjlDQN9RbMx+bEjP7+ggMiFRprSti032Oipxw=="
|
||||
},
|
||||
"node-preload": {
|
||||
"version": "0.2.1",
|
||||
|
@ -2619,9 +2645,9 @@
|
|||
}
|
||||
},
|
||||
"split2": {
|
||||
"version": "3.2.1",
|
||||
"resolved": "https://registry.npmjs.org/split2/-/split2-3.2.1.tgz",
|
||||
"integrity": "sha512-wmX3JdfKWWghQSjezpJyMxlFodG/vNbV/Y9scsCqYSDWo0nCdteOdzqh8z1NDxpcIZB6BhkqWo6642VI/HA3oA==",
|
||||
"version": "3.2.2",
|
||||
"resolved": "https://registry.npmjs.org/split2/-/split2-3.2.2.tgz",
|
||||
"integrity": "sha512-9NThjpgZnifTkJpzTZ7Eue85S49QwpNhZTq6GRJwObb6jnLFNGB7Qm73V5HewTROPyxD0C29xqmaI68bQtV+hg==",
|
||||
"requires": {
|
||||
"readable-stream": "^3.0.0"
|
||||
},
|
||||
|
|
|
@ -81,4 +81,4 @@
|
|||
"url": "https://github.com/Azure/azure-iot-sdk-node/issues"
|
||||
},
|
||||
"homepage": "https://github.com/Azure/azure-iot-sdk-node#readme"
|
||||
}
|
||||
}
|
||||
|
|
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
|
@ -83,4 +83,4 @@
|
|||
"url": "https://github.com/Azure/azure-iot-sdk-node/issues"
|
||||
},
|
||||
"homepage": "https://github.com/Azure/azure-iot-sdk-node#readme"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -9,7 +9,8 @@
|
|||
"device/samples/pnp",
|
||||
"device/transport/*",
|
||||
"service",
|
||||
"service/samples",
|
||||
"service/samples/javascript",
|
||||
"service/samples/typescript",
|
||||
"provisioning/*",
|
||||
"provisioning/transport/*",
|
||||
"provisioning/device/samples",
|
||||
|
|
|
@ -36,9 +36,9 @@
|
|||
}
|
||||
},
|
||||
"@azure/core-http": {
|
||||
"version": "1.1.6",
|
||||
"resolved": "https://registry.npmjs.org/@azure/core-http/-/core-http-1.1.6.tgz",
|
||||
"integrity": "sha512-/C+qNzhwlLKt0F6SjaBEyY2pwZvwL2LviyS5PHlCh77qWuTF1sETmYAINM88BCN+kke+UlECK4YOQaAjJwyHvQ==",
|
||||
"version": "1.1.7",
|
||||
"resolved": "https://registry.npmjs.org/@azure/core-http/-/core-http-1.1.7.tgz",
|
||||
"integrity": "sha512-UmYMY22Zczg/hCtYuM/0KoV2kVc6juj4mrb5uYgBmmxQ9NIIZrpjgCdVSlYQNClpyrvaIMnecRFMqrZywzhiJA==",
|
||||
"requires": {
|
||||
"@azure/abort-controller": "^1.0.0",
|
||||
"@azure/core-auth": "^1.1.3",
|
||||
|
@ -104,9 +104,9 @@
|
|||
}
|
||||
},
|
||||
"@azure/core-paging": {
|
||||
"version": "1.1.1",
|
||||
"resolved": "https://registry.npmjs.org/@azure/core-paging/-/core-paging-1.1.1.tgz",
|
||||
"integrity": "sha512-hqEJBEGKan4YdOaL9ZG/GRG6PXaFd/Wb3SSjQW4LWotZzgl6xqG00h6wmkrpd2NNkbBkD1erLHBO3lPHApv+iQ==",
|
||||
"version": "1.1.2",
|
||||
"resolved": "https://registry.npmjs.org/@azure/core-paging/-/core-paging-1.1.2.tgz",
|
||||
"integrity": "sha512-6wZ+LrF8zwAuukvYsiff+uMNkVu9HZt8gRs/1o5377Cz9354y23QI7eZM0iwTfO38c8LZUSvzLJSqdM4T1QXxA==",
|
||||
"requires": {
|
||||
"@azure/core-asynciterator-polyfill": "^1.0.0"
|
||||
}
|
||||
|
@ -251,12 +251,12 @@
|
|||
"integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k="
|
||||
},
|
||||
"azure-iot-amqp-base": {
|
||||
"version": "2.4.4",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-amqp-base/-/azure-iot-amqp-base-2.4.4.tgz",
|
||||
"integrity": "sha512-NAAbq4Xf1rQf2BHegLBFvzhC0iszkWL7rVo8z2NgFi5+U7cdKPZ/6AjvloznXvN6Q/sdarghcYPH2XjTTz223A==",
|
||||
"version": "2.4.5",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-amqp-base/-/azure-iot-amqp-base-2.4.5.tgz",
|
||||
"integrity": "sha512-CmWklSc/OsY1p0WzICN5w03T/QrySaNnwjUOfzHbT9ikmHc9dzr4AYgOmVHXxhUimdaoRxGnmHHL873JnsCqhA==",
|
||||
"requires": {
|
||||
"async": "^2.6.2",
|
||||
"azure-iot-common": "1.12.4",
|
||||
"azure-iot-common": "1.12.5",
|
||||
"debug": "^4.1.1",
|
||||
"lodash.merge": "^4.6.1",
|
||||
"machina": "^4.0.2",
|
||||
|
@ -266,38 +266,38 @@
|
|||
}
|
||||
},
|
||||
"azure-iot-common": {
|
||||
"version": "1.12.4",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-common/-/azure-iot-common-1.12.4.tgz",
|
||||
"integrity": "sha512-iCIx7NW4DcxCzT83+fwxTlTk2ipMvgt6P6yuL7gLbFFXB60oa6b3CqkT6/ArTGV4gfORcipAhMBZv7igD6oTsA==",
|
||||
"version": "1.12.5",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-common/-/azure-iot-common-1.12.5.tgz",
|
||||
"integrity": "sha512-CEr5eN7FZ5a8VmFMSlInq6oYDjlPRcd22jpy1qS7XWz5I8exqrV3wmSP/z8wlT4BVePcnn4Fo4JfFVc8XS1Ung==",
|
||||
"requires": {
|
||||
"debug": "^4.1.1",
|
||||
"getos": "^3.1.1"
|
||||
}
|
||||
},
|
||||
"azure-iot-device": {
|
||||
"version": "1.17.0",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-device/-/azure-iot-device-1.17.0.tgz",
|
||||
"integrity": "sha512-ItHxujjLE/GdwhuH4fJTuIhPMHxBzfOkd62U1iKTHYE1wgvts7m9BzqSGEP410/O1BXng+QlFw5VZchmXQerUg==",
|
||||
"version": "1.17.1",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-device/-/azure-iot-device-1.17.1.tgz",
|
||||
"integrity": "sha512-GA0TYrmfTjUc2A0xkcur4HqCIfFDe+aKLVqd4EtTPwQFRJ/uAVCKTeR/lWwYGoP5xmki9/jN4bcaclF2moF50A==",
|
||||
"requires": {
|
||||
"@azure/abort-controller": "1.0.1",
|
||||
"@azure/storage-blob": "^12.0.0",
|
||||
"azure-iot-common": "1.12.4",
|
||||
"azure-iot-http-base": "1.11.4",
|
||||
"azure-iot-common": "1.12.5",
|
||||
"azure-iot-http-base": "1.11.5",
|
||||
"debug": "^4.1.1",
|
||||
"lodash": "^4.17.15",
|
||||
"lodash": "^4.17.20",
|
||||
"machina": "^4.0.2",
|
||||
"traverse": "^0.6.6"
|
||||
}
|
||||
},
|
||||
"azure-iot-device-amqp": {
|
||||
"version": "1.13.0",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-device-amqp/-/azure-iot-device-amqp-1.13.0.tgz",
|
||||
"integrity": "sha512-h8dUdfObBQe8e/coPkmmrOCsQwV5DFPRzHEpMyNMhRPOO3q3Y5bWiipdgmFs62i4Tn7w4dy4HUvCAPihwAsNVg==",
|
||||
"version": "1.13.1",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-device-amqp/-/azure-iot-device-amqp-1.13.1.tgz",
|
||||
"integrity": "sha512-YM41jR278R/IewTiTxVZNXR3KGz2iNrbziPa0qdqJIiyTNWTH/KMWlMIk06kx7sABgMPGikX3J0S9MTrTsQMIQ==",
|
||||
"requires": {
|
||||
"async": "^2.6.2",
|
||||
"azure-iot-amqp-base": "2.4.4",
|
||||
"azure-iot-common": "1.12.4",
|
||||
"azure-iot-device": "1.17.0",
|
||||
"azure-iot-amqp-base": "2.4.5",
|
||||
"azure-iot-common": "1.12.5",
|
||||
"azure-iot-device": "1.17.1",
|
||||
"debug": "^4.1.1",
|
||||
"machina": "^4.0.2",
|
||||
"rhea": "^1.0.15",
|
||||
|
@ -305,62 +305,63 @@
|
|||
}
|
||||
},
|
||||
"azure-iot-device-http": {
|
||||
"version": "1.13.0",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-device-http/-/azure-iot-device-http-1.13.0.tgz",
|
||||
"integrity": "sha512-Rrec/2HjMuyDbmz/mmxycao2mHAY3ZZiG6u3hKZgMySGZI0MVSRo4mMR+AQlmbudVKbDGzsDC4tHYPNcRmrc+w==",
|
||||
"version": "1.13.1",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-device-http/-/azure-iot-device-http-1.13.1.tgz",
|
||||
"integrity": "sha512-L5ZmBcikCxo1MVXrzEzvS1kH4cWEZ1xhCJ9FdYqWTIMQKoXoIvtm58zR4Jy0Z1LtXEWJazFM7qNu4qy9McQ6CA==",
|
||||
"requires": {
|
||||
"azure-iot-common": "1.12.4",
|
||||
"azure-iot-device": "1.17.0",
|
||||
"azure-iot-http-base": "1.11.4",
|
||||
"azure-iot-common": "1.12.5",
|
||||
"azure-iot-device": "1.17.1",
|
||||
"azure-iot-http-base": "1.11.5",
|
||||
"debug": "^4.1.1",
|
||||
"node-crontab": "^0.0.8"
|
||||
}
|
||||
},
|
||||
"azure-iot-device-mqtt": {
|
||||
"version": "1.15.0",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-device-mqtt/-/azure-iot-device-mqtt-1.15.0.tgz",
|
||||
"integrity": "sha512-mPK5g6Yd7fziMfuoATqldqsK8OVDY2V89xhF9JIiP+JIu750mr9McR5jkEVWquiXIA7ZNfJOo/vasYHu4i1x8Q==",
|
||||
"version": "1.15.1",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-device-mqtt/-/azure-iot-device-mqtt-1.15.1.tgz",
|
||||
"integrity": "sha512-iHBmiY6/g/BmzGKj9MMWlJkP5TgQLis2aS8Ap2O/kyIoN5h5hFEbiulFMT8C/Alqp7e541mzairFXouiKD1SqQ==",
|
||||
"requires": {
|
||||
"azure-iot-common": "1.12.4",
|
||||
"azure-iot-device": "1.17.0",
|
||||
"azure-iot-mqtt-base": "1.12.4",
|
||||
"azure-iot-common": "1.12.5",
|
||||
"azure-iot-device": "1.17.1",
|
||||
"azure-iot-mqtt-base": "1.12.5",
|
||||
"debug": "^4.1.1",
|
||||
"machina": "^4.0.2",
|
||||
"uuid": "^3.3.2"
|
||||
}
|
||||
},
|
||||
"azure-iot-http-base": {
|
||||
"version": "1.11.4",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-http-base/-/azure-iot-http-base-1.11.4.tgz",
|
||||
"integrity": "sha512-OsucwoptU5BTPQI+GvSjc0KRzPvfankvhgxQ+PfsCsVLmlU8mjsQNXBTsE5WU1PPP5hem6XwjbpnZgAo0i2GbA==",
|
||||
"version": "1.11.5",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-http-base/-/azure-iot-http-base-1.11.5.tgz",
|
||||
"integrity": "sha512-8loD9dr+dwug+DWfGKBe1/iE7qdRZZ/08Rxj7UHIcdncZec7+Xf2DAGGPxvh9aKDJy/OxIglh12o3YjxeAnjjA==",
|
||||
"requires": {
|
||||
"azure-iot-common": "1.12.4",
|
||||
"azure-iot-common": "1.12.5",
|
||||
"debug": "^4.1.1",
|
||||
"uuid": "^3.3.2"
|
||||
}
|
||||
},
|
||||
"azure-iot-mqtt-base": {
|
||||
"version": "1.12.4",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-mqtt-base/-/azure-iot-mqtt-base-1.12.4.tgz",
|
||||
"integrity": "sha512-VXd9AudDlZkbmWjIGnebfZnXJC1TRliILD8oX+w/Z2cZWW/DB3edLHI51H157rOBXbIgZoy2AEpnoIm3LUU/sQ==",
|
||||
"version": "1.12.5",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-mqtt-base/-/azure-iot-mqtt-base-1.12.5.tgz",
|
||||
"integrity": "sha512-a8J/9lqJqjJG+YuLw4+rP9lCWrwEBAClih5RFV9PNy+vkLC7+bv2kEGy+d4jT38zdom2MgzKwHTKsYEDNwdjpA==",
|
||||
"requires": {
|
||||
"azure-iot-common": "1.12.4",
|
||||
"azure-iot-common": "1.12.5",
|
||||
"debug": "^4.1.1",
|
||||
"machina": "^4.0.2",
|
||||
"mqtt": "^4.0.0"
|
||||
"mqtt": "^4.0.0",
|
||||
"uuid": "^3.3.2"
|
||||
}
|
||||
},
|
||||
"azure-iothub": {
|
||||
"version": "1.12.4",
|
||||
"resolved": "https://registry.npmjs.org/azure-iothub/-/azure-iothub-1.12.4.tgz",
|
||||
"integrity": "sha512-jYBRUewf9VyVUkA/p9z7tvYL2bIJe6Rz/ncnjlWcT3a85XMtoI2Jj2/UsNNeymtIk1Y6xjWaLdzgsKunfB0xdg==",
|
||||
"version": "1.12.5",
|
||||
"resolved": "https://registry.npmjs.org/azure-iothub/-/azure-iothub-1.12.5.tgz",
|
||||
"integrity": "sha512-Xj5vl7dot8y82ZY4y2vhBryRfy4agO0SVy72rWytPsNipfOYDw7GHUUawAGqhi1Dc66VVjMUq7x8XDa3W3taeA==",
|
||||
"requires": {
|
||||
"async": "^2.6.2",
|
||||
"azure-iot-amqp-base": "2.4.4",
|
||||
"azure-iot-common": "1.12.4",
|
||||
"azure-iot-http-base": "1.11.4",
|
||||
"azure-iot-amqp-base": "2.4.5",
|
||||
"azure-iot-common": "1.12.5",
|
||||
"azure-iot-http-base": "1.11.5",
|
||||
"debug": "^4.1.1",
|
||||
"lodash": "^4.17.15",
|
||||
"lodash": "^4.17.20",
|
||||
"machina": "^4.0.2",
|
||||
"rhea": "^1.0.15"
|
||||
}
|
||||
|
@ -376,12 +377,25 @@
|
|||
"integrity": "sha512-mLQ4i2QO1ytvGWFWmcngKO//JXAQueZvwEKtjgQFM4jIK0kU+ytMfplL8j+n5mspOfjHwoAg+9yhb7BwAHm36g=="
|
||||
},
|
||||
"bl": {
|
||||
"version": "1.2.2",
|
||||
"resolved": "https://registry.npmjs.org/bl/-/bl-1.2.2.tgz",
|
||||
"integrity": "sha512-e8tQYnZodmebYDWGH7KMRvtzKXaJHx3BbilrgZCfvyLUYdKpK1t5PSPmpkny/SgiTSCnjfLW7v5rlONXVFkQEA==",
|
||||
"version": "4.0.3",
|
||||
"resolved": "https://registry.npmjs.org/bl/-/bl-4.0.3.tgz",
|
||||
"integrity": "sha512-fs4G6/Hu4/EE+F75J8DuN/0IpQqNjAdC7aEQv7Qt8MHGUH7Ckv2MwTEEeN9QehD0pfIDkMI1bkHYkKy7xHyKIg==",
|
||||
"requires": {
|
||||
"readable-stream": "^2.3.5",
|
||||
"safe-buffer": "^5.1.1"
|
||||
"buffer": "^5.5.0",
|
||||
"inherits": "^2.0.4",
|
||||
"readable-stream": "^3.4.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"readable-stream": {
|
||||
"version": "3.6.0",
|
||||
"resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz",
|
||||
"integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==",
|
||||
"requires": {
|
||||
"inherits": "^2.0.3",
|
||||
"string_decoder": "^1.1.1",
|
||||
"util-deprecate": "^1.0.1"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"brace-expansion": {
|
||||
|
@ -393,6 +407,15 @@
|
|||
"concat-map": "0.0.1"
|
||||
}
|
||||
},
|
||||
"buffer": {
|
||||
"version": "5.6.0",
|
||||
"resolved": "https://registry.npmjs.org/buffer/-/buffer-5.6.0.tgz",
|
||||
"integrity": "sha512-/gDYp/UtU0eA1ys8bOs9J6a+E/KWIY+DZ+Q2WESNUA0jFRsJOc0SNUO6xJ5SGA1xueg3NL65W6s+NY5l9cunuw==",
|
||||
"requires": {
|
||||
"base64-js": "^1.0.2",
|
||||
"ieee754": "^1.1.4"
|
||||
}
|
||||
},
|
||||
"buffer-from": {
|
||||
"version": "1.1.1",
|
||||
"resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.1.tgz",
|
||||
|
@ -641,9 +664,9 @@
|
|||
},
|
||||
"dependencies": {
|
||||
"type": {
|
||||
"version": "2.0.0",
|
||||
"resolved": "https://registry.npmjs.org/type/-/type-2.0.0.tgz",
|
||||
"integrity": "sha512-KBt58xCHry4Cejnc2ISQAF7QY+ORngsWfxezO68+12hKV6lQY8P/psIkcbjeHWn7MqcgciWJyCCevFMJdIXpow=="
|
||||
"version": "2.1.0",
|
||||
"resolved": "https://registry.npmjs.org/type/-/type-2.1.0.tgz",
|
||||
"integrity": "sha512-G9absDWvhAWCV2gmF1zKud3OyC61nZDwWvBL2DApaVFogI07CprggiQAOOjvp2NRjYWFzPyu7vwtDrQFq8jeSA=="
|
||||
}
|
||||
}
|
||||
},
|
||||
|
@ -738,6 +761,11 @@
|
|||
"xtend": "^4.0.0"
|
||||
}
|
||||
},
|
||||
"ieee754": {
|
||||
"version": "1.1.13",
|
||||
"resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.1.13.tgz",
|
||||
"integrity": "sha512-4vf7I2LYV/HaWerSo3XmlMkp5eZ83i+/CDluXi/IGTs/O1sejBNhTtnxzmRZfvOUqj7lZjqHkeTvpgSFDlWZTg=="
|
||||
},
|
||||
"inflight": {
|
||||
"version": "1.0.6",
|
||||
"resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz",
|
||||
|
@ -885,9 +913,9 @@
|
|||
}
|
||||
},
|
||||
"mqtt": {
|
||||
"version": "4.2.0",
|
||||
"resolved": "https://registry.npmjs.org/mqtt/-/mqtt-4.2.0.tgz",
|
||||
"integrity": "sha512-CGMLigAKCp0hknWPM15yuZRbVrfQjZCG9Wn3GXDEfY2chDmUi5GT3UQ3OhTtMi7fELYb2s4Q/QiWv+dECQ7ZQg==",
|
||||
"version": "4.2.1",
|
||||
"resolved": "https://registry.npmjs.org/mqtt/-/mqtt-4.2.1.tgz",
|
||||
"integrity": "sha512-Iv893r+jWlo5GkNcPOfCGwW8M49IixwHiKLFFYTociEymSibUVCORVEjPXWPGzSxhn7BdlUeHicbRmWiv0Crkg==",
|
||||
"requires": {
|
||||
"base64-js": "^1.3.0",
|
||||
"commist": "^1.0.0",
|
||||
|
@ -915,15 +943,13 @@
|
|||
}
|
||||
},
|
||||
"mqtt-packet": {
|
||||
"version": "6.3.2",
|
||||
"resolved": "https://registry.npmjs.org/mqtt-packet/-/mqtt-packet-6.3.2.tgz",
|
||||
"integrity": "sha512-i56+2kN6F57KInGtjjfUXSl4xG8u/zOvfaXFLKFAbBXzWkXOmwcmjaSCBPayf2IQCkQU0+h+S2DizCo3CF6gQA==",
|
||||
"version": "6.5.0",
|
||||
"resolved": "https://registry.npmjs.org/mqtt-packet/-/mqtt-packet-6.5.0.tgz",
|
||||
"integrity": "sha512-Pzv0auCMip3D2JZId5n8q084ASyi3AvpjP1qJUf9d/gjuk2YkjD5xSUe/KPKgXIqfr5x99bRm5FdAm7ag96RBQ==",
|
||||
"requires": {
|
||||
"bl": "^1.2.2",
|
||||
"bl": "^4.0.2",
|
||||
"debug": "^4.1.1",
|
||||
"inherits": "^2.0.3",
|
||||
"process-nextick-args": "^2.0.0",
|
||||
"safe-buffer": "^5.1.2"
|
||||
"process-nextick-args": "^2.0.1"
|
||||
}
|
||||
},
|
||||
"ms": {
|
||||
|
@ -945,9 +971,9 @@
|
|||
}
|
||||
},
|
||||
"node-fetch": {
|
||||
"version": "2.6.0",
|
||||
"resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.0.tgz",
|
||||
"integrity": "sha512-8dG4H5ujfvFiqDmVu9fQ5bOHUC15JMjMY/Zumv26oOvvVJjM67KF8koCWIabKQ1GJIa9r2mMZscBq/TbdOcmNA=="
|
||||
"version": "2.6.1",
|
||||
"resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.1.tgz",
|
||||
"integrity": "sha512-V4aYg89jEoVRxRb2fJdAg8FHvI7cEyYdVAh94HH0UIK8oJxUfkjlDQN9RbMx+bEjP7+ggMiFRprSti032Oipxw=="
|
||||
},
|
||||
"once": {
|
||||
"version": "1.4.0",
|
||||
|
@ -1099,9 +1125,9 @@
|
|||
"dev": true
|
||||
},
|
||||
"split2": {
|
||||
"version": "3.2.1",
|
||||
"resolved": "https://registry.npmjs.org/split2/-/split2-3.2.1.tgz",
|
||||
"integrity": "sha512-wmX3JdfKWWghQSjezpJyMxlFodG/vNbV/Y9scsCqYSDWo0nCdteOdzqh8z1NDxpcIZB6BhkqWo6642VI/HA3oA==",
|
||||
"version": "3.2.2",
|
||||
"resolved": "https://registry.npmjs.org/split2/-/split2-3.2.2.tgz",
|
||||
"integrity": "sha512-9NThjpgZnifTkJpzTZ7Eue85S49QwpNhZTq6GRJwObb6jnLFNGB7Qm73V5HewTROPyxD0C29xqmaI68bQtV+hg==",
|
||||
"requires": {
|
||||
"readable-stream": "^3.0.0"
|
||||
},
|
||||
|
|
|
@ -38,4 +38,4 @@
|
|||
"debug": "^4.1.1",
|
||||
"uuid": "^3.3.2"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -220,6 +220,50 @@
|
|||
"tslib": "^1.9.3"
|
||||
}
|
||||
},
|
||||
"@azure/ms-rest-js": {
|
||||
"version": "2.0.8",
|
||||
"resolved": "https://registry.npmjs.org/@azure/ms-rest-js/-/ms-rest-js-2.0.8.tgz",
|
||||
"integrity": "sha512-PO4pnYaF66IAB/RWbhrTprGyhOzDzsgcbT7z8k3O38JKlwifbrhW+8M0fzx0ScZnaacP8rZyBazYMUF9P12c0g==",
|
||||
"requires": {
|
||||
"@types/node-fetch": "^2.3.7",
|
||||
"@types/tunnel": "0.0.1",
|
||||
"abort-controller": "^3.0.0",
|
||||
"form-data": "^2.5.0",
|
||||
"node-fetch": "^2.6.0",
|
||||
"tough-cookie": "^3.0.1",
|
||||
"tslib": "^1.10.0",
|
||||
"tunnel": "0.0.6",
|
||||
"uuid": "^3.3.2",
|
||||
"xml2js": "^0.4.19"
|
||||
},
|
||||
"dependencies": {
|
||||
"form-data": {
|
||||
"version": "2.5.1",
|
||||
"resolved": "https://registry.npmjs.org/form-data/-/form-data-2.5.1.tgz",
|
||||
"integrity": "sha512-m21N3WOmEEURgk6B9GLOE4RuWOFf28Lhh9qGYeNlGq4VDXUlJy2th2slBNU8Gp8EzloYZOibZJ7t5ecIrFSjVA==",
|
||||
"requires": {
|
||||
"asynckit": "^0.4.0",
|
||||
"combined-stream": "^1.0.6",
|
||||
"mime-types": "^2.1.12"
|
||||
}
|
||||
},
|
||||
"tough-cookie": {
|
||||
"version": "3.0.1",
|
||||
"resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-3.0.1.tgz",
|
||||
"integrity": "sha512-yQyJ0u4pZsv9D4clxO69OEjLWYw+jbgspjTue4lTQZLfV0c5l1VmK2y1JK8E9ahdpltPOaAThPcp5nKPUgSnsg==",
|
||||
"requires": {
|
||||
"ip-regex": "^2.1.0",
|
||||
"psl": "^1.1.28",
|
||||
"punycode": "^2.1.1"
|
||||
}
|
||||
},
|
||||
"tunnel": {
|
||||
"version": "0.0.6",
|
||||
"resolved": "https://registry.npmjs.org/tunnel/-/tunnel-0.0.6.tgz",
|
||||
"integrity": "sha512-1h/Lnq9yajKY2PEbBadPXj3VxsDDu844OnaAo52UVmIzIvwwtBPIuNvkjuzBlTWpfJyUbG3ez0KSBibQkj4ojg=="
|
||||
}
|
||||
}
|
||||
},
|
||||
"@azure/storage-blob": {
|
||||
"version": "12.1.2",
|
||||
"resolved": "https://registry.npmjs.org/@azure/storage-blob/-/storage-blob-12.1.2.tgz",
|
||||
|
@ -2967,6 +3011,14 @@
|
|||
"integrity": "sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==",
|
||||
"dev": true
|
||||
},
|
||||
"abort-controller": {
|
||||
"version": "3.0.0",
|
||||
"resolved": "https://registry.npmjs.org/abort-controller/-/abort-controller-3.0.0.tgz",
|
||||
"integrity": "sha512-h8lQ8tacZYnR3vNQTgibj+tODHI5/+l06Au2Pcriv/Gmet0eaj4TwWH41sO9wnHDiQsEj19q0drzdWdeAHtweg==",
|
||||
"requires": {
|
||||
"event-target-shim": "^5.0.0"
|
||||
}
|
||||
},
|
||||
"adal-node": {
|
||||
"version": "0.1.28",
|
||||
"resolved": "https://registry.npmjs.org/adal-node/-/adal-node-0.1.28.tgz",
|
||||
|
@ -3316,6 +3368,11 @@
|
|||
"integrity": "sha1-D+9a1G8b16hQLGVyfwNn1e5D1pY=",
|
||||
"dev": true
|
||||
},
|
||||
"autorest": {
|
||||
"version": "2.0.4413",
|
||||
"resolved": "https://registry.npmjs.org/autorest/-/autorest-2.0.4413.tgz",
|
||||
"integrity": "sha512-Ttx/O6Yag5q8fpJDvllgf/joLuVPBySkbAqDF7+9jAmscCPQplYjA9H/N12bwkhh+6YR3ugWZHQq3NTN33hkAg=="
|
||||
},
|
||||
"aws-sign2": {
|
||||
"version": "0.7.0",
|
||||
"resolved": "https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.7.0.tgz",
|
||||
|
@ -5356,6 +5413,11 @@
|
|||
"es5-ext": "~0.10.14"
|
||||
}
|
||||
},
|
||||
"event-target-shim": {
|
||||
"version": "5.0.1",
|
||||
"resolved": "https://registry.npmjs.org/event-target-shim/-/event-target-shim-5.0.1.tgz",
|
||||
"integrity": "sha512-i/2XbnSz/uxRCU6+NdVJgKWDTM427+MqYbkQzD321DuCQJUqOuJKIA0IM2+W2xtYHdKOmZ4dR6fExsd4SXL+WQ=="
|
||||
},
|
||||
"eventemitter3": {
|
||||
"version": "3.1.2",
|
||||
"resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-3.1.2.tgz",
|
||||
|
@ -7080,6 +7142,11 @@
|
|||
"integrity": "sha1-vd7XARQpCCjAoDnnLvJfWq7ENUo=",
|
||||
"dev": true
|
||||
},
|
||||
"ip-regex": {
|
||||
"version": "2.1.0",
|
||||
"resolved": "https://registry.npmjs.org/ip-regex/-/ip-regex-2.1.0.tgz",
|
||||
"integrity": "sha1-+ni/XS5pE8kRzp+BnuUUa7bYROk="
|
||||
},
|
||||
"is-absolute": {
|
||||
"version": "1.0.0",
|
||||
"resolved": "https://registry.npmjs.org/is-absolute/-/is-absolute-1.0.0.tgz",
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "azure-iot-provisioning-device",
|
||||
"version": "1.8.4",
|
||||
"version": "1.8.5",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
|
@ -424,9 +424,9 @@
|
|||
"integrity": "sha512-TR2mEZFVOj2pLStYxLht7TyfuRzaydfpxr3k9RpHIzMgw7A64dzsdqCxH1WJyQdoe8T10nDXd9wnEigmiuHIZw=="
|
||||
},
|
||||
"azure-iot-common": {
|
||||
"version": "1.12.4",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-common/-/azure-iot-common-1.12.4.tgz",
|
||||
"integrity": "sha512-iCIx7NW4DcxCzT83+fwxTlTk2ipMvgt6P6yuL7gLbFFXB60oa6b3CqkT6/ArTGV4gfORcipAhMBZv7igD6oTsA==",
|
||||
"version": "1.12.5",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-common/-/azure-iot-common-1.12.5.tgz",
|
||||
"integrity": "sha512-CEr5eN7FZ5a8VmFMSlInq6oYDjlPRcd22jpy1qS7XWz5I8exqrV3wmSP/z8wlT4BVePcnn4Fo4JfFVc8XS1Ung==",
|
||||
"requires": {
|
||||
"debug": "^4.1.1",
|
||||
"getos": "^3.1.1"
|
||||
|
|
|
@ -76,4 +76,4 @@
|
|||
"url": "https://github.com/Azure/azure-iot-sdk-node/issues"
|
||||
},
|
||||
"homepage": "https://github.com/Azure/azure-iot-sdk-node#readme"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -36,9 +36,9 @@
|
|||
}
|
||||
},
|
||||
"@azure/core-http": {
|
||||
"version": "1.1.6",
|
||||
"resolved": "https://registry.npmjs.org/@azure/core-http/-/core-http-1.1.6.tgz",
|
||||
"integrity": "sha512-/C+qNzhwlLKt0F6SjaBEyY2pwZvwL2LviyS5PHlCh77qWuTF1sETmYAINM88BCN+kke+UlECK4YOQaAjJwyHvQ==",
|
||||
"version": "1.1.7",
|
||||
"resolved": "https://registry.npmjs.org/@azure/core-http/-/core-http-1.1.7.tgz",
|
||||
"integrity": "sha512-UmYMY22Zczg/hCtYuM/0KoV2kVc6juj4mrb5uYgBmmxQ9NIIZrpjgCdVSlYQNClpyrvaIMnecRFMqrZywzhiJA==",
|
||||
"requires": {
|
||||
"@azure/abort-controller": "^1.0.0",
|
||||
"@azure/core-auth": "^1.1.3",
|
||||
|
@ -99,9 +99,9 @@
|
|||
}
|
||||
},
|
||||
"@azure/core-paging": {
|
||||
"version": "1.1.1",
|
||||
"resolved": "https://registry.npmjs.org/@azure/core-paging/-/core-paging-1.1.1.tgz",
|
||||
"integrity": "sha512-hqEJBEGKan4YdOaL9ZG/GRG6PXaFd/Wb3SSjQW4LWotZzgl6xqG00h6wmkrpd2NNkbBkD1erLHBO3lPHApv+iQ==",
|
||||
"version": "1.1.2",
|
||||
"resolved": "https://registry.npmjs.org/@azure/core-paging/-/core-paging-1.1.2.tgz",
|
||||
"integrity": "sha512-6wZ+LrF8zwAuukvYsiff+uMNkVu9HZt8gRs/1o5377Cz9354y23QI7eZM0iwTfO38c8LZUSvzLJSqdM4T1QXxA==",
|
||||
"requires": {
|
||||
"@azure/core-asynciterator-polyfill": "^1.0.0"
|
||||
}
|
||||
|
@ -159,9 +159,9 @@
|
|||
"integrity": "sha512-5bHhlTBBq82ti3qPT15TRxkYTFPPQWbnkkQkmHPtqiS1XcTB69cEKd3Jm7Cfi/vkPoyxapmePE9tyA7EzLt8SQ=="
|
||||
},
|
||||
"@types/node": {
|
||||
"version": "14.6.0",
|
||||
"resolved": "https://registry.npmjs.org/@types/node/-/node-14.6.0.tgz",
|
||||
"integrity": "sha512-mikldZQitV94akrc4sCcSjtJfsTKt4p+e/s0AGscVA6XArQ9kFclP+ZiYUMnq987rc6QlYxXv/EivqlfSLxpKA=="
|
||||
"version": "14.6.4",
|
||||
"resolved": "https://registry.npmjs.org/@types/node/-/node-14.6.4.tgz",
|
||||
"integrity": "sha512-Wk7nG1JSaMfMpoMJDKUsWYugliB2Vy55pdjLpmLixeyMi7HizW2I/9QoxsPCkXl3dO+ZOVqPumKaDUv5zJu2uQ=="
|
||||
},
|
||||
"@types/node-fetch": {
|
||||
"version": "2.5.7",
|
||||
|
@ -223,12 +223,12 @@
|
|||
"integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k="
|
||||
},
|
||||
"azure-iot-amqp-base": {
|
||||
"version": "2.4.4",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-amqp-base/-/azure-iot-amqp-base-2.4.4.tgz",
|
||||
"integrity": "sha512-NAAbq4Xf1rQf2BHegLBFvzhC0iszkWL7rVo8z2NgFi5+U7cdKPZ/6AjvloznXvN6Q/sdarghcYPH2XjTTz223A==",
|
||||
"version": "2.4.5",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-amqp-base/-/azure-iot-amqp-base-2.4.5.tgz",
|
||||
"integrity": "sha512-CmWklSc/OsY1p0WzICN5w03T/QrySaNnwjUOfzHbT9ikmHc9dzr4AYgOmVHXxhUimdaoRxGnmHHL873JnsCqhA==",
|
||||
"requires": {
|
||||
"async": "^2.6.2",
|
||||
"azure-iot-common": "1.12.4",
|
||||
"azure-iot-common": "1.12.5",
|
||||
"debug": "^4.1.1",
|
||||
"lodash.merge": "^4.6.1",
|
||||
"machina": "^4.0.2",
|
||||
|
@ -253,38 +253,38 @@
|
|||
}
|
||||
},
|
||||
"azure-iot-common": {
|
||||
"version": "1.12.4",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-common/-/azure-iot-common-1.12.4.tgz",
|
||||
"integrity": "sha512-iCIx7NW4DcxCzT83+fwxTlTk2ipMvgt6P6yuL7gLbFFXB60oa6b3CqkT6/ArTGV4gfORcipAhMBZv7igD6oTsA==",
|
||||
"version": "1.12.5",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-common/-/azure-iot-common-1.12.5.tgz",
|
||||
"integrity": "sha512-CEr5eN7FZ5a8VmFMSlInq6oYDjlPRcd22jpy1qS7XWz5I8exqrV3wmSP/z8wlT4BVePcnn4Fo4JfFVc8XS1Ung==",
|
||||
"requires": {
|
||||
"debug": "^4.1.1",
|
||||
"getos": "^3.1.1"
|
||||
}
|
||||
},
|
||||
"azure-iot-device": {
|
||||
"version": "1.17.0",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-device/-/azure-iot-device-1.17.0.tgz",
|
||||
"integrity": "sha512-ItHxujjLE/GdwhuH4fJTuIhPMHxBzfOkd62U1iKTHYE1wgvts7m9BzqSGEP410/O1BXng+QlFw5VZchmXQerUg==",
|
||||
"version": "1.17.1",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-device/-/azure-iot-device-1.17.1.tgz",
|
||||
"integrity": "sha512-GA0TYrmfTjUc2A0xkcur4HqCIfFDe+aKLVqd4EtTPwQFRJ/uAVCKTeR/lWwYGoP5xmki9/jN4bcaclF2moF50A==",
|
||||
"requires": {
|
||||
"@azure/abort-controller": "1.0.1",
|
||||
"@azure/storage-blob": "^12.0.0",
|
||||
"azure-iot-common": "1.12.4",
|
||||
"azure-iot-http-base": "1.11.4",
|
||||
"azure-iot-common": "1.12.5",
|
||||
"azure-iot-http-base": "1.11.5",
|
||||
"debug": "^4.1.1",
|
||||
"lodash": "^4.17.15",
|
||||
"lodash": "^4.17.20",
|
||||
"machina": "^4.0.2",
|
||||
"traverse": "^0.6.6"
|
||||
}
|
||||
},
|
||||
"azure-iot-device-amqp": {
|
||||
"version": "1.13.0",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-device-amqp/-/azure-iot-device-amqp-1.13.0.tgz",
|
||||
"integrity": "sha512-h8dUdfObBQe8e/coPkmmrOCsQwV5DFPRzHEpMyNMhRPOO3q3Y5bWiipdgmFs62i4Tn7w4dy4HUvCAPihwAsNVg==",
|
||||
"version": "1.13.1",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-device-amqp/-/azure-iot-device-amqp-1.13.1.tgz",
|
||||
"integrity": "sha512-YM41jR278R/IewTiTxVZNXR3KGz2iNrbziPa0qdqJIiyTNWTH/KMWlMIk06kx7sABgMPGikX3J0S9MTrTsQMIQ==",
|
||||
"requires": {
|
||||
"async": "^2.6.2",
|
||||
"azure-iot-amqp-base": "2.4.4",
|
||||
"azure-iot-common": "1.12.4",
|
||||
"azure-iot-device": "1.17.0",
|
||||
"azure-iot-amqp-base": "2.4.5",
|
||||
"azure-iot-common": "1.12.5",
|
||||
"azure-iot-device": "1.17.1",
|
||||
"debug": "^4.1.1",
|
||||
"machina": "^4.0.2",
|
||||
"rhea": "^1.0.15",
|
||||
|
@ -307,25 +307,25 @@
|
|||
}
|
||||
},
|
||||
"azure-iot-device-http": {
|
||||
"version": "1.13.0",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-device-http/-/azure-iot-device-http-1.13.0.tgz",
|
||||
"integrity": "sha512-Rrec/2HjMuyDbmz/mmxycao2mHAY3ZZiG6u3hKZgMySGZI0MVSRo4mMR+AQlmbudVKbDGzsDC4tHYPNcRmrc+w==",
|
||||
"version": "1.13.1",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-device-http/-/azure-iot-device-http-1.13.1.tgz",
|
||||
"integrity": "sha512-L5ZmBcikCxo1MVXrzEzvS1kH4cWEZ1xhCJ9FdYqWTIMQKoXoIvtm58zR4Jy0Z1LtXEWJazFM7qNu4qy9McQ6CA==",
|
||||
"requires": {
|
||||
"azure-iot-common": "1.12.4",
|
||||
"azure-iot-device": "1.17.0",
|
||||
"azure-iot-http-base": "1.11.4",
|
||||
"azure-iot-common": "1.12.5",
|
||||
"azure-iot-device": "1.17.1",
|
||||
"azure-iot-http-base": "1.11.5",
|
||||
"debug": "^4.1.1",
|
||||
"node-crontab": "^0.0.8"
|
||||
}
|
||||
},
|
||||
"azure-iot-device-mqtt": {
|
||||
"version": "1.15.0",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-device-mqtt/-/azure-iot-device-mqtt-1.15.0.tgz",
|
||||
"integrity": "sha512-mPK5g6Yd7fziMfuoATqldqsK8OVDY2V89xhF9JIiP+JIu750mr9McR5jkEVWquiXIA7ZNfJOo/vasYHu4i1x8Q==",
|
||||
"version": "1.15.1",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-device-mqtt/-/azure-iot-device-mqtt-1.15.1.tgz",
|
||||
"integrity": "sha512-iHBmiY6/g/BmzGKj9MMWlJkP5TgQLis2aS8Ap2O/kyIoN5h5hFEbiulFMT8C/Alqp7e541mzairFXouiKD1SqQ==",
|
||||
"requires": {
|
||||
"azure-iot-common": "1.12.4",
|
||||
"azure-iot-device": "1.17.0",
|
||||
"azure-iot-mqtt-base": "1.12.4",
|
||||
"azure-iot-common": "1.12.5",
|
||||
"azure-iot-device": "1.17.1",
|
||||
"azure-iot-mqtt-base": "1.12.5",
|
||||
"debug": "^4.1.1",
|
||||
"machina": "^4.0.2",
|
||||
"uuid": "^3.3.2"
|
||||
|
@ -339,11 +339,11 @@
|
|||
}
|
||||
},
|
||||
"azure-iot-http-base": {
|
||||
"version": "1.11.4",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-http-base/-/azure-iot-http-base-1.11.4.tgz",
|
||||
"integrity": "sha512-OsucwoptU5BTPQI+GvSjc0KRzPvfankvhgxQ+PfsCsVLmlU8mjsQNXBTsE5WU1PPP5hem6XwjbpnZgAo0i2GbA==",
|
||||
"version": "1.11.5",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-http-base/-/azure-iot-http-base-1.11.5.tgz",
|
||||
"integrity": "sha512-8loD9dr+dwug+DWfGKBe1/iE7qdRZZ/08Rxj7UHIcdncZec7+Xf2DAGGPxvh9aKDJy/OxIglh12o3YjxeAnjjA==",
|
||||
"requires": {
|
||||
"azure-iot-common": "1.12.4",
|
||||
"azure-iot-common": "1.12.5",
|
||||
"debug": "^4.1.1",
|
||||
"uuid": "^3.3.2"
|
||||
},
|
||||
|
@ -356,35 +356,43 @@
|
|||
}
|
||||
},
|
||||
"azure-iot-mqtt-base": {
|
||||
"version": "1.12.4",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-mqtt-base/-/azure-iot-mqtt-base-1.12.4.tgz",
|
||||
"integrity": "sha512-VXd9AudDlZkbmWjIGnebfZnXJC1TRliILD8oX+w/Z2cZWW/DB3edLHI51H157rOBXbIgZoy2AEpnoIm3LUU/sQ==",
|
||||
"version": "1.12.5",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-mqtt-base/-/azure-iot-mqtt-base-1.12.5.tgz",
|
||||
"integrity": "sha512-a8J/9lqJqjJG+YuLw4+rP9lCWrwEBAClih5RFV9PNy+vkLC7+bv2kEGy+d4jT38zdom2MgzKwHTKsYEDNwdjpA==",
|
||||
"requires": {
|
||||
"azure-iot-common": "1.12.4",
|
||||
"azure-iot-common": "1.12.5",
|
||||
"debug": "^4.1.1",
|
||||
"machina": "^4.0.2",
|
||||
"mqtt": "^4.0.0"
|
||||
"mqtt": "^4.0.0",
|
||||
"uuid": "^3.3.2"
|
||||
},
|
||||
"dependencies": {
|
||||
"uuid": {
|
||||
"version": "3.4.0",
|
||||
"resolved": "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz",
|
||||
"integrity": "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A=="
|
||||
}
|
||||
}
|
||||
},
|
||||
"azure-iot-provisioning-device": {
|
||||
"version": "1.8.4",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-provisioning-device/-/azure-iot-provisioning-device-1.8.4.tgz",
|
||||
"integrity": "sha512-LmZQnXclp5aQYqevj3vdq/41TnkEYRih2GzHkkMY/keeIkfTSu5S03euPvQz3yx7+HsL9qsKOd10Ywp3uhhr0Q==",
|
||||
"version": "1.8.5",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-provisioning-device/-/azure-iot-provisioning-device-1.8.5.tgz",
|
||||
"integrity": "sha512-RLgbYmzyjU1DHL+rdYZEpRu5S+PMG6y68CZkwpGPmY5AFGxQiSMNzSjGC2BNG4b2Rz8qjcKMMiKC5AfR2BQX3A==",
|
||||
"requires": {
|
||||
"azure-iot-common": "1.12.4",
|
||||
"azure-iot-common": "1.12.5",
|
||||
"debug": "^4.1.1",
|
||||
"machina": "^4.0.2"
|
||||
}
|
||||
},
|
||||
"azure-iot-provisioning-device-amqp": {
|
||||
"version": "1.8.4",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-provisioning-device-amqp/-/azure-iot-provisioning-device-amqp-1.8.4.tgz",
|
||||
"integrity": "sha512-zyNd+JdN87peUlan33/LOAa6QiRAzFwOUx79OOkPfdW421pP3dTBDuWmnXKxMAUXK/rBPR48J/0N6Hp5cFN/Hg==",
|
||||
"version": "1.8.5",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-provisioning-device-amqp/-/azure-iot-provisioning-device-amqp-1.8.5.tgz",
|
||||
"integrity": "sha512-Wtv4UFiruk1EfmDXOk8zwRNeOrH5lGnBB+b5dljo4apu9xhlZlthUu3NWNKOfz4ZJMUHWWK84T6dzCnjTyaWMw==",
|
||||
"requires": {
|
||||
"async": "^2.6.2",
|
||||
"azure-iot-amqp-base": "2.4.4",
|
||||
"azure-iot-common": "1.12.4",
|
||||
"azure-iot-provisioning-device": "1.8.4",
|
||||
"azure-iot-amqp-base": "2.4.5",
|
||||
"azure-iot-common": "1.12.5",
|
||||
"azure-iot-provisioning-device": "1.8.5",
|
||||
"buffer-builder": "^0.2.0",
|
||||
"debug": "^4.1.1",
|
||||
"machina": "^4.0.2",
|
||||
|
@ -408,25 +416,25 @@
|
|||
}
|
||||
},
|
||||
"azure-iot-provisioning-device-http": {
|
||||
"version": "1.8.4",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-provisioning-device-http/-/azure-iot-provisioning-device-http-1.8.4.tgz",
|
||||
"integrity": "sha512-RfiT8x2/VL1su2m22ZLCoK+5owjIcb52j29eE5G/geTYM5q8Eg9jm8+jDPwo+PLlhlm/naouuznoaV9tlsgAYQ==",
|
||||
"version": "1.8.5",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-provisioning-device-http/-/azure-iot-provisioning-device-http-1.8.5.tgz",
|
||||
"integrity": "sha512-BcAUbB3Xh6wyTuJZXpEIgZWQoRGiiIw9ZcdFBNcNPkRSrZ+a+4Xd0a7RWIXVwgOwejv7kB4aT8OfQ6xX8eMACQ==",
|
||||
"requires": {
|
||||
"azure-iot-common": "1.12.4",
|
||||
"azure-iot-http-base": "1.11.4",
|
||||
"azure-iot-provisioning-device": "1.8.4",
|
||||
"azure-iot-common": "1.12.5",
|
||||
"azure-iot-http-base": "1.11.5",
|
||||
"azure-iot-provisioning-device": "1.8.5",
|
||||
"debug": "^4.1.1",
|
||||
"machina": "^4.0.2"
|
||||
}
|
||||
},
|
||||
"azure-iot-provisioning-device-mqtt": {
|
||||
"version": "1.7.4",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-provisioning-device-mqtt/-/azure-iot-provisioning-device-mqtt-1.7.4.tgz",
|
||||
"integrity": "sha512-LP0dv4jdGe7G1F+Nkwq4axiPcvaiNILTYWWPrIApilqIdlWE4jP8JPGac0AUnCzjHJ7nkmhm3CXWCHlJXz+dKA==",
|
||||
"version": "1.7.5",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-provisioning-device-mqtt/-/azure-iot-provisioning-device-mqtt-1.7.5.tgz",
|
||||
"integrity": "sha512-bAQbM2j0UeOYLjDlrJae2Obin6znrr9+ViaY9QdpOZ4PdMRL28XkXWgRa82iwP62/vo4902Or3AouQ1khiny2A==",
|
||||
"requires": {
|
||||
"azure-iot-common": "1.12.4",
|
||||
"azure-iot-mqtt-base": "1.12.4",
|
||||
"azure-iot-provisioning-device": "1.8.4",
|
||||
"azure-iot-common": "1.12.5",
|
||||
"azure-iot-mqtt-base": "1.12.5",
|
||||
"azure-iot-provisioning-device": "1.8.5",
|
||||
"debug": "^4.1.1",
|
||||
"machina": "^4.0.2",
|
||||
"uuid": "^3.3.2"
|
||||
|
@ -440,20 +448,20 @@
|
|||
}
|
||||
},
|
||||
"azure-iot-security-symmetric-key": {
|
||||
"version": "1.7.4",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-security-symmetric-key/-/azure-iot-security-symmetric-key-1.7.4.tgz",
|
||||
"integrity": "sha512-FB4oqvE37Ms9Sxg0cZTKBkDlDvJnCWcAeS4Hw5uPNGJ3W2yXzOc85wiNp/bqVzslGbv/rxSj2TAtDHFEjslVdQ==",
|
||||
"version": "1.7.5",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-security-symmetric-key/-/azure-iot-security-symmetric-key-1.7.5.tgz",
|
||||
"integrity": "sha512-6eYf6h4YI0u8r24nrhJmpayJ8FI4/Z7r9gBrbOSaYL/ee0WHzu1ofxSd4j4/r+RnmoYuGWwZ9NGmXmiyYK1xXg==",
|
||||
"requires": {
|
||||
"azure-iot-common": "1.12.4",
|
||||
"azure-iot-common": "1.12.5",
|
||||
"debug": "^4.1.1"
|
||||
}
|
||||
},
|
||||
"azure-iot-security-tpm": {
|
||||
"version": "1.8.4",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-security-tpm/-/azure-iot-security-tpm-1.8.4.tgz",
|
||||
"integrity": "sha512-8FfptOcMK8ppPLwnZHq68iYfWYESjSmGVmNEsHPFbAO8tD8MGk/qDpWXGCbyXBikeCwVAdSI/1UCB0zAs1qspQ==",
|
||||
"version": "1.8.5",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-security-tpm/-/azure-iot-security-tpm-1.8.5.tgz",
|
||||
"integrity": "sha512-CklPAZKCkXBiDu2Fd9ds+U4Mn+g4QpTOk/kUJ1NrzNbmDzi9wA9s6hXbIJTv4Q9NyKhVofwr+JFB55nsThyGoQ==",
|
||||
"requires": {
|
||||
"azure-iot-common": "1.12.4",
|
||||
"azure-iot-common": "1.12.5",
|
||||
"base32-encode": "^1.0.0",
|
||||
"debug": "^4.1.1",
|
||||
"machina": "^4.0.2",
|
||||
|
@ -461,11 +469,11 @@
|
|||
}
|
||||
},
|
||||
"azure-iot-security-x509": {
|
||||
"version": "1.7.4",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-security-x509/-/azure-iot-security-x509-1.7.4.tgz",
|
||||
"integrity": "sha512-WEXKZVRyhmk49gl4YyWvb1hhyTCqMZjDJjiEdGo5Y4bH2bngUuIfLDRwp+7V/XXqD0qBf5xJdWbPVWNg1toWdg==",
|
||||
"version": "1.7.5",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-security-x509/-/azure-iot-security-x509-1.7.5.tgz",
|
||||
"integrity": "sha512-fluKQGgopOfdpjR60J3CiSsAJH5qxFuZJuXf/bARwg3ahGb41KGuX9OwdUtXiInxQyn9Pkc1dQFiCi3QCkhChg==",
|
||||
"requires": {
|
||||
"azure-iot-common": "1.12.4",
|
||||
"azure-iot-common": "1.12.5",
|
||||
"debug": "^4.1.1"
|
||||
}
|
||||
},
|
||||
|
@ -494,12 +502,25 @@
|
|||
}
|
||||
},
|
||||
"bl": {
|
||||
"version": "1.2.2",
|
||||
"resolved": "https://registry.npmjs.org/bl/-/bl-1.2.2.tgz",
|
||||
"integrity": "sha512-e8tQYnZodmebYDWGH7KMRvtzKXaJHx3BbilrgZCfvyLUYdKpK1t5PSPmpkny/SgiTSCnjfLW7v5rlONXVFkQEA==",
|
||||
"version": "4.0.3",
|
||||
"resolved": "https://registry.npmjs.org/bl/-/bl-4.0.3.tgz",
|
||||
"integrity": "sha512-fs4G6/Hu4/EE+F75J8DuN/0IpQqNjAdC7aEQv7Qt8MHGUH7Ckv2MwTEEeN9QehD0pfIDkMI1bkHYkKy7xHyKIg==",
|
||||
"requires": {
|
||||
"readable-stream": "^2.3.5",
|
||||
"safe-buffer": "^5.1.1"
|
||||
"buffer": "^5.5.0",
|
||||
"inherits": "^2.0.4",
|
||||
"readable-stream": "^3.4.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"readable-stream": {
|
||||
"version": "3.6.0",
|
||||
"resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz",
|
||||
"integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==",
|
||||
"requires": {
|
||||
"inherits": "^2.0.3",
|
||||
"string_decoder": "^1.1.1",
|
||||
"util-deprecate": "^1.0.1"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"brace-expansion": {
|
||||
|
@ -511,6 +532,15 @@
|
|||
"concat-map": "0.0.1"
|
||||
}
|
||||
},
|
||||
"buffer": {
|
||||
"version": "5.6.0",
|
||||
"resolved": "https://registry.npmjs.org/buffer/-/buffer-5.6.0.tgz",
|
||||
"integrity": "sha512-/gDYp/UtU0eA1ys8bOs9J6a+E/KWIY+DZ+Q2WESNUA0jFRsJOc0SNUO6xJ5SGA1xueg3NL65W6s+NY5l9cunuw==",
|
||||
"requires": {
|
||||
"base64-js": "^1.0.2",
|
||||
"ieee754": "^1.1.4"
|
||||
}
|
||||
},
|
||||
"buffer-builder": {
|
||||
"version": "0.2.0",
|
||||
"resolved": "https://registry.npmjs.org/buffer-builder/-/buffer-builder-0.2.0.tgz",
|
||||
|
@ -702,9 +732,9 @@
|
|||
},
|
||||
"dependencies": {
|
||||
"type": {
|
||||
"version": "2.0.0",
|
||||
"resolved": "https://registry.npmjs.org/type/-/type-2.0.0.tgz",
|
||||
"integrity": "sha512-KBt58xCHry4Cejnc2ISQAF7QY+ORngsWfxezO68+12hKV6lQY8P/psIkcbjeHWn7MqcgciWJyCCevFMJdIXpow=="
|
||||
"version": "2.1.0",
|
||||
"resolved": "https://registry.npmjs.org/type/-/type-2.1.0.tgz",
|
||||
"integrity": "sha512-G9absDWvhAWCV2gmF1zKud3OyC61nZDwWvBL2DApaVFogI07CprggiQAOOjvp2NRjYWFzPyu7vwtDrQFq8jeSA=="
|
||||
}
|
||||
}
|
||||
},
|
||||
|
@ -832,6 +862,11 @@
|
|||
"xtend": "^4.0.0"
|
||||
}
|
||||
},
|
||||
"ieee754": {
|
||||
"version": "1.1.13",
|
||||
"resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.1.13.tgz",
|
||||
"integrity": "sha512-4vf7I2LYV/HaWerSo3XmlMkp5eZ83i+/CDluXi/IGTs/O1sejBNhTtnxzmRZfvOUqj7lZjqHkeTvpgSFDlWZTg=="
|
||||
},
|
||||
"inflight": {
|
||||
"version": "1.0.6",
|
||||
"resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz",
|
||||
|
@ -954,9 +989,9 @@
|
|||
"integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw=="
|
||||
},
|
||||
"mqtt": {
|
||||
"version": "4.2.0",
|
||||
"resolved": "https://registry.npmjs.org/mqtt/-/mqtt-4.2.0.tgz",
|
||||
"integrity": "sha512-CGMLigAKCp0hknWPM15yuZRbVrfQjZCG9Wn3GXDEfY2chDmUi5GT3UQ3OhTtMi7fELYb2s4Q/QiWv+dECQ7ZQg==",
|
||||
"version": "4.2.1",
|
||||
"resolved": "https://registry.npmjs.org/mqtt/-/mqtt-4.2.1.tgz",
|
||||
"integrity": "sha512-Iv893r+jWlo5GkNcPOfCGwW8M49IixwHiKLFFYTociEymSibUVCORVEjPXWPGzSxhn7BdlUeHicbRmWiv0Crkg==",
|
||||
"requires": {
|
||||
"base64-js": "^1.3.0",
|
||||
"commist": "^1.0.0",
|
||||
|
@ -984,15 +1019,13 @@
|
|||
}
|
||||
},
|
||||
"mqtt-packet": {
|
||||
"version": "6.3.2",
|
||||
"resolved": "https://registry.npmjs.org/mqtt-packet/-/mqtt-packet-6.3.2.tgz",
|
||||
"integrity": "sha512-i56+2kN6F57KInGtjjfUXSl4xG8u/zOvfaXFLKFAbBXzWkXOmwcmjaSCBPayf2IQCkQU0+h+S2DizCo3CF6gQA==",
|
||||
"version": "6.5.0",
|
||||
"resolved": "https://registry.npmjs.org/mqtt-packet/-/mqtt-packet-6.5.0.tgz",
|
||||
"integrity": "sha512-Pzv0auCMip3D2JZId5n8q084ASyi3AvpjP1qJUf9d/gjuk2YkjD5xSUe/KPKgXIqfr5x99bRm5FdAm7ag96RBQ==",
|
||||
"requires": {
|
||||
"bl": "^1.2.2",
|
||||
"bl": "^4.0.2",
|
||||
"debug": "^4.1.1",
|
||||
"inherits": "^2.0.3",
|
||||
"process-nextick-args": "^2.0.0",
|
||||
"safe-buffer": "^5.1.2"
|
||||
"process-nextick-args": "^2.0.1"
|
||||
}
|
||||
},
|
||||
"ms": {
|
||||
|
@ -1032,9 +1065,9 @@
|
|||
}
|
||||
},
|
||||
"node-fetch": {
|
||||
"version": "2.6.0",
|
||||
"resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.0.tgz",
|
||||
"integrity": "sha512-8dG4H5ujfvFiqDmVu9fQ5bOHUC15JMjMY/Zumv26oOvvVJjM67KF8koCWIabKQ1GJIa9r2mMZscBq/TbdOcmNA=="
|
||||
"version": "2.6.1",
|
||||
"resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.1.tgz",
|
||||
"integrity": "sha512-V4aYg89jEoVRxRb2fJdAg8FHvI7cEyYdVAh94HH0UIK8oJxUfkjlDQN9RbMx+bEjP7+ggMiFRprSti032Oipxw=="
|
||||
},
|
||||
"node-gyp-build": {
|
||||
"version": "4.2.3",
|
||||
|
@ -1302,9 +1335,9 @@
|
|||
"integrity": "sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9/atZw+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWw=="
|
||||
},
|
||||
"split2": {
|
||||
"version": "3.2.1",
|
||||
"resolved": "https://registry.npmjs.org/split2/-/split2-3.2.1.tgz",
|
||||
"integrity": "sha512-wmX3JdfKWWghQSjezpJyMxlFodG/vNbV/Y9scsCqYSDWo0nCdteOdzqh8z1NDxpcIZB6BhkqWo6642VI/HA3oA==",
|
||||
"version": "3.2.2",
|
||||
"resolved": "https://registry.npmjs.org/split2/-/split2-3.2.2.tgz",
|
||||
"integrity": "sha512-9NThjpgZnifTkJpzTZ7Eue85S49QwpNhZTq6GRJwObb6jnLFNGB7Qm73V5HewTROPyxD0C29xqmaI68bQtV+hg==",
|
||||
"requires": {
|
||||
"readable-stream": "^3.0.0"
|
||||
},
|
||||
|
|
|
@ -32,4 +32,4 @@
|
|||
"url": "https://github.com/Azure/azure-iot-sdk-node/issues"
|
||||
},
|
||||
"homepage": "https://github.com/Azure/azure-iot-sdk-node#readme"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -36,9 +36,9 @@
|
|||
}
|
||||
},
|
||||
"@azure/core-http": {
|
||||
"version": "1.1.6",
|
||||
"resolved": "https://registry.npmjs.org/@azure/core-http/-/core-http-1.1.6.tgz",
|
||||
"integrity": "sha512-/C+qNzhwlLKt0F6SjaBEyY2pwZvwL2LviyS5PHlCh77qWuTF1sETmYAINM88BCN+kke+UlECK4YOQaAjJwyHvQ==",
|
||||
"version": "1.1.7",
|
||||
"resolved": "https://registry.npmjs.org/@azure/core-http/-/core-http-1.1.7.tgz",
|
||||
"integrity": "sha512-UmYMY22Zczg/hCtYuM/0KoV2kVc6juj4mrb5uYgBmmxQ9NIIZrpjgCdVSlYQNClpyrvaIMnecRFMqrZywzhiJA==",
|
||||
"requires": {
|
||||
"@azure/abort-controller": "^1.0.0",
|
||||
"@azure/core-auth": "^1.1.3",
|
||||
|
@ -99,9 +99,9 @@
|
|||
}
|
||||
},
|
||||
"@azure/core-paging": {
|
||||
"version": "1.1.1",
|
||||
"resolved": "https://registry.npmjs.org/@azure/core-paging/-/core-paging-1.1.1.tgz",
|
||||
"integrity": "sha512-hqEJBEGKan4YdOaL9ZG/GRG6PXaFd/Wb3SSjQW4LWotZzgl6xqG00h6wmkrpd2NNkbBkD1erLHBO3lPHApv+iQ==",
|
||||
"version": "1.1.2",
|
||||
"resolved": "https://registry.npmjs.org/@azure/core-paging/-/core-paging-1.1.2.tgz",
|
||||
"integrity": "sha512-6wZ+LrF8zwAuukvYsiff+uMNkVu9HZt8gRs/1o5377Cz9354y23QI7eZM0iwTfO38c8LZUSvzLJSqdM4T1QXxA==",
|
||||
"requires": {
|
||||
"@azure/core-asynciterator-polyfill": "^1.0.0"
|
||||
}
|
||||
|
@ -185,9 +185,9 @@
|
|||
"integrity": "sha512-5bHhlTBBq82ti3qPT15TRxkYTFPPQWbnkkQkmHPtqiS1XcTB69cEKd3Jm7Cfi/vkPoyxapmePE9tyA7EzLt8SQ=="
|
||||
},
|
||||
"@types/node": {
|
||||
"version": "14.6.0",
|
||||
"resolved": "https://registry.npmjs.org/@types/node/-/node-14.6.0.tgz",
|
||||
"integrity": "sha512-mikldZQitV94akrc4sCcSjtJfsTKt4p+e/s0AGscVA6XArQ9kFclP+ZiYUMnq987rc6QlYxXv/EivqlfSLxpKA=="
|
||||
"version": "14.6.4",
|
||||
"resolved": "https://registry.npmjs.org/@types/node/-/node-14.6.4.tgz",
|
||||
"integrity": "sha512-Wk7nG1JSaMfMpoMJDKUsWYugliB2Vy55pdjLpmLixeyMi7HizW2I/9QoxsPCkXl3dO+ZOVqPumKaDUv5zJu2uQ=="
|
||||
},
|
||||
"@types/node-fetch": {
|
||||
"version": "2.5.7",
|
||||
|
@ -267,12 +267,12 @@
|
|||
"integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k="
|
||||
},
|
||||
"azure-iot-amqp-base": {
|
||||
"version": "2.4.4",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-amqp-base/-/azure-iot-amqp-base-2.4.4.tgz",
|
||||
"integrity": "sha512-NAAbq4Xf1rQf2BHegLBFvzhC0iszkWL7rVo8z2NgFi5+U7cdKPZ/6AjvloznXvN6Q/sdarghcYPH2XjTTz223A==",
|
||||
"version": "2.4.5",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-amqp-base/-/azure-iot-amqp-base-2.4.5.tgz",
|
||||
"integrity": "sha512-CmWklSc/OsY1p0WzICN5w03T/QrySaNnwjUOfzHbT9ikmHc9dzr4AYgOmVHXxhUimdaoRxGnmHHL873JnsCqhA==",
|
||||
"requires": {
|
||||
"async": "^2.6.2",
|
||||
"azure-iot-common": "1.12.4",
|
||||
"azure-iot-common": "1.12.5",
|
||||
"debug": "^4.1.1",
|
||||
"lodash.merge": "^4.6.1",
|
||||
"machina": "^4.0.2",
|
||||
|
@ -297,38 +297,38 @@
|
|||
}
|
||||
},
|
||||
"azure-iot-common": {
|
||||
"version": "1.12.4",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-common/-/azure-iot-common-1.12.4.tgz",
|
||||
"integrity": "sha512-iCIx7NW4DcxCzT83+fwxTlTk2ipMvgt6P6yuL7gLbFFXB60oa6b3CqkT6/ArTGV4gfORcipAhMBZv7igD6oTsA==",
|
||||
"version": "1.12.5",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-common/-/azure-iot-common-1.12.5.tgz",
|
||||
"integrity": "sha512-CEr5eN7FZ5a8VmFMSlInq6oYDjlPRcd22jpy1qS7XWz5I8exqrV3wmSP/z8wlT4BVePcnn4Fo4JfFVc8XS1Ung==",
|
||||
"requires": {
|
||||
"debug": "^4.1.1",
|
||||
"getos": "^3.1.1"
|
||||
}
|
||||
},
|
||||
"azure-iot-device": {
|
||||
"version": "1.17.0",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-device/-/azure-iot-device-1.17.0.tgz",
|
||||
"integrity": "sha512-ItHxujjLE/GdwhuH4fJTuIhPMHxBzfOkd62U1iKTHYE1wgvts7m9BzqSGEP410/O1BXng+QlFw5VZchmXQerUg==",
|
||||
"version": "1.17.1",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-device/-/azure-iot-device-1.17.1.tgz",
|
||||
"integrity": "sha512-GA0TYrmfTjUc2A0xkcur4HqCIfFDe+aKLVqd4EtTPwQFRJ/uAVCKTeR/lWwYGoP5xmki9/jN4bcaclF2moF50A==",
|
||||
"requires": {
|
||||
"@azure/abort-controller": "1.0.1",
|
||||
"@azure/storage-blob": "^12.0.0",
|
||||
"azure-iot-common": "1.12.4",
|
||||
"azure-iot-http-base": "1.11.4",
|
||||
"azure-iot-common": "1.12.5",
|
||||
"azure-iot-http-base": "1.11.5",
|
||||
"debug": "^4.1.1",
|
||||
"lodash": "^4.17.15",
|
||||
"lodash": "^4.17.20",
|
||||
"machina": "^4.0.2",
|
||||
"traverse": "^0.6.6"
|
||||
}
|
||||
},
|
||||
"azure-iot-device-amqp": {
|
||||
"version": "1.13.0",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-device-amqp/-/azure-iot-device-amqp-1.13.0.tgz",
|
||||
"integrity": "sha512-h8dUdfObBQe8e/coPkmmrOCsQwV5DFPRzHEpMyNMhRPOO3q3Y5bWiipdgmFs62i4Tn7w4dy4HUvCAPihwAsNVg==",
|
||||
"version": "1.13.1",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-device-amqp/-/azure-iot-device-amqp-1.13.1.tgz",
|
||||
"integrity": "sha512-YM41jR278R/IewTiTxVZNXR3KGz2iNrbziPa0qdqJIiyTNWTH/KMWlMIk06kx7sABgMPGikX3J0S9MTrTsQMIQ==",
|
||||
"requires": {
|
||||
"async": "^2.6.2",
|
||||
"azure-iot-amqp-base": "2.4.4",
|
||||
"azure-iot-common": "1.12.4",
|
||||
"azure-iot-device": "1.17.0",
|
||||
"azure-iot-amqp-base": "2.4.5",
|
||||
"azure-iot-common": "1.12.5",
|
||||
"azure-iot-device": "1.17.1",
|
||||
"debug": "^4.1.1",
|
||||
"machina": "^4.0.2",
|
||||
"rhea": "^1.0.15",
|
||||
|
@ -351,25 +351,25 @@
|
|||
}
|
||||
},
|
||||
"azure-iot-device-http": {
|
||||
"version": "1.13.0",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-device-http/-/azure-iot-device-http-1.13.0.tgz",
|
||||
"integrity": "sha512-Rrec/2HjMuyDbmz/mmxycao2mHAY3ZZiG6u3hKZgMySGZI0MVSRo4mMR+AQlmbudVKbDGzsDC4tHYPNcRmrc+w==",
|
||||
"version": "1.13.1",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-device-http/-/azure-iot-device-http-1.13.1.tgz",
|
||||
"integrity": "sha512-L5ZmBcikCxo1MVXrzEzvS1kH4cWEZ1xhCJ9FdYqWTIMQKoXoIvtm58zR4Jy0Z1LtXEWJazFM7qNu4qy9McQ6CA==",
|
||||
"requires": {
|
||||
"azure-iot-common": "1.12.4",
|
||||
"azure-iot-device": "1.17.0",
|
||||
"azure-iot-http-base": "1.11.4",
|
||||
"azure-iot-common": "1.12.5",
|
||||
"azure-iot-device": "1.17.1",
|
||||
"azure-iot-http-base": "1.11.5",
|
||||
"debug": "^4.1.1",
|
||||
"node-crontab": "^0.0.8"
|
||||
}
|
||||
},
|
||||
"azure-iot-device-mqtt": {
|
||||
"version": "1.15.0",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-device-mqtt/-/azure-iot-device-mqtt-1.15.0.tgz",
|
||||
"integrity": "sha512-mPK5g6Yd7fziMfuoATqldqsK8OVDY2V89xhF9JIiP+JIu750mr9McR5jkEVWquiXIA7ZNfJOo/vasYHu4i1x8Q==",
|
||||
"version": "1.15.1",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-device-mqtt/-/azure-iot-device-mqtt-1.15.1.tgz",
|
||||
"integrity": "sha512-iHBmiY6/g/BmzGKj9MMWlJkP5TgQLis2aS8Ap2O/kyIoN5h5hFEbiulFMT8C/Alqp7e541mzairFXouiKD1SqQ==",
|
||||
"requires": {
|
||||
"azure-iot-common": "1.12.4",
|
||||
"azure-iot-device": "1.17.0",
|
||||
"azure-iot-mqtt-base": "1.12.4",
|
||||
"azure-iot-common": "1.12.5",
|
||||
"azure-iot-device": "1.17.1",
|
||||
"azure-iot-mqtt-base": "1.12.5",
|
||||
"debug": "^4.1.1",
|
||||
"machina": "^4.0.2",
|
||||
"uuid": "^3.3.2"
|
||||
|
@ -383,11 +383,11 @@
|
|||
}
|
||||
},
|
||||
"azure-iot-http-base": {
|
||||
"version": "1.11.4",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-http-base/-/azure-iot-http-base-1.11.4.tgz",
|
||||
"integrity": "sha512-OsucwoptU5BTPQI+GvSjc0KRzPvfankvhgxQ+PfsCsVLmlU8mjsQNXBTsE5WU1PPP5hem6XwjbpnZgAo0i2GbA==",
|
||||
"version": "1.11.5",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-http-base/-/azure-iot-http-base-1.11.5.tgz",
|
||||
"integrity": "sha512-8loD9dr+dwug+DWfGKBe1/iE7qdRZZ/08Rxj7UHIcdncZec7+Xf2DAGGPxvh9aKDJy/OxIglh12o3YjxeAnjjA==",
|
||||
"requires": {
|
||||
"azure-iot-common": "1.12.4",
|
||||
"azure-iot-common": "1.12.5",
|
||||
"debug": "^4.1.1",
|
||||
"uuid": "^3.3.2"
|
||||
},
|
||||
|
@ -400,35 +400,43 @@
|
|||
}
|
||||
},
|
||||
"azure-iot-mqtt-base": {
|
||||
"version": "1.12.4",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-mqtt-base/-/azure-iot-mqtt-base-1.12.4.tgz",
|
||||
"integrity": "sha512-VXd9AudDlZkbmWjIGnebfZnXJC1TRliILD8oX+w/Z2cZWW/DB3edLHI51H157rOBXbIgZoy2AEpnoIm3LUU/sQ==",
|
||||
"version": "1.12.5",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-mqtt-base/-/azure-iot-mqtt-base-1.12.5.tgz",
|
||||
"integrity": "sha512-a8J/9lqJqjJG+YuLw4+rP9lCWrwEBAClih5RFV9PNy+vkLC7+bv2kEGy+d4jT38zdom2MgzKwHTKsYEDNwdjpA==",
|
||||
"requires": {
|
||||
"azure-iot-common": "1.12.4",
|
||||
"azure-iot-common": "1.12.5",
|
||||
"debug": "^4.1.1",
|
||||
"machina": "^4.0.2",
|
||||
"mqtt": "^4.0.0"
|
||||
"mqtt": "^4.0.0",
|
||||
"uuid": "^3.3.2"
|
||||
},
|
||||
"dependencies": {
|
||||
"uuid": {
|
||||
"version": "3.4.0",
|
||||
"resolved": "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz",
|
||||
"integrity": "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A=="
|
||||
}
|
||||
}
|
||||
},
|
||||
"azure-iot-provisioning-device": {
|
||||
"version": "1.8.4",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-provisioning-device/-/azure-iot-provisioning-device-1.8.4.tgz",
|
||||
"integrity": "sha512-LmZQnXclp5aQYqevj3vdq/41TnkEYRih2GzHkkMY/keeIkfTSu5S03euPvQz3yx7+HsL9qsKOd10Ywp3uhhr0Q==",
|
||||
"version": "1.8.5",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-provisioning-device/-/azure-iot-provisioning-device-1.8.5.tgz",
|
||||
"integrity": "sha512-RLgbYmzyjU1DHL+rdYZEpRu5S+PMG6y68CZkwpGPmY5AFGxQiSMNzSjGC2BNG4b2Rz8qjcKMMiKC5AfR2BQX3A==",
|
||||
"requires": {
|
||||
"azure-iot-common": "1.12.4",
|
||||
"azure-iot-common": "1.12.5",
|
||||
"debug": "^4.1.1",
|
||||
"machina": "^4.0.2"
|
||||
}
|
||||
},
|
||||
"azure-iot-provisioning-device-amqp": {
|
||||
"version": "1.8.4",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-provisioning-device-amqp/-/azure-iot-provisioning-device-amqp-1.8.4.tgz",
|
||||
"integrity": "sha512-zyNd+JdN87peUlan33/LOAa6QiRAzFwOUx79OOkPfdW421pP3dTBDuWmnXKxMAUXK/rBPR48J/0N6Hp5cFN/Hg==",
|
||||
"version": "1.8.5",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-provisioning-device-amqp/-/azure-iot-provisioning-device-amqp-1.8.5.tgz",
|
||||
"integrity": "sha512-Wtv4UFiruk1EfmDXOk8zwRNeOrH5lGnBB+b5dljo4apu9xhlZlthUu3NWNKOfz4ZJMUHWWK84T6dzCnjTyaWMw==",
|
||||
"requires": {
|
||||
"async": "^2.6.2",
|
||||
"azure-iot-amqp-base": "2.4.4",
|
||||
"azure-iot-common": "1.12.4",
|
||||
"azure-iot-provisioning-device": "1.8.4",
|
||||
"azure-iot-amqp-base": "2.4.5",
|
||||
"azure-iot-common": "1.12.5",
|
||||
"azure-iot-provisioning-device": "1.8.5",
|
||||
"buffer-builder": "^0.2.0",
|
||||
"debug": "^4.1.1",
|
||||
"machina": "^4.0.2",
|
||||
|
@ -452,25 +460,25 @@
|
|||
}
|
||||
},
|
||||
"azure-iot-provisioning-device-http": {
|
||||
"version": "1.8.4",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-provisioning-device-http/-/azure-iot-provisioning-device-http-1.8.4.tgz",
|
||||
"integrity": "sha512-RfiT8x2/VL1su2m22ZLCoK+5owjIcb52j29eE5G/geTYM5q8Eg9jm8+jDPwo+PLlhlm/naouuznoaV9tlsgAYQ==",
|
||||
"version": "1.8.5",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-provisioning-device-http/-/azure-iot-provisioning-device-http-1.8.5.tgz",
|
||||
"integrity": "sha512-BcAUbB3Xh6wyTuJZXpEIgZWQoRGiiIw9ZcdFBNcNPkRSrZ+a+4Xd0a7RWIXVwgOwejv7kB4aT8OfQ6xX8eMACQ==",
|
||||
"requires": {
|
||||
"azure-iot-common": "1.12.4",
|
||||
"azure-iot-http-base": "1.11.4",
|
||||
"azure-iot-provisioning-device": "1.8.4",
|
||||
"azure-iot-common": "1.12.5",
|
||||
"azure-iot-http-base": "1.11.5",
|
||||
"azure-iot-provisioning-device": "1.8.5",
|
||||
"debug": "^4.1.1",
|
||||
"machina": "^4.0.2"
|
||||
}
|
||||
},
|
||||
"azure-iot-provisioning-device-mqtt": {
|
||||
"version": "1.7.4",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-provisioning-device-mqtt/-/azure-iot-provisioning-device-mqtt-1.7.4.tgz",
|
||||
"integrity": "sha512-LP0dv4jdGe7G1F+Nkwq4axiPcvaiNILTYWWPrIApilqIdlWE4jP8JPGac0AUnCzjHJ7nkmhm3CXWCHlJXz+dKA==",
|
||||
"version": "1.7.5",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-provisioning-device-mqtt/-/azure-iot-provisioning-device-mqtt-1.7.5.tgz",
|
||||
"integrity": "sha512-bAQbM2j0UeOYLjDlrJae2Obin6znrr9+ViaY9QdpOZ4PdMRL28XkXWgRa82iwP62/vo4902Or3AouQ1khiny2A==",
|
||||
"requires": {
|
||||
"azure-iot-common": "1.12.4",
|
||||
"azure-iot-mqtt-base": "1.12.4",
|
||||
"azure-iot-provisioning-device": "1.8.4",
|
||||
"azure-iot-common": "1.12.5",
|
||||
"azure-iot-mqtt-base": "1.12.5",
|
||||
"azure-iot-provisioning-device": "1.8.5",
|
||||
"debug": "^4.1.1",
|
||||
"machina": "^4.0.2",
|
||||
"uuid": "^3.3.2"
|
||||
|
@ -484,20 +492,20 @@
|
|||
}
|
||||
},
|
||||
"azure-iot-security-symmetric-key": {
|
||||
"version": "1.7.4",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-security-symmetric-key/-/azure-iot-security-symmetric-key-1.7.4.tgz",
|
||||
"integrity": "sha512-FB4oqvE37Ms9Sxg0cZTKBkDlDvJnCWcAeS4Hw5uPNGJ3W2yXzOc85wiNp/bqVzslGbv/rxSj2TAtDHFEjslVdQ==",
|
||||
"version": "1.7.5",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-security-symmetric-key/-/azure-iot-security-symmetric-key-1.7.5.tgz",
|
||||
"integrity": "sha512-6eYf6h4YI0u8r24nrhJmpayJ8FI4/Z7r9gBrbOSaYL/ee0WHzu1ofxSd4j4/r+RnmoYuGWwZ9NGmXmiyYK1xXg==",
|
||||
"requires": {
|
||||
"azure-iot-common": "1.12.4",
|
||||
"azure-iot-common": "1.12.5",
|
||||
"debug": "^4.1.1"
|
||||
}
|
||||
},
|
||||
"azure-iot-security-tpm": {
|
||||
"version": "1.8.4",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-security-tpm/-/azure-iot-security-tpm-1.8.4.tgz",
|
||||
"integrity": "sha512-8FfptOcMK8ppPLwnZHq68iYfWYESjSmGVmNEsHPFbAO8tD8MGk/qDpWXGCbyXBikeCwVAdSI/1UCB0zAs1qspQ==",
|
||||
"version": "1.8.5",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-security-tpm/-/azure-iot-security-tpm-1.8.5.tgz",
|
||||
"integrity": "sha512-CklPAZKCkXBiDu2Fd9ds+U4Mn+g4QpTOk/kUJ1NrzNbmDzi9wA9s6hXbIJTv4Q9NyKhVofwr+JFB55nsThyGoQ==",
|
||||
"requires": {
|
||||
"azure-iot-common": "1.12.4",
|
||||
"azure-iot-common": "1.12.5",
|
||||
"base32-encode": "^1.0.0",
|
||||
"debug": "^4.1.1",
|
||||
"machina": "^4.0.2",
|
||||
|
@ -505,11 +513,11 @@
|
|||
}
|
||||
},
|
||||
"azure-iot-security-x509": {
|
||||
"version": "1.7.4",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-security-x509/-/azure-iot-security-x509-1.7.4.tgz",
|
||||
"integrity": "sha512-WEXKZVRyhmk49gl4YyWvb1hhyTCqMZjDJjiEdGo5Y4bH2bngUuIfLDRwp+7V/XXqD0qBf5xJdWbPVWNg1toWdg==",
|
||||
"version": "1.7.5",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-security-x509/-/azure-iot-security-x509-1.7.5.tgz",
|
||||
"integrity": "sha512-fluKQGgopOfdpjR60J3CiSsAJH5qxFuZJuXf/bARwg3ahGb41KGuX9OwdUtXiInxQyn9Pkc1dQFiCi3QCkhChg==",
|
||||
"requires": {
|
||||
"azure-iot-common": "1.12.4",
|
||||
"azure-iot-common": "1.12.5",
|
||||
"debug": "^4.1.1"
|
||||
}
|
||||
},
|
||||
|
@ -538,12 +546,25 @@
|
|||
}
|
||||
},
|
||||
"bl": {
|
||||
"version": "1.2.2",
|
||||
"resolved": "https://registry.npmjs.org/bl/-/bl-1.2.2.tgz",
|
||||
"integrity": "sha512-e8tQYnZodmebYDWGH7KMRvtzKXaJHx3BbilrgZCfvyLUYdKpK1t5PSPmpkny/SgiTSCnjfLW7v5rlONXVFkQEA==",
|
||||
"version": "4.0.3",
|
||||
"resolved": "https://registry.npmjs.org/bl/-/bl-4.0.3.tgz",
|
||||
"integrity": "sha512-fs4G6/Hu4/EE+F75J8DuN/0IpQqNjAdC7aEQv7Qt8MHGUH7Ckv2MwTEEeN9QehD0pfIDkMI1bkHYkKy7xHyKIg==",
|
||||
"requires": {
|
||||
"readable-stream": "^2.3.5",
|
||||
"safe-buffer": "^5.1.1"
|
||||
"buffer": "^5.5.0",
|
||||
"inherits": "^2.0.4",
|
||||
"readable-stream": "^3.4.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"readable-stream": {
|
||||
"version": "3.6.0",
|
||||
"resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz",
|
||||
"integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==",
|
||||
"requires": {
|
||||
"inherits": "^2.0.3",
|
||||
"string_decoder": "^1.1.1",
|
||||
"util-deprecate": "^1.0.1"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"brace-expansion": {
|
||||
|
@ -555,6 +576,15 @@
|
|||
"concat-map": "0.0.1"
|
||||
}
|
||||
},
|
||||
"buffer": {
|
||||
"version": "5.6.0",
|
||||
"resolved": "https://registry.npmjs.org/buffer/-/buffer-5.6.0.tgz",
|
||||
"integrity": "sha512-/gDYp/UtU0eA1ys8bOs9J6a+E/KWIY+DZ+Q2WESNUA0jFRsJOc0SNUO6xJ5SGA1xueg3NL65W6s+NY5l9cunuw==",
|
||||
"requires": {
|
||||
"base64-js": "^1.0.2",
|
||||
"ieee754": "^1.1.4"
|
||||
}
|
||||
},
|
||||
"buffer-builder": {
|
||||
"version": "0.2.0",
|
||||
"resolved": "https://registry.npmjs.org/buffer-builder/-/buffer-builder-0.2.0.tgz",
|
||||
|
@ -802,9 +832,9 @@
|
|||
},
|
||||
"dependencies": {
|
||||
"type": {
|
||||
"version": "2.0.0",
|
||||
"resolved": "https://registry.npmjs.org/type/-/type-2.0.0.tgz",
|
||||
"integrity": "sha512-KBt58xCHry4Cejnc2ISQAF7QY+ORngsWfxezO68+12hKV6lQY8P/psIkcbjeHWn7MqcgciWJyCCevFMJdIXpow=="
|
||||
"version": "2.1.0",
|
||||
"resolved": "https://registry.npmjs.org/type/-/type-2.1.0.tgz",
|
||||
"integrity": "sha512-G9absDWvhAWCV2gmF1zKud3OyC61nZDwWvBL2DApaVFogI07CprggiQAOOjvp2NRjYWFzPyu7vwtDrQFq8jeSA=="
|
||||
}
|
||||
}
|
||||
},
|
||||
|
@ -938,6 +968,11 @@
|
|||
"xtend": "^4.0.0"
|
||||
}
|
||||
},
|
||||
"ieee754": {
|
||||
"version": "1.1.13",
|
||||
"resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.1.13.tgz",
|
||||
"integrity": "sha512-4vf7I2LYV/HaWerSo3XmlMkp5eZ83i+/CDluXi/IGTs/O1sejBNhTtnxzmRZfvOUqj7lZjqHkeTvpgSFDlWZTg=="
|
||||
},
|
||||
"inflight": {
|
||||
"version": "1.0.6",
|
||||
"resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz",
|
||||
|
@ -1085,9 +1120,9 @@
|
|||
}
|
||||
},
|
||||
"mqtt": {
|
||||
"version": "4.2.0",
|
||||
"resolved": "https://registry.npmjs.org/mqtt/-/mqtt-4.2.0.tgz",
|
||||
"integrity": "sha512-CGMLigAKCp0hknWPM15yuZRbVrfQjZCG9Wn3GXDEfY2chDmUi5GT3UQ3OhTtMi7fELYb2s4Q/QiWv+dECQ7ZQg==",
|
||||
"version": "4.2.1",
|
||||
"resolved": "https://registry.npmjs.org/mqtt/-/mqtt-4.2.1.tgz",
|
||||
"integrity": "sha512-Iv893r+jWlo5GkNcPOfCGwW8M49IixwHiKLFFYTociEymSibUVCORVEjPXWPGzSxhn7BdlUeHicbRmWiv0Crkg==",
|
||||
"requires": {
|
||||
"base64-js": "^1.3.0",
|
||||
"commist": "^1.0.0",
|
||||
|
@ -1115,15 +1150,13 @@
|
|||
}
|
||||
},
|
||||
"mqtt-packet": {
|
||||
"version": "6.3.2",
|
||||
"resolved": "https://registry.npmjs.org/mqtt-packet/-/mqtt-packet-6.3.2.tgz",
|
||||
"integrity": "sha512-i56+2kN6F57KInGtjjfUXSl4xG8u/zOvfaXFLKFAbBXzWkXOmwcmjaSCBPayf2IQCkQU0+h+S2DizCo3CF6gQA==",
|
||||
"version": "6.5.0",
|
||||
"resolved": "https://registry.npmjs.org/mqtt-packet/-/mqtt-packet-6.5.0.tgz",
|
||||
"integrity": "sha512-Pzv0auCMip3D2JZId5n8q084ASyi3AvpjP1qJUf9d/gjuk2YkjD5xSUe/KPKgXIqfr5x99bRm5FdAm7ag96RBQ==",
|
||||
"requires": {
|
||||
"bl": "^1.2.2",
|
||||
"bl": "^4.0.2",
|
||||
"debug": "^4.1.1",
|
||||
"inherits": "^2.0.3",
|
||||
"process-nextick-args": "^2.0.0",
|
||||
"safe-buffer": "^5.1.2"
|
||||
"process-nextick-args": "^2.0.1"
|
||||
}
|
||||
},
|
||||
"ms": {
|
||||
|
@ -1163,9 +1196,9 @@
|
|||
}
|
||||
},
|
||||
"node-fetch": {
|
||||
"version": "2.6.0",
|
||||
"resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.0.tgz",
|
||||
"integrity": "sha512-8dG4H5ujfvFiqDmVu9fQ5bOHUC15JMjMY/Zumv26oOvvVJjM67KF8koCWIabKQ1GJIa9r2mMZscBq/TbdOcmNA=="
|
||||
"version": "2.6.1",
|
||||
"resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.1.tgz",
|
||||
"integrity": "sha512-V4aYg89jEoVRxRb2fJdAg8FHvI7cEyYdVAh94HH0UIK8oJxUfkjlDQN9RbMx+bEjP7+ggMiFRprSti032Oipxw=="
|
||||
},
|
||||
"node-gyp-build": {
|
||||
"version": "4.2.3",
|
||||
|
@ -1454,9 +1487,9 @@
|
|||
"dev": true
|
||||
},
|
||||
"split2": {
|
||||
"version": "3.2.1",
|
||||
"resolved": "https://registry.npmjs.org/split2/-/split2-3.2.1.tgz",
|
||||
"integrity": "sha512-wmX3JdfKWWghQSjezpJyMxlFodG/vNbV/Y9scsCqYSDWo0nCdteOdzqh8z1NDxpcIZB6BhkqWo6642VI/HA3oA==",
|
||||
"version": "3.2.2",
|
||||
"resolved": "https://registry.npmjs.org/split2/-/split2-3.2.2.tgz",
|
||||
"integrity": "sha512-9NThjpgZnifTkJpzTZ7Eue85S49QwpNhZTq6GRJwObb6jnLFNGB7Qm73V5HewTROPyxD0C29xqmaI68bQtV+hg==",
|
||||
"requires": {
|
||||
"readable-stream": "^3.0.0"
|
||||
},
|
||||
|
|
|
@ -38,4 +38,4 @@
|
|||
"url": "https://github.com/Azure/azure-iot-sdk-node/issues"
|
||||
},
|
||||
"homepage": "https://github.com/Azure/azure-iot-sdk-node#readme"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "azure-iot-provisioning-device-e2e",
|
||||
"version": "1.8.4",
|
||||
"version": "1.8.5",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
|
@ -347,12 +347,12 @@
|
|||
"integrity": "sha512-csOlWGAcRFJaI6m+F2WKdnMKr4HhdhFVBk0H/QbJFMCr+uO2kwohwXQPxw/9OCxp05r5ghVBFSyioixx3gfkNQ=="
|
||||
},
|
||||
"azure-iot-amqp-base": {
|
||||
"version": "2.4.4",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-amqp-base/-/azure-iot-amqp-base-2.4.4.tgz",
|
||||
"integrity": "sha512-NAAbq4Xf1rQf2BHegLBFvzhC0iszkWL7rVo8z2NgFi5+U7cdKPZ/6AjvloznXvN6Q/sdarghcYPH2XjTTz223A==",
|
||||
"version": "2.4.5",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-amqp-base/-/azure-iot-amqp-base-2.4.5.tgz",
|
||||
"integrity": "sha512-CmWklSc/OsY1p0WzICN5w03T/QrySaNnwjUOfzHbT9ikmHc9dzr4AYgOmVHXxhUimdaoRxGnmHHL873JnsCqhA==",
|
||||
"requires": {
|
||||
"async": "^2.6.2",
|
||||
"azure-iot-common": "1.12.4",
|
||||
"azure-iot-common": "1.12.5",
|
||||
"debug": "^4.1.1",
|
||||
"lodash.merge": "^4.6.1",
|
||||
"machina": "^4.0.2",
|
||||
|
@ -362,54 +362,55 @@
|
|||
}
|
||||
},
|
||||
"azure-iot-common": {
|
||||
"version": "1.12.4",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-common/-/azure-iot-common-1.12.4.tgz",
|
||||
"integrity": "sha512-iCIx7NW4DcxCzT83+fwxTlTk2ipMvgt6P6yuL7gLbFFXB60oa6b3CqkT6/ArTGV4gfORcipAhMBZv7igD6oTsA==",
|
||||
"version": "1.12.5",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-common/-/azure-iot-common-1.12.5.tgz",
|
||||
"integrity": "sha512-CEr5eN7FZ5a8VmFMSlInq6oYDjlPRcd22jpy1qS7XWz5I8exqrV3wmSP/z8wlT4BVePcnn4Fo4JfFVc8XS1Ung==",
|
||||
"requires": {
|
||||
"debug": "^4.1.1",
|
||||
"getos": "^3.1.1"
|
||||
}
|
||||
},
|
||||
"azure-iot-http-base": {
|
||||
"version": "1.11.4",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-http-base/-/azure-iot-http-base-1.11.4.tgz",
|
||||
"integrity": "sha512-OsucwoptU5BTPQI+GvSjc0KRzPvfankvhgxQ+PfsCsVLmlU8mjsQNXBTsE5WU1PPP5hem6XwjbpnZgAo0i2GbA==",
|
||||
"version": "1.11.5",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-http-base/-/azure-iot-http-base-1.11.5.tgz",
|
||||
"integrity": "sha512-8loD9dr+dwug+DWfGKBe1/iE7qdRZZ/08Rxj7UHIcdncZec7+Xf2DAGGPxvh9aKDJy/OxIglh12o3YjxeAnjjA==",
|
||||
"requires": {
|
||||
"azure-iot-common": "1.12.4",
|
||||
"azure-iot-common": "1.12.5",
|
||||
"debug": "^4.1.1",
|
||||
"uuid": "^3.3.2"
|
||||
}
|
||||
},
|
||||
"azure-iot-mqtt-base": {
|
||||
"version": "1.12.4",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-mqtt-base/-/azure-iot-mqtt-base-1.12.4.tgz",
|
||||
"integrity": "sha512-VXd9AudDlZkbmWjIGnebfZnXJC1TRliILD8oX+w/Z2cZWW/DB3edLHI51H157rOBXbIgZoy2AEpnoIm3LUU/sQ==",
|
||||
"version": "1.12.5",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-mqtt-base/-/azure-iot-mqtt-base-1.12.5.tgz",
|
||||
"integrity": "sha512-a8J/9lqJqjJG+YuLw4+rP9lCWrwEBAClih5RFV9PNy+vkLC7+bv2kEGy+d4jT38zdom2MgzKwHTKsYEDNwdjpA==",
|
||||
"requires": {
|
||||
"azure-iot-common": "1.12.4",
|
||||
"azure-iot-common": "1.12.5",
|
||||
"debug": "^4.1.1",
|
||||
"machina": "^4.0.2",
|
||||
"mqtt": "^4.0.0"
|
||||
"mqtt": "^4.0.0",
|
||||
"uuid": "^3.3.2"
|
||||
}
|
||||
},
|
||||
"azure-iot-provisioning-device": {
|
||||
"version": "1.8.4",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-provisioning-device/-/azure-iot-provisioning-device-1.8.4.tgz",
|
||||
"integrity": "sha512-LmZQnXclp5aQYqevj3vdq/41TnkEYRih2GzHkkMY/keeIkfTSu5S03euPvQz3yx7+HsL9qsKOd10Ywp3uhhr0Q==",
|
||||
"version": "1.8.5",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-provisioning-device/-/azure-iot-provisioning-device-1.8.5.tgz",
|
||||
"integrity": "sha512-RLgbYmzyjU1DHL+rdYZEpRu5S+PMG6y68CZkwpGPmY5AFGxQiSMNzSjGC2BNG4b2Rz8qjcKMMiKC5AfR2BQX3A==",
|
||||
"requires": {
|
||||
"azure-iot-common": "1.12.4",
|
||||
"azure-iot-common": "1.12.5",
|
||||
"debug": "^4.1.1",
|
||||
"machina": "^4.0.2"
|
||||
}
|
||||
},
|
||||
"azure-iot-provisioning-device-amqp": {
|
||||
"version": "1.8.4",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-provisioning-device-amqp/-/azure-iot-provisioning-device-amqp-1.8.4.tgz",
|
||||
"integrity": "sha512-zyNd+JdN87peUlan33/LOAa6QiRAzFwOUx79OOkPfdW421pP3dTBDuWmnXKxMAUXK/rBPR48J/0N6Hp5cFN/Hg==",
|
||||
"version": "1.8.5",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-provisioning-device-amqp/-/azure-iot-provisioning-device-amqp-1.8.5.tgz",
|
||||
"integrity": "sha512-Wtv4UFiruk1EfmDXOk8zwRNeOrH5lGnBB+b5dljo4apu9xhlZlthUu3NWNKOfz4ZJMUHWWK84T6dzCnjTyaWMw==",
|
||||
"requires": {
|
||||
"async": "^2.6.2",
|
||||
"azure-iot-amqp-base": "2.4.4",
|
||||
"azure-iot-common": "1.12.4",
|
||||
"azure-iot-provisioning-device": "1.8.4",
|
||||
"azure-iot-amqp-base": "2.4.5",
|
||||
"azure-iot-common": "1.12.5",
|
||||
"azure-iot-provisioning-device": "1.8.5",
|
||||
"buffer-builder": "^0.2.0",
|
||||
"debug": "^4.1.1",
|
||||
"machina": "^4.0.2",
|
||||
|
@ -418,55 +419,55 @@
|
|||
}
|
||||
},
|
||||
"azure-iot-provisioning-device-http": {
|
||||
"version": "1.8.4",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-provisioning-device-http/-/azure-iot-provisioning-device-http-1.8.4.tgz",
|
||||
"integrity": "sha512-RfiT8x2/VL1su2m22ZLCoK+5owjIcb52j29eE5G/geTYM5q8Eg9jm8+jDPwo+PLlhlm/naouuznoaV9tlsgAYQ==",
|
||||
"version": "1.8.5",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-provisioning-device-http/-/azure-iot-provisioning-device-http-1.8.5.tgz",
|
||||
"integrity": "sha512-BcAUbB3Xh6wyTuJZXpEIgZWQoRGiiIw9ZcdFBNcNPkRSrZ+a+4Xd0a7RWIXVwgOwejv7kB4aT8OfQ6xX8eMACQ==",
|
||||
"requires": {
|
||||
"azure-iot-common": "1.12.4",
|
||||
"azure-iot-http-base": "1.11.4",
|
||||
"azure-iot-provisioning-device": "1.8.4",
|
||||
"azure-iot-common": "1.12.5",
|
||||
"azure-iot-http-base": "1.11.5",
|
||||
"azure-iot-provisioning-device": "1.8.5",
|
||||
"debug": "^4.1.1",
|
||||
"machina": "^4.0.2"
|
||||
}
|
||||
},
|
||||
"azure-iot-provisioning-device-mqtt": {
|
||||
"version": "1.7.4",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-provisioning-device-mqtt/-/azure-iot-provisioning-device-mqtt-1.7.4.tgz",
|
||||
"integrity": "sha512-LP0dv4jdGe7G1F+Nkwq4axiPcvaiNILTYWWPrIApilqIdlWE4jP8JPGac0AUnCzjHJ7nkmhm3CXWCHlJXz+dKA==",
|
||||
"version": "1.7.5",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-provisioning-device-mqtt/-/azure-iot-provisioning-device-mqtt-1.7.5.tgz",
|
||||
"integrity": "sha512-bAQbM2j0UeOYLjDlrJae2Obin6znrr9+ViaY9QdpOZ4PdMRL28XkXWgRa82iwP62/vo4902Or3AouQ1khiny2A==",
|
||||
"requires": {
|
||||
"azure-iot-common": "1.12.4",
|
||||
"azure-iot-mqtt-base": "1.12.4",
|
||||
"azure-iot-provisioning-device": "1.8.4",
|
||||
"azure-iot-common": "1.12.5",
|
||||
"azure-iot-mqtt-base": "1.12.5",
|
||||
"azure-iot-provisioning-device": "1.8.5",
|
||||
"debug": "^4.1.1",
|
||||
"machina": "^4.0.2",
|
||||
"uuid": "^3.3.2"
|
||||
}
|
||||
},
|
||||
"azure-iot-provisioning-service": {
|
||||
"version": "1.8.4",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-provisioning-service/-/azure-iot-provisioning-service-1.8.4.tgz",
|
||||
"integrity": "sha512-OAtwwx+jpxrO7w+YnqP1YzmpwNM7G0q+hAeSo34qKHkqO4ksqcPVEXLZZ5gkfsh8kx3IjEM5LCl3Qd+oB7zJhA==",
|
||||
"version": "1.8.5",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-provisioning-service/-/azure-iot-provisioning-service-1.8.5.tgz",
|
||||
"integrity": "sha512-g7gkixExhPUrKkYiNtj1/T/uJo0nrxhF7w3G8ZHXc6/p4NsVrunlh3ulc7LjdLoEwWKrxdz72Ld7qWb+cJTojg==",
|
||||
"requires": {
|
||||
"azure-iot-common": "1.12.4",
|
||||
"azure-iot-http-base": "1.11.4",
|
||||
"azure-iot-common": "1.12.5",
|
||||
"azure-iot-http-base": "1.11.5",
|
||||
"debug": "^4.1.1"
|
||||
}
|
||||
},
|
||||
"azure-iot-security-symmetric-key": {
|
||||
"version": "1.7.4",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-security-symmetric-key/-/azure-iot-security-symmetric-key-1.7.4.tgz",
|
||||
"integrity": "sha512-FB4oqvE37Ms9Sxg0cZTKBkDlDvJnCWcAeS4Hw5uPNGJ3W2yXzOc85wiNp/bqVzslGbv/rxSj2TAtDHFEjslVdQ==",
|
||||
"version": "1.7.5",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-security-symmetric-key/-/azure-iot-security-symmetric-key-1.7.5.tgz",
|
||||
"integrity": "sha512-6eYf6h4YI0u8r24nrhJmpayJ8FI4/Z7r9gBrbOSaYL/ee0WHzu1ofxSd4j4/r+RnmoYuGWwZ9NGmXmiyYK1xXg==",
|
||||
"requires": {
|
||||
"azure-iot-common": "1.12.4",
|
||||
"azure-iot-common": "1.12.5",
|
||||
"debug": "^4.1.1"
|
||||
}
|
||||
},
|
||||
"azure-iot-security-tpm": {
|
||||
"version": "1.8.4",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-security-tpm/-/azure-iot-security-tpm-1.8.4.tgz",
|
||||
"integrity": "sha512-8FfptOcMK8ppPLwnZHq68iYfWYESjSmGVmNEsHPFbAO8tD8MGk/qDpWXGCbyXBikeCwVAdSI/1UCB0zAs1qspQ==",
|
||||
"version": "1.8.5",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-security-tpm/-/azure-iot-security-tpm-1.8.5.tgz",
|
||||
"integrity": "sha512-CklPAZKCkXBiDu2Fd9ds+U4Mn+g4QpTOk/kUJ1NrzNbmDzi9wA9s6hXbIJTv4Q9NyKhVofwr+JFB55nsThyGoQ==",
|
||||
"requires": {
|
||||
"azure-iot-common": "1.12.4",
|
||||
"azure-iot-common": "1.12.5",
|
||||
"base32-encode": "^1.0.0",
|
||||
"debug": "^4.1.1",
|
||||
"machina": "^4.0.2",
|
||||
|
@ -474,25 +475,25 @@
|
|||
}
|
||||
},
|
||||
"azure-iot-security-x509": {
|
||||
"version": "1.7.4",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-security-x509/-/azure-iot-security-x509-1.7.4.tgz",
|
||||
"integrity": "sha512-WEXKZVRyhmk49gl4YyWvb1hhyTCqMZjDJjiEdGo5Y4bH2bngUuIfLDRwp+7V/XXqD0qBf5xJdWbPVWNg1toWdg==",
|
||||
"version": "1.7.5",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-security-x509/-/azure-iot-security-x509-1.7.5.tgz",
|
||||
"integrity": "sha512-fluKQGgopOfdpjR60J3CiSsAJH5qxFuZJuXf/bARwg3ahGb41KGuX9OwdUtXiInxQyn9Pkc1dQFiCi3QCkhChg==",
|
||||
"requires": {
|
||||
"azure-iot-common": "1.12.4",
|
||||
"azure-iot-common": "1.12.5",
|
||||
"debug": "^4.1.1"
|
||||
}
|
||||
},
|
||||
"azure-iothub": {
|
||||
"version": "1.12.4",
|
||||
"resolved": "https://registry.npmjs.org/azure-iothub/-/azure-iothub-1.12.4.tgz",
|
||||
"integrity": "sha512-jYBRUewf9VyVUkA/p9z7tvYL2bIJe6Rz/ncnjlWcT3a85XMtoI2Jj2/UsNNeymtIk1Y6xjWaLdzgsKunfB0xdg==",
|
||||
"version": "1.12.5",
|
||||
"resolved": "https://registry.npmjs.org/azure-iothub/-/azure-iothub-1.12.5.tgz",
|
||||
"integrity": "sha512-Xj5vl7dot8y82ZY4y2vhBryRfy4agO0SVy72rWytPsNipfOYDw7GHUUawAGqhi1Dc66VVjMUq7x8XDa3W3taeA==",
|
||||
"requires": {
|
||||
"async": "^2.6.2",
|
||||
"azure-iot-amqp-base": "2.4.4",
|
||||
"azure-iot-common": "1.12.4",
|
||||
"azure-iot-http-base": "1.11.4",
|
||||
"azure-iot-amqp-base": "2.4.5",
|
||||
"azure-iot-common": "1.12.5",
|
||||
"azure-iot-http-base": "1.11.5",
|
||||
"debug": "^4.1.1",
|
||||
"lodash": "^4.17.15",
|
||||
"lodash": "^4.17.20",
|
||||
"machina": "^4.0.2",
|
||||
"rhea": "^1.0.15"
|
||||
}
|
||||
|
@ -527,39 +528,36 @@
|
|||
}
|
||||
},
|
||||
"bl": {
|
||||
"version": "1.2.2",
|
||||
"resolved": "https://registry.npmjs.org/bl/-/bl-1.2.2.tgz",
|
||||
"integrity": "sha512-e8tQYnZodmebYDWGH7KMRvtzKXaJHx3BbilrgZCfvyLUYdKpK1t5PSPmpkny/SgiTSCnjfLW7v5rlONXVFkQEA==",
|
||||
"version": "4.0.3",
|
||||
"resolved": "https://registry.npmjs.org/bl/-/bl-4.0.3.tgz",
|
||||
"integrity": "sha512-fs4G6/Hu4/EE+F75J8DuN/0IpQqNjAdC7aEQv7Qt8MHGUH7Ckv2MwTEEeN9QehD0pfIDkMI1bkHYkKy7xHyKIg==",
|
||||
"requires": {
|
||||
"readable-stream": "^2.3.5",
|
||||
"safe-buffer": "^5.1.1"
|
||||
"buffer": "^5.5.0",
|
||||
"inherits": "^2.0.4",
|
||||
"readable-stream": "^3.4.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"isarray": {
|
||||
"version": "1.0.0",
|
||||
"resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz",
|
||||
"integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE="
|
||||
},
|
||||
"readable-stream": {
|
||||
"version": "2.3.7",
|
||||
"resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz",
|
||||
"integrity": "sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==",
|
||||
"version": "3.6.0",
|
||||
"resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz",
|
||||
"integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==",
|
||||
"requires": {
|
||||
"core-util-is": "~1.0.0",
|
||||
"inherits": "~2.0.3",
|
||||
"isarray": "~1.0.0",
|
||||
"process-nextick-args": "~2.0.0",
|
||||
"safe-buffer": "~5.1.1",
|
||||
"string_decoder": "~1.1.1",
|
||||
"util-deprecate": "~1.0.1"
|
||||
"inherits": "^2.0.3",
|
||||
"string_decoder": "^1.1.1",
|
||||
"util-deprecate": "^1.0.1"
|
||||
}
|
||||
},
|
||||
"safe-buffer": {
|
||||
"version": "5.2.1",
|
||||
"resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz",
|
||||
"integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ=="
|
||||
},
|
||||
"string_decoder": {
|
||||
"version": "1.1.1",
|
||||
"resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz",
|
||||
"integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==",
|
||||
"version": "1.3.0",
|
||||
"resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz",
|
||||
"integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==",
|
||||
"requires": {
|
||||
"safe-buffer": "~5.1.0"
|
||||
"safe-buffer": "~5.2.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -586,6 +584,15 @@
|
|||
"resolved": "https://registry.npmjs.org/browser-stdout/-/browser-stdout-1.3.1.tgz",
|
||||
"integrity": "sha512-qhAVI1+Av2X7qelOfAIYwXONood6XlZE/fXaBSmW/T5SzLAmCgzi+eiWE7fUvbHaeNBQH13UftjpXxsfLkMpgw=="
|
||||
},
|
||||
"buffer": {
|
||||
"version": "5.6.0",
|
||||
"resolved": "https://registry.npmjs.org/buffer/-/buffer-5.6.0.tgz",
|
||||
"integrity": "sha512-/gDYp/UtU0eA1ys8bOs9J6a+E/KWIY+DZ+Q2WESNUA0jFRsJOc0SNUO6xJ5SGA1xueg3NL65W6s+NY5l9cunuw==",
|
||||
"requires": {
|
||||
"base64-js": "^1.0.2",
|
||||
"ieee754": "^1.1.4"
|
||||
}
|
||||
},
|
||||
"buffer-builder": {
|
||||
"version": "0.2.0",
|
||||
"resolved": "https://registry.npmjs.org/buffer-builder/-/buffer-builder-0.2.0.tgz",
|
||||
|
@ -1466,6 +1473,11 @@
|
|||
"readable-stream": "1.1"
|
||||
}
|
||||
},
|
||||
"ieee754": {
|
||||
"version": "1.1.13",
|
||||
"resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.1.13.tgz",
|
||||
"integrity": "sha512-4vf7I2LYV/HaWerSo3XmlMkp5eZ83i+/CDluXi/IGTs/O1sejBNhTtnxzmRZfvOUqj7lZjqHkeTvpgSFDlWZTg=="
|
||||
},
|
||||
"imurmurhash": {
|
||||
"version": "0.1.4",
|
||||
"resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz",
|
||||
|
@ -2000,9 +2012,9 @@
|
|||
}
|
||||
},
|
||||
"mqtt": {
|
||||
"version": "4.2.0",
|
||||
"resolved": "https://registry.npmjs.org/mqtt/-/mqtt-4.2.0.tgz",
|
||||
"integrity": "sha512-CGMLigAKCp0hknWPM15yuZRbVrfQjZCG9Wn3GXDEfY2chDmUi5GT3UQ3OhTtMi7fELYb2s4Q/QiWv+dECQ7ZQg==",
|
||||
"version": "4.2.1",
|
||||
"resolved": "https://registry.npmjs.org/mqtt/-/mqtt-4.2.1.tgz",
|
||||
"integrity": "sha512-Iv893r+jWlo5GkNcPOfCGwW8M49IixwHiKLFFYTociEymSibUVCORVEjPXWPGzSxhn7BdlUeHicbRmWiv0Crkg==",
|
||||
"requires": {
|
||||
"base64-js": "^1.3.0",
|
||||
"commist": "^1.0.0",
|
||||
|
@ -2057,15 +2069,13 @@
|
|||
}
|
||||
},
|
||||
"mqtt-packet": {
|
||||
"version": "6.3.2",
|
||||
"resolved": "https://registry.npmjs.org/mqtt-packet/-/mqtt-packet-6.3.2.tgz",
|
||||
"integrity": "sha512-i56+2kN6F57KInGtjjfUXSl4xG8u/zOvfaXFLKFAbBXzWkXOmwcmjaSCBPayf2IQCkQU0+h+S2DizCo3CF6gQA==",
|
||||
"version": "6.5.0",
|
||||
"resolved": "https://registry.npmjs.org/mqtt-packet/-/mqtt-packet-6.5.0.tgz",
|
||||
"integrity": "sha512-Pzv0auCMip3D2JZId5n8q084ASyi3AvpjP1qJUf9d/gjuk2YkjD5xSUe/KPKgXIqfr5x99bRm5FdAm7ag96RBQ==",
|
||||
"requires": {
|
||||
"bl": "^1.2.2",
|
||||
"bl": "^4.0.2",
|
||||
"debug": "^4.1.1",
|
||||
"inherits": "^2.0.3",
|
||||
"process-nextick-args": "^2.0.0",
|
||||
"safe-buffer": "^5.1.2"
|
||||
"process-nextick-args": "^2.0.1"
|
||||
}
|
||||
},
|
||||
"ms": {
|
||||
|
@ -2856,9 +2866,9 @@
|
|||
}
|
||||
},
|
||||
"split2": {
|
||||
"version": "3.2.1",
|
||||
"resolved": "https://registry.npmjs.org/split2/-/split2-3.2.1.tgz",
|
||||
"integrity": "sha512-wmX3JdfKWWghQSjezpJyMxlFodG/vNbV/Y9scsCqYSDWo0nCdteOdzqh8z1NDxpcIZB6BhkqWo6642VI/HA3oA==",
|
||||
"version": "3.2.2",
|
||||
"resolved": "https://registry.npmjs.org/split2/-/split2-3.2.2.tgz",
|
||||
"integrity": "sha512-9NThjpgZnifTkJpzTZ7Eue85S49QwpNhZTq6GRJwObb6jnLFNGB7Qm73V5HewTROPyxD0C29xqmaI68bQtV+hg==",
|
||||
"requires": {
|
||||
"readable-stream": "^3.0.0"
|
||||
},
|
||||
|
|
|
@ -48,4 +48,4 @@
|
|||
"url": "https://github.com/Azure/azure-iot-sdk-node/issues"
|
||||
},
|
||||
"homepage": "https://github.com/Azure/azure-iot-sdk-node#readme"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "azure-iot-provisioning-service",
|
||||
"version": "1.8.4",
|
||||
"version": "1.8.5",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
|
@ -412,20 +412,20 @@
|
|||
"integrity": "sha512-TR2mEZFVOj2pLStYxLht7TyfuRzaydfpxr3k9RpHIzMgw7A64dzsdqCxH1WJyQdoe8T10nDXd9wnEigmiuHIZw=="
|
||||
},
|
||||
"azure-iot-common": {
|
||||
"version": "1.12.4",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-common/-/azure-iot-common-1.12.4.tgz",
|
||||
"integrity": "sha512-iCIx7NW4DcxCzT83+fwxTlTk2ipMvgt6P6yuL7gLbFFXB60oa6b3CqkT6/ArTGV4gfORcipAhMBZv7igD6oTsA==",
|
||||
"version": "1.12.5",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-common/-/azure-iot-common-1.12.5.tgz",
|
||||
"integrity": "sha512-CEr5eN7FZ5a8VmFMSlInq6oYDjlPRcd22jpy1qS7XWz5I8exqrV3wmSP/z8wlT4BVePcnn4Fo4JfFVc8XS1Ung==",
|
||||
"requires": {
|
||||
"debug": "^4.1.1",
|
||||
"getos": "^3.1.1"
|
||||
}
|
||||
},
|
||||
"azure-iot-http-base": {
|
||||
"version": "1.11.4",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-http-base/-/azure-iot-http-base-1.11.4.tgz",
|
||||
"integrity": "sha512-OsucwoptU5BTPQI+GvSjc0KRzPvfankvhgxQ+PfsCsVLmlU8mjsQNXBTsE5WU1PPP5hem6XwjbpnZgAo0i2GbA==",
|
||||
"version": "1.11.5",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-http-base/-/azure-iot-http-base-1.11.5.tgz",
|
||||
"integrity": "sha512-8loD9dr+dwug+DWfGKBe1/iE7qdRZZ/08Rxj7UHIcdncZec7+Xf2DAGGPxvh9aKDJy/OxIglh12o3YjxeAnjjA==",
|
||||
"requires": {
|
||||
"azure-iot-common": "1.12.4",
|
||||
"azure-iot-common": "1.12.5",
|
||||
"debug": "^4.1.1",
|
||||
"uuid": "^3.3.2"
|
||||
}
|
||||
|
|
|
@ -77,4 +77,4 @@
|
|||
"url": "https://github.com/Azure/azure-iot-sdk-node/issues"
|
||||
},
|
||||
"homepage": "https://github.com/Azure/azure-iot-sdk-node#readme"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "azure-iot-provisioning-device-amqp",
|
||||
"version": "1.8.4",
|
||||
"version": "1.8.5",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
|
@ -414,12 +414,12 @@
|
|||
"integrity": "sha512-csOlWGAcRFJaI6m+F2WKdnMKr4HhdhFVBk0H/QbJFMCr+uO2kwohwXQPxw/9OCxp05r5ghVBFSyioixx3gfkNQ=="
|
||||
},
|
||||
"azure-iot-amqp-base": {
|
||||
"version": "2.4.4",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-amqp-base/-/azure-iot-amqp-base-2.4.4.tgz",
|
||||
"integrity": "sha512-NAAbq4Xf1rQf2BHegLBFvzhC0iszkWL7rVo8z2NgFi5+U7cdKPZ/6AjvloznXvN6Q/sdarghcYPH2XjTTz223A==",
|
||||
"version": "2.4.5",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-amqp-base/-/azure-iot-amqp-base-2.4.5.tgz",
|
||||
"integrity": "sha512-CmWklSc/OsY1p0WzICN5w03T/QrySaNnwjUOfzHbT9ikmHc9dzr4AYgOmVHXxhUimdaoRxGnmHHL873JnsCqhA==",
|
||||
"requires": {
|
||||
"async": "^2.6.2",
|
||||
"azure-iot-common": "1.12.4",
|
||||
"azure-iot-common": "1.12.5",
|
||||
"debug": "^4.1.1",
|
||||
"lodash.merge": "^4.6.1",
|
||||
"machina": "^4.0.2",
|
||||
|
@ -429,20 +429,20 @@
|
|||
}
|
||||
},
|
||||
"azure-iot-common": {
|
||||
"version": "1.12.4",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-common/-/azure-iot-common-1.12.4.tgz",
|
||||
"integrity": "sha512-iCIx7NW4DcxCzT83+fwxTlTk2ipMvgt6P6yuL7gLbFFXB60oa6b3CqkT6/ArTGV4gfORcipAhMBZv7igD6oTsA==",
|
||||
"version": "1.12.5",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-common/-/azure-iot-common-1.12.5.tgz",
|
||||
"integrity": "sha512-CEr5eN7FZ5a8VmFMSlInq6oYDjlPRcd22jpy1qS7XWz5I8exqrV3wmSP/z8wlT4BVePcnn4Fo4JfFVc8XS1Ung==",
|
||||
"requires": {
|
||||
"debug": "^4.1.1",
|
||||
"getos": "^3.1.1"
|
||||
}
|
||||
},
|
||||
"azure-iot-provisioning-device": {
|
||||
"version": "1.8.4",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-provisioning-device/-/azure-iot-provisioning-device-1.8.4.tgz",
|
||||
"integrity": "sha512-LmZQnXclp5aQYqevj3vdq/41TnkEYRih2GzHkkMY/keeIkfTSu5S03euPvQz3yx7+HsL9qsKOd10Ywp3uhhr0Q==",
|
||||
"version": "1.8.5",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-provisioning-device/-/azure-iot-provisioning-device-1.8.5.tgz",
|
||||
"integrity": "sha512-RLgbYmzyjU1DHL+rdYZEpRu5S+PMG6y68CZkwpGPmY5AFGxQiSMNzSjGC2BNG4b2Rz8qjcKMMiKC5AfR2BQX3A==",
|
||||
"requires": {
|
||||
"azure-iot-common": "1.12.4",
|
||||
"azure-iot-common": "1.12.5",
|
||||
"debug": "^4.1.1",
|
||||
"machina": "^4.0.2"
|
||||
}
|
||||
|
|
|
@ -82,4 +82,4 @@
|
|||
"url": "httpss://github.com/Azure/azure-iot-sdk-node/issues"
|
||||
},
|
||||
"homepage": "https://github.com/Azure/azure-iot-sdk-node#readme"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "azure-iot-provisioning-device-http",
|
||||
"version": "1.8.4",
|
||||
"version": "1.8.5",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
|
@ -406,30 +406,30 @@
|
|||
"integrity": "sha512-TR2mEZFVOj2pLStYxLht7TyfuRzaydfpxr3k9RpHIzMgw7A64dzsdqCxH1WJyQdoe8T10nDXd9wnEigmiuHIZw=="
|
||||
},
|
||||
"azure-iot-common": {
|
||||
"version": "1.12.4",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-common/-/azure-iot-common-1.12.4.tgz",
|
||||
"integrity": "sha512-iCIx7NW4DcxCzT83+fwxTlTk2ipMvgt6P6yuL7gLbFFXB60oa6b3CqkT6/ArTGV4gfORcipAhMBZv7igD6oTsA==",
|
||||
"version": "1.12.5",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-common/-/azure-iot-common-1.12.5.tgz",
|
||||
"integrity": "sha512-CEr5eN7FZ5a8VmFMSlInq6oYDjlPRcd22jpy1qS7XWz5I8exqrV3wmSP/z8wlT4BVePcnn4Fo4JfFVc8XS1Ung==",
|
||||
"requires": {
|
||||
"debug": "^4.1.1",
|
||||
"getos": "^3.1.1"
|
||||
}
|
||||
},
|
||||
"azure-iot-http-base": {
|
||||
"version": "1.11.4",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-http-base/-/azure-iot-http-base-1.11.4.tgz",
|
||||
"integrity": "sha512-OsucwoptU5BTPQI+GvSjc0KRzPvfankvhgxQ+PfsCsVLmlU8mjsQNXBTsE5WU1PPP5hem6XwjbpnZgAo0i2GbA==",
|
||||
"version": "1.11.5",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-http-base/-/azure-iot-http-base-1.11.5.tgz",
|
||||
"integrity": "sha512-8loD9dr+dwug+DWfGKBe1/iE7qdRZZ/08Rxj7UHIcdncZec7+Xf2DAGGPxvh9aKDJy/OxIglh12o3YjxeAnjjA==",
|
||||
"requires": {
|
||||
"azure-iot-common": "1.12.4",
|
||||
"azure-iot-common": "1.12.5",
|
||||
"debug": "^4.1.1",
|
||||
"uuid": "^3.3.2"
|
||||
}
|
||||
},
|
||||
"azure-iot-provisioning-device": {
|
||||
"version": "1.8.4",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-provisioning-device/-/azure-iot-provisioning-device-1.8.4.tgz",
|
||||
"integrity": "sha512-LmZQnXclp5aQYqevj3vdq/41TnkEYRih2GzHkkMY/keeIkfTSu5S03euPvQz3yx7+HsL9qsKOd10Ywp3uhhr0Q==",
|
||||
"version": "1.8.5",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-provisioning-device/-/azure-iot-provisioning-device-1.8.5.tgz",
|
||||
"integrity": "sha512-RLgbYmzyjU1DHL+rdYZEpRu5S+PMG6y68CZkwpGPmY5AFGxQiSMNzSjGC2BNG4b2Rz8qjcKMMiKC5AfR2BQX3A==",
|
||||
"requires": {
|
||||
"azure-iot-common": "1.12.4",
|
||||
"azure-iot-common": "1.12.5",
|
||||
"debug": "^4.1.1",
|
||||
"machina": "^4.0.2"
|
||||
}
|
||||
|
|
|
@ -78,4 +78,4 @@
|
|||
"url": "https://github.com/Azure/azure-iot-sdk-node/issues"
|
||||
},
|
||||
"homepage": "https://github.com/Azure/azure-iot-sdk-node#readme"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "azure-iot-provisioning-device-mqtt",
|
||||
"version": "1.7.4",
|
||||
"version": "1.7.5",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
|
@ -406,31 +406,32 @@
|
|||
"integrity": "sha512-TR2mEZFVOj2pLStYxLht7TyfuRzaydfpxr3k9RpHIzMgw7A64dzsdqCxH1WJyQdoe8T10nDXd9wnEigmiuHIZw=="
|
||||
},
|
||||
"azure-iot-common": {
|
||||
"version": "1.12.4",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-common/-/azure-iot-common-1.12.4.tgz",
|
||||
"integrity": "sha512-iCIx7NW4DcxCzT83+fwxTlTk2ipMvgt6P6yuL7gLbFFXB60oa6b3CqkT6/ArTGV4gfORcipAhMBZv7igD6oTsA==",
|
||||
"version": "1.12.5",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-common/-/azure-iot-common-1.12.5.tgz",
|
||||
"integrity": "sha512-CEr5eN7FZ5a8VmFMSlInq6oYDjlPRcd22jpy1qS7XWz5I8exqrV3wmSP/z8wlT4BVePcnn4Fo4JfFVc8XS1Ung==",
|
||||
"requires": {
|
||||
"debug": "^4.1.1",
|
||||
"getos": "^3.1.1"
|
||||
}
|
||||
},
|
||||
"azure-iot-mqtt-base": {
|
||||
"version": "1.12.4",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-mqtt-base/-/azure-iot-mqtt-base-1.12.4.tgz",
|
||||
"integrity": "sha512-VXd9AudDlZkbmWjIGnebfZnXJC1TRliILD8oX+w/Z2cZWW/DB3edLHI51H157rOBXbIgZoy2AEpnoIm3LUU/sQ==",
|
||||
"version": "1.12.5",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-mqtt-base/-/azure-iot-mqtt-base-1.12.5.tgz",
|
||||
"integrity": "sha512-a8J/9lqJqjJG+YuLw4+rP9lCWrwEBAClih5RFV9PNy+vkLC7+bv2kEGy+d4jT38zdom2MgzKwHTKsYEDNwdjpA==",
|
||||
"requires": {
|
||||
"azure-iot-common": "1.12.4",
|
||||
"azure-iot-common": "1.12.5",
|
||||
"debug": "^4.1.1",
|
||||
"machina": "^4.0.2",
|
||||
"mqtt": "^4.0.0"
|
||||
"mqtt": "^4.0.0",
|
||||
"uuid": "^3.3.2"
|
||||
}
|
||||
},
|
||||
"azure-iot-provisioning-device": {
|
||||
"version": "1.8.4",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-provisioning-device/-/azure-iot-provisioning-device-1.8.4.tgz",
|
||||
"integrity": "sha512-LmZQnXclp5aQYqevj3vdq/41TnkEYRih2GzHkkMY/keeIkfTSu5S03euPvQz3yx7+HsL9qsKOd10Ywp3uhhr0Q==",
|
||||
"version": "1.8.5",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-provisioning-device/-/azure-iot-provisioning-device-1.8.5.tgz",
|
||||
"integrity": "sha512-RLgbYmzyjU1DHL+rdYZEpRu5S+PMG6y68CZkwpGPmY5AFGxQiSMNzSjGC2BNG4b2Rz8qjcKMMiKC5AfR2BQX3A==",
|
||||
"requires": {
|
||||
"azure-iot-common": "1.12.4",
|
||||
"azure-iot-common": "1.12.5",
|
||||
"debug": "^4.1.1",
|
||||
"machina": "^4.0.2"
|
||||
}
|
||||
|
@ -452,12 +453,25 @@
|
|||
"dev": true
|
||||
},
|
||||
"bl": {
|
||||
"version": "1.2.2",
|
||||
"resolved": "https://registry.npmjs.org/bl/-/bl-1.2.2.tgz",
|
||||
"integrity": "sha512-e8tQYnZodmebYDWGH7KMRvtzKXaJHx3BbilrgZCfvyLUYdKpK1t5PSPmpkny/SgiTSCnjfLW7v5rlONXVFkQEA==",
|
||||
"version": "4.0.3",
|
||||
"resolved": "https://registry.npmjs.org/bl/-/bl-4.0.3.tgz",
|
||||
"integrity": "sha512-fs4G6/Hu4/EE+F75J8DuN/0IpQqNjAdC7aEQv7Qt8MHGUH7Ckv2MwTEEeN9QehD0pfIDkMI1bkHYkKy7xHyKIg==",
|
||||
"requires": {
|
||||
"readable-stream": "^2.3.5",
|
||||
"safe-buffer": "^5.1.1"
|
||||
"buffer": "^5.5.0",
|
||||
"inherits": "^2.0.4",
|
||||
"readable-stream": "^3.4.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"readable-stream": {
|
||||
"version": "3.6.0",
|
||||
"resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz",
|
||||
"integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==",
|
||||
"requires": {
|
||||
"inherits": "^2.0.3",
|
||||
"string_decoder": "^1.1.1",
|
||||
"util-deprecate": "^1.0.1"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"brace-expansion": {
|
||||
|
@ -484,6 +498,15 @@
|
|||
"integrity": "sha512-qhAVI1+Av2X7qelOfAIYwXONood6XlZE/fXaBSmW/T5SzLAmCgzi+eiWE7fUvbHaeNBQH13UftjpXxsfLkMpgw==",
|
||||
"dev": true
|
||||
},
|
||||
"buffer": {
|
||||
"version": "5.6.0",
|
||||
"resolved": "https://registry.npmjs.org/buffer/-/buffer-5.6.0.tgz",
|
||||
"integrity": "sha512-/gDYp/UtU0eA1ys8bOs9J6a+E/KWIY+DZ+Q2WESNUA0jFRsJOc0SNUO6xJ5SGA1xueg3NL65W6s+NY5l9cunuw==",
|
||||
"requires": {
|
||||
"base64-js": "^1.0.2",
|
||||
"ieee754": "^1.1.4"
|
||||
}
|
||||
},
|
||||
"buffer-from": {
|
||||
"version": "1.1.1",
|
||||
"resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.1.tgz",
|
||||
|
@ -925,9 +948,9 @@
|
|||
},
|
||||
"dependencies": {
|
||||
"type": {
|
||||
"version": "2.0.0",
|
||||
"resolved": "https://registry.npmjs.org/type/-/type-2.0.0.tgz",
|
||||
"integrity": "sha512-KBt58xCHry4Cejnc2ISQAF7QY+ORngsWfxezO68+12hKV6lQY8P/psIkcbjeHWn7MqcgciWJyCCevFMJdIXpow=="
|
||||
"version": "2.1.0",
|
||||
"resolved": "https://registry.npmjs.org/type/-/type-2.1.0.tgz",
|
||||
"integrity": "sha512-G9absDWvhAWCV2gmF1zKud3OyC61nZDwWvBL2DApaVFogI07CprggiQAOOjvp2NRjYWFzPyu7vwtDrQFq8jeSA=="
|
||||
}
|
||||
}
|
||||
},
|
||||
|
@ -1170,6 +1193,11 @@
|
|||
"integrity": "sha512-H2iMtd0I4Mt5eYiapRdIDjp+XzelXQ0tFE4JS7YFwFevXXMmOp9myNrUvCg0D6ws8iqkRPBfKHgbwig1SmlLfg==",
|
||||
"dev": true
|
||||
},
|
||||
"ieee754": {
|
||||
"version": "1.1.13",
|
||||
"resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.1.13.tgz",
|
||||
"integrity": "sha512-4vf7I2LYV/HaWerSo3XmlMkp5eZ83i+/CDluXi/IGTs/O1sejBNhTtnxzmRZfvOUqj7lZjqHkeTvpgSFDlWZTg=="
|
||||
},
|
||||
"imurmurhash": {
|
||||
"version": "0.1.4",
|
||||
"resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz",
|
||||
|
@ -1619,9 +1647,9 @@
|
|||
}
|
||||
},
|
||||
"mqtt": {
|
||||
"version": "4.2.0",
|
||||
"resolved": "https://registry.npmjs.org/mqtt/-/mqtt-4.2.0.tgz",
|
||||
"integrity": "sha512-CGMLigAKCp0hknWPM15yuZRbVrfQjZCG9Wn3GXDEfY2chDmUi5GT3UQ3OhTtMi7fELYb2s4Q/QiWv+dECQ7ZQg==",
|
||||
"version": "4.2.1",
|
||||
"resolved": "https://registry.npmjs.org/mqtt/-/mqtt-4.2.1.tgz",
|
||||
"integrity": "sha512-Iv893r+jWlo5GkNcPOfCGwW8M49IixwHiKLFFYTociEymSibUVCORVEjPXWPGzSxhn7BdlUeHicbRmWiv0Crkg==",
|
||||
"requires": {
|
||||
"base64-js": "^1.3.0",
|
||||
"commist": "^1.0.0",
|
||||
|
@ -1642,15 +1670,13 @@
|
|||
}
|
||||
},
|
||||
"mqtt-packet": {
|
||||
"version": "6.3.2",
|
||||
"resolved": "https://registry.npmjs.org/mqtt-packet/-/mqtt-packet-6.3.2.tgz",
|
||||
"integrity": "sha512-i56+2kN6F57KInGtjjfUXSl4xG8u/zOvfaXFLKFAbBXzWkXOmwcmjaSCBPayf2IQCkQU0+h+S2DizCo3CF6gQA==",
|
||||
"version": "6.5.0",
|
||||
"resolved": "https://registry.npmjs.org/mqtt-packet/-/mqtt-packet-6.5.0.tgz",
|
||||
"integrity": "sha512-Pzv0auCMip3D2JZId5n8q084ASyi3AvpjP1qJUf9d/gjuk2YkjD5xSUe/KPKgXIqfr5x99bRm5FdAm7ag96RBQ==",
|
||||
"requires": {
|
||||
"bl": "^1.2.2",
|
||||
"bl": "^4.0.2",
|
||||
"debug": "^4.1.1",
|
||||
"inherits": "^2.0.3",
|
||||
"process-nextick-args": "^2.0.0",
|
||||
"safe-buffer": "^5.1.2"
|
||||
"process-nextick-args": "^2.0.1"
|
||||
}
|
||||
},
|
||||
"ms": {
|
||||
|
@ -2343,9 +2369,9 @@
|
|||
}
|
||||
},
|
||||
"split2": {
|
||||
"version": "3.2.1",
|
||||
"resolved": "https://registry.npmjs.org/split2/-/split2-3.2.1.tgz",
|
||||
"integrity": "sha512-wmX3JdfKWWghQSjezpJyMxlFodG/vNbV/Y9scsCqYSDWo0nCdteOdzqh8z1NDxpcIZB6BhkqWo6642VI/HA3oA==",
|
||||
"version": "3.2.2",
|
||||
"resolved": "https://registry.npmjs.org/split2/-/split2-3.2.2.tgz",
|
||||
"integrity": "sha512-9NThjpgZnifTkJpzTZ7Eue85S49QwpNhZTq6GRJwObb6jnLFNGB7Qm73V5HewTROPyxD0C29xqmaI68bQtV+hg==",
|
||||
"requires": {
|
||||
"readable-stream": "^3.0.0"
|
||||
},
|
||||
|
|
|
@ -79,4 +79,4 @@
|
|||
"url": "https://github.com/Azure/azure-iot-sdk-node/issues"
|
||||
},
|
||||
"homepage": "https://github.com/Azure/azure-iot-sdk-node#readme"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "azure-iot-security-symmetric-key",
|
||||
"version": "1.7.4",
|
||||
"version": "1.7.5",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
|
@ -406,9 +406,9 @@
|
|||
"integrity": "sha512-TR2mEZFVOj2pLStYxLht7TyfuRzaydfpxr3k9RpHIzMgw7A64dzsdqCxH1WJyQdoe8T10nDXd9wnEigmiuHIZw=="
|
||||
},
|
||||
"azure-iot-common": {
|
||||
"version": "1.12.4",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-common/-/azure-iot-common-1.12.4.tgz",
|
||||
"integrity": "sha512-iCIx7NW4DcxCzT83+fwxTlTk2ipMvgt6P6yuL7gLbFFXB60oa6b3CqkT6/ArTGV4gfORcipAhMBZv7igD6oTsA==",
|
||||
"version": "1.12.5",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-common/-/azure-iot-common-1.12.5.tgz",
|
||||
"integrity": "sha512-CEr5eN7FZ5a8VmFMSlInq6oYDjlPRcd22jpy1qS7XWz5I8exqrV3wmSP/z8wlT4BVePcnn4Fo4JfFVc8XS1Ung==",
|
||||
"requires": {
|
||||
"debug": "^4.1.1",
|
||||
"getos": "^3.1.1"
|
||||
|
|
|
@ -76,4 +76,4 @@
|
|||
"url": "https://github.com/Azure/azure-iot-sdk-node/issues"
|
||||
},
|
||||
"homepage": "https://github.com/Azure/azure-iot-sdk-node#readme"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "azure-iot-security-tpm",
|
||||
"version": "1.8.4",
|
||||
"version": "1.8.5",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
|
@ -439,9 +439,9 @@
|
|||
"integrity": "sha512-TR2mEZFVOj2pLStYxLht7TyfuRzaydfpxr3k9RpHIzMgw7A64dzsdqCxH1WJyQdoe8T10nDXd9wnEigmiuHIZw=="
|
||||
},
|
||||
"azure-iot-common": {
|
||||
"version": "1.12.4",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-common/-/azure-iot-common-1.12.4.tgz",
|
||||
"integrity": "sha512-iCIx7NW4DcxCzT83+fwxTlTk2ipMvgt6P6yuL7gLbFFXB60oa6b3CqkT6/ArTGV4gfORcipAhMBZv7igD6oTsA==",
|
||||
"version": "1.12.5",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-common/-/azure-iot-common-1.12.5.tgz",
|
||||
"integrity": "sha512-CEr5eN7FZ5a8VmFMSlInq6oYDjlPRcd22jpy1qS7XWz5I8exqrV3wmSP/z8wlT4BVePcnn4Fo4JfFVc8XS1Ung==",
|
||||
"requires": {
|
||||
"debug": "^4.1.1",
|
||||
"getos": "^3.1.1"
|
||||
|
|
|
@ -80,4 +80,4 @@
|
|||
"url": "https://github.com/Azure/azure-iot-sdk-node/issues"
|
||||
},
|
||||
"homepage": "https://github.com/Azure/azure-iot-sdk-node#readme"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "azure-iot-security-x509",
|
||||
"version": "1.7.4",
|
||||
"version": "1.7.5",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
|
@ -406,9 +406,9 @@
|
|||
"integrity": "sha512-TR2mEZFVOj2pLStYxLht7TyfuRzaydfpxr3k9RpHIzMgw7A64dzsdqCxH1WJyQdoe8T10nDXd9wnEigmiuHIZw=="
|
||||
},
|
||||
"azure-iot-common": {
|
||||
"version": "1.12.4",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-common/-/azure-iot-common-1.12.4.tgz",
|
||||
"integrity": "sha512-iCIx7NW4DcxCzT83+fwxTlTk2ipMvgt6P6yuL7gLbFFXB60oa6b3CqkT6/ArTGV4gfORcipAhMBZv7igD6oTsA==",
|
||||
"version": "1.12.5",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-common/-/azure-iot-common-1.12.5.tgz",
|
||||
"integrity": "sha512-CEr5eN7FZ5a8VmFMSlInq6oYDjlPRcd22jpy1qS7XWz5I8exqrV3wmSP/z8wlT4BVePcnn4Fo4JfFVc8XS1Ung==",
|
||||
"requires": {
|
||||
"debug": "^4.1.1",
|
||||
"getos": "^3.1.1"
|
||||
|
|
|
@ -75,4 +75,4 @@
|
|||
"url": "https://github.com/Azure/azure-iot-sdk-node/issues"
|
||||
},
|
||||
"homepage": "https://github.com/Azure/azure-iot-sdk-node#readme"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -0,0 +1,149 @@
|
|||
# Digital Twin Service Client requirements
|
||||
|
||||
The `DigitalTwinServiceClient` class provides methods to interact with a device's digital twin object stored in Azure IoT Hub.
|
||||
|
||||
## Overview
|
||||
|
||||
## Public interface
|
||||
|
||||
```typescript
|
||||
type DigitalTwinGetResponse = Models.DigitalTwinGetDigitalTwinResponse;
|
||||
type DigitalTwinUpdateResponse = Models.DigitalTwinUpdateDigitalTwinResponse;
|
||||
type DigitalTwinGetComponentsResponse = Models.DigitalTwinGetComponentsResponse;
|
||||
type DigitalTwinInterfaces = Models.DigitalTwinInterfaces;
|
||||
type DigitalTwinPatch = Models.DigitalTwinPatch;
|
||||
type DigitalTwinInterfacesPatch = Models.DigitalTwinInterfacesPatch;
|
||||
type DigitalTwinUpdateComponentResponse = Models.DigitalTwinUpdateComponentResponse;
|
||||
type DigitalTwinGetComponentResponse = Models.DigitalTwinGetComponentResponse;
|
||||
type GetModelResponse = Models.DigitalTwinGetDigitalTwinModelResponse;
|
||||
type DigitalTwinUpdateDigitalTwinModelResponse = Models.DigitalTwinUpdateDigitalTwinModelResponse | void;
|
||||
type DigitalTwinInvokeComponentCommandResponse = Models.DigitalTwinInvokeComponentCommandResponse;
|
||||
|
||||
class DigitalTwinServiceClient
|
||||
|
||||
getDigitalTwin(digitalTwinId: string): Promise<DigitalTwinResponse>;
|
||||
getDigitalTwin(digitalTwinId: string, callback: TripleValueCallback<DigitalTwin, msRest.HttpOperationResponse>): void;
|
||||
getDigitalTwin(digitalTwinId: string, callback?: TripleValueCallback<DigitalTwin, msRest.HttpOperationResponse>): void | Promise<DigitalTwinResponse>;
|
||||
|
||||
updateDigitalTwin(digitalTwinId: string, patch: DigitalTwinPatch, eTag?: string): Promise<DigitalTwinUpdateResponse>;
|
||||
updateDigitalTwin(digitalTwinId: string, patch: DigitalTwinPatch, eTagOrCallback?: string | TripleValueCallback<DigitalTwinUpdateResponse, msRest.HttpOperationResponse>, callback?: TripleValueCallback<DigitalTwinUpdateResponse, msRest.HttpOperationResponse>): void;
|
||||
updateDigitalTwin(digitalTwinId: string, patch: DigitalTwinPatch, eTagOrCallback?: string | TripleValueCallback<DigitalTwinUpdateResponse, msRest.HttpOperationResponse>, callback?: TripleValueCallback<DigitalTwinUpdateResponse, msRest.HttpOperationResponse>): void | Promise<DigitalTwinUpdateResponse>;
|
||||
|
||||
getComponents(digitalTwinId: string): Promise<DigitalTwinGetComponentsResponse>;
|
||||
getComponents(digitalTwinId: string, callback: TripleValueCallback<DigitalTwinGetComponentsResponse, msRest.HttpOperationResponse>): void;
|
||||
getComponents(digitalTwinId: string, callback?: TripleValueCallback<DigitalTwinGetComponentsResponse, msRest.HttpOperationResponse>): void | Promise<DigitalTwinGetComponentsResponse>;
|
||||
|
||||
updateComponent(digitalTwinId: string, patch: DigitalTwinInterfacesPatch, eTag?: string): Promise<DigitalTwinUpdateComponentResponse>;
|
||||
updateComponent(digitalTwinId: string, patch: DigitalTwinInterfacesPatch, eTagOrCallback?: string | TripleValueCallback<DigitalTwinUpdateComponentResponse, msRest.HttpOperationResponse>, callback?: TripleValueCallback<DigitalTwinUpdateComponentResponse, msRest.HttpOperationResponse>): void;
|
||||
updateComponent(digitalTwinId: string, patch: DigitalTwinInterfacesPatch, eTagOrCallback?: string | TripleValueCallback<DigitalTwinUpdateComponentResponse, msRest.HttpOperationResponse>, callback?: TripleValueCallback<DigitalTwinUpdateComponentResponse, msRest.HttpOperationResponse>): void | Promise<DigitalTwinUpdateComponentResponse>;
|
||||
|
||||
getComponent(digitalTwinId: string, componentName: string): Promise<DigitalTwinGetComponentResponse>;
|
||||
getComponent(digitalTwinId: string, componentName: string, callback: TripleValueCallback<DigitalTwinGetComponentResponse, msRest.HttpOperationResponse>): void;
|
||||
getComponent(digitalTwinId: string, componentName: string, callback?: TripleValueCallback<DigitalTwinGetComponentResponse, msRest.HttpOperationResponse>): void | Promise<DigitalTwinGetComponentResponse>;
|
||||
|
||||
getDigitalTwinModel(modelId: string): Promise<GetModelResponse>;
|
||||
getDigitalTwinModel(modelId: string, callback: TripleValueCallback<GetModelResponse, msRest.HttpOperationResponse>): void;
|
||||
getDigitalTwinModel(modelId: string, callback?: TripleValueCallback<GetModelResponse, msRest.HttpOperationResponse>): void | Promise<GetModelResponse>;
|
||||
|
||||
updateDigitalTwinModel(modelId: string, eTag?: string): Promise<DigitalTwinUpdateDigitalTwinModelResponse>;
|
||||
updateDigitalTwinModel(modelId: string, eTagOrCallback?: string | TripleValueCallback<DigitalTwinUpdateDigitalTwinModelResponse, msRest.HttpOperationResponse>, callback?: TripleValueCallback<DigitalTwinUpdateDigitalTwinModelResponse, msRest.HttpOperationResponse>): void;
|
||||
updateDigitalTwinModel(modelId: string, eTagOrCallback?: string | TripleValueCallback<DigitalTwinUpdateDigitalTwinModelResponse, msRest.HttpOperationResponse>, callback?: TripleValueCallback<DigitalTwinUpdateDigitalTwinModelResponse, msRest.HttpOperationResponse>): void | Promise<DigitalTwinUpdateDigitalTwinModelResponse>;
|
||||
|
||||
invokeComponentCommand(digitalTwinId: string, componentName: string, commandName: string, argument: string): Promise<DigitalTwinInvokeComponentCommandResponse>;
|
||||
invokeComponentCommand(digitalTwinId: string, componentName: string, commandName: string, argument: string, callback: TripleValueCallback<DigitalTwinInvokeComponentCommandResponse, msRest.HttpOperationResponse>): void;
|
||||
invokeComponentCommand(digitalTwinId: string, componentName: string, commandName: string, argument: string, callback?: TripleValueCallback<DigitalTwinInvokeComponentCommandResponse, msRest.HttpOperationResponse>): void | Promise<DigitalTwinInvokeComponentCommandResponse>;
|
||||
```
|
||||
|
||||
## Public API
|
||||
|
||||
## Constructor
|
||||
|
||||
**SRS_NODE_DIGITAL_TWIN_SERVICE_CLIENT_12_001: [** The `DigitalTwinServiceClient` creates an instance of the DigitalTwinServiceClient passing IoTHubTokenCredentials class as an argument. **]**
|
||||
|
||||
## getDigitalTwin
|
||||
|
||||
**SRS_NODE_DIGITAL_TWIN_SERVICE_CLIENT_12_002: [** The `getDigitalTwin` method shall call the `getDigitalTwin` method of the protocol layer with the given argument. **]**
|
||||
|
||||
**SRS_NODE_DIGITAL_TWIN_SERVICE_CLIENT_12_003: [** The `getDigitalTwin` method shall call the callback with an error parameter if a callback is passed. **]**
|
||||
|
||||
**SRS_NODE_DIGITAL_TWIN_SERVICE_CLIENT_12_004: [** The `getDigitalTwin` method shall return error if the method of the protocol layer failed. **]**
|
||||
|
||||
**SRS_NODE_DIGITAL_TWIN_SERVICE_CLIENT_12_020: [** The `getDigitalTwin` method shall return a promise if there is no callback passed. **]**
|
||||
|
||||
## updateDigitalTwin
|
||||
|
||||
**SRS_NODE_DIGITAL_TWIN_SERVICE_CLIENT_12_035: [** The `updateDigitalTwin` method shall call the `updateDigitalTwin` method of the protocol layer with the given argument. **]**
|
||||
|
||||
**SRS_NODE_DIGITAL_TWIN_SERVICE_CLIENT_12_036: [** The `updateDigitalTwin` method shall call the callback with an error parameter if a callback is passed. **]**
|
||||
|
||||
**SRS_NODE_DIGITAL_TWIN_SERVICE_CLIENT_12_037: [** The `updateDigitalTwin` method shall return error if the method of the protocol layer failed. **]**
|
||||
|
||||
**SRS_NODE_DIGITAL_TWIN_SERVICE_CLIENT_12_038: [** The `updateDigitalTwin` method shall return a promise if there is no callback passed. **]**
|
||||
|
||||
**SRS_NODE_DIGITAL_TWIN_SERVICE_CLIENT_12_039: [** The `updateDigitalTwin` method shall call the `updateDigitalTwin` method of the protocol layer with the given arguments including eTag. **]**
|
||||
|
||||
**SRS_NODE_DIGITAL_TWIN_SERVICE_CLIENT_12_040: [** The `updateDigitalTwin` method shall return a promise if eTag is passed and there is no callback passed.] **]**
|
||||
|
||||
## getComponents
|
||||
|
||||
**SRS_NODE_DIGITAL_TWIN_SERVICE_CLIENT_12_031: [** The `getComponents` method shall call the `getComponents` method of the protocol layer with the given argument. **]**
|
||||
|
||||
**SRS_NODE_DIGITAL_TWIN_SERVICE_CLIENT_12_032: [** The `getComponents` method shall call the callback with an error parameter if a callback is passed. **]**
|
||||
|
||||
**SRS_NODE_DIGITAL_TWIN_SERVICE_CLIENT_12_033: [** The `getComponents` method shall return error if the method of the protocol layer failed. **]**
|
||||
|
||||
**SRS_NODE_DIGITAL_TWIN_SERVICE_CLIENT_12_034: [** The `getComponents` method shall return a promise if there is no callback passed. **]**
|
||||
|
||||
## updateComponent
|
||||
|
||||
**SRS_NODE_DIGITAL_TWIN_SERVICE_CLIENT_12_011: [** The `updateComponent` method shall call the `updateComponent` method of the protocol layer with the given arguments. **]**
|
||||
|
||||
**SRS_NODE_DIGITAL_TWIN_SERVICE_CLIENT_12_012: [** The `updateComponent` method shall call the callback with an error parameter if a callback is passed. **]**
|
||||
|
||||
**SRS_NODE_DIGITAL_TWIN_SERVICE_CLIENT_12_013: [** The `updateComponent` method shall return error if the method of the protocol layer failed. **]**
|
||||
|
||||
**SRS_NODE_DIGITAL_TWIN_SERVICE_CLIENT_12_023: [** The `updateComponent` method shall return a promise if there is no callback passed. **]**
|
||||
|
||||
**SRS_NODE_DIGITAL_TWIN_SERVICE_CLIENT_12_026: [** The `updateComponent` method shall call the `updateComponent` method of the protocol layer with the given arguments including eTag. **]**
|
||||
|
||||
**SRS_NODE_DIGITAL_TWIN_SERVICE_CLIENT_12_030: [** The `updateComponent` method shall return a promise if eTag is passed and there is no callback passed.] **]**
|
||||
|
||||
## getComponent
|
||||
|
||||
**SRS_NODE_DIGITAL_TWIN_SERVICE_CLIENT_12_005: [** The `getComponent` method shall call the `getComponent` method of the protocol layer with the given arguments. **]**
|
||||
|
||||
**SRS_NODE_DIGITAL_TWIN_SERVICE_CLIENT_12_006: [** The `getComponent` method shall call the callback with an error parameter if a callback is passed. **]**
|
||||
|
||||
**SRS_NODE_DIGITAL_TWIN_SERVICE_CLIENT_12_007: [** The `getComponent` method shall return error if the method of the protocol layer failed. **]**
|
||||
|
||||
**SRS_NODE_DIGITAL_TWIN_SERVICE_CLIENT_12_021: [** The `getComponent` method shall return a promise if there is no callback passed. **]**
|
||||
|
||||
## getDigitalTwinModel
|
||||
|
||||
**SRS_NODE_DIGITAL_TWIN_SERVICE_CLIENT_12_008: [** The `getDigitalTwinModel` method shall call the `getDigitalTwinModel` method of the protocol layer with the given argument. **]**
|
||||
|
||||
**SRS_NODE_DIGITAL_TWIN_SERVICE_CLIENT_12_009: [** The `getDigitalTwinModel` method shall call the callback with an error parameter if a callback is passed. **]**
|
||||
|
||||
**SRS_NODE_DIGITAL_TWIN_SERVICE_CLIENT_12_010: [** The `getDigitalTwinModel` method shall return error if the method of the protocol layer failed. **]**
|
||||
|
||||
**SRS_NODE_DIGITAL_TWIN_SERVICE_CLIENT_12_022: [** The `getDigitalTwinModel` method shall return a promise if there is no callback passed. **]**
|
||||
|
||||
## updateDigitalTwinModel
|
||||
|
||||
**SRS_NODE_DIGITAL_TWIN_SERVICE_CLIENT_12_035: [** The `updateDigitalTwinModel` method shall call the `updateDigitaupdateDigitalTwinModellTwin` method of the protocol layer with the given argument. **]**
|
||||
|
||||
**SRS_NODE_DIGITAL_TWIN_SERVICE_CLIENT_12_036: [** The `updateDigitalTwinModel` method shall call the callback with an error parameter if a callback is passed. **]**
|
||||
|
||||
**SRS_NODE_DIGITAL_TWIN_SERVICE_CLIENT_12_037: [** The `updateDigitalTwinModel` method shall return error if the method of the protocol layer failed. **]**
|
||||
|
||||
**SRS_NODE_DIGITAL_TWIN_SERVICE_CLIENT_12_038: [** The `updateDigitalTwinModel` method shall return a promise if there is no callback passed. **]**
|
||||
|
||||
## invokeCommand
|
||||
|
||||
**SRS_NODE_DIGITAL_TWIN_SERVICE_CLIENT_12_017: [** The `invokeCommand` method shall call the `invokeComponentCommand` method of the protocol layer with the given arguments. **]**
|
||||
|
||||
**SRS_NODE_DIGITAL_TWIN_SERVICE_CLIENT_12_018: [** The `invokeCommand` method shall call the callback with an error parameter if a callback is passed. **]**
|
||||
|
||||
**SRS_NODE_DIGITAL_TWIN_SERVICE_CLIENT_12_019: [** The `invokeCommand` method shall return error if the method of the protocol layer failed. **]**
|
||||
|
||||
**SRS_NODE_DIGITAL_TWIN_SERVICE_CLIENT_12_025: [** The `invokeCommand` method shall return a promise if there is no callback passed. **]**
|
|
@ -13,3 +13,5 @@ export * from './dist/configuration';
|
|||
export { Device } from './dist/device';
|
||||
export { Module } from './dist/module';
|
||||
export { Twin } from './dist/twin';
|
||||
export { IoTHubTokenCredentials } from './dist/auth/iothub_token_credentials';
|
||||
export { DigitalTwinServiceClient } from './dist/cl/digital_twin_service_client';
|
||||
|
|
|
@ -30,5 +30,7 @@ module.exports = {
|
|||
AmqpWs: require('./dist/amqp_ws.js').AmqpWs,
|
||||
JobClient: require('./dist/job_client.js').JobClient,
|
||||
Device: require('./dist/device.js').Device,
|
||||
Twin: require('./dist/twin.js').Twin
|
||||
Twin: require('./dist/twin.js').Twin,
|
||||
IoTHubTokenCredentials: require('./dist/auth/iothub_token_credentials').IoTHubTokenCredentials,
|
||||
DigitalTwinServiceClient: require('./dist/cl/digital_twin_service_client').DigitalTwinServiceClient
|
||||
};
|
||||
|
|
|
@ -1,9 +1,26 @@
|
|||
{
|
||||
"name": "azure-iothub",
|
||||
"version": "1.12.4",
|
||||
"version": "1.12.5",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
"@azure/ms-rest-js": {
|
||||
"version": "2.0.8",
|
||||
"resolved": "https://registry.npmjs.org/@azure/ms-rest-js/-/ms-rest-js-2.0.8.tgz",
|
||||
"integrity": "sha512-PO4pnYaF66IAB/RWbhrTprGyhOzDzsgcbT7z8k3O38JKlwifbrhW+8M0fzx0ScZnaacP8rZyBazYMUF9P12c0g==",
|
||||
"requires": {
|
||||
"@types/node-fetch": "^2.3.7",
|
||||
"@types/tunnel": "0.0.1",
|
||||
"abort-controller": "^3.0.0",
|
||||
"form-data": "^2.5.0",
|
||||
"node-fetch": "^2.6.0",
|
||||
"tough-cookie": "^3.0.1",
|
||||
"tslib": "^1.10.0",
|
||||
"tunnel": "0.0.6",
|
||||
"uuid": "^3.3.2",
|
||||
"xml2js": "^0.4.19"
|
||||
}
|
||||
},
|
||||
"@babel/code-frame": {
|
||||
"version": "7.10.4",
|
||||
"resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.10.4.tgz",
|
||||
|
@ -320,8 +337,44 @@
|
|||
"@types/node": {
|
||||
"version": "9.6.57",
|
||||
"resolved": "https://registry.npmjs.org/@types/node/-/node-9.6.57.tgz",
|
||||
"integrity": "sha512-588MBlPWKeJFshLmnYbqMEaM3NaJFCVZFgpQ5rQxKCVXMNw2Gs7sTORvCDlaPBP6AabiIvmd22eT9fcIvTeZUw==",
|
||||
"dev": true
|
||||
"integrity": "sha512-588MBlPWKeJFshLmnYbqMEaM3NaJFCVZFgpQ5rQxKCVXMNw2Gs7sTORvCDlaPBP6AabiIvmd22eT9fcIvTeZUw=="
|
||||
},
|
||||
"@types/node-fetch": {
|
||||
"version": "2.5.7",
|
||||
"resolved": "https://registry.npmjs.org/@types/node-fetch/-/node-fetch-2.5.7.tgz",
|
||||
"integrity": "sha512-o2WVNf5UhWRkxlf6eq+jMZDu7kjgpgJfl4xVNlvryc95O/6F2ld8ztKX+qu+Rjyet93WAWm5LjeX9H5FGkODvw==",
|
||||
"requires": {
|
||||
"@types/node": "*",
|
||||
"form-data": "^3.0.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"form-data": {
|
||||
"version": "3.0.0",
|
||||
"resolved": "https://registry.npmjs.org/form-data/-/form-data-3.0.0.tgz",
|
||||
"integrity": "sha512-CKMFDglpbMi6PyN+brwB9Q/GOw0eAnsrEZDgcsH5Krhz5Od/haKHAX0NmQfha2zPPz0JpWzA7GJHGSnvCRLWsg==",
|
||||
"requires": {
|
||||
"asynckit": "^0.4.0",
|
||||
"combined-stream": "^1.0.8",
|
||||
"mime-types": "^2.1.12"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"@types/tunnel": {
|
||||
"version": "0.0.1",
|
||||
"resolved": "https://registry.npmjs.org/@types/tunnel/-/tunnel-0.0.1.tgz",
|
||||
"integrity": "sha512-AOqu6bQu5MSWwYvehMXLukFHnupHrpZ8nvgae5Ggie9UwzDR1CCwoXgSSWNZJuyOlCdfdsWMA5F2LlmvyoTv8A==",
|
||||
"requires": {
|
||||
"@types/node": "*"
|
||||
}
|
||||
},
|
||||
"abort-controller": {
|
||||
"version": "3.0.0",
|
||||
"resolved": "https://registry.npmjs.org/abort-controller/-/abort-controller-3.0.0.tgz",
|
||||
"integrity": "sha512-h8lQ8tacZYnR3vNQTgibj+tODHI5/+l06Au2Pcriv/Gmet0eaj4TwWH41sO9wnHDiQsEj19q0drzdWdeAHtweg==",
|
||||
"requires": {
|
||||
"event-target-shim": "^5.0.0"
|
||||
}
|
||||
},
|
||||
"aggregate-error": {
|
||||
"version": "3.0.1",
|
||||
|
@ -419,13 +472,24 @@
|
|||
"resolved": "https://registry.npmjs.org/async-limiter/-/async-limiter-1.0.1.tgz",
|
||||
"integrity": "sha512-csOlWGAcRFJaI6m+F2WKdnMKr4HhdhFVBk0H/QbJFMCr+uO2kwohwXQPxw/9OCxp05r5ghVBFSyioixx3gfkNQ=="
|
||||
},
|
||||
"asynckit": {
|
||||
"version": "0.4.0",
|
||||
"resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz",
|
||||
"integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k="
|
||||
},
|
||||
"autorest": {
|
||||
"version": "2.0.4413",
|
||||
"resolved": "https://registry.npmjs.org/autorest/-/autorest-2.0.4413.tgz",
|
||||
"integrity": "sha512-Ttx/O6Yag5q8fpJDvllgf/joLuVPBySkbAqDF7+9jAmscCPQplYjA9H/N12bwkhh+6YR3ugWZHQq3NTN33hkAg==",
|
||||
"dev": true
|
||||
},
|
||||
"azure-iot-amqp-base": {
|
||||
"version": "2.4.4",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-amqp-base/-/azure-iot-amqp-base-2.4.4.tgz",
|
||||
"integrity": "sha512-NAAbq4Xf1rQf2BHegLBFvzhC0iszkWL7rVo8z2NgFi5+U7cdKPZ/6AjvloznXvN6Q/sdarghcYPH2XjTTz223A==",
|
||||
"version": "2.4.5",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-amqp-base/-/azure-iot-amqp-base-2.4.5.tgz",
|
||||
"integrity": "sha512-CmWklSc/OsY1p0WzICN5w03T/QrySaNnwjUOfzHbT9ikmHc9dzr4AYgOmVHXxhUimdaoRxGnmHHL873JnsCqhA==",
|
||||
"requires": {
|
||||
"async": "^2.6.2",
|
||||
"azure-iot-common": "1.12.4",
|
||||
"azure-iot-common": "1.12.5",
|
||||
"debug": "^4.1.1",
|
||||
"lodash.merge": "^4.6.1",
|
||||
"machina": "^4.0.2",
|
||||
|
@ -435,20 +499,20 @@
|
|||
}
|
||||
},
|
||||
"azure-iot-common": {
|
||||
"version": "1.12.4",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-common/-/azure-iot-common-1.12.4.tgz",
|
||||
"integrity": "sha512-iCIx7NW4DcxCzT83+fwxTlTk2ipMvgt6P6yuL7gLbFFXB60oa6b3CqkT6/ArTGV4gfORcipAhMBZv7igD6oTsA==",
|
||||
"version": "1.12.5",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-common/-/azure-iot-common-1.12.5.tgz",
|
||||
"integrity": "sha512-CEr5eN7FZ5a8VmFMSlInq6oYDjlPRcd22jpy1qS7XWz5I8exqrV3wmSP/z8wlT4BVePcnn4Fo4JfFVc8XS1Ung==",
|
||||
"requires": {
|
||||
"debug": "^4.1.1",
|
||||
"getos": "^3.1.1"
|
||||
}
|
||||
},
|
||||
"azure-iot-http-base": {
|
||||
"version": "1.11.4",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-http-base/-/azure-iot-http-base-1.11.4.tgz",
|
||||
"integrity": "sha512-OsucwoptU5BTPQI+GvSjc0KRzPvfankvhgxQ+PfsCsVLmlU8mjsQNXBTsE5WU1PPP5hem6XwjbpnZgAo0i2GbA==",
|
||||
"version": "1.11.5",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-http-base/-/azure-iot-http-base-1.11.5.tgz",
|
||||
"integrity": "sha512-8loD9dr+dwug+DWfGKBe1/iE7qdRZZ/08Rxj7UHIcdncZec7+Xf2DAGGPxvh9aKDJy/OxIglh12o3YjxeAnjjA==",
|
||||
"requires": {
|
||||
"azure-iot-common": "1.12.4",
|
||||
"azure-iot-common": "1.12.5",
|
||||
"debug": "^4.1.1",
|
||||
"uuid": "^3.3.2"
|
||||
}
|
||||
|
@ -648,6 +712,14 @@
|
|||
"integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=",
|
||||
"dev": true
|
||||
},
|
||||
"combined-stream": {
|
||||
"version": "1.0.8",
|
||||
"resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz",
|
||||
"integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==",
|
||||
"requires": {
|
||||
"delayed-stream": "~1.0.0"
|
||||
}
|
||||
},
|
||||
"commander": {
|
||||
"version": "2.20.3",
|
||||
"resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz",
|
||||
|
@ -759,6 +831,11 @@
|
|||
"object-keys": "^1.0.12"
|
||||
}
|
||||
},
|
||||
"delayed-stream": {
|
||||
"version": "1.0.0",
|
||||
"resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz",
|
||||
"integrity": "sha1-3zrhmayt+31ECqrgsp4icrJOxhk="
|
||||
},
|
||||
"diff": {
|
||||
"version": "3.5.0",
|
||||
"resolved": "https://registry.npmjs.org/diff/-/diff-3.5.0.tgz",
|
||||
|
@ -874,6 +951,11 @@
|
|||
"integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==",
|
||||
"dev": true
|
||||
},
|
||||
"event-target-shim": {
|
||||
"version": "5.0.1",
|
||||
"resolved": "https://registry.npmjs.org/event-target-shim/-/event-target-shim-5.0.1.tgz",
|
||||
"integrity": "sha512-i/2XbnSz/uxRCU6+NdVJgKWDTM427+MqYbkQzD321DuCQJUqOuJKIA0IM2+W2xtYHdKOmZ4dR6fExsd4SXL+WQ=="
|
||||
},
|
||||
"exit": {
|
||||
"version": "0.1.2",
|
||||
"resolved": "https://registry.npmjs.org/exit/-/exit-0.1.2.tgz",
|
||||
|
@ -928,6 +1010,16 @@
|
|||
"signal-exit": "^3.0.2"
|
||||
}
|
||||
},
|
||||
"form-data": {
|
||||
"version": "2.5.1",
|
||||
"resolved": "https://registry.npmjs.org/form-data/-/form-data-2.5.1.tgz",
|
||||
"integrity": "sha512-m21N3WOmEEURgk6B9GLOE4RuWOFf28Lhh9qGYeNlGq4VDXUlJy2th2slBNU8Gp8EzloYZOibZJ7t5ecIrFSjVA==",
|
||||
"requires": {
|
||||
"asynckit": "^0.4.0",
|
||||
"combined-stream": "^1.0.6",
|
||||
"mime-types": "^2.1.12"
|
||||
}
|
||||
},
|
||||
"fromentries": {
|
||||
"version": "1.2.1",
|
||||
"resolved": "https://registry.npmjs.org/fromentries/-/fromentries-1.2.1.tgz",
|
||||
|
@ -1117,6 +1209,11 @@
|
|||
"integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==",
|
||||
"dev": true
|
||||
},
|
||||
"ip-regex": {
|
||||
"version": "2.1.0",
|
||||
"resolved": "https://registry.npmjs.org/ip-regex/-/ip-regex-2.1.0.tgz",
|
||||
"integrity": "sha1-+ni/XS5pE8kRzp+BnuUUa7bYROk="
|
||||
},
|
||||
"is-binary-path": {
|
||||
"version": "2.1.0",
|
||||
"resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz",
|
||||
|
@ -1451,6 +1548,19 @@
|
|||
"integrity": "sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw==",
|
||||
"dev": true
|
||||
},
|
||||
"mime-db": {
|
||||
"version": "1.44.0",
|
||||
"resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.44.0.tgz",
|
||||
"integrity": "sha512-/NOTfLrsPBVeH7YtFPgsVWveuL+4SjjYxaQ1xtM1KMFj7HdxlBlxeyNLzhyJVx7r4rZGJAZ/6lkKCitSc/Nmpg=="
|
||||
},
|
||||
"mime-types": {
|
||||
"version": "2.1.27",
|
||||
"resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.27.tgz",
|
||||
"integrity": "sha512-JIhqnCasI9yD+SsmkquHBxTSEuZdQX5BuQnS2Vc7puQQQ+8yiP5AY5uWhpdv4YL4VM5c6iliiYWPgJ/nJQLp7w==",
|
||||
"requires": {
|
||||
"mime-db": "1.44.0"
|
||||
}
|
||||
},
|
||||
"minimatch": {
|
||||
"version": "3.0.4",
|
||||
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz",
|
||||
|
@ -1583,6 +1693,11 @@
|
|||
"semver": "^5.7.0"
|
||||
}
|
||||
},
|
||||
"node-fetch": {
|
||||
"version": "2.6.1",
|
||||
"resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.1.tgz",
|
||||
"integrity": "sha512-V4aYg89jEoVRxRb2fJdAg8FHvI7cEyYdVAh94HH0UIK8oJxUfkjlDQN9RbMx+bEjP7+ggMiFRprSti032Oipxw=="
|
||||
},
|
||||
"node-preload": {
|
||||
"version": "0.2.1",
|
||||
"resolved": "https://registry.npmjs.org/node-preload/-/node-preload-0.2.1.tgz",
|
||||
|
@ -1970,6 +2085,16 @@
|
|||
"fromentries": "^1.2.0"
|
||||
}
|
||||
},
|
||||
"psl": {
|
||||
"version": "1.8.0",
|
||||
"resolved": "https://registry.npmjs.org/psl/-/psl-1.8.0.tgz",
|
||||
"integrity": "sha512-RIdOzyoavK+hA18OGGWDqUTsCLhtA7IcZ/6NCs4fFJaHBDab+pDDmDIByWFRQJq2Cd7r1OoQxBGKOaztq+hjIQ=="
|
||||
},
|
||||
"punycode": {
|
||||
"version": "2.1.1",
|
||||
"resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz",
|
||||
"integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A=="
|
||||
},
|
||||
"readable-stream": {
|
||||
"version": "1.1.14",
|
||||
"resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-1.1.14.tgz",
|
||||
|
@ -2060,6 +2185,11 @@
|
|||
"integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==",
|
||||
"dev": true
|
||||
},
|
||||
"sax": {
|
||||
"version": "1.2.4",
|
||||
"resolved": "https://registry.npmjs.org/sax/-/sax-1.2.4.tgz",
|
||||
"integrity": "sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9/atZw+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWw=="
|
||||
},
|
||||
"semver": {
|
||||
"version": "5.7.1",
|
||||
"resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz",
|
||||
|
@ -2272,6 +2402,16 @@
|
|||
"is-number": "^7.0.0"
|
||||
}
|
||||
},
|
||||
"tough-cookie": {
|
||||
"version": "3.0.1",
|
||||
"resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-3.0.1.tgz",
|
||||
"integrity": "sha512-yQyJ0u4pZsv9D4clxO69OEjLWYw+jbgspjTue4lTQZLfV0c5l1VmK2y1JK8E9ahdpltPOaAThPcp5nKPUgSnsg==",
|
||||
"requires": {
|
||||
"ip-regex": "^2.1.0",
|
||||
"psl": "^1.1.28",
|
||||
"punycode": "^2.1.1"
|
||||
}
|
||||
},
|
||||
"ts-node": {
|
||||
"version": "8.10.2",
|
||||
"resolved": "https://registry.npmjs.org/ts-node/-/ts-node-8.10.2.tgz",
|
||||
|
@ -2296,8 +2436,7 @@
|
|||
"tslib": {
|
||||
"version": "1.13.0",
|
||||
"resolved": "https://registry.npmjs.org/tslib/-/tslib-1.13.0.tgz",
|
||||
"integrity": "sha512-i/6DQjL8Xf3be4K/E6Wgpekn5Qasl1usyw++dAA35Ue5orEn65VIxOA+YvNNl9HV3qv70T7CNwjODHZrLwvd1Q==",
|
||||
"dev": true
|
||||
"integrity": "sha512-i/6DQjL8Xf3be4K/E6Wgpekn5Qasl1usyw++dAA35Ue5orEn65VIxOA+YvNNl9HV3qv70T7CNwjODHZrLwvd1Q=="
|
||||
},
|
||||
"tslint": {
|
||||
"version": "6.1.3",
|
||||
|
@ -2337,6 +2476,11 @@
|
|||
"tslib": "^1.8.1"
|
||||
}
|
||||
},
|
||||
"tunnel": {
|
||||
"version": "0.0.6",
|
||||
"resolved": "https://registry.npmjs.org/tunnel/-/tunnel-0.0.6.tgz",
|
||||
"integrity": "sha512-1h/Lnq9yajKY2PEbBadPXj3VxsDDu844OnaAo52UVmIzIvwwtBPIuNvkjuzBlTWpfJyUbG3ez0KSBibQkj4ojg=="
|
||||
},
|
||||
"type-detect": {
|
||||
"version": "4.0.8",
|
||||
"resolved": "https://registry.npmjs.org/type-detect/-/type-detect-4.0.8.tgz",
|
||||
|
@ -2458,6 +2602,20 @@
|
|||
"async-limiter": "~1.0.0"
|
||||
}
|
||||
},
|
||||
"xml2js": {
|
||||
"version": "0.4.23",
|
||||
"resolved": "https://registry.npmjs.org/xml2js/-/xml2js-0.4.23.tgz",
|
||||
"integrity": "sha512-ySPiMjM0+pLDftHgXY4By0uswI3SPKLDw/i3UXbnO8M/p28zqexCUoPmQFrYD+/1BzhGJSs2i1ERWKJAtiLrug==",
|
||||
"requires": {
|
||||
"sax": ">=0.6.0",
|
||||
"xmlbuilder": "~11.0.0"
|
||||
}
|
||||
},
|
||||
"xmlbuilder": {
|
||||
"version": "11.0.1",
|
||||
"resolved": "https://registry.npmjs.org/xmlbuilder/-/xmlbuilder-11.0.1.tgz",
|
||||
"integrity": "sha512-fDlsI/kFEx7gLvbecc0/ohLG50fugQp8ryHzMTuW9vSa1GJ0XYWKnhsUx7oie3G98+r56aTQIUB4kht42R3JvA=="
|
||||
},
|
||||
"y18n": {
|
||||
"version": "4.0.0",
|
||||
"resolved": "https://registry.npmjs.org/y18n/-/y18n-4.0.0.tgz",
|
||||
|
|
|
@ -14,6 +14,8 @@
|
|||
"debug": "^4.1.1",
|
||||
"lodash": "^4.17.20",
|
||||
"machina": "^4.0.2",
|
||||
"@azure/ms-rest-js": "^2.0.5",
|
||||
"tslib": "^1.9.3",
|
||||
"rhea": "^1.0.15"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
@ -28,8 +30,19 @@
|
|||
"ts-node": "^8.6.2",
|
||||
"tslint": "^6.1.0",
|
||||
"typescript": "3.7.5",
|
||||
"autorest": "^2.0.4413",
|
||||
"uuid": "^3.3.2"
|
||||
},
|
||||
"files": [
|
||||
"dist/**/*.js",
|
||||
"dist/**/*.js.map",
|
||||
"dist/**/*.d.ts",
|
||||
"dist/**/*.d.ts.map",
|
||||
"src/**/*.ts",
|
||||
"tsconfig.json",
|
||||
"iothub.js",
|
||||
"iothub.d.ts"
|
||||
],
|
||||
"scripts": {
|
||||
"npmlockrefresh": "npm i --package-lock-only",
|
||||
"lint": "tslint --project . -c ../tslint.json",
|
||||
|
@ -59,10 +72,10 @@
|
|||
".tsx"
|
||||
],
|
||||
"check-coverage": true,
|
||||
"lines": 97,
|
||||
"functions": 93,
|
||||
"branches": 96,
|
||||
"statements": 97
|
||||
"lines": 94,
|
||||
"functions": 83,
|
||||
"branches": 95,
|
||||
"statements": 95
|
||||
},
|
||||
"mocha": {
|
||||
"require": [
|
||||
|
@ -84,4 +97,4 @@
|
|||
"url": "https://github.com/Azure/azure-iot-sdk-node/issues"
|
||||
},
|
||||
"homepage": "https://github.com/Azure/azure-iot-sdk-node#readme"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -93,7 +93,7 @@ var updateConfiguration = function(done) {
|
|||
console.log('getConfiguration failed: ' + err);
|
||||
done();
|
||||
} else {
|
||||
configFromService.metrics.queries['overheat'] = 'SELECT deviceId FROM devices WHERE properties.reported.chillerWaterSettings.temperature > 75';
|
||||
configFromService.metrics.queries.overheat = 'SELECT deviceId FROM devices WHERE properties.reported.chillerWaterSettings.temperature > 75';
|
||||
registry.updateConfiguration(configFromService, function(err) {
|
||||
if (err) {
|
||||
console.log('updateConfiguration failed: ' + err);
|
|
@ -8,12 +8,12 @@ var iothub = require('azure-iothub');
|
|||
var connectionString = process.env.IOTHUB_CONNECTION_STRING;
|
||||
var registry = iothub.Registry.fromConnectionString(connectionString);
|
||||
var device = {
|
||||
deviceId: '<DEVICE ID>',
|
||||
deviceId: process.env.IOTHUB_DEVICE_ID,
|
||||
status: 'enabled',
|
||||
authentication: {
|
||||
x509Thumbprint: {
|
||||
primaryThumbprint: "<PRIMARY THUMBPRINT>",
|
||||
secondaryThumbprint: "<SECONDARY THUMBPRINT>"
|
||||
primaryThumbprint: process.env.IOTHUB_PRIMARY_THUMBPRINT,
|
||||
secondaryThumbprint: process.env.IOTHUB_SECONDARY_THUMBPRINT
|
||||
}
|
||||
}
|
||||
};
|
|
@ -6,11 +6,11 @@
|
|||
var Client = require('azure-iothub').Client;
|
||||
|
||||
var connectionString = process.env.IOTHUB_CONNECTION_STRING;
|
||||
var targetDevice = '<Device Id>';
|
||||
var targetDevice = process.env.IOTHUB_DEVICE_ID;
|
||||
var methodParams = {
|
||||
methodName: '<Method Name>',
|
||||
payload: '[Method Payload]',
|
||||
responseTimeoutInSeconds: 15 // set response timeout as 15 seconds
|
||||
methodName: process.env.IOTHUB_METHOD_NAME,
|
||||
payload: process.env.IOTHUB_METHOD_PAYLOAD,
|
||||
responseTimeoutInSeconds: 15 // set response timeout as 15 seconds
|
||||
};
|
||||
|
||||
var client = Client.fromConnectionString(connectionString);
|
|
@ -64,7 +64,7 @@ var sampleDeployment = {
|
|||
'labels': {
|
||||
'Version': '3.0.1'
|
||||
},
|
||||
}
|
||||
};
|
||||
|
||||
var printJson = function(obj) {
|
||||
console.log(JSON.stringify(obj, null, ' '));
|
||||
|
@ -110,7 +110,7 @@ var updateEdgeDeployment = function(done) {
|
|||
console.log('getConfiguration failed: ' + err);
|
||||
done();
|
||||
} else {
|
||||
configFromService.metrics.queries['notAppliedCount'] = 'select deviceId from devices.modules where moduleId = \'$edgeAgent\' and configurations.[[fake-deployment]].status != \'Applied\'';
|
||||
configFromService.metrics.queries.notAppliedCount = 'select deviceId from devices.modules where moduleId = \'$edgeAgent\' and configurations.[[fake-deployment]].status != \'Applied\'';
|
||||
registry.updateConfiguration(configFromService, function(err) {
|
||||
if (err) {
|
||||
console.log('updateConfiguration failed: ' + err);
|
|
@ -0,0 +1,36 @@
|
|||
// Copyright (c) Microsoft. All rights reserved.
|
||||
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||
|
||||
'use strict';
|
||||
|
||||
const IoTHubTokenCredentials = require('azure-iothub').IoTHubTokenCredentials;
|
||||
const DigitalTwinServiceClient = require('azure-iothub').DigitalTwinServiceClient;
|
||||
const { inspect } = require('util');
|
||||
|
||||
// Simple example of how to:
|
||||
// - create a Digital Twin Service Client using the DigitalTwinServiceClient constructor
|
||||
// - get the Digital Twin
|
||||
//
|
||||
// Preconditions:
|
||||
// - Environment variables have to be set
|
||||
// - Twin enabled device must exist on the ADT hub
|
||||
async function main() {
|
||||
const deviceId = process.env.IOTHUB_DEVICE_ID;
|
||||
const connectionString = process.env.IOTHUB_CONNECTION_STRING;
|
||||
|
||||
// Create digital twin service client
|
||||
const credentials = new IoTHubTokenCredentials(connectionString);
|
||||
const digitalTwinServiceClient = new DigitalTwinServiceClient(credentials);
|
||||
|
||||
// Get digital twin and retrieve the modelId from it
|
||||
const digitalTwin = await digitalTwinServiceClient.getDigitalTwin(deviceId);
|
||||
|
||||
console.log(inspect(digitalTwin));
|
||||
console.log('Model Id: ' + inspect(digitalTwin.$metadata.$model));
|
||||
}
|
||||
|
||||
main().catch((err) => {
|
||||
console.log('error code: ', err.code);
|
||||
console.log('error message: ', err.message);
|
||||
console.log('error stack: ', err.stack);
|
||||
});
|
|
@ -0,0 +1,43 @@
|
|||
// Copyright (c) Microsoft. All rights reserved.
|
||||
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||
|
||||
'use strict';
|
||||
|
||||
const IoTHubTokenCredentials = require('azure-iothub').IoTHubTokenCredentials;
|
||||
const DigitalTwinServiceClient = require('azure-iothub').DigitalTwinServiceClient;
|
||||
const { inspect } = require('util');
|
||||
|
||||
// Simple example of how to:
|
||||
// - create a Digital Twin Service Client using the DigitalTwinServiceClient constructor
|
||||
// - invoke a root level command on a Digital Twin enabled device
|
||||
//
|
||||
// Preconditions:
|
||||
// - Environment variables have to be set
|
||||
// - Twin enabled device must exist on the ADT hub
|
||||
async function main() {
|
||||
const deviceId = process.env.IOTHUB_DEVICE_ID;
|
||||
const connectionString = process.env.IOTHUB_CONNECTION_STRING;
|
||||
const commandName = process.env.IOTHUB_COMMAND_NAME; // for the thermostat you can try getMaxMinReport
|
||||
const commandPayload = process.env.IOTHUB_COMMAND_PAYLOAD; // it really doesn't matter, any string will do.
|
||||
|
||||
// Create service client
|
||||
const credentials = new IoTHubTokenCredentials(connectionString);
|
||||
const digitalTwinServiceClient = new DigitalTwinServiceClient(credentials);
|
||||
|
||||
// Invoke a command
|
||||
const options = {
|
||||
connectTimeoutInSeconds: 30,
|
||||
responseTimeoutInSeconds: 40 // The responseTimeoutInSeconds must be within [5; 300]
|
||||
};
|
||||
const commandResponse = await digitalTwinServiceClient.invokeCommand(deviceId, commandName, commandPayload, options);
|
||||
|
||||
// Print result of the command
|
||||
console.log(inspect(commandResponse));
|
||||
}
|
||||
|
||||
main().catch((err) => {
|
||||
console.log('error code: ', err.code);
|
||||
console.log('error message: ', err.message);
|
||||
console.log('error stack: ', err.stack);
|
||||
});
|
||||
|
|
@ -0,0 +1,44 @@
|
|||
// Copyright (c) Microsoft. All rights reserved.
|
||||
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||
|
||||
'use strict';
|
||||
|
||||
const IoTHubTokenCredentials = require('azure-iothub').IoTHubTokenCredentials;
|
||||
const DigitalTwinServiceClient = require('azure-iothub').DigitalTwinServiceClient;
|
||||
const { inspect } = require('util');
|
||||
|
||||
// Simple example of how to:
|
||||
// - create a Digital Twin Service Client using the DigitalTwinServiceClient constructor
|
||||
// - invoke a command on a Digital Twin enabled device's component
|
||||
//
|
||||
// Preconditions:
|
||||
// - Environment variables have to be set
|
||||
// - Twin enabled device must exist on the ADT hub
|
||||
async function main() {
|
||||
const deviceId = process.env.IOTHUB_DEVICE_ID;
|
||||
const connectionString = process.env.IOTHUB_CONNECTION_STRING;
|
||||
const componentName = process.env.IOTHUB_COMPONENT_NAME; // for the TemperatureController, try thermostat1
|
||||
const commandName = process.env.IOTHUB_COMMAND_NAME; // for the thermostat you can try getMaxMinReport
|
||||
const commandArgument = process.env.IOTHUB_COMMAND_PAYLOAD; // it really doesn't matter, any string will do.
|
||||
|
||||
// Create service client
|
||||
const credentials = new IoTHubTokenCredentials(connectionString);
|
||||
const digitalTwinServiceClient = new DigitalTwinServiceClient(credentials);
|
||||
|
||||
// Invoke a command
|
||||
const options = {
|
||||
connectTimeoutInSeconds: 30,
|
||||
responseTimeoutInSeconds: 40 // The responseTimeoutInSeconds must be within [5; 300]
|
||||
};
|
||||
const commandResponse = await digitalTwinServiceClient.invokeComponentCommand(deviceId, componentName, commandName, commandArgument, options);
|
||||
|
||||
// Print result of the command
|
||||
console.log(inspect(commandResponse));
|
||||
}
|
||||
|
||||
main().catch((err) => {
|
||||
console.log('error code: ', err.code);
|
||||
console.log('error message: ', err.message);
|
||||
console.log('error stack: ', err.stack);
|
||||
});
|
||||
|
|
@ -6,12 +6,12 @@
|
|||
var Client = require('azure-iothub').Client;
|
||||
|
||||
var connectionString = process.env.IOTHUB_CONNECTION_STRING;
|
||||
var deviceId = '[Device ID]';
|
||||
var moduleId = '[Module ID]';
|
||||
var deviceId = process.env.IOTHUB_DEVICE_ID;
|
||||
var moduleId = process.env.IOTHUB_MODULE_ID;
|
||||
|
||||
var methodParams = {
|
||||
methodName: '<Method Name>',
|
||||
payload: '[Method Payload]',
|
||||
methodName: process.env.IOTHUB_METHOD_NAME,
|
||||
payload: process.env.IOTHUB_METHOD_PAYLOAD,
|
||||
responseTimeoutInSeconds: 15 // set response timeout as 15 seconds
|
||||
};
|
||||
|
|
@ -6,8 +6,8 @@
|
|||
var iothub = require('azure-iothub');
|
||||
|
||||
var connectionString = process.env.IOTHUB_CONNECTION_STRING;
|
||||
var deviceId = '[Device ID]';
|
||||
var moduleId = '[Module ID]';
|
||||
var deviceId = process.env.IOTHUB_DEVICE_ID;
|
||||
var moduleId = process.env.IOTHUB_MODULE_ID;
|
||||
|
||||
var registry = iothub.Registry.fromConnectionString(connectionString);
|
||||
|
|
@ -6,8 +6,9 @@
|
|||
var Registry = require('azure-iothub').Registry;
|
||||
|
||||
var connectionString = process.env.IOTHUB_CONNECTION_STRING;
|
||||
var deviceId = '[Device ID]';
|
||||
var moduleId = '[Module ID]';
|
||||
|
||||
var deviceId = process.env.IOTHUB_DEVICE_ID;
|
||||
var moduleId = process.env.IOTHUB_MODULE_ID;
|
||||
|
||||
var registry = Registry.fromConnectionString(connectionString);
|
||||
registry.getModuleTwin(deviceId, moduleId, function(err, twin) {
|
|
@ -57,12 +57,12 @@
|
|||
"integrity": "sha512-wMHVg2EOHaMRxbzgFJ9gtjOOCrI80OHLG14rxi28XwOW8ux6IiEbRCGGGqCtdAIg4FQCbW20k9RsT4y3gJlFug=="
|
||||
},
|
||||
"azure-iot-amqp-base": {
|
||||
"version": "2.4.4",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-amqp-base/-/azure-iot-amqp-base-2.4.4.tgz",
|
||||
"integrity": "sha512-NAAbq4Xf1rQf2BHegLBFvzhC0iszkWL7rVo8z2NgFi5+U7cdKPZ/6AjvloznXvN6Q/sdarghcYPH2XjTTz223A==",
|
||||
"version": "2.4.5",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-amqp-base/-/azure-iot-amqp-base-2.4.5.tgz",
|
||||
"integrity": "sha512-CmWklSc/OsY1p0WzICN5w03T/QrySaNnwjUOfzHbT9ikmHc9dzr4AYgOmVHXxhUimdaoRxGnmHHL873JnsCqhA==",
|
||||
"requires": {
|
||||
"async": "^2.6.2",
|
||||
"azure-iot-common": "1.12.4",
|
||||
"azure-iot-common": "1.12.5",
|
||||
"debug": "^4.1.1",
|
||||
"lodash.merge": "^4.6.1",
|
||||
"machina": "^4.0.2",
|
||||
|
@ -72,35 +72,35 @@
|
|||
}
|
||||
},
|
||||
"azure-iot-common": {
|
||||
"version": "1.12.4",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-common/-/azure-iot-common-1.12.4.tgz",
|
||||
"integrity": "sha512-iCIx7NW4DcxCzT83+fwxTlTk2ipMvgt6P6yuL7gLbFFXB60oa6b3CqkT6/ArTGV4gfORcipAhMBZv7igD6oTsA==",
|
||||
"version": "1.12.5",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-common/-/azure-iot-common-1.12.5.tgz",
|
||||
"integrity": "sha512-CEr5eN7FZ5a8VmFMSlInq6oYDjlPRcd22jpy1qS7XWz5I8exqrV3wmSP/z8wlT4BVePcnn4Fo4JfFVc8XS1Ung==",
|
||||
"requires": {
|
||||
"debug": "^4.1.1",
|
||||
"getos": "^3.1.1"
|
||||
}
|
||||
},
|
||||
"azure-iot-http-base": {
|
||||
"version": "1.11.4",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-http-base/-/azure-iot-http-base-1.11.4.tgz",
|
||||
"integrity": "sha512-OsucwoptU5BTPQI+GvSjc0KRzPvfankvhgxQ+PfsCsVLmlU8mjsQNXBTsE5WU1PPP5hem6XwjbpnZgAo0i2GbA==",
|
||||
"version": "1.11.5",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-http-base/-/azure-iot-http-base-1.11.5.tgz",
|
||||
"integrity": "sha512-8loD9dr+dwug+DWfGKBe1/iE7qdRZZ/08Rxj7UHIcdncZec7+Xf2DAGGPxvh9aKDJy/OxIglh12o3YjxeAnjjA==",
|
||||
"requires": {
|
||||
"azure-iot-common": "1.12.4",
|
||||
"azure-iot-common": "1.12.5",
|
||||
"debug": "^4.1.1",
|
||||
"uuid": "^3.3.2"
|
||||
}
|
||||
},
|
||||
"azure-iothub": {
|
||||
"version": "1.12.4",
|
||||
"resolved": "https://registry.npmjs.org/azure-iothub/-/azure-iothub-1.12.4.tgz",
|
||||
"integrity": "sha512-jYBRUewf9VyVUkA/p9z7tvYL2bIJe6Rz/ncnjlWcT3a85XMtoI2Jj2/UsNNeymtIk1Y6xjWaLdzgsKunfB0xdg==",
|
||||
"version": "1.12.5",
|
||||
"resolved": "https://registry.npmjs.org/azure-iothub/-/azure-iothub-1.12.5.tgz",
|
||||
"integrity": "sha512-Xj5vl7dot8y82ZY4y2vhBryRfy4agO0SVy72rWytPsNipfOYDw7GHUUawAGqhi1Dc66VVjMUq7x8XDa3W3taeA==",
|
||||
"requires": {
|
||||
"async": "^2.6.2",
|
||||
"azure-iot-amqp-base": "2.4.4",
|
||||
"azure-iot-common": "1.12.4",
|
||||
"azure-iot-http-base": "1.11.4",
|
||||
"azure-iot-amqp-base": "2.4.5",
|
||||
"azure-iot-common": "1.12.5",
|
||||
"azure-iot-http-base": "1.11.5",
|
||||
"debug": "^4.1.1",
|
||||
"lodash": "^4.17.15",
|
||||
"lodash": "^4.17.20",
|
||||
"machina": "^4.0.2",
|
||||
"rhea": "^1.0.15"
|
||||
}
|
|
@ -6,10 +6,15 @@
|
|||
"author": "Microsoft Corp.",
|
||||
"license": "MIT",
|
||||
"scripts": {
|
||||
"npmlockrefresh": "npm i --package-lock-only"
|
||||
"npmlockrefresh": "npm i --package-lock-only",
|
||||
"lint": "jshint --show-non-errors .",
|
||||
"ci": "npm run lint"
|
||||
},
|
||||
"dependencies": {
|
||||
"azure-iothub": "1.12.5",
|
||||
"azure-storage": "^2.10.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"jshint": "^2.10.2"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,96 @@
|
|||
# Samples for the Azure IoT service SDK for Node.js
|
||||
|
||||
This folder contains simple samples showing how to use the various features of the Microsoft Azure IoT Hub service from a device running C code.
|
||||
|
||||
## List of samples
|
||||
|
||||
* Registry
|
||||
* **registry_sample.js**: Manage the device ID registry of IoT Hub.
|
||||
* **registry_bulk_sample.js**: Create a set of device IDs in the device ID registry of IoT Hub in bulk.
|
||||
* **create_device_with_cert.js**: Create a new device ID using an X-509 certificate.
|
||||
|
||||
* Messaging
|
||||
* **send_c2d_message.js** : Send C2D messages to a device through IoT Hub.
|
||||
|
||||
* Device services samples (Device Twins, Methods, and Device Management) (See [device management patterns][dm-patterns] for instructions on running the device management patterns samples):
|
||||
* **twin.js**: Interact with the Device Twins from a back-end app.
|
||||
* **twin_query.js**: Interact with the Device Twins using queries from a back-end app.
|
||||
* **device_method.js**: Invoke a C2D Direct Method on a device through IoT Hub.
|
||||
* **dmpatterns_reboot_service.js**: Initiate a C2D method to reboot a device and view progress through the twin reported properties.
|
||||
* **dmpatterns_fwupdate_service.js**: Implement the service side of the firmware update DM pattern.
|
||||
* **job_query.js**: Use the jobs query feature of the service SDK.
|
||||
* **schedule_job.js**: Schedule device management jobs.
|
||||
|
||||
* Uploading blob to Azure:
|
||||
* **receive_file_notifications.js**: Track the progress of the file "upload to blob" by devices.
|
||||
|
||||
* Plug and Play
|
||||
* **invoke_command.js** invokes a command on a device interface instance.
|
||||
* **invoke_component_command.js** invokes a command that is defined by a specific component.
|
||||
* **get_digital_twin.js** gets the digital twin for a specific device.
|
||||
* **update_digital_twin.js** creates a patch to updates multiple writable properties on a digital twin, potentially on multiple interface instances.
|
||||
|
||||
|
||||
|
||||
## How to run the samples
|
||||
In order to run the device samples you will first need the following prerequisites:
|
||||
* Node.js 10 or above on your target device. (Check out [Nodejs.org](https://nodejs.org/) for more info)
|
||||
* [Create an Azure IoT Hub instance][lnk-setup-iot-hub]
|
||||
|
||||
Get the following files from the current folder:
|
||||
* **package.json**
|
||||
* **__sample_file.js__** (where **__sample_file.js__** is one of the files listed above and available in this folder)
|
||||
|
||||
Place the files in the folder of your choice on the target machine/device then go through the following steps:
|
||||
* Open the file **__sample_file.js__** in a text editor.
|
||||
* Set the following environment variable:
|
||||
|
||||
```shell
|
||||
set IOTHUB_CONNECTION_STRING=<your IoT Hub connection string>
|
||||
```
|
||||
|
||||
*use `export` instead of `set` if you're running MacOS or Linux.*
|
||||
|
||||
* Depending on the samples you can also set the following environment variables:
|
||||
|
||||
```shell
|
||||
set IOTHUB_DEVICE_ID=<device id>
|
||||
set IOTHUB_PRIMARY_THUMBPRINT=<primary thumbprint>
|
||||
set IOTHUB_SECONDARY_THUMBPRINT=<secondary thumbprint>
|
||||
set IOTHUB_MODULE_ID=<module id>
|
||||
set IOTHUB_METHOD_NAME=<method name>
|
||||
set IOTHUB_METHOD_PAYLOAD=<method payload>
|
||||
set STORAGE_CONNECTION_STRING=<storage connection string>
|
||||
set IOTHUB_DEVICE_ID2=<second device id>
|
||||
```
|
||||
|
||||
* additionally some Plug and Play samples take the following environment variables:
|
||||
|
||||
```shell
|
||||
set IOTHUB_COMPONENT_NAME=<name of the component>
|
||||
set IOTHUB_COMMAND_NAME=<command to execute>
|
||||
set IOTHUB_COMMAND_PAYLOAD=<json payload for the above command>
|
||||
```
|
||||
|
||||
* From a shell or Node.js command prompt, navigate to the folder where you placed the sample files. Run the sample application using the following commands:
|
||||
```
|
||||
npm install
|
||||
node sample_file.js
|
||||
```
|
||||
|
||||
To run the Device Management samples, follow our [DM patterns documentation][dm-patterns].
|
||||
|
||||
## Read More
|
||||
For more information on how to use this library refer to the documents below:
|
||||
- [Prepare your node.js development environment](../../../doc/node-devbox-setup.md)
|
||||
- [Setup IoT Hub][lnk-setup-iot-hub]
|
||||
- [Node API reference][node-api-reference]
|
||||
- [Debugging with Visual Studio Code][debug-with-vscode]
|
||||
- [Use the Azure IoT Explorer tool][iothub-explorer]
|
||||
|
||||
[lnk-setup-iot-hub]: https://aka.ms/howtocreateazureiothub
|
||||
[remote-monitoring-pcs]: https://docs.microsoft.com/en-us/azure/iot-suite/iot-suite-remote-monitoring-sample-walkthrough
|
||||
[node-api-reference]: https://docs.microsoft.com/en-us/javascript/api/azure-iothub/
|
||||
[iothub-explorer]: https://docs.microsoft.com/en-us/azure/iot-pnp/howto-use-iot-explorer
|
||||
[dm-patterns]: ../../../doc/dmpatterns.md
|
||||
[debug-with-vscode]: ../../../doc/get_started/node-debug-vscode.md
|
|
@ -17,14 +17,6 @@ var expiryDate = new Date(startDate);
|
|||
expiryDate.setMinutes(startDate.getMinutes() + 100);
|
||||
startDate.setMinutes(startDate.getMinutes() - 100);
|
||||
|
||||
var inputSharedAccessPolicy = {
|
||||
AccessPolicy: {
|
||||
Permissions: 'rl',
|
||||
Start: startDate,
|
||||
Expiry: expiryDate
|
||||
},
|
||||
};
|
||||
|
||||
var outputSharedAccessPolicy = {
|
||||
AccessPolicy: {
|
||||
Permissions: 'rwd',
|
||||
|
@ -41,8 +33,6 @@ blobSvc.createContainerIfNotExists(inputContainerName, function (error) {
|
|||
if(error) {
|
||||
console.error('Could not create input container: ' + error.message);
|
||||
} else {
|
||||
var inputSasToken = blobSvc.generateSharedAccessSignature(inputContainerName, null, inputSharedAccessPolicy);
|
||||
var inputSasUrl = blobSvc.getUrl(inputContainerName, null, inputSasToken);
|
||||
blobSvc.createBlockBlobFromLocalFile(inputContainerName, deviceFile, deviceFile, function (error) {
|
||||
if (error) {
|
||||
console.error('Could not create devices.txt: ' + error.message);
|
|
@ -3,25 +3,27 @@
|
|||
|
||||
"use strict";
|
||||
|
||||
var uuid = require('uuid');
|
||||
var JobClient = require('azure-iothub').JobClient;
|
||||
const uuid = require('uuid');
|
||||
const JobClient = require('azure-iothub').JobClient;
|
||||
|
||||
var connectionString = process.env.IOTHUB_CONNECTION_STRING;
|
||||
var queryCondition = "deviceId IN ['<device Id 1>', '<device Id 2>']"; // example queryCondition = "deviceId IN ['MyDevice1', 'MyDevice2']"
|
||||
// For a single device you can also set queryCondition as "deviceId = '<device id>'" . Example, "deviceId = 'MyDevice1'"
|
||||
var startTime = new Date();
|
||||
var maxExecutionTimeInSeconds = 3600;
|
||||
const connectionString = process.env.IOTHUB_CONNECTION_STRING;
|
||||
const queryCondition = 'deviceId IN [' +
|
||||
process.env.IOTHUB_DEVICE_ID + ', ' +
|
||||
process.env.IOTHUB_DEVICE_ID2 + ']'; // example queryCondition = "deviceId IN ['MyDevice1', 'MyDevice2']"
|
||||
// For a single device you can also set queryCondition as "deviceId = '<device id>'" . Example, "deviceId = 'MyDevice1'"
|
||||
const startTime = new Date();
|
||||
const maxExecutionTimeInSeconds = 3600;
|
||||
|
||||
var jobClient = JobClient.fromConnectionString(connectionString);
|
||||
const jobClient = JobClient.fromConnectionString(connectionString);
|
||||
|
||||
// Schedule a device method call.
|
||||
var methodParams = {
|
||||
const methodParams = {
|
||||
methodName: 'methodName',
|
||||
payload: null,
|
||||
responseTimeoutInSeconds: 15 // set response timeout as 15 seconds
|
||||
responseTimeoutInSeconds: 15 // set response timeout as 15 seconds
|
||||
};
|
||||
|
||||
var methodJobId = uuid.v4();
|
||||
const methodJobId = uuid.v4();
|
||||
console.log('scheduling Device Method job with id: ' + methodJobId);
|
||||
jobClient.scheduleDeviceMethod(methodJobId,
|
||||
queryCondition,
|
|
@ -7,7 +7,7 @@ var Client = require('azure-iothub').Client;
|
|||
var Message = require('azure-iot-common').Message;
|
||||
|
||||
var connectionString = process.env.IOTHUB_CONNECTION_STRING;
|
||||
var targetDevice = '[Target device that will receive the message]';
|
||||
var targetDevice = process.env.IOTHUB_DEVICE_ID;
|
||||
|
||||
var client = Client.fromConnectionString(connectionString);
|
||||
|
|
@ -6,7 +6,7 @@
|
|||
var Registry = require('azure-iothub').Registry;
|
||||
|
||||
var connectionString = process.env.IOTHUB_CONNECTION_STRING;
|
||||
var deviceId = '[Device ID]';
|
||||
var deviceId = process.env.IOTHUB_DEVICE_ID;
|
||||
|
||||
var registry = Registry.fromConnectionString(connectionString);
|
||||
registry.getTwin(deviceId, function(err, twin) {
|
|
@ -0,0 +1,46 @@
|
|||
// Copyright (c) Microsoft. All rights reserved.
|
||||
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||
|
||||
'use strict';
|
||||
|
||||
const IoTHubTokenCredentials = require('azure-iothub').IoTHubTokenCredentials;
|
||||
const DigitalTwinServiceClient = require('azure-iothub').DigitalTwinServiceClient;
|
||||
|
||||
// Simple example of how to:
|
||||
// - create a Digital Twin Service Client using the DigitalTwinServiceClient constructor
|
||||
// - create a patch for modifying the Digital Twin
|
||||
// - update the Digital Twin with patch
|
||||
//
|
||||
// Preconditions:
|
||||
// - Environment variables have to be set
|
||||
// - Twin enabled device must exist on the ADT hub
|
||||
async function main() {
|
||||
const deviceId = process.env.IOTHUB_DEVICE_ID;
|
||||
const connString = process.env.IOTHUB_CONNECTION_STRING;
|
||||
|
||||
// Create service client
|
||||
const credentials = new IoTHubTokenCredentials(connString);
|
||||
const digitalTwinServiceClient = new DigitalTwinServiceClient(credentials);
|
||||
|
||||
// Update digital twin and verify the update
|
||||
// If you already have a component thermostat1:
|
||||
// const patch = [{
|
||||
// op: 'replace',
|
||||
// path: '/thermostat1/targetTemperature',
|
||||
// value: 42
|
||||
// }];
|
||||
const patch = [{
|
||||
op: 'add',
|
||||
path: '/targetTemperature',
|
||||
value: 42
|
||||
}];
|
||||
await digitalTwinServiceClient.updateDigitalTwin(deviceId, patch);
|
||||
|
||||
console.log('Patch has been succesfully applied');
|
||||
}
|
||||
|
||||
main().catch((err) => {
|
||||
console.log('error code: ', err.code);
|
||||
console.log('error message: ', err.message);
|
||||
console.log('error stack: ', err.stack);
|
||||
});
|
|
@ -1,69 +1,5 @@
|
|||
# Samples for the Azure IoT service SDK for Node.js
|
||||
|
||||
This folder contains simple samples showing how to use the various features of the Microsoft Azure IoT Hub service from a device running C code.
|
||||
Javascript samples for the all of the service scenarios can be found in the **javascript** folder.
|
||||
|
||||
## List of samples
|
||||
|
||||
* Registry
|
||||
* **registry_sample.js**: Manage the device ID registry of IoT Hub.
|
||||
* **registry_bulk_sample.js**: Create a set of device IDs in the device ID registry of IoT Hub in bulk.
|
||||
* **create_device_with_cert.js**: Create a new device ID using an X-509 certificate.
|
||||
|
||||
* Messaging
|
||||
* **send_c2d_message.js** : Send C2D messages to a device through IoT Hub.
|
||||
|
||||
* Device services samples (Device Twins, Methods, and Device Management) (See [device management patterns][dm-patterns] for instructions on running the device management patterns samples):
|
||||
* **twin.js**: Interact with the Device Twins from a back-end app.
|
||||
* **twin_query.js**: Interact with the Device Twins using queries from a back-end app.
|
||||
* **device_method.js**: Invoke a C2D Direct Method on a device through IoT Hub.
|
||||
* **dmpatterns_reboot_service.js**: Initiate a C2D method to reboot a device and view progress through the twin reported properties.
|
||||
* **dmpatterns_fwupdate_service.js**: Implement the service side of the firmware update DM pattern.
|
||||
* **job_query.js**: Use the jobs query feature of the service SDK.
|
||||
* **schedule_job.js**: Schedule device management jobs.
|
||||
|
||||
* Uploading blob to Azure:
|
||||
* **receive_file_notifications.js**: Track the progress of the file "upload to blob" by devices.
|
||||
|
||||
|
||||
## How to run the samples
|
||||
In order to run the device samples you will first need the following prerequisites:
|
||||
* Node.js v0.10 or above on your target device. (Check out [Nodejs.org](https://nodejs.org/) for more info)
|
||||
* [Create an Azure IoT Hub instance][lnk-setup-iot-hub]
|
||||
|
||||
Get the following files from the current folder:
|
||||
* **package.json**
|
||||
* **__sample_file.js__** (where **__sample_file.js__** is one of the files listed above and available in this folder)
|
||||
|
||||
Place the files in the folder of your choice on the target machine/device then go through the following steps:
|
||||
* Open the file **__sample_file.js__** in a text editor.
|
||||
* Locate the following code in the file:
|
||||
```
|
||||
var connectionString = '[IoT Connection String]';
|
||||
```
|
||||
* Replace `[IoT Connection String]` with the connection string for the access policy you want to use (learn more about access policies here). Save the changes.
|
||||
* From a shell or Node.js command prompt, navigate to the folder where you placed the sample files. Run the sample application using the following commands:
|
||||
```
|
||||
npm install
|
||||
node sample_file.js
|
||||
```
|
||||
|
||||
To run the Device Management samples, follow our [DM patterns documentation][dm-patterns].
|
||||
|
||||
## Using the SDK with Promises rather than callbacks
|
||||
If you'd like to see how to "convert" this samples to promises instead of using callbacks, please refer to [this page][promises] of the wiki!
|
||||
|
||||
## Read More
|
||||
For more information on how to use this library refer to the documents below:
|
||||
- [Prepare your node.js development environment](../../doc/node-devbox-setup.md)
|
||||
- [Setup IoT Hub][lnk-setup-iot-hub]
|
||||
- [Node API reference][node-api-reference]
|
||||
- [Debugging with Visual Studio Code][debug-with-vscode]
|
||||
- [Use the iothub-explorer command line tool][iothub-explorer]
|
||||
|
||||
[lnk-setup-iot-hub]: https://aka.ms/howtocreateazureiothub
|
||||
[remote-monitoring-pcs]: https://docs.microsoft.com/en-us/azure/iot-suite/iot-suite-remote-monitoring-sample-walkthrough
|
||||
[node-api-reference]: https://docs.microsoft.com/en-us/javascript/api/azure-iothub/
|
||||
[iothub-explorer]: https://github.com/azure/iothub-explorer
|
||||
[dm-patterns]: ../../doc/dmpatterns.md
|
||||
[debug-with-vscode]: ../../doc/get_started/node-debug-vscode.md
|
||||
[promises]: https://github.com/Azure/azure-iot-sdk-node/wiki/Promises
|
||||
Typescript versions for Plug and Play service scenarios can by found in the **typescript** folder.
|
|
@ -0,0 +1,33 @@
|
|||
// Copyright (c) Microsoft. All rights reserved.
|
||||
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||
|
||||
import { DigitalTwinServiceClient } from 'azure-iothub';
|
||||
import { IoTHubTokenCredentials } from 'azure-iothub';
|
||||
|
||||
// Simple example of how to:
|
||||
// - create a Digital Twin Service Client using the DigitalTwinServiceClient constructor
|
||||
// - get the Digital Twin
|
||||
//
|
||||
// Preconditions:
|
||||
// - Environment variables have to be set
|
||||
// - Twin enabled device must exist on the ADT hub
|
||||
const deviceId = process.env.IOTHUB_DEVICE_ID || '';
|
||||
const connectionString = process.env.IOTHUB_CONNECTION_STRING || '';
|
||||
const metadata = '$metadata';
|
||||
const model = '$model';
|
||||
|
||||
async function asyncMain(): Promise<void> {
|
||||
const digitalTwinServiceClient = new DigitalTwinServiceClient(new IoTHubTokenCredentials(connectionString));
|
||||
const deviceTwin = await digitalTwinServiceClient.getDigitalTwin(deviceId);
|
||||
|
||||
// Print the response
|
||||
if (!!(deviceTwin)) {
|
||||
console.log(deviceTwin[metadata][model]);
|
||||
}
|
||||
}
|
||||
|
||||
asyncMain().catch((err) => {
|
||||
console.log('error code: ', err.code);
|
||||
console.log('error message: ', err.message);
|
||||
console.log('error stack: ', err.stack);
|
||||
});
|
|
@ -0,0 +1,40 @@
|
|||
// Copyright (c) Microsoft. All rights reserved.
|
||||
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||
|
||||
import { DigitalTwinServiceClient } from 'azure-iothub';
|
||||
import { IoTHubTokenCredentials } from 'azure-iothub';
|
||||
|
||||
const deviceId = process.env.IOTHUB_DEVICE_ID || '';
|
||||
const connectionString = process.env.IOTHUB_CONNECTION_STRING || '';
|
||||
const commandName = process.env.IOTHUB_COMMAND_NAME || 'turnOn'; // for the environmental sensor, you can try "blink", "turnOff" or "turnOn"
|
||||
const commandPayload = process.env.IOTHUB_COMMAND_PAYLOAD || ''; // for the environmental sensor, it really doesn't matter. any string will do.
|
||||
|
||||
// Simple example of how to:
|
||||
// - create a Digital Twin Service Client using the DigitalTwinServiceClient constructor
|
||||
// - invoke a root level command on a Digital Twin enabled device
|
||||
//
|
||||
// Preconditions:
|
||||
// - Environment variables have to be set
|
||||
// - Twin enabled device must exist on the ADT hub
|
||||
async function asyncMain(): Promise<void> {
|
||||
console.log('invoking command ' + commandName + ' for device ' + deviceId + '...');
|
||||
|
||||
const credentials = new IoTHubTokenCredentials(connectionString);
|
||||
const digitalTwinServiceClient = new DigitalTwinServiceClient(credentials);
|
||||
|
||||
// Invoke a command
|
||||
const options = {
|
||||
connectTimeoutInSeconds: 20,
|
||||
responseTimeoutInSeconds: 40 // The responseTimeoutInSeconds must be within [5; 300]
|
||||
};
|
||||
const invokeCommandResponse = await digitalTwinServiceClient.invokeCommand(deviceId, commandName, commandPayload, options);
|
||||
|
||||
// Print the response
|
||||
console.log(JSON.stringify(invokeCommandResponse, null, 2));
|
||||
}
|
||||
|
||||
asyncMain().catch((err) => {
|
||||
console.log('error code: ', err.code);
|
||||
console.log('error message: ', err.message);
|
||||
console.log('error stack: ', err.stack);
|
||||
});
|
|
@ -0,0 +1,41 @@
|
|||
// Copyright (c) Microsoft. All rights reserved.
|
||||
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||
|
||||
import { DigitalTwinServiceClient } from 'azure-iothub';
|
||||
import { IoTHubTokenCredentials } from 'azure-iothub';
|
||||
|
||||
const deviceId = process.env.IOTHUB_DEVICE_ID || '';
|
||||
const connectionString = process.env.IOTHUB_CONNECTION_STRING || '';
|
||||
const componentName = process.env.IOTHUB_COMPONENT_NAME || 'sensor'; // for the environmental sensor, try "sensor"
|
||||
const commandName = process.env.IOTHUB_COMMAND_NAME || 'turnOn'; // for the environmental sensor, you can try "blink", "turnOff" or "turnOn"
|
||||
const commandPayload = process.env.IOTHUB_COMMAND_PAYLOAD || ''; // for the environmental sensor, it really doesn't matter. any string will do.
|
||||
|
||||
// Simple example of how to:
|
||||
// - create a Digital Twin Service Client using the DigitalTwinServiceClient constructor
|
||||
// - invoke a command on a Digital Twin enabled device's component
|
||||
//
|
||||
// Preconditions:
|
||||
// - Environment variables have to be set
|
||||
// - Twin enabled device must exist on the ADT hub
|
||||
async function asyncMain(): Promise<void> {
|
||||
console.log('invoking command ' + commandName + ' on component ' + componentName + ' for device ' + deviceId + '...');
|
||||
|
||||
const credentials = new IoTHubTokenCredentials(connectionString);
|
||||
const digitalTwinServiceClient = new DigitalTwinServiceClient(credentials);
|
||||
|
||||
// Invoke a command
|
||||
const options = {
|
||||
connectTimeoutInSeconds: 30,
|
||||
responseTimeoutInSeconds: 40 // The responseTimeoutInSeconds must be within [5; 300]
|
||||
};
|
||||
const invokeComponentCommandResponse = await digitalTwinServiceClient.invokeComponentCommand(deviceId, componentName, commandName, commandPayload, options);
|
||||
|
||||
// Print the response
|
||||
console.log(JSON.stringify(invokeComponentCommandResponse, null, 2));
|
||||
}
|
||||
|
||||
asyncMain().catch((err) => {
|
||||
console.log('error code: ', err.code);
|
||||
console.log('error message: ', err.message);
|
||||
console.log('error stack: ', err.stack);
|
||||
});
|
|
@ -0,0 +1,503 @@
|
|||
{
|
||||
"name": "service-samples-typescript",
|
||||
"version": "0.0.1",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
"@babel/code-frame": {
|
||||
"version": "7.10.4",
|
||||
"resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.10.4.tgz",
|
||||
"integrity": "sha512-vG6SvB6oYEhvgisZNFRmRCUkLz11c7rp+tbNTynGqc6mS1d5ATd/sGyV6W0KZZnXRKMTzZDRgQT3Ou9jhpAfUg==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"@babel/highlight": "^7.10.4"
|
||||
}
|
||||
},
|
||||
"@babel/helper-validator-identifier": {
|
||||
"version": "7.10.4",
|
||||
"resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.10.4.tgz",
|
||||
"integrity": "sha512-3U9y+43hz7ZM+rzG24Qe2mufW5KhvFg/NhnNph+i9mgCtdTCtMJuI1TMkrIUiK7Ix4PYlRF9I5dhqaLYA/ADXw==",
|
||||
"dev": true
|
||||
},
|
||||
"@babel/highlight": {
|
||||
"version": "7.10.4",
|
||||
"resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.10.4.tgz",
|
||||
"integrity": "sha512-i6rgnR/YgPEQzZZnbTHHuZdlE8qyoBNalD6F+q4vAFlcMEcqmkoG+mPqJYJCo63qPf74+Y1UZsl3l6f7/RIkmA==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"@babel/helper-validator-identifier": "^7.10.4",
|
||||
"chalk": "^2.0.0",
|
||||
"js-tokens": "^4.0.0"
|
||||
}
|
||||
},
|
||||
"ansi-styles": {
|
||||
"version": "3.2.1",
|
||||
"resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",
|
||||
"integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"color-convert": "^1.9.0"
|
||||
}
|
||||
},
|
||||
"arg": {
|
||||
"version": "4.1.3",
|
||||
"resolved": "https://registry.npmjs.org/arg/-/arg-4.1.3.tgz",
|
||||
"integrity": "sha512-58S9QDqG0Xx27YwPSt9fJxivjYl432YCwfDMfZ+71RAqUrZef7LrKQZ3LHLOwCS4FLNBplP533Zx895SeOCHvA==",
|
||||
"dev": true
|
||||
},
|
||||
"argparse": {
|
||||
"version": "1.0.10",
|
||||
"resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz",
|
||||
"integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"sprintf-js": "~1.0.2"
|
||||
}
|
||||
},
|
||||
"async": {
|
||||
"version": "2.6.3",
|
||||
"resolved": "https://registry.npmjs.org/async/-/async-2.6.3.tgz",
|
||||
"integrity": "sha512-zflvls11DCy+dQWzTW2dzuilv8Z5X/pjfmZOWba6TNIVDm+2UDaJmXSOXlasHKfNBs8oo3M0aT50fDEWfKZjXg==",
|
||||
"requires": {
|
||||
"lodash": "^4.17.14"
|
||||
}
|
||||
},
|
||||
"async-limiter": {
|
||||
"version": "1.0.1",
|
||||
"resolved": "https://registry.npmjs.org/async-limiter/-/async-limiter-1.0.1.tgz",
|
||||
"integrity": "sha512-csOlWGAcRFJaI6m+F2WKdnMKr4HhdhFVBk0H/QbJFMCr+uO2kwohwXQPxw/9OCxp05r5ghVBFSyioixx3gfkNQ=="
|
||||
},
|
||||
"azure-iot-amqp-base": {
|
||||
"version": "2.4.5",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-amqp-base/-/azure-iot-amqp-base-2.4.5.tgz",
|
||||
"integrity": "sha512-CmWklSc/OsY1p0WzICN5w03T/QrySaNnwjUOfzHbT9ikmHc9dzr4AYgOmVHXxhUimdaoRxGnmHHL873JnsCqhA==",
|
||||
"requires": {
|
||||
"async": "^2.6.2",
|
||||
"azure-iot-common": "1.12.5",
|
||||
"debug": "^4.1.1",
|
||||
"lodash.merge": "^4.6.1",
|
||||
"machina": "^4.0.2",
|
||||
"rhea": "^1.0.15",
|
||||
"uuid": "^3.3.2",
|
||||
"ws": "^6.0.0"
|
||||
}
|
||||
},
|
||||
"azure-iot-common": {
|
||||
"version": "1.12.5",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-common/-/azure-iot-common-1.12.5.tgz",
|
||||
"integrity": "sha512-CEr5eN7FZ5a8VmFMSlInq6oYDjlPRcd22jpy1qS7XWz5I8exqrV3wmSP/z8wlT4BVePcnn4Fo4JfFVc8XS1Ung==",
|
||||
"requires": {
|
||||
"debug": "^4.1.1",
|
||||
"getos": "^3.1.1"
|
||||
}
|
||||
},
|
||||
"azure-iot-http-base": {
|
||||
"version": "1.11.5",
|
||||
"resolved": "https://registry.npmjs.org/azure-iot-http-base/-/azure-iot-http-base-1.11.5.tgz",
|
||||
"integrity": "sha512-8loD9dr+dwug+DWfGKBe1/iE7qdRZZ/08Rxj7UHIcdncZec7+Xf2DAGGPxvh9aKDJy/OxIglh12o3YjxeAnjjA==",
|
||||
"requires": {
|
||||
"azure-iot-common": "1.12.5",
|
||||
"debug": "^4.1.1",
|
||||
"uuid": "^3.3.2"
|
||||
}
|
||||
},
|
||||
"azure-iothub": {
|
||||
"version": "1.12.5",
|
||||
"resolved": "https://registry.npmjs.org/azure-iothub/-/azure-iothub-1.12.5.tgz",
|
||||
"integrity": "sha512-Xj5vl7dot8y82ZY4y2vhBryRfy4agO0SVy72rWytPsNipfOYDw7GHUUawAGqhi1Dc66VVjMUq7x8XDa3W3taeA==",
|
||||
"requires": {
|
||||
"async": "^2.6.2",
|
||||
"azure-iot-amqp-base": "2.4.5",
|
||||
"azure-iot-common": "1.12.5",
|
||||
"azure-iot-http-base": "1.11.5",
|
||||
"debug": "^4.1.1",
|
||||
"lodash": "^4.17.20",
|
||||
"machina": "^4.0.2",
|
||||
"rhea": "^1.0.15"
|
||||
}
|
||||
},
|
||||
"balanced-match": {
|
||||
"version": "1.0.0",
|
||||
"resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz",
|
||||
"integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=",
|
||||
"dev": true
|
||||
},
|
||||
"brace-expansion": {
|
||||
"version": "1.1.11",
|
||||
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",
|
||||
"integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"balanced-match": "^1.0.0",
|
||||
"concat-map": "0.0.1"
|
||||
}
|
||||
},
|
||||
"buffer-from": {
|
||||
"version": "1.1.1",
|
||||
"resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.1.tgz",
|
||||
"integrity": "sha512-MQcXEUbCKtEo7bhqEs6560Hyd4XaovZlO/k9V3hjVUF/zwW7KBVdSK4gIt/bzwS9MbR5qob+F5jusZsb0YQK2A==",
|
||||
"dev": true
|
||||
},
|
||||
"builtin-modules": {
|
||||
"version": "1.1.1",
|
||||
"resolved": "https://registry.npmjs.org/builtin-modules/-/builtin-modules-1.1.1.tgz",
|
||||
"integrity": "sha1-Jw8HbFpywC9bZaR9+Uxf46J4iS8=",
|
||||
"dev": true
|
||||
},
|
||||
"chalk": {
|
||||
"version": "2.4.2",
|
||||
"resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",
|
||||
"integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"ansi-styles": "^3.2.1",
|
||||
"escape-string-regexp": "^1.0.5",
|
||||
"supports-color": "^5.3.0"
|
||||
}
|
||||
},
|
||||
"color-convert": {
|
||||
"version": "1.9.3",
|
||||
"resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",
|
||||
"integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"color-name": "1.1.3"
|
||||
}
|
||||
},
|
||||
"color-name": {
|
||||
"version": "1.1.3",
|
||||
"resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",
|
||||
"integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=",
|
||||
"dev": true
|
||||
},
|
||||
"commander": {
|
||||
"version": "2.20.3",
|
||||
"resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz",
|
||||
"integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==",
|
||||
"dev": true
|
||||
},
|
||||
"concat-map": {
|
||||
"version": "0.0.1",
|
||||
"resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz",
|
||||
"integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=",
|
||||
"dev": true
|
||||
},
|
||||
"debug": {
|
||||
"version": "4.1.1",
|
||||
"resolved": "https://registry.npmjs.org/debug/-/debug-4.1.1.tgz",
|
||||
"integrity": "sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw==",
|
||||
"requires": {
|
||||
"ms": "^2.1.1"
|
||||
}
|
||||
},
|
||||
"diff": {
|
||||
"version": "4.0.2",
|
||||
"resolved": "https://registry.npmjs.org/diff/-/diff-4.0.2.tgz",
|
||||
"integrity": "sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A==",
|
||||
"dev": true
|
||||
},
|
||||
"escape-string-regexp": {
|
||||
"version": "1.0.5",
|
||||
"resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz",
|
||||
"integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=",
|
||||
"dev": true
|
||||
},
|
||||
"esprima": {
|
||||
"version": "4.0.1",
|
||||
"resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz",
|
||||
"integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==",
|
||||
"dev": true
|
||||
},
|
||||
"fs.realpath": {
|
||||
"version": "1.0.0",
|
||||
"resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz",
|
||||
"integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=",
|
||||
"dev": true
|
||||
},
|
||||
"getos": {
|
||||
"version": "3.2.1",
|
||||
"resolved": "https://registry.npmjs.org/getos/-/getos-3.2.1.tgz",
|
||||
"integrity": "sha512-U56CfOK17OKgTVqozZjUKNdkfEv6jk5WISBJ8SHoagjE6L69zOwl3Z+O8myjY9MEW3i2HPWQBt/LTbCgcC973Q==",
|
||||
"requires": {
|
||||
"async": "^3.2.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"async": {
|
||||
"version": "3.2.0",
|
||||
"resolved": "https://registry.npmjs.org/async/-/async-3.2.0.tgz",
|
||||
"integrity": "sha512-TR2mEZFVOj2pLStYxLht7TyfuRzaydfpxr3k9RpHIzMgw7A64dzsdqCxH1WJyQdoe8T10nDXd9wnEigmiuHIZw=="
|
||||
}
|
||||
}
|
||||
},
|
||||
"glob": {
|
||||
"version": "7.1.6",
|
||||
"resolved": "https://registry.npmjs.org/glob/-/glob-7.1.6.tgz",
|
||||
"integrity": "sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"fs.realpath": "^1.0.0",
|
||||
"inflight": "^1.0.4",
|
||||
"inherits": "2",
|
||||
"minimatch": "^3.0.4",
|
||||
"once": "^1.3.0",
|
||||
"path-is-absolute": "^1.0.0"
|
||||
}
|
||||
},
|
||||
"has-flag": {
|
||||
"version": "3.0.0",
|
||||
"resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",
|
||||
"integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=",
|
||||
"dev": true
|
||||
},
|
||||
"inflight": {
|
||||
"version": "1.0.6",
|
||||
"resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz",
|
||||
"integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"once": "^1.3.0",
|
||||
"wrappy": "1"
|
||||
}
|
||||
},
|
||||
"inherits": {
|
||||
"version": "2.0.4",
|
||||
"resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",
|
||||
"integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==",
|
||||
"dev": true
|
||||
},
|
||||
"js-tokens": {
|
||||
"version": "4.0.0",
|
||||
"resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz",
|
||||
"integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==",
|
||||
"dev": true
|
||||
},
|
||||
"js-yaml": {
|
||||
"version": "3.14.0",
|
||||
"resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.0.tgz",
|
||||
"integrity": "sha512-/4IbIeHcD9VMHFqDR/gQ7EdZdLimOvW2DdcxFjdyyZ9NsbS+ccrXqVWDtab/lRl5AlUqmpBx8EhPaWR+OtY17A==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"argparse": "^1.0.7",
|
||||
"esprima": "^4.0.0"
|
||||
}
|
||||
},
|
||||
"lodash": {
|
||||
"version": "4.17.20",
|
||||
"resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.20.tgz",
|
||||
"integrity": "sha512-PlhdFcillOINfeV7Ni6oF1TAEayyZBoZ8bcshTHqOYJYlrqzRK5hagpagky5o4HfCzzd1TRkXPMFq6cKk9rGmA=="
|
||||
},
|
||||
"lodash.merge": {
|
||||
"version": "4.6.2",
|
||||
"resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz",
|
||||
"integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ=="
|
||||
},
|
||||
"machina": {
|
||||
"version": "4.0.2",
|
||||
"resolved": "https://registry.npmjs.org/machina/-/machina-4.0.2.tgz",
|
||||
"integrity": "sha512-OOlFrW1rd783S6tF36v5Ie/TM64gfvSl9kYLWL2cPA31J71HHWW3XrgSe1BZSFAPkh8532CMJMLv/s9L2aopiA==",
|
||||
"requires": {
|
||||
"lodash": "^4.17.5"
|
||||
}
|
||||
},
|
||||
"make-error": {
|
||||
"version": "1.3.6",
|
||||
"resolved": "https://registry.npmjs.org/make-error/-/make-error-1.3.6.tgz",
|
||||
"integrity": "sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw==",
|
||||
"dev": true
|
||||
},
|
||||
"minimatch": {
|
||||
"version": "3.0.4",
|
||||
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz",
|
||||
"integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"brace-expansion": "^1.1.7"
|
||||
}
|
||||
},
|
||||
"minimist": {
|
||||
"version": "1.2.5",
|
||||
"resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz",
|
||||
"integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==",
|
||||
"dev": true
|
||||
},
|
||||
"mkdirp": {
|
||||
"version": "0.5.5",
|
||||
"resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.5.tgz",
|
||||
"integrity": "sha512-NKmAlESf6jMGym1++R0Ra7wvhV+wFW63FaSOFPwRahvea0gMUcGUhVeAg/0BC0wiv9ih5NYPB1Wn1UEI1/L+xQ==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"minimist": "^1.2.5"
|
||||
}
|
||||
},
|
||||
"ms": {
|
||||
"version": "2.1.2",
|
||||
"resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
|
||||
"integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w=="
|
||||
},
|
||||
"once": {
|
||||
"version": "1.4.0",
|
||||
"resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz",
|
||||
"integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"wrappy": "1"
|
||||
}
|
||||
},
|
||||
"path-is-absolute": {
|
||||
"version": "1.0.1",
|
||||
"resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz",
|
||||
"integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=",
|
||||
"dev": true
|
||||
},
|
||||
"path-parse": {
|
||||
"version": "1.0.6",
|
||||
"resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.6.tgz",
|
||||
"integrity": "sha512-GSmOT2EbHrINBf9SR7CDELwlJ8AENk3Qn7OikK4nFYAu3Ote2+JYNVvkpAEQm3/TLNEJFD/xZJjzyxg3KBWOzw==",
|
||||
"dev": true
|
||||
},
|
||||
"resolve": {
|
||||
"version": "1.17.0",
|
||||
"resolved": "https://registry.npmjs.org/resolve/-/resolve-1.17.0.tgz",
|
||||
"integrity": "sha512-ic+7JYiV8Vi2yzQGFWOkiZD5Z9z7O2Zhm9XMaTxdJExKasieFCr+yXZ/WmXsckHiKl12ar0y6XiXDx3m4RHn1w==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"path-parse": "^1.0.6"
|
||||
}
|
||||
},
|
||||
"rhea": {
|
||||
"version": "1.0.24",
|
||||
"resolved": "https://registry.npmjs.org/rhea/-/rhea-1.0.24.tgz",
|
||||
"integrity": "sha512-PEl62U2EhxCO5wMUZ2/bCBcXAVKN9AdMSNQOrp3+R5b77TEaOSiy16MQ0sIOmzj/iqsgIAgPs1mt3FYfu1vIXA==",
|
||||
"requires": {
|
||||
"debug": "0.8.0 - 3.5.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"debug": {
|
||||
"version": "3.2.6",
|
||||
"resolved": "https://registry.npmjs.org/debug/-/debug-3.2.6.tgz",
|
||||
"integrity": "sha512-mel+jf7nrtEl5Pn1Qx46zARXKDpBbvzezse7p7LqINmdoIk8PYP5SySaxEmYv6TZ0JyEKA1hsCId6DIhgITtWQ==",
|
||||
"requires": {
|
||||
"ms": "^2.1.1"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"semver": {
|
||||
"version": "5.7.1",
|
||||
"resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz",
|
||||
"integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==",
|
||||
"dev": true
|
||||
},
|
||||
"source-map": {
|
||||
"version": "0.6.1",
|
||||
"resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",
|
||||
"integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",
|
||||
"dev": true
|
||||
},
|
||||
"source-map-support": {
|
||||
"version": "0.5.19",
|
||||
"resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.19.tgz",
|
||||
"integrity": "sha512-Wonm7zOCIJzBGQdB+thsPar0kYuCIzYvxZwlBa87yi/Mdjv7Tip2cyVbLj5o0cFPN4EVkuTwb3GDDyUx2DGnGw==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"buffer-from": "^1.0.0",
|
||||
"source-map": "^0.6.0"
|
||||
}
|
||||
},
|
||||
"sprintf-js": {
|
||||
"version": "1.0.3",
|
||||
"resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz",
|
||||
"integrity": "sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw=",
|
||||
"dev": true
|
||||
},
|
||||
"supports-color": {
|
||||
"version": "5.5.0",
|
||||
"resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",
|
||||
"integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"has-flag": "^3.0.0"
|
||||
}
|
||||
},
|
||||
"ts-node": {
|
||||
"version": "8.10.2",
|
||||
"resolved": "https://registry.npmjs.org/ts-node/-/ts-node-8.10.2.tgz",
|
||||
"integrity": "sha512-ISJJGgkIpDdBhWVu3jufsWpK3Rzo7bdiIXJjQc0ynKxVOVcg2oIrf2H2cejminGrptVc6q6/uynAHNCuWGbpVA==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"arg": "^4.1.0",
|
||||
"diff": "^4.0.1",
|
||||
"make-error": "^1.1.1",
|
||||
"source-map-support": "^0.5.17",
|
||||
"yn": "3.1.1"
|
||||
}
|
||||
},
|
||||
"tslib": {
|
||||
"version": "1.13.0",
|
||||
"resolved": "https://registry.npmjs.org/tslib/-/tslib-1.13.0.tgz",
|
||||
"integrity": "sha512-i/6DQjL8Xf3be4K/E6Wgpekn5Qasl1usyw++dAA35Ue5orEn65VIxOA+YvNNl9HV3qv70T7CNwjODHZrLwvd1Q==",
|
||||
"dev": true
|
||||
},
|
||||
"tslint": {
|
||||
"version": "6.1.3",
|
||||
"resolved": "https://registry.npmjs.org/tslint/-/tslint-6.1.3.tgz",
|
||||
"integrity": "sha512-IbR4nkT96EQOvKE2PW/djGz8iGNeJ4rF2mBfiYaR/nvUWYKJhLwimoJKgjIFEIDibBtOevj7BqCRL4oHeWWUCg==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"@babel/code-frame": "^7.0.0",
|
||||
"builtin-modules": "^1.1.1",
|
||||
"chalk": "^2.3.0",
|
||||
"commander": "^2.12.1",
|
||||
"diff": "^4.0.1",
|
||||
"glob": "^7.1.1",
|
||||
"js-yaml": "^3.13.1",
|
||||
"minimatch": "^3.0.4",
|
||||
"mkdirp": "^0.5.3",
|
||||
"resolve": "^1.3.2",
|
||||
"semver": "^5.3.0",
|
||||
"tslib": "^1.13.0",
|
||||
"tsutils": "^2.29.0"
|
||||
}
|
||||
},
|
||||
"tsutils": {
|
||||
"version": "2.29.0",
|
||||
"resolved": "https://registry.npmjs.org/tsutils/-/tsutils-2.29.0.tgz",
|
||||
"integrity": "sha512-g5JVHCIJwzfISaXpXE1qvNalca5Jwob6FjI4AoPlqMusJ6ftFE7IkkFoMhVLRgK+4Kx3gkzb8UZK5t5yTTvEmA==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"tslib": "^1.8.1"
|
||||
}
|
||||
},
|
||||
"typescript": {
|
||||
"version": "3.7.5",
|
||||
"resolved": "https://registry.npmjs.org/typescript/-/typescript-3.7.5.tgz",
|
||||
"integrity": "sha512-/P5lkRXkWHNAbcJIiHPfRoKqyd7bsyCma1hZNUGfn20qm64T6ZBlrzprymeu918H+mB/0rIg2gGK/BXkhhYgBw==",
|
||||
"dev": true
|
||||
},
|
||||
"uuid": {
|
||||
"version": "3.4.0",
|
||||
"resolved": "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz",
|
||||
"integrity": "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A=="
|
||||
},
|
||||
"wrappy": {
|
||||
"version": "1.0.2",
|
||||
"resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz",
|
||||
"integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=",
|
||||
"dev": true
|
||||
},
|
||||
"ws": {
|
||||
"version": "6.2.1",
|
||||
"resolved": "https://registry.npmjs.org/ws/-/ws-6.2.1.tgz",
|
||||
"integrity": "sha512-GIyAXC2cB7LjvpgMt9EKS2ldqr0MTrORaleiOno6TweZ6r3TKtoFQWay/2PceJ3RuBasOHzXNn5Lrw1X0bEjqA==",
|
||||
"requires": {
|
||||
"async-limiter": "~1.0.0"
|
||||
}
|
||||
},
|
||||
"yn": {
|
||||
"version": "3.1.1",
|
||||
"resolved": "https://registry.npmjs.org/yn/-/yn-3.1.1.tgz",
|
||||
"integrity": "sha512-Ux4ygGWsu2c7isFWe8Yu1YluJmqVhxqK2cLXNQA5AcC3QfbGNpM7fu0Y8b/z16pXLnFxZYvWhd3fhBY9DLmC6Q==",
|
||||
"dev": true
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,24 @@
|
|||
{
|
||||
"name": "service-samples-typescript",
|
||||
"version": "0.0.1",
|
||||
"private": true,
|
||||
"main": "get_digital_twins.ts",
|
||||
"author": "Microsoft Corp.",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"azure-iothub": "1.12.5"
|
||||
},
|
||||
"devDependencies": {
|
||||
"source-map-support": "^0.5.16",
|
||||
"ts-node": "^8.6.2",
|
||||
"tslint": "^6.1.0",
|
||||
"typescript": "3.7.5"
|
||||
},
|
||||
"scripts": {
|
||||
"prebuild": "npm run lint",
|
||||
"build": "tsc -p .",
|
||||
"lint": "tslint -c ../../../tslint.json --project tsconfig.json",
|
||||
"npmlockrefresh": "npm i --package-lock-only",
|
||||
"ci": "npm -s run lint && npm -s run build"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
"compilerOptions": {
|
||||
"outDir": "./dist",
|
||||
"sourceMap": true,
|
||||
"declaration": true,
|
||||
"noUnusedParameters": true,
|
||||
"removeComments": false,
|
||||
"noImplicitAny": true,
|
||||
"suppressImplicitAnyIndexErrors": true,
|
||||
"noUnusedLocals": true,
|
||||
"lib": [
|
||||
"es6", "dom"
|
||||
]
|
||||
}
|
||||
}
|
|
@ -1,17 +0,0 @@
|
|||
{
|
||||
"name": "registry_sample",
|
||||
"version": "0.0.1",
|
||||
"private": true,
|
||||
"main": "registry_sample.js",
|
||||
"author": "Microsoft Corp.",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"azure-iothub": "1.1.9"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "tsc -p .",
|
||||
"lint": "tslint -c ../../../tslint.json --type-check --project tsconfig.json",
|
||||
"test": "npm -s run lint",
|
||||
"postinstall": "typings install"
|
||||
}
|
||||
}
|
|
@ -1,43 +0,0 @@
|
|||
// Copyright (c) Microsoft. All rights reserved.
|
||||
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||
|
||||
import { Registry, Device } from '../../iothub';
|
||||
|
||||
const connectionString = '[IoT Connection String]';
|
||||
|
||||
let registry = Registry.fromConnectionString(connectionString);
|
||||
|
||||
|
||||
// List devices
|
||||
console.log('**listing devices..');
|
||||
registry.list((err, deviceList) => {
|
||||
deviceList.forEach((device) => {
|
||||
let key = device.authentication ? device.authentication.symmetricKey.primaryKey : '<no primary key>';
|
||||
console.log(device.deviceId + ': ' + key);
|
||||
});
|
||||
});
|
||||
|
||||
// Create a new device
|
||||
let device = new Device();
|
||||
device.deviceId = 'sample-device-' + Date.now();
|
||||
console.log('\n**creating device \'' + device.deviceId + '\'');
|
||||
registry.create(device, printAndContinue('create', () => {
|
||||
|
||||
// Get the newly-create device
|
||||
console.log('\n**getting device \'' + device.deviceId + '\'');
|
||||
registry.get(device.deviceId, printAndContinue('get', () => {
|
||||
|
||||
// Delete the new device
|
||||
console.log('\n**deleting device \'' + device.deviceId + '\'');
|
||||
registry.delete(device.deviceId, printAndContinue('delete'));
|
||||
}));
|
||||
}));
|
||||
|
||||
function printAndContinue(op: string, next?: () => void): Registry.ResponseCallback {
|
||||
return (err, deviceInfo, res) => {
|
||||
if (err) console.log(op + ' error: ' + err.toString());
|
||||
if (res) console.log(op + ' status: ' + res.statusCode + ' ' + res.statusMessage);
|
||||
if (deviceInfo) console.log(op + ' device info: ' + JSON.stringify(deviceInfo));
|
||||
if (next) next();
|
||||
};
|
||||
}
|
|
@ -1,11 +0,0 @@
|
|||
{
|
||||
"compilerOptions": {
|
||||
"target": "es5",
|
||||
"module": "commonjs",
|
||||
"moduleResolution": "node",
|
||||
"removeComments": false,
|
||||
"noImplicitAny": true,
|
||||
"suppressImplicitAnyIndexErrors": true,
|
||||
"noUnusedLocals": true
|
||||
}
|
||||
}
|
|
@ -1,11 +0,0 @@
|
|||
{
|
||||
"name": "registry_sample",
|
||||
"dependencies": {
|
||||
"amqp10": "registry:npm/amqp10#3.1.4+20160601175358",
|
||||
"bluebird": "registry:npm/bluebird#3.4.1+20160811213708"
|
||||
},
|
||||
"globalDependencies": {
|
||||
"es2015-promise": "registry:env/es2015-promise#1.0.0+20160526151700",
|
||||
"node": "registry:dt/node#6.0.0+20160807145350"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,36 @@
|
|||
/*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for
|
||||
* license information.
|
||||
*/
|
||||
import { ServiceClientCredentials, WebResource, Constants } from '@azure/ms-rest-js';
|
||||
import { ConnectionString, SharedAccessSignature, anHourFromNow } from 'azure-iot-common';
|
||||
|
||||
/**
|
||||
* Creates shared access signatures based on the connection string passed to the constructor.
|
||||
* This class is used by the protocol layer of the SDK to add authentication headers to each request.
|
||||
*/
|
||||
export class IoTHubTokenCredentials implements ServiceClientCredentials {
|
||||
private _connectionString: ConnectionString;
|
||||
|
||||
constructor(connectionString: string) {
|
||||
this._connectionString = ConnectionString.parse(connectionString, ['HostName', 'SharedAccessKeyName', 'SharedAccessKey']);
|
||||
}
|
||||
|
||||
/**
|
||||
* Adds an authorization header to the request object.
|
||||
* @param webResource The request object that needs its authorization header populated
|
||||
*/
|
||||
signRequest(webResource: WebResource): Promise<WebResource> {
|
||||
const sas = SharedAccessSignature.create(this._connectionString.HostName as string, this._connectionString.SharedAccessKeyName as string, this._connectionString.SharedAccessKey as string, anHourFromNow()).toString();
|
||||
webResource.headers.set(Constants.HeaderConstants.AUTHORIZATION, sas);
|
||||
return Promise.resolve(webResource);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the Azure IoT Hub instance name from the connection string
|
||||
*/
|
||||
getHubName(): string {
|
||||
return this._connectionString.HostName as string;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,181 @@
|
|||
/*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for
|
||||
* license information.
|
||||
*/
|
||||
|
||||
import { IotHubGatewayServiceAPIs as PLClient, IotHubGatewayServiceAPIsModels as Models } from '../pl/iotHubGatewayServiceAPIs';
|
||||
import { tripleValueCallbackToPromise, TripleValueCallback } from 'azure-iot-common';
|
||||
import { IoTHubTokenCredentials } from '../auth/iothub_token_credentials';
|
||||
import * as msRest from '@azure/ms-rest-js';
|
||||
|
||||
/**
|
||||
* @export
|
||||
* @type DigitalTwin Type alias to simplify the auto generated type's name
|
||||
*/
|
||||
export type DigitalTwin = Models.DigitalTwinGetDigitalTwinHeaders | undefined;
|
||||
|
||||
/**
|
||||
* @export
|
||||
* @type DigitalTwinResponse Type alias to simplify the auto generated type's name
|
||||
*/
|
||||
export type DigitalTwinResponse = Models.DigitalTwinGetDigitalTwinResponse | undefined;
|
||||
|
||||
/**
|
||||
* @export
|
||||
* @type DigitalTwinUpdateResponse Type alias to simplify the auto generated type's name
|
||||
*/
|
||||
export type DigitalTwinUpdateResponse = Models.DigitalTwinUpdateDigitalTwinResponse | undefined;
|
||||
|
||||
/**
|
||||
* @export
|
||||
* @type DigitalTwinInvokeComponentCommandResponse Type alias to simplify the auto generated type's name
|
||||
*/
|
||||
export type DigitalTwinInvokeComponentCommandResponse = Models.DigitalTwinInvokeComponentCommandResponse | undefined;
|
||||
|
||||
/**
|
||||
* @export
|
||||
* @type DigitalTwinInvokeRootLevelCommandResponse Type alias to simplify the auto generated type's name
|
||||
*/
|
||||
export type DigitalTwinInvokeRootLevelCommandResponse = Models.DigitalTwinInvokeRootLevelCommandResponse | undefined;
|
||||
|
||||
/**
|
||||
* @export
|
||||
* @type DigitalTwinInvokeComponentCommandOptionalParams Type alias to simplify the auto generated type's name
|
||||
*/
|
||||
export type DigitalTwinInvokeComponentCommandOptionalParams = Models.DigitalTwinInvokeComponentCommandOptionalParams;
|
||||
|
||||
/**
|
||||
* @export
|
||||
* @type DigitalTwinInvokeRootLevelCommandOptionalParams Type alias to simplify the auto generated type's name
|
||||
*/
|
||||
export type DigitalTwinInvokeRootLevelCommandOptionalParams = Models.DigitalTwinInvokeRootLevelCommandOptionalParams;
|
||||
|
||||
/**
|
||||
* @private
|
||||
* Helper function to create extended result type
|
||||
*/
|
||||
function createResultWithHttpOperationResponse<TArg, TResult>(result: TArg, response: msRest.HttpOperationResponse): TResult {
|
||||
if (result) {
|
||||
(result as any)._response = response;
|
||||
}
|
||||
return <any>result;
|
||||
}
|
||||
|
||||
/**
|
||||
* @export
|
||||
* @class DigitalTwinServiceClient Main class to implement Azure IoT Digital Twin Service Client API
|
||||
*/
|
||||
export class DigitalTwinServiceClient {
|
||||
/**
|
||||
* @private
|
||||
* The IoTHub token credentials used for creating the Protocol Layer client.
|
||||
*/
|
||||
private _creds: IoTHubTokenCredentials;
|
||||
/**
|
||||
* @private
|
||||
* The Protocol Layer Client instance used by the DigitalTwinServiceClient.
|
||||
*/
|
||||
private _pl: PLClient;
|
||||
/**
|
||||
* @private
|
||||
* The Azure IoT service's API version.
|
||||
*/
|
||||
private _apiVersion: string = '2020-09-30';
|
||||
|
||||
/**
|
||||
* Constructor which also creates an instance of the Protocol Layer Client used by the DigitalTwinServiceClient.
|
||||
* @param {IoTHubTokenCredentials} creds The IoTHub token credentials used for creating the Protocol Layer client.
|
||||
* @memberof DigitalTwinServiceClient
|
||||
*/
|
||||
constructor(creds: IoTHubTokenCredentials) {
|
||||
/*Code_SRS_NODE_DIGITAL_TWIN_SERVICE_CLIENT_12_001: [** The `DigitalTwinServiceClient` creates an instance of the DigitalTwinServiceClient passing IoTHubTokenCredentials class as an argument.]*/
|
||||
this._creds = creds;
|
||||
this._pl = new PLClient(this._creds, {
|
||||
baseUri: 'https://' + this._creds.getHubName(),
|
||||
apiVersion: this._apiVersion,
|
||||
deserializationContentTypes: { // application/ld+json isn't supported by autorest by default, which is why we need these options
|
||||
json: [
|
||||
'application/ld+json',
|
||||
'application/json',
|
||||
'text/json'
|
||||
]
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* @method getDigitalTwin module: azure-iot-digitaltwins-service.DigitalTwinServiceClient.getDigitalTwin
|
||||
* @description Retrieve the Digital Twin of a given device.
|
||||
* @param {string} digitalTwinId The digital twin Id of the given device or module.
|
||||
* Format of digitalTwinId is DeviceId[~ModuleId]. ModuleId is optional.
|
||||
* @returns DigitalTwinResponse The return object containing the Digital Twin plus the HttpResponse.
|
||||
* @memberof DigitalTwinServiceClient
|
||||
*/
|
||||
getDigitalTwin(digitalTwinId: string): Promise<DigitalTwinResponse>;
|
||||
getDigitalTwin(digitalTwinId: string, callback: TripleValueCallback<DigitalTwin, msRest.HttpOperationResponse>): void;
|
||||
getDigitalTwin(digitalTwinId: string, callback?: TripleValueCallback<DigitalTwin, msRest.HttpOperationResponse>): void | Promise<DigitalTwinResponse> {
|
||||
/*Codes_SRS_NODE_DIGITAL_TWIN_SERVICE_CLIENT_12_002: [The `getDigitalTwin` method shall call the `getDigitalTwin` method of the protocol layer with the given argument.]*/
|
||||
/*Codes_SRS_NODE_DIGITAL_TWIN_SERVICE_CLIENT_12_003: [The `getDigitalTwin` method shall call the callback with an error parameter if a callback is passed..]*/
|
||||
/*Codes_SRS_NODE_DIGITAL_TWIN_SERVICE_CLIENT_12_004: [The `getDigitalTwin` method shall return error if the method of the protocol layer failed.]*/
|
||||
/*Codes_SRS_NODE_DIGITAL_TWIN_SERVICE_CLIENT_12_020: [The `getDigitalTwin` method shall return a promise if there is no callback passed.]*/
|
||||
return tripleValueCallbackToPromise<DigitalTwin, msRest.HttpOperationResponse, DigitalTwinResponse>((_callback) => {
|
||||
this._pl.digitalTwin.getDigitalTwin(digitalTwinId, (err, result, _request, response) => {
|
||||
_callback(err as Error, result, response);
|
||||
});
|
||||
}, (result, response) => createResultWithHttpOperationResponse<DigitalTwin, DigitalTwinResponse>(result, response), callback as TripleValueCallback<DigitalTwin, msRest.HttpOperationResponse>);
|
||||
}
|
||||
|
||||
/**
|
||||
* @method updateDigitalTwin module: azure-iot-digitaltwins-service.DigitalTwinServiceClient.updateDigitalTwin
|
||||
* @description Update the Digital Twin of a given device using a patch object.
|
||||
* @param {string} digitalTwinId The digital twin Id of the given device.
|
||||
* @param {any[]} patch The patch objet contains the update part of a Digital Twin.
|
||||
* @param {string} eTag The eTag for identifying the patch.
|
||||
* @returns DigitalTwinUpdateResponse The HTTPesponse.
|
||||
* @memberof DigitalTwinServiceClient
|
||||
*/
|
||||
updateDigitalTwin(digitalTwinId: string, patch: any[], eTag?: string): Promise<DigitalTwinUpdateResponse>;
|
||||
updateDigitalTwin(digitalTwinId: string, patch: any[], eTagOrCallback?: string | TripleValueCallback<void, msRest.HttpOperationResponse>, callback?: TripleValueCallback<void, msRest.HttpOperationResponse>): void;
|
||||
updateDigitalTwin(digitalTwinId: string, patch: any[], eTagOrCallback?: string | TripleValueCallback<void, msRest.HttpOperationResponse>, callback?: TripleValueCallback<void, msRest.HttpOperationResponse>): void | Promise<DigitalTwinUpdateResponse> {
|
||||
const actualCallback = typeof eTagOrCallback === 'function' ? eTagOrCallback : callback;
|
||||
const actualEtag = typeof eTagOrCallback !== 'function' ? eTagOrCallback : undefined;
|
||||
const options = actualEtag ? {ifMatch: actualEtag} : undefined;
|
||||
|
||||
return tripleValueCallbackToPromise<void, msRest.HttpOperationResponse, DigitalTwinUpdateResponse>((_callback) => {
|
||||
this._pl.digitalTwin.updateDigitalTwin(digitalTwinId, patch, options as Models.DigitalTwinUpdateDigitalTwinOptionalParams, (err, result, _request, response) => {
|
||||
_callback(err as Error, result, response);
|
||||
});
|
||||
}, (result, response) => createResultWithHttpOperationResponse<void, DigitalTwinUpdateResponse>(result, response), actualCallback as TripleValueCallback<void, msRest.HttpOperationResponse>);
|
||||
}
|
||||
|
||||
/**
|
||||
* @method invokeComponentCommand module: azure-iot-digitaltwins-service.DigitalTwinServiceClient.invokeComponentCommand
|
||||
* @description Invoke a command on an component of a particular device and get the result of it.
|
||||
* @param {string} digitalTwinId The digital twin Id of the given device.
|
||||
* @param {string} componentName The component's name.
|
||||
* @param {string} commandName The command's name.
|
||||
* @param {string} argument The argument of a command.
|
||||
* @param {DigitalTwinInvokeComponentCommandOptionalParams} options The optional parameter to set options including connectionTimeoutInSeconds and responseTimeoutInSeconds.
|
||||
* The responseTimeoutInSeconds must be within [5; 300]
|
||||
* @returns DigitalTwinInvokeComponentCommandResponse The result of the invoked command containing the result, status code, request ID and the parsed HttpResponse.
|
||||
* @memberof DigitalTwinServiceClient
|
||||
*/
|
||||
invokeComponentCommand(digitalTwinId: string, componentName: string, commandName: string, argument: string, options?: DigitalTwinInvokeComponentCommandOptionalParams): Promise<DigitalTwinInvokeComponentCommandResponse>{
|
||||
return this._pl.digitalTwin.invokeComponentCommand(digitalTwinId, componentName, commandName, argument, options);
|
||||
}
|
||||
|
||||
/**
|
||||
* @method invokeCommand module: azure-iot-digitaltwins-service.DigitalTwinServiceClient.invokeCommand
|
||||
* @description Invoke a command on an component of a particular device and get the result of it.
|
||||
* @param {string} digitalTwinId The digital twin Id of the given device.
|
||||
* @param {string} argument The argument of a command.
|
||||
* @param {DigitalTwinInvokeRootLevelCommandOptionalParams} options The optional parameter to set options including connectionTimeoutInSeconds and responseTimeoutInSeconds.
|
||||
* The responseTimeoutInSeconds must be within [5; 300]
|
||||
* @returns DigitalTwinInvokeRootLevelCommandResponse The result of the invoked command containing the result, status code, request ID and the parsed HttpResponse.
|
||||
* @memberof DigitalTwinServiceClient
|
||||
*/
|
||||
invokeCommand(digitalTwinId: string, commandName: string, argument: string, options?: DigitalTwinInvokeRootLevelCommandOptionalParams): Promise<DigitalTwinInvokeRootLevelCommandResponse>{
|
||||
return this._pl.digitalTwin.invokeRootLevelCommand(digitalTwinId, commandName, argument, options);
|
||||
}
|
||||
}
|
|
@ -0,0 +1,54 @@
|
|||
/*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* 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.
|
||||
*/
|
||||
|
||||
import * as msRest from "@azure/ms-rest-js";
|
||||
import * as Models from "./models";
|
||||
import * as Mappers from "./models/mappers";
|
||||
import * as operations from "./operations";
|
||||
import { IotHubGatewayServiceAPIsContext } from "./iotHubGatewayServiceAPIsContext";
|
||||
|
||||
class IotHubGatewayServiceAPIs extends IotHubGatewayServiceAPIsContext {
|
||||
// Operation groups
|
||||
configuration: operations.ConfigurationOperations;
|
||||
registryManager: operations.RegistryManager;
|
||||
jobClient: operations.JobClient;
|
||||
faultInjection: operations.FaultInjection;
|
||||
twin: operations.TwinOperations;
|
||||
digitalTwin: operations.DigitalTwin;
|
||||
httpRuntime: operations.HttpRuntime;
|
||||
deviceMethod: operations.DeviceMethod;
|
||||
|
||||
/**
|
||||
* Initializes a new instance of the IotHubGatewayServiceAPIs class.
|
||||
* @param credentials Subscription credentials which uniquely identify client subscription.
|
||||
* @param [options] The parameter options
|
||||
*/
|
||||
constructor(credentials: msRest.ServiceClientCredentials, options?: Models.IotHubGatewayServiceAPIsOptions) {
|
||||
super(credentials, options);
|
||||
this.configuration = new operations.ConfigurationOperations(this);
|
||||
this.registryManager = new operations.RegistryManager(this);
|
||||
this.jobClient = new operations.JobClient(this);
|
||||
this.faultInjection = new operations.FaultInjection(this);
|
||||
this.twin = new operations.TwinOperations(this);
|
||||
this.digitalTwin = new operations.DigitalTwin(this);
|
||||
this.httpRuntime = new operations.HttpRuntime(this);
|
||||
this.deviceMethod = new operations.DeviceMethod(this);
|
||||
}
|
||||
}
|
||||
|
||||
// Operation Specifications
|
||||
|
||||
export {
|
||||
IotHubGatewayServiceAPIs,
|
||||
IotHubGatewayServiceAPIsContext,
|
||||
Models as IotHubGatewayServiceAPIsModels,
|
||||
Mappers as IotHubGatewayServiceAPIsMappers
|
||||
};
|
||||
export * from "./operations";
|
|
@ -0,0 +1,50 @@
|
|||
/*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* 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.
|
||||
*/
|
||||
|
||||
import * as msRest from "@azure/ms-rest-js";
|
||||
import * as Models from "./models";
|
||||
|
||||
const packageName = "";
|
||||
const packageVersion = "";
|
||||
|
||||
export class IotHubGatewayServiceAPIsContext extends msRest.ServiceClient {
|
||||
apiVersion?: string;
|
||||
credentials: msRest.ServiceClientCredentials;
|
||||
|
||||
/**
|
||||
* Initializes a new instance of the IotHubGatewayServiceAPIsContext class.
|
||||
* @param credentials Subscription credentials which uniquely identify client subscription.
|
||||
* @param [options] The parameter options
|
||||
*/
|
||||
constructor(credentials: msRest.ServiceClientCredentials, options?: Models.IotHubGatewayServiceAPIsOptions) {
|
||||
if (credentials == undefined) {
|
||||
throw new Error("'credentials' cannot be null.");
|
||||
}
|
||||
|
||||
if (!options) {
|
||||
options = {};
|
||||
}
|
||||
|
||||
if (!options.userAgent) {
|
||||
const defaultUserAgent = msRest.getDefaultUserAgentValue();
|
||||
options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`;
|
||||
}
|
||||
|
||||
super(credentials, options);
|
||||
|
||||
this.apiVersion = '2020-09-30';
|
||||
this.baseUri = options.baseUri || this.baseUri || "https://fully-qualified-iothubname.azure-devices.net";
|
||||
this.requestContentType = "application/json; charset=utf-8";
|
||||
this.credentials = credentials;
|
||||
if (options.apiVersion !== null && options.apiVersion !== undefined) {
|
||||
this.apiVersion = options.apiVersion;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,15 @@
|
|||
/*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* 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.
|
||||
*/
|
||||
|
||||
export {
|
||||
Configuration,
|
||||
ConfigurationContent,
|
||||
ConfigurationMetrics,
|
||||
ConfigurationQueriesTestInput,
|
||||
ConfigurationQueriesTestResponse
|
||||
} from "../models/mappers";
|
Некоторые файлы не были показаны из-за слишком большого количества измененных файлов Показать больше
Загрузка…
Ссылка в новой задаче