From 0ff94167056e0262c82e592134b493c8ca71a091 Mon Sep 17 00:00:00 2001 From: Pushp Date: Fri, 20 Nov 2026 05:34:39 +0530 Subject: [PATCH] chore(telemetry): contract text follows the backend (lockfile update instead of --bump) --- TELEMETRY_CONTRACT.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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