homebridge-securitysystem 8.0.0-beta.1 → 8.0.1-beta.1

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/SECURITY.md CHANGED
@@ -4,8 +4,8 @@
4
4
 
5
5
  | Version | Supported |
6
6
  | --------- | ------------------ |
7
- | 6.x.x | :white_check_mark: |
8
- | < 6.x.x | :x: |
7
+ | 8.x.x | :white_check_mark: |
8
+ | < 8.x.x | :x: |
9
9
 
10
10
  ## Reporting a Vulnerability
11
11
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "homebridge-securitysystem",
3
3
  "displayName": "Homebridge Security System",
4
- "version": "8.0.0-beta.1",
4
+ "version": "8.0.1-beta.1",
5
5
  "description": "Homebridge plugin that creates a security system accessory that can be triggered by HomeKit sensors.",
6
6
  "main": "src/index.js",
7
7
  "scripts": {
package/src/index.js CHANGED
@@ -1838,7 +1838,7 @@ SecuritySystem.prototype.sendWebhookEvent = function (type, state, origin) {
1838
1838
  path = path.replace("${currentMode}", this.state2Mode(this.currentState));
1839
1839
 
1840
1840
  // Send GET request to server
1841
- fetch(options.webhookUrl + path)
1841
+ fetch(options.webhookUrl + path, { credentials: "include" })
1842
1842
  .then((response) => {
1843
1843
  if (response.ok === false) {
1844
1844
  throw new Error(`Status code (${response.status})`);