homebridge-xbox-tv 2.12.26 → 2.12.27

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/README.md +1 -1
  2. package/index.js +10 -1
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -67,7 +67,7 @@ Homebridge plugin for Microsoft game Consoles. Tested with Xbox One X/S and Xbox
67
67
  * The `sample-config.json` can be edited and used as an alternative (advanced users).
68
68
 
69
69
  <p align="center">
70
- <a href="https://github.com/grzegorz914/homebridge-xbox-tv"><img src="https://raw.githubusercontent.com/grzegorz914/homebridge-xbox-tv/master/graphics/settings.png" width="840"></a>
70
+ <a href="https://github.com/grzegorz914/homebridge-xbox-tv"><img src="https://raw.githubusercontent.com/grzegorz914/homebridge-xbox-tv/master/graphics/ustawienia.png" width="840"></a>
71
71
  </p>
72
72
 
73
73
  | Key | Description |
package/index.js CHANGED
@@ -28,7 +28,16 @@ class XboxPlatform {
28
28
 
29
29
  //debug config
30
30
  const debug = device.enableDebugMode ? log(`Device: ${device.host} ${device.name}, did finish launching.`) : false;
31
- const debug1 = device.enableDebugMode ? log(`Device: ${device.host} ${device.name}, Config: ${JSON.stringify(device, null, 2)}`) : false;
31
+ const config = {
32
+ ...device,
33
+ xboxLiveId: 'removed',
34
+ webApiToken: 'removed',
35
+ webApiClientId: 'removed',
36
+ webApiClientSecret: 'removed',
37
+ mqttUser: 'removed',
38
+ mqttPasswd: 'removed'
39
+ };
40
+ const debug1 = device.enableDebugMode ? log(`Device: ${device.host} ${device.name}, Config: ${JSON.stringify(config, null, 2)}`) : false;
32
41
 
33
42
  //xbox device
34
43
  const xboxDevice = new XboxDevice(api, prefDir, device);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "displayName": "Xbox TV",
3
3
  "name": "homebridge-xbox-tv",
4
- "version": "2.12.26",
4
+ "version": "2.12.27",
5
5
  "description": "Homebridge plugin to control Xbox game consoles.",
6
6
  "license": "MIT",
7
7
  "author": "grzegorz914",