fix(telemetry): move distinct_id into properties for PostHog batch API (#3243)

PostHog's /batch/ endpoint requires distinct_id inside each event's
properties object, not at the event level. Events were silently dropped.

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Ahmed Abushagur 2026-04-08 23:43:13 -07:00 committed by GitHub
parent f6c9177f80
commit 2b99be70d1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 5 additions and 3 deletions

View file

@ -1,6 +1,6 @@
{
"name": "@openrouter/spawn",
"version": "0.32.0",
"version": "0.32.1",
"type": "module",
"bin": {
"spawn": "cli.js"