tirecheck-device-sdk 0.2.30 → 0.2.31
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 +3 -1
- package/dist/index.mjs +3 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -3078,7 +3078,9 @@ async function setSensorDisplayId(deviceId, oldSensorId, newSensorId) {
|
|
|
3078
3078
|
const config = await getSensorConfiguration(deviceId);
|
|
3079
3079
|
const newConfig = config.replace(/^.{8}/, newSensorId);
|
|
3080
3080
|
await flexiGaugeTpmsCommands.vdaSendConfiguration(deviceId, newConfig);
|
|
3081
|
-
|
|
3081
|
+
if (newSensorId !== "00000000") {
|
|
3082
|
+
await findSensor(deviceId, newSensorId);
|
|
3083
|
+
}
|
|
3082
3084
|
}
|
|
3083
3085
|
async function getSeed(deviceId, sensorId) {
|
|
3084
3086
|
try {
|
package/dist/index.mjs
CHANGED
|
@@ -3071,7 +3071,9 @@ async function setSensorDisplayId(deviceId, oldSensorId, newSensorId) {
|
|
|
3071
3071
|
const config = await getSensorConfiguration(deviceId);
|
|
3072
3072
|
const newConfig = config.replace(/^.{8}/, newSensorId);
|
|
3073
3073
|
await flexiGaugeTpmsCommands.vdaSendConfiguration(deviceId, newConfig);
|
|
3074
|
-
|
|
3074
|
+
if (newSensorId !== "00000000") {
|
|
3075
|
+
await findSensor(deviceId, newSensorId);
|
|
3076
|
+
}
|
|
3075
3077
|
}
|
|
3076
3078
|
async function getSeed(deviceId, sensorId) {
|
|
3077
3079
|
try {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tirecheck-device-sdk",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.31",
|
|
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",
|