| 5 | const packageJson = JSON.parse(fs.readFileSync('./package.json', 'utf8')); |
| 6 | |
| 7 | export interface TelemetryData { |
| 8 | route: string; |
| 9 | apiVersion: string; |
| 10 | timestamp: Date; |
| 11 | } |
| 12 | |
| 13 | export const sendTelemetry = async (route: string): Promise<void> => { |
| 14 | const telemetryConfig = configService.get<Telemetry>('TELEMETRY'); |
nothing calls this directly
no outgoing calls
no test coverage detected