"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.payloadTransform = void 0;
const payloadTransform = (payload) => {
    return {
        userId: payload.userId,
        events: [
            {
                event: payload.eventName,
                timestamp: new Date(payload.timestamp).getTime()
            }
        ]
    };
};
exports.payloadTransform = payloadTransform;
//# sourceMappingURL=utils.js.map