homebridge-xbox-tv 2.8.3 → 2.8.4-beta.0

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.
@@ -143,7 +143,7 @@
143
143
  await homebridge.updatePluginConfig(pluginConfig)
144
144
 
145
145
  const host = pluginConfig[0].devices[this.deviceIndex].host || '';
146
- this.clientId = pluginConfig[0].devices[this.deviceIndex].clientId || '5e5ead27-ed60-482d-b3fc-702b28a97404';
146
+ this.clientId = pluginConfig[0].devices[this.deviceIndex].clientId || 'd50e02f4-066b-4de7-bff3-5463e13a2bb4';
147
147
  this.clientSecret = pluginConfig[0].devices[this.deviceIndex].clientSecret || '';
148
148
  this.userToken = pluginConfig[0].devices[this.deviceIndex].userToken || '';
149
149
  this.uhs = pluginConfig[0].devices[this.deviceIndex].uhs || '';
package/index.js CHANGED
@@ -79,7 +79,7 @@ class XBOXDEVICE {
79
79
  this.sensorScreenSaver = config.sensorScreenSaver || false;
80
80
  this.sensorInputs = config.sensorInputs || [];
81
81
  this.xboxWebApiToken = config.xboxWebApiToken || '';
82
- this.clientId = config.clientId || '5e5ead27-ed60-482d-b3fc-702b28a97404';
82
+ this.clientId = config.clientId || 'd50e02f4-066b-4de7-bff3-5463e13a2bb4';
83
83
  this.clientSecret = config.clientSecret || '';
84
84
  this.userToken = config.userToken || '';
85
85
  this.uhs = config.uhs || '';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "displayName": "Xbox TV",
3
3
  "name": "homebridge-xbox-tv",
4
- "version": "2.8.3",
4
+ "version": "2.8.4-beta.0",
5
5
  "description": "Homebridge plugin (https://github.com/homebridge/homebridge) to control Xbox game consoles.",
6
6
  "license": "MIT",
7
7
  "author": "grzegorz914",
@@ -242,7 +242,7 @@ class AUTHENTICATION {
242
242
  "grant_type": 'authorization_code',
243
243
  "scope": CONSTANS.Scopes.join(' '),
244
244
  "code": webApiToken,
245
- "redirect_uri": 'http://localhost:8080/auth/callback'
245
+ "redirect_uri": 'http://localhost:8888/auth/callback'
246
246
  }
247
247
 
248
248
  if (this.clientSecret !== '') {
@@ -272,7 +272,7 @@ class AUTHENTICATION {
272
272
  "response_type": 'code',
273
273
  "approval_prompt": 'auto',
274
274
  "scope": CONSTANS.Scopes.join(' '),
275
- "redirect_uri": 'http://localhost:8080/auth/callback'
275
+ "redirect_uri": 'http://localhost:8888/auth/callback'
276
276
  }
277
277
  const params = QueryString.stringify(paramsObject);
278
278
  const oauth2URI = `https://login.live.com/oauth20_authorize.srf?${params}`;