| 1 | import { constants, getTimestamp } from "../../deploy/constants.js"; |
| 2 | import { Telemetry } from "../../util/posthog.js"; |
| 3 | |
| 4 | export async function getHeaders() { |
| 5 | return { |
| 6 | key: constants.c, |
| 7 | timestamp: getTimestamp(), |
| 8 | v: "1", |
| 9 | extensionVersion: Telemetry.ideInfo?.extensionVersion ?? "0.0.0", |
| 10 | os: Telemetry.os ?? "Unknown", |
| 11 | uniqueId: Telemetry.uniqueId ?? "None", |
| 12 | }; |
| 13 | } |