homebridge-securitysystem 7.5.1-beta.1 → 7.5.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.
@@ -31,6 +31,6 @@ changelog:
31
31
  labels:
32
32
  - dependencies
33
33
 
34
- - title: 🪄 Other Changes
34
+ - title: 🛠️ Other Changes
35
35
  labels:
36
36
  - "*"
@@ -46,7 +46,7 @@ jobs:
46
46
  branch: version/${{ steps.generate-tag-name.outputs.tag-name }}
47
47
  commit-message: ${{ steps.generate-tag-name.outputs.tag-name }}
48
48
  title: Bump version to ${{ steps.generate-tag-name.outputs.tag-name }}
49
- body: Automated pull request triggered by a new version update.
49
+ body: Automated pull request triggered by a new release.
50
50
  labels: new-release,ignore-for-release
51
51
  reviewers: MiguelRipoll23
52
52
  draft: true
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "homebridge-securitysystem",
3
3
  "displayName": "Homebridge Security System",
4
- "version": "7.5.1-beta.1",
4
+ "version": "7.5.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": {
@@ -42,7 +42,6 @@
42
42
  },
43
43
  "dependencies": {
44
44
  "express": "^4.17.1",
45
- "express-rate-limit": "^6.2.1",
46
45
  "node-fetch": "^2.6.7",
47
46
  "node-persist": "^3.0.5"
48
47
  },
package/src/index.js CHANGED
@@ -4,7 +4,6 @@ const storage = require("node-persist");
4
4
  const { spawn } = require("child_process");
5
5
  const fetch = require("node-fetch");
6
6
  const express = require("express");
7
- const rateLimit = require("express-rate-limit");
8
7
 
9
8
  const packageJson = require("../package.json");
10
9
  const options = require("./utils/options.js");
@@ -1401,15 +1400,6 @@ SecuritySystem.prototype.sendResultResponse = function (res, success) {
1401
1400
  };
1402
1401
 
1403
1402
  SecuritySystem.prototype.startServer = async function () {
1404
- const apiLimiter = rateLimit({
1405
- windowMs: 1 * 60 * 1000,
1406
- max: 100,
1407
- standardHeaders: true,
1408
- legacyHeaders: false,
1409
- });
1410
-
1411
- app.use(apiLimiter);
1412
-
1413
1403
  app.get("/", (req, res) => {
1414
1404
  res.redirect(
1415
1405
  "https://github.com/MiguelRipoll23/homebridge-securitysystem/wiki/Server"