diff --git a/TELEMETRY_CONTRACT.txt b/TELEMETRY_CONTRACT.txt index 055043d..0bfbdf2 100644 --- a/TELEMETRY_CONTRACT.txt +++ b/TELEMETRY_CONTRACT.txt @@ -17,9 +17,9 @@ NEVER edit the generated catalog file (TelemetryCatalog.* / telemetryCatalog.ts). Need a new id? Add it to OneHookBackend/packages/telemetry/src/catalog.ts, run npm run telemetry:generate && npm run telemetry:sync - (web), publish onehook-api-client and bump it in OneHookPlatform - node scripts/sync-api-specs.mjs --bump onehook-api-client@ - (iOS, Android), and deploy the backend BEFORE shipping a client that uses it. + (web) and publish onehook-api-client (iOS and Android take the new minor through + OneHookPlatform's lockfile update), and deploy the backend BEFORE shipping a + client that uses it. Unregistered or wrong-platform ids are REJECTED by the server and never stored. 3. Parity: an element may be missing on a platform ONLY if it is listed, with a