incyclist-devices 2.3.0-beta.12 → 2.3.0-beta.13

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.
@@ -4,7 +4,13 @@ import { UpdateRequest } from "./types";
4
4
  export default class AntAdvSimCyclingMode extends SmartTrainerCyclingMode {
5
5
  constructor(adapter: IncyclistDeviceAdapter, props?: any);
6
6
  getDescription(): string;
7
- getConfig(): import("./types").CyclingModeConfig;
7
+ getConfig(): {
8
+ name: string;
9
+ isERG?: boolean;
10
+ isSIM?: boolean;
11
+ description: string;
12
+ properties: import("./types").CyclingModeProperty[];
13
+ };
8
14
  checkForResetOrEmpty(request: UpdateRequest): UpdateRequest | undefined;
9
15
  protected checkForTempPowerAdjustments(request: UpdateRequest, newRequest?: UpdateRequest): void;
10
16
  protected checkEmptyRequest(newRequest: UpdateRequest): void;
@@ -15,8 +15,7 @@ class AntAdvSimCyclingMode extends antble_smarttrainer_1.default {
15
15
  }
16
16
  getConfig() {
17
17
  const config = super.getConfig();
18
- config.name = 'Advanced Smart Trainer';
19
- return config;
18
+ return Object.assign(Object.assign({}, config), { name: 'Advanced Smart Trainer' });
20
19
  }
21
20
  checkForResetOrEmpty(request) {
22
21
  if (!request || request.reset) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "incyclist-devices",
3
- "version": "2.3.0-beta.12",
3
+ "version": "2.3.0-beta.13",
4
4
  "dependencies": {
5
5
  "@serialport/bindings-interface": "^1.2.2",
6
6
  "@serialport/parser-byte-length": "^9.0.1",