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:
@@ -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;
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user