fix: better support for custom timestamps

This commit is contained in:
Carl-Gerhard Lindesvärd
2025-11-17 13:56:55 +01:00
parent dcc0d0df18
commit 10726bf373
2 changed files with 12 additions and 3 deletions

View File

@@ -21,7 +21,7 @@ import type { EventsQueuePayloadIncomingEvent } from '@openpanel/queue';
import * as R from 'ramda';
import { v4 as uuid } from 'uuid';
const GLOBAL_PROPERTIES = ['__path', '__referrer'];
const GLOBAL_PROPERTIES = ['__path', '__referrer', '__timestamp'];
// This function will merge two objects.
// First it will strip '' and undefined/null from B