"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.send = void 0;
const send = async (request, settings, payload, type) => {
    return request(`https://sdk.playerzero.app/connect/segment/${type}`, {
        method: 'POST',
        json: payload,
        headers: {
            Authorization: `Bearer ${settings.projectToken}`
        }
    });
};
exports.send = send;
//# sourceMappingURL=util.js.map