tirecheck-device-sdk 0.2.32 → 0.2.33

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
@@ -2203,12 +2203,14 @@ async function bridgeConfigurationDifference(original, change) {
2203
2203
  "customerPressureThresholds",
2204
2204
  "customerTemperatureThresholds",
2205
2205
  "customerImbalanceThresholds",
2206
- "pressuresPerAxle"
2206
+ "pressuresPerAxle",
2207
+ "autolearnSettings"
2207
2208
  ];
2208
2209
  const differentProps = [];
2209
2210
  const originalAny = original;
2210
2211
  const changeAny = change;
2211
2212
  for (const prop of propertiesToCheck) {
2213
+ if (!originalAny[prop] || !changeAny[prop]) continue;
2212
2214
  for (const key in changeAny[prop]) {
2213
2215
  if (originalAny[prop][key] !== changeAny[prop][key] || originalAny[prop].isFactory) {
2214
2216
  differentProps.push(prop);
package/dist/index.mjs CHANGED
@@ -2196,12 +2196,14 @@ async function bridgeConfigurationDifference(original, change) {
2196
2196
  "customerPressureThresholds",
2197
2197
  "customerTemperatureThresholds",
2198
2198
  "customerImbalanceThresholds",
2199
- "pressuresPerAxle"
2199
+ "pressuresPerAxle",
2200
+ "autolearnSettings"
2200
2201
  ];
2201
2202
  const differentProps = [];
2202
2203
  const originalAny = original;
2203
2204
  const changeAny = change;
2204
2205
  for (const prop of propertiesToCheck) {
2206
+ if (!originalAny[prop] || !changeAny[prop]) continue;
2205
2207
  for (const key in changeAny[prop]) {
2206
2208
  if (originalAny[prop][key] !== changeAny[prop][key] || originalAny[prop].isFactory) {
2207
2209
  differentProps.push(prop);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tirecheck-device-sdk",
3
- "version": "0.2.32",
3
+ "version": "0.2.33",
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",