"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.sanitiseEventName = exports.formatAttributes = void 0;
function formatAttributes(attributes) {
    const formattedAttributes = {};
    for (const key in attributes) {
        formattedAttributes[`segment.${key}`] = attributes[key];
    }
    return formattedAttributes;
}
exports.formatAttributes = formatAttributes;
function sanitiseEventName(name) {
    return 'segment.' + name;
}
exports.sanitiseEventName = sanitiseEventName;
//# sourceMappingURL=utility.js.map