fix(ts-sdk): preserve customCategories names through key conversion (#5741)

This commit is contained in:
Bartok
2026-06-24 11:15:19 +05:30
committed by GitHub
parent 25bc1b7426
commit e9c0547423
3 changed files with 54 additions and 1 deletions
+5
View File
@@ -29,6 +29,11 @@ const OPAQUE_VALUE_KEYS = new Set([
"metadata",
"structuredDataSchema",
"structured_data_schema",
// Custom-category names are user-controlled keys (`[{ "<name>": "<desc>" }]`).
// Listed in both casings so they round-trip verbatim in both directions
// (see issue #5738; same class as `metadata`/`structuredDataSchema`).
"customCategories",
"custom_categories",
]);
/**