UNPKG

@azure-rest/iot-device-update

Version:

Device Update for IoT Hub is an Azure service that enables customers to publish update for their IoT devices to the cloud, and then deploy that update to their devices (approve updates to groups of devices managed and provisioned in IoT Hub). It leverages

145 lines (144 loc) 5.69 kB
{ "name": "@azure-rest/iot-device-update", "sdk-type": "client", "author": "Microsoft Corporation", "description": "Device Update for IoT Hub is an Azure service that enables customers to publish update for their IoT devices to the cloud, and then deploy that update to their devices (approve updates to groups of devices managed and provisioned in IoT Hub). It leverages the proven security and reliability of the Windows Update platform, optimized for IoT devices. It works globally and knows when and how to update devices, enabling customers to focus on their business goals and let Device Update for IoT Hub handle the updates.", "version": "1.1.0", "keywords": [ "node", "azure", "cloud", "typescript", "browser", "isomorphic" ], "license": "MIT", "main": "./dist/commonjs/index.js", "module": "./dist/esm/index.js", "types": "./dist/commonjs/index.d.ts", "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/deviceupdate/iot-device-update-rest/README.md", "repository": "github:Azure/azure-sdk-for-js", "bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, "files": [ "dist/", "README.md", "LICENSE" ], "//metadata": { "constantPaths": [ { "path": "swagger/README.md", "prefix": "package-version" } ] }, "engines": { "node": ">=18.0.0" }, "//sampleConfiguration": { "productName": "Azure IoT Hub Device Update rest", "productSlugs": [ "azure" ], "requiredResources": { "Azure Iot Device Update instance": "https://learn.microsoft.com/azure/iot-hub-device-update/understand-device-update" }, "disableDocsMs": true, "apiRefLink": "https://learn.microsoft.com/rest/api/deviceupdate/2021-06-01-preview/device-update" }, "browser": "./dist/browser/index.js", "scripts": { "build": "npm run clean && dev-tool run build-package && dev-tool run extract-api", "build:samples": "echo Obsolete.", "build:test": "echo Obsolete.", "check-format": "dev-tool run vendored prettier --list-different --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"samples-dev/**/*.ts\" \"*.{js,json}\"", "clean": "dev-tool run vendored rimraf --glob dist dist-browser dist-esm test-dist temp types *.tgz *.log", "execute:samples": "dev-tool samples run samples-dev", "extract-api": "dev-tool run vendored rimraf review && dev-tool run extract-api", "format": "dev-tool run vendored prettier --write --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"samples-dev/**/*.ts\" \"*.{js,json}\"", "generate:client": "autorest --typescript swagger/README.md && npm run format", "integration-test": "npm run integration-test:node && npm run integration-test:browser", "integration-test:browser": "npm run clean && dev-tool run build-package && dev-tool run build-test && dev-tool run test:vitest --browser", "integration-test:node": "dev-tool run test:vitest --esm", "lint": "eslint package.json api-extractor.json src test", "lint:fix": "eslint package.json api-extractor.json src test --fix --fix-type [problem,suggestion]", "pack": "npm pack 2>&1", "test": "npm run clean && npm run build:test && npm run unit-test", "test:browser": "npm run clean && npm run build:test && npm run unit-test:browser", "test:node": "npm run clean && npm run build:test && npm run unit-test:node", "unit-test": "npm run unit-test:node && npm run unit-test:browser", "unit-test:browser": "npm run clean && dev-tool run build-package && dev-tool run build-test && dev-tool run test:vitest --browser", "unit-test:node": "dev-tool run test:vitest", "update-snippets": "dev-tool run update-snippets" }, "sideEffects": false, "autoPublish": false, "dependencies": { "@azure-rest/core-client": "^2.3.1", "@azure/abort-controller": "^2.1.2", "@azure/core-auth": "^1.9.0", "@azure/core-lro": "^3.1.0", "@azure/core-paging": "^1.6.2", "@azure/core-rest-pipeline": "^1.18.2", "@azure/logger": "^1.1.4", "tslib": "^2.8.1" }, "devDependencies": { "@azure-tools/test-credential": "^2.0.0", "@azure-tools/test-recorder": "^4.1.0", "@azure-tools/test-utils-vitest": "^1.0.0", "@azure/core-util": "^1.11.0", "@azure/dev-tool": "^1.0.0", "@azure/eslint-plugin-azure-sdk": "^3.0.0", "@azure/identity": "^4.6.0", "@types/node": "^18.0.0", "@vitest/browser": "^3.0.3", "@vitest/coverage-istanbul": "^3.0.3", "dotenv": "^16.0.0", "eslint": "^9.9.0", "playwright": "^1.50.0", "typescript": "~5.7.2", "vitest": "^3.0.3" }, "type": "module", "tshy": { "project": "./tsconfig.src.json", "exports": { "./package.json": "./package.json", ".": "./src/index.ts" }, "dialects": [ "esm", "commonjs" ], "esmDialects": [ "browser", "react-native" ], "selfLink": false }, "exports": { "./package.json": "./package.json", ".": { "browser": { "types": "./dist/browser/index.d.ts", "default": "./dist/browser/index.js" }, "react-native": { "types": "./dist/react-native/index.d.ts", "default": "./dist/react-native/index.js" }, "import": { "types": "./dist/esm/index.d.ts", "default": "./dist/esm/index.js" }, "require": { "types": "./dist/commonjs/index.d.ts", "default": "./dist/commonjs/index.js" } } }, "react-native": "./dist/react-native/index.js" }