diff --git a/io-package.json b/io-package.json index 1e9e56d..56b698e 100644 --- a/io-package.json +++ b/io-package.json @@ -84,7 +84,10 @@ "materialize": true, "dependencies": [ { - "js-controller": ">=2.2.0" + "admin": ">=4.2.0" + }, + { + "js-controller": ">=3.2.0" } ], "connectionType": "local", @@ -96,5 +99,36 @@ "comgwInterval": 2 }, "objects": [], - "instanceObjects": [] + "instanceObjects": [ + { + "_id": "", + "type": "meta", + "common": { + "name": "", + "type": "meta.user" + }, + "native": {} + }, + { + "_id": "info", + "type": "channel", + "common": { + "name": "Information" + }, + "native": {} + }, + { + "_id": "info.connection", + "type": "state", + "common": { + "role": "indicator.connected", + "name": "Device or service connected", + "type": "boolean", + "read": true, + "write": false, + "def": false + }, + "native": {} + } + ] } diff --git a/package.json b/package.json index b68bd2e..e8eef33 100644 --- a/package.json +++ b/package.json @@ -18,26 +18,26 @@ "url": "https://github.com/AWhiteKnight/ioBroker.letrika_comgw" }, "dependencies": { - "@iobroker/adapter-core": "^2.2.1" + "@iobroker/adapter-core": "^2.2.4" }, "devDependencies": { "@iobroker/testing": "^2.0.2", "@types/chai": "^4.2.9", "@types/chai-as-promised": "^7.1.2", "@types/gulp": "^4.0.6", - "@types/mocha": "^7.0.1", - "@types/node": "^10.17.16", + "@types/mocha": "^8.2.2", + "@types/node": "^14.14.37", "@types/proxyquire": "^1.3.28", - "@types/sinon": "^7.5.1", + "@types/sinon": "^9.0.11", "@types/sinon-chai": "^3.2.3", "axios": "^0.21.1", "chai": "^4.2.0", "chai-as-promised": "^7.1.1", - "eslint": "^6.8.0", + "eslint": "^7.24.0", "gulp": "^4.0.2", - "mocha": "^7.0.1", + "mocha": "^8.3.2", "proxyquire": "^2.1.3", - "sinon": "^9.0.0", + "sinon": "^10.0.1", "sinon-chai": "^3.5.0" }, "main": "main.js",