incyclist-devices 3.0.54 → 3.0.56

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.
@@ -245,7 +245,8 @@ class BleAdapter extends adpater_js_1.default {
245
245
  }
246
246
  isExpectedStartFailure(err) {
247
247
  const message = err?.message;
248
- return message === 'peripheral wait cancelled' || message === 'peripheral not found';
248
+ return message === 'peripheral wait cancelled' || message === 'peripheral not found' ||
249
+ message === 'wifi device wait cancelled' || message === 'wifi device wait abandoned';
249
250
  }
250
251
  keyPressedHandler;
251
252
  async startControllerSensor(start) {
@@ -240,7 +240,8 @@ export default class BleAdapter extends IncyclistDevice {
240
240
  }
241
241
  isExpectedStartFailure(err) {
242
242
  const message = err?.message;
243
- return message === 'peripheral wait cancelled' || message === 'peripheral not found';
243
+ return message === 'peripheral wait cancelled' || message === 'peripheral not found' ||
244
+ message === 'wifi device wait cancelled' || message === 'wifi device wait abandoned';
244
245
  }
245
246
  keyPressedHandler;
246
247
  async startControllerSensor(start) {
@@ -1,4 +1,4 @@
1
- export type Feature = 'VirtualShifting';
1
+ export type Feature = 'VirtualShifting' | 'KettlerRacerBluetooth';
2
2
  export declare class FeatureToggle {
3
3
  protected static _instance: FeatureToggle;
4
4
  static getInstance(): FeatureToggle;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "incyclist-devices",
3
- "version": "3.0.54",
3
+ "version": "3.0.56",
4
4
  "scripts": {
5
5
  "lint": "eslint . --ext .ts",
6
6
  "build": "npm run build:esm && npm run build:cjs",