incyclist-services 1.7.13 → 1.7.14

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.
@@ -161,7 +161,7 @@ class RoutesApiLoader extends types_1.Loader {
161
161
  const isUnique = (v, i, a) => {
162
162
  return a.findIndex(item => item.route.description.id === v.route.description.id) === i;
163
163
  };
164
- items = items.filter(isUnique);
164
+ items = items.filter((v, i, a) => isUnique(v, i, a));
165
165
  }
166
166
  catch (err) {
167
167
  this.logger.logEvent({ message: 'error', fn: 'loadDetails#unique', error: err.message, stack: err.stack });
@@ -155,7 +155,7 @@ export class RoutesApiLoader extends Loader {
155
155
  const isUnique = (v, i, a) => {
156
156
  return a.findIndex(item => item.route.description.id === v.route.description.id) === i;
157
157
  };
158
- items = items.filter(isUnique);
158
+ items = items.filter((v, i, a) => isUnique(v, i, a));
159
159
  }
160
160
  catch (err) {
161
161
  this.logger.logEvent({ message: 'error', fn: 'loadDetails#unique', error: err.message, stack: err.stack });
@@ -4,7 +4,7 @@ export type BLEFeatures = {
4
4
  services: Array<string>;
5
5
  characteristics: Array<string>;
6
6
  };
7
- export type WifiFeatures = BLEFeatures & {};
7
+ export type WifiFeatures = BLEFeatures;
8
8
  export type AppFeatures = {
9
9
  interfaces: Array<Interfaces> | '*';
10
10
  ble: BLEFeatures | '*';
@@ -1,4 +1,4 @@
1
- import { DeviceProperties } from "incyclist-devices/lib/types/device";
1
+ import { DeviceProperties } from "incyclist-devices";
2
2
  import { AdapterInfo, ExtendedIncyclistCapability } from "../configuration";
3
3
  import { Route } from "../../routes/base/model/route";
4
4
  import { RouteApiDetail } from "../../routes/base/api/types";
package/package.json CHANGED
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "incyclist-services",
3
- "version": "1.7.13",
3
+ "version": "1.7.14",
4
4
  "peerDependencies": {
5
5
  "gd-eventlog": "^0.1.27"
6
6
  },
7
7
  "dependencies": {
8
- "axios": "^1.13.4",
8
+ "axios": "^1.13.5",
9
9
  "incyclist-devices": "^3.0.6",
10
10
  "promise.any": "^2.0.6",
11
- "semver": "^7.7.3",
11
+ "semver": "^7.7.4",
12
12
  "tcx-builder": "^1.1.1",
13
13
  "uuid": "^13.0.0",
14
14
  "xml2js": "^0.6.2"
@@ -17,17 +17,17 @@
17
17
  "@serialport/binding-mock": "^10.2.2",
18
18
  "@serialport/bindings-interface": "^1.2.2",
19
19
  "@types/jest": "^30.0.0",
20
- "@types/node": "^25.1.0",
21
- "@typescript-eslint/eslint-plugin": "^8.54.0",
22
- "@typescript-eslint/parser": "^8.54.0",
23
- "dotenv": "^17.2.3",
20
+ "@types/node": "^25.2.2",
21
+ "@typescript-eslint/eslint-plugin": "^8.55.0",
22
+ "@typescript-eslint/parser": "^8.55.0",
23
+ "dotenv": "^17.2.4",
24
24
  "eslint": "^9.39.2",
25
25
  "formdata-node": "^6.0.3",
26
26
  "jest": "^30.2.0",
27
27
  "jsdoc": "^4.0.5",
28
28
  "ts-jest": "^29.4.6",
29
29
  "typedoc": "^0.28.16",
30
- "typedoc-plugin-markdown": "^4.9.0",
30
+ "typedoc-plugin-markdown": "^4.10.0",
31
31
  "typedoc-plugin-no-inherit": "^1.6.1",
32
32
  "typescript": "^5.9.3"
33
33
  },