From fb56cd10ebf80f09c1180e04809013ce7938dd5d Mon Sep 17 00:00:00 2001 From: Phillip Pietruschka Date: Mon, 11 Dec 2023 11:32:31 +1100 Subject: [PATCH] update manifest --- companion/manifest.json | 8 ++++---- package.json | 4 ++-- src/config.js | 3 ++- 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/companion/manifest.json b/companion/manifest.json index c88a3a9..9db6479 100644 --- a/companion/manifest.json +++ b/companion/manifest.json @@ -1,12 +1,12 @@ { - "id": "ntp-dot-protocol", - "name": "ntp-dot-protocol", + "id": "ntp-technology-dot", + "name": "ntp-technology-dot", "shortname": "DOT Protocol", "description": "NTP DOT Protocol for control of audio routers with Bitfocus Companion", "version": "1.0.0", "license": "MIT", - "repository": "git+https://github.com/phillipivan/companion-module-ntp-dot-protocol.git", - "bugs": "https://github.com/phillipivan/companion-module-ntp-dot-protocol/issues", + "repository": "git+https://github.com/bitfocus/companion-module-ntp-technology-dot.git", + "bugs": "https://github.com/bitfocus/companion-module-ntp-technology-dot/issues", "maintainers": [ { "name": "Phillip Ivan Pietruschka", diff --git a/package.json b/package.json index ea3b305..4d6de86 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "ntp-dot-protocol", + "name": "ntp-technology-dot", "version": "1.0.0", "main": "src/main.js", "scripts": { @@ -11,7 +11,7 @@ "license": "MIT", "repository": { "type": "git", - "url": "git+https://github.com/phillipivan/companion-module-ntp-dot-protocol.git" + "url": "git+https://github.com/bitfocus/companion-module-ntp-technology-dot.git" }, "dependencies": { "@companion-module/base": "~1.5.1" diff --git a/src/config.js b/src/config.js index ab78438..03c7bab 100644 --- a/src/config.js +++ b/src/config.js @@ -1,5 +1,5 @@ const { Regex } = require('@companion-module/base') -//const { EndSession, paramSep } = require('./consts.js') + module.exports = { async configUpdated(config) { this.config = config @@ -11,6 +11,7 @@ module.exports = { this.updateVariableDefinitions() this.updateVariableValues() }, + // Return config fields for web config getConfigFields() { return [