tirecheck-device-sdk 0.2.33 → 0.2.34
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 -0
- package/dist/index.mjs +3 -0
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -2364,6 +2364,9 @@ async function setConfiguration(deviceId, bridgeConfiguration) {
|
|
|
2364
2364
|
if (configurationValidation.differences.includes("pressuresPerAxle")) {
|
|
2365
2365
|
await bridgeCommands.setPressuresPerAxle(deviceId, bridgeConfiguration.pressuresPerAxle);
|
|
2366
2366
|
}
|
|
2367
|
+
if (configurationValidation.differences.includes("autolearnSettings")) {
|
|
2368
|
+
await bridgeCommands.setAutoLearnSettings(deviceId, bridgeConfiguration.autolearnSettings);
|
|
2369
|
+
}
|
|
2367
2370
|
}
|
|
2368
2371
|
async function setVehicle(deviceId, tcVehicle) {
|
|
2369
2372
|
const currentTcVehicle = await getVehicle(deviceId);
|
package/dist/index.mjs
CHANGED
|
@@ -2357,6 +2357,9 @@ async function setConfiguration(deviceId, bridgeConfiguration) {
|
|
|
2357
2357
|
if (configurationValidation.differences.includes("pressuresPerAxle")) {
|
|
2358
2358
|
await bridgeCommands.setPressuresPerAxle(deviceId, bridgeConfiguration.pressuresPerAxle);
|
|
2359
2359
|
}
|
|
2360
|
+
if (configurationValidation.differences.includes("autolearnSettings")) {
|
|
2361
|
+
await bridgeCommands.setAutoLearnSettings(deviceId, bridgeConfiguration.autolearnSettings);
|
|
2362
|
+
}
|
|
2360
2363
|
}
|
|
2361
2364
|
async function setVehicle(deviceId, tcVehicle) {
|
|
2362
2365
|
const currentTcVehicle = await getVehicle(deviceId);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tirecheck-device-sdk",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.34",
|
|
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",
|