incyclist-devices 1.5.5 → 1.5.7

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.
@@ -3,7 +3,7 @@ import DeviceProtocolBase, { DeviceProtocol, DeviceSettings, ScanProps } from ".
3
3
  import AntDeviceBinding from './ant-binding';
4
4
  import AntAdapter from "./ant-device";
5
5
  import AntInterface from "./ant-interface";
6
- export declare const mapAntProfile: (antProfile: any) => "SmartTrainer" | "Heartrate Monitor" | "Power Meter";
6
+ export declare const mapAntProfile: (antProfile: any) => "Heartrate Monitor" | "Power Meter" | "Smart Trainer";
7
7
  export declare const mapIncyclistProfile: (incyclistProfile: any) => "PWR" | "HR" | "FE";
8
8
  export interface AntDeviceSettings extends DeviceSettings {
9
9
  deviceID?: string;
@@ -42,7 +42,7 @@ const mapAntProfile = (antProfile) => {
42
42
  switch (antProfile) {
43
43
  case 'HR': return 'Heartrate Monitor';
44
44
  case 'PWR': return 'Power Meter';
45
- case 'FE': return 'SmartTrainer';
45
+ case 'FE': return 'Smart Trainer';
46
46
  }
47
47
  };
48
48
  exports.mapAntProfile = mapAntProfile;
@@ -50,7 +50,7 @@ const mapIncyclistProfile = (incyclistProfile) => {
50
50
  switch (incyclistProfile) {
51
51
  case 'Heartrate Monitor': return 'HR';
52
52
  case 'Power Meter': return 'PWR';
53
- case 'SmartTrainer': return 'FE';
53
+ case 'Smart Trainer': return 'FE';
54
54
  }
55
55
  };
56
56
  exports.mapIncyclistProfile = mapIncyclistProfile;
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "incyclist-devices",
3
- "version": "1.5.5",
3
+ "version": "1.5.7",
4
4
  "dependencies": {
5
5
  "@serialport/parser-byte-length": "^9.0.1",
6
6
  "@serialport/parser-delimiter": "^9.0.1",
7
7
  "@types/serialport": "^8.0.1",
8
8
  "gd-ant-plus": "^0.0.33",
9
- "incyclist-ant-plus": "^0.1.3",
9
+ "incyclist-ant-plus": "^0.1.5",
10
10
  "win32filetime": "^1.0.2"
11
11
  },
12
12
  "peerDependencies": {