@fatehan/tsrp 1.4.23 → 1.4.24

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.
@@ -316,7 +316,7 @@ exports.TirePressureMonitoringSystemModule_TirePosition = {
316
316
  writer.uint32(16).uint32(message.tire);
317
317
  }
318
318
  if (message.pressure !== undefined) {
319
- writer.uint32(24).uint32(message.pressure);
319
+ writer.uint32(29).float(message.pressure);
320
320
  }
321
321
  if (message.temperature !== undefined) {
322
322
  writer.uint32(37).float(message.temperature);
@@ -351,10 +351,10 @@ exports.TirePressureMonitoringSystemModule_TirePosition = {
351
351
  continue;
352
352
  }
353
353
  case 3: {
354
- if (tag !== 24) {
354
+ if (tag !== 29) {
355
355
  break;
356
356
  }
357
- message.pressure = reader.uint32();
357
+ message.pressure = reader.float();
358
358
  continue;
359
359
  }
360
360
  case 4: {
@@ -405,7 +405,7 @@ exports.TirePressureMonitoringSystemModule_TirePosition = {
405
405
  obj.tire = Math.round(message.tire);
406
406
  }
407
407
  if (message.pressure !== undefined) {
408
- obj.pressure = Math.round(message.pressure);
408
+ obj.pressure = message.pressure;
409
409
  }
410
410
  if (message.temperature !== undefined) {
411
411
  obj.temperature = message.temperature;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fatehan/tsrp",
3
- "version": "1.4.23",
3
+ "version": "1.4.24",
4
4
  "description": "fatehan main models",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",