tirecheck-device-sdk 0.2.35 → 0.2.36

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.
package/dist/index.cjs CHANGED
@@ -527,8 +527,9 @@ const deviceMeta = {
527
527
  },
528
528
  getDeviceInfoFromAdvertising: bridgeOtaAdvertisingParser.getDeviceInfoFromAdvertising
529
529
  },
530
- flexiGauge: {
531
- nameRegex: /^Flexi.*v.*/,
530
+ flexiGaugeTpms: {
531
+ // after implementation of normal fg replace with /^Flexi.*TPMS.*/,
532
+ nameRegex: /^Flexi.*TPMS.*/,
532
533
  communication: {
533
534
  serviceId: "4880c12c-fdcb-4077-8920-a450d7f9b907",
534
535
  characteristicId: "fec26ec4-6d71-4442-9f81-55bc21d658d6"
@@ -540,14 +541,13 @@ const deviceMeta = {
540
541
  getDeviceInfoFromAdvertising: (device) => {
541
542
  const bleDevice = {
542
543
  ...device,
543
- type: "flexiGauge"
544
+ type: "flexiGaugeTpms"
544
545
  };
545
546
  return bleDevice;
546
547
  }
547
548
  },
548
- flexiGaugeTpms: {
549
- // after implementation of normal fg replace with /^Flexi.*TPMS.*/,
550
- nameRegex: /^Flexi.*TPMS.*/,
549
+ flexiGauge: {
550
+ nameRegex: /^Flexi.*/,
551
551
  communication: {
552
552
  serviceId: "4880c12c-fdcb-4077-8920-a450d7f9b907",
553
553
  characteristicId: "fec26ec4-6d71-4442-9f81-55bc21d658d6"
@@ -559,7 +559,7 @@ const deviceMeta = {
559
559
  getDeviceInfoFromAdvertising: (device) => {
560
560
  const bleDevice = {
561
561
  ...device,
562
- type: "flexiGaugeTpms"
562
+ type: "flexiGauge"
563
563
  };
564
564
  return bleDevice;
565
565
  }
package/dist/index.d.cts CHANGED
@@ -70,7 +70,7 @@ declare const _default$1: {
70
70
  };
71
71
  getDeviceInfoFromAdvertising: (device: PeripheralData) => BleDevice | undefined;
72
72
  };
73
- flexiGauge: {
73
+ flexiGaugeTpms: {
74
74
  nameRegex: RegExp;
75
75
  communication: {
76
76
  serviceId: string;
@@ -80,9 +80,9 @@ declare const _default$1: {
80
80
  serviceId: string;
81
81
  characteristicId: string;
82
82
  };
83
- getDeviceInfoFromAdvertising: (device: PeripheralData) => BleFlexiGauge;
83
+ getDeviceInfoFromAdvertising: (device: PeripheralData) => BleFlexiGaugeTpms;
84
84
  };
85
- flexiGaugeTpms: {
85
+ flexiGauge: {
86
86
  nameRegex: RegExp;
87
87
  communication: {
88
88
  serviceId: string;
@@ -92,7 +92,7 @@ declare const _default$1: {
92
92
  serviceId: string;
93
93
  characteristicId: string;
94
94
  };
95
- getDeviceInfoFromAdvertising: (device: PeripheralData) => BleFlexiGaugeTpms;
95
+ getDeviceInfoFromAdvertising: (device: PeripheralData) => BleFlexiGauge;
96
96
  };
97
97
  pressureStick: {
98
98
  nameRegex: RegExp;
package/dist/index.d.mts CHANGED
@@ -70,7 +70,7 @@ declare const _default$1: {
70
70
  };
71
71
  getDeviceInfoFromAdvertising: (device: PeripheralData) => BleDevice | undefined;
72
72
  };
73
- flexiGauge: {
73
+ flexiGaugeTpms: {
74
74
  nameRegex: RegExp;
75
75
  communication: {
76
76
  serviceId: string;
@@ -80,9 +80,9 @@ declare const _default$1: {
80
80
  serviceId: string;
81
81
  characteristicId: string;
82
82
  };
83
- getDeviceInfoFromAdvertising: (device: PeripheralData) => BleFlexiGauge;
83
+ getDeviceInfoFromAdvertising: (device: PeripheralData) => BleFlexiGaugeTpms;
84
84
  };
85
- flexiGaugeTpms: {
85
+ flexiGauge: {
86
86
  nameRegex: RegExp;
87
87
  communication: {
88
88
  serviceId: string;
@@ -92,7 +92,7 @@ declare const _default$1: {
92
92
  serviceId: string;
93
93
  characteristicId: string;
94
94
  };
95
- getDeviceInfoFromAdvertising: (device: PeripheralData) => BleFlexiGaugeTpms;
95
+ getDeviceInfoFromAdvertising: (device: PeripheralData) => BleFlexiGauge;
96
96
  };
97
97
  pressureStick: {
98
98
  nameRegex: RegExp;
package/dist/index.d.ts CHANGED
@@ -70,7 +70,7 @@ declare const _default$1: {
70
70
  };
71
71
  getDeviceInfoFromAdvertising: (device: PeripheralData) => BleDevice | undefined;
72
72
  };
73
- flexiGauge: {
73
+ flexiGaugeTpms: {
74
74
  nameRegex: RegExp;
75
75
  communication: {
76
76
  serviceId: string;
@@ -80,9 +80,9 @@ declare const _default$1: {
80
80
  serviceId: string;
81
81
  characteristicId: string;
82
82
  };
83
- getDeviceInfoFromAdvertising: (device: PeripheralData) => BleFlexiGauge;
83
+ getDeviceInfoFromAdvertising: (device: PeripheralData) => BleFlexiGaugeTpms;
84
84
  };
85
- flexiGaugeTpms: {
85
+ flexiGauge: {
86
86
  nameRegex: RegExp;
87
87
  communication: {
88
88
  serviceId: string;
@@ -92,7 +92,7 @@ declare const _default$1: {
92
92
  serviceId: string;
93
93
  characteristicId: string;
94
94
  };
95
- getDeviceInfoFromAdvertising: (device: PeripheralData) => BleFlexiGaugeTpms;
95
+ getDeviceInfoFromAdvertising: (device: PeripheralData) => BleFlexiGauge;
96
96
  };
97
97
  pressureStick: {
98
98
  nameRegex: RegExp;
package/dist/index.mjs CHANGED
@@ -520,8 +520,9 @@ const deviceMeta = {
520
520
  },
521
521
  getDeviceInfoFromAdvertising: bridgeOtaAdvertisingParser.getDeviceInfoFromAdvertising
522
522
  },
523
- flexiGauge: {
524
- nameRegex: /^Flexi.*v.*/,
523
+ flexiGaugeTpms: {
524
+ // after implementation of normal fg replace with /^Flexi.*TPMS.*/,
525
+ nameRegex: /^Flexi.*TPMS.*/,
525
526
  communication: {
526
527
  serviceId: "4880c12c-fdcb-4077-8920-a450d7f9b907",
527
528
  characteristicId: "fec26ec4-6d71-4442-9f81-55bc21d658d6"
@@ -533,14 +534,13 @@ const deviceMeta = {
533
534
  getDeviceInfoFromAdvertising: (device) => {
534
535
  const bleDevice = {
535
536
  ...device,
536
- type: "flexiGauge"
537
+ type: "flexiGaugeTpms"
537
538
  };
538
539
  return bleDevice;
539
540
  }
540
541
  },
541
- flexiGaugeTpms: {
542
- // after implementation of normal fg replace with /^Flexi.*TPMS.*/,
543
- nameRegex: /^Flexi.*TPMS.*/,
542
+ flexiGauge: {
543
+ nameRegex: /^Flexi.*/,
544
544
  communication: {
545
545
  serviceId: "4880c12c-fdcb-4077-8920-a450d7f9b907",
546
546
  characteristicId: "fec26ec4-6d71-4442-9f81-55bc21d658d6"
@@ -552,7 +552,7 @@ const deviceMeta = {
552
552
  getDeviceInfoFromAdvertising: (device) => {
553
553
  const bleDevice = {
554
554
  ...device,
555
- type: "flexiGaugeTpms"
555
+ type: "flexiGauge"
556
556
  };
557
557
  return bleDevice;
558
558
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tirecheck-device-sdk",
3
- "version": "0.2.35",
3
+ "version": "0.2.36",
4
4
  "description": "SDK for working with various devices produced by Tirecheck via Bluetooth (CAN Bridge, Routers, Sensors, FlexiGauge, PressureStick, etc)",
5
5
  "author": "Leonid Buneev <leonid.buneev@tirecheck.com>",
6
6
  "license": "ISC",