fix(launcher): resolve heartbeat timezone shift and enable browser testing

- Removed manual 'Z' suffix addition in device processing to fix incorrect offsets.
- Switched heartbeat payload to standard UTC ISO strings.
- Enabled background timers in non-native environments for easier verification.
- Hardened telemetry gathering to skip Electron-only APIs when running in a browser.
This commit is contained in:
Scott Idem
2026-01-26 12:57:59 -05:00
parent af1dc18b57
commit 13bc903ad9
2 changed files with 22 additions and 15 deletions

View File

@@ -480,9 +480,8 @@ export async function process_ae_obj__event_device_props({
obj_type: 'event_device',
log_lvl,
specific_processor: (obj) => {
if (obj.heartbeat) {
obj.heartbeat = obj.heartbeat + 'Z';
}
// Note: V3 API returns proper ISO strings.
// We no longer manually append 'Z' to avoid timezone corruption.
return obj;
}
});