incyclist-devices 1.5.14 → 1.5.15

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.
@@ -15,9 +15,9 @@ export default class DaumClassicAdapter extends DaumAdapter {
15
15
  pause(): Promise<boolean>;
16
16
  resume(): Promise<boolean>;
17
17
  check(): Promise<unknown>;
18
- relaunch(props: any): Promise<unknown>;
19
- start(props: any): Promise<unknown>;
20
- launch(props: any, isRelaunch?: boolean): Promise<unknown>;
18
+ relaunch(props: any): Promise<boolean>;
19
+ start(props: any): Promise<boolean>;
20
+ launch(props: any, isRelaunch?: boolean): Promise<boolean>;
21
21
  startRide(props?: {
22
22
  user?: any;
23
23
  bikeSettings?: any;
@@ -122,7 +122,7 @@ class DaumClassicAdapter extends DaumAdapter_1.default {
122
122
  this.stopped = false;
123
123
  this.paused = false;
124
124
  this.startUpdatePull();
125
- return data;
125
+ return true;
126
126
  });
127
127
  });
128
128
  }
@@ -9,8 +9,8 @@ export default class DaumPremiumDevice extends DaumAdapter {
9
9
  check(): Promise<unknown>;
10
10
  pause(): Promise<boolean>;
11
11
  resume(): Promise<boolean>;
12
- relaunch(props: any): Promise<unknown>;
13
- start(props: any): Promise<unknown>;
14
- launch(props: any, isRelaunch?: boolean): Promise<unknown>;
12
+ relaunch(props: any): Promise<boolean>;
13
+ start(props: any): Promise<boolean>;
14
+ launch(props: any, isRelaunch?: boolean): Promise<boolean>;
15
15
  getCurrentBikeData(): Promise<any>;
16
16
  }
@@ -146,7 +146,7 @@ class DaumPremiumDevice extends DaumAdapter_1.default {
146
146
  this.stopped = false;
147
147
  this.paused = false;
148
148
  this.startUpdatePull();
149
- return data;
149
+ return true;
150
150
  });
151
151
  });
152
152
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "incyclist-devices",
3
- "version": "1.5.14",
3
+ "version": "1.5.15",
4
4
  "dependencies": {
5
5
  "@serialport/parser-byte-length": "^9.0.1",
6
6
  "@serialport/parser-delimiter": "^9.0.1",