homebridge-xbox-tv 3.3.5 → 3.3.6-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.
package/README.md CHANGED
@@ -143,7 +143,7 @@ Homebridge plugin for Microsoft game Consoles. Tested with Xbox One X/S and Xbox
143
143
 
144
144
  ### RESTFul Integration
145
145
 
146
- * POST data as a JSON Object `{Power: true}`
146
+ * POST data as a JSON Object `{Power: true}`, content type must be `application/json`
147
147
 
148
148
  | Method | URL | Path | Response | Type |
149
149
  | --- | --- | --- | --- | --- |
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "displayName": "Xbox TV",
3
3
  "name": "homebridge-xbox-tv",
4
- "version": "3.3.5",
4
+ "version": "3.3.6-beta.0",
5
5
  "description": "Homebridge plugin to control Xbox game consoles.",
6
6
  "license": "MIT",
7
7
  "author": "grzegorz914",
@@ -62,7 +62,8 @@ class XboxWebApi extends EventEmitter {
62
62
  'x-xbl-client-name': 'XboxApp',
63
63
  'x-xbl-client-type': 'UWA',
64
64
  'x-xbl-client-version': '39.39.22001.0',
65
- 'skillplatform': 'RemoteManagement'
65
+ 'skillplatform': 'RemoteManagement',
66
+ 'Content-Type': 'application/json'
66
67
  }
67
68
  this.headers = headers;
68
69
 
@@ -433,4 +434,4 @@ class XboxWebApi extends EventEmitter {
433
434
  };
434
435
  }
435
436
  }
436
- export default XboxWebApi;
437
+ export default XboxWebApi;