dt-common-device 7.10.6 → 7.10.7

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.
@@ -136,11 +136,11 @@ let LocalDeviceService = (() => {
136
136
  else {
137
137
  await this.handleOfflineStatus(device, device.status, body.status, auditBody?.source || Service_1.Source.SYSTEM, auditBody, body.status.error?.message);
138
138
  }
139
- delete body.status;
139
+ // delete body.status;
140
140
  }
141
141
  if (body.state?.batteryPercentage?.value) {
142
142
  await this.setBatteryLevel(deviceId, body.state?.batteryPercentage?.value, auditBody?.source || Service_1.Source.SYSTEM, auditBody);
143
- delete body.state?.batteryPercentage;
143
+ // delete body.state?.batteryPercentage;
144
144
  }
145
145
  await this.deviceRepository.updateDevice(deviceId, body);
146
146
  return await this.eventHandler.onDeviceUpdate(deviceId, body, auditBody);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dt-common-device",
3
- "version": "7.10.6",
3
+ "version": "7.10.7",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "files": [