@wix/auto_sdk_events_forms 1.0.108 → 1.0.110

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1428,6 +1428,20 @@ interface Tag {
1428
1428
  *
1429
1429
  *
1430
1430
  * Supported values: `title`, `meta`, `script`, `link`.
1431
+ *
1432
+ * Which of these an API actually accepts depends on where the tag is being set: this
1433
+ * list is not a blanket guarantee across every API that reuses this message. Site SEO
1434
+ * Tags in particular accepts only `meta` (see `SiteSeoTags.tags`) and rejects
1435
+ * `title`/`script`/`link` with a validation error even though they appear here —
1436
+ * check the field description of the specific `tags`-typed field you're writing to
1437
+ * for the types it actually supports and the error it returns.
1438
+ *
1439
+ * Limitation: `title` and `script` (e.g. a `script` tag with `props.type`
1440
+ * `"application/ld+json"` carrying structured data) are supported only when
1441
+ * `custom` is unset or `false`. Setting `custom: true` on a `title` or `script`
1442
+ * tag is rejected with `TAG_TYPE_NOT_ALLOWED`, because `custom: true` routes the
1443
+ * write through the site's Advanced/Custom Tags list. To write structured data,
1444
+ * omit `custom` (or set it to `false`).
1431
1445
  */
1432
1446
  type?: string;
1433
1447
  /**
@@ -1443,6 +1457,18 @@ interface Tag {
1443
1457
  * Whether the tag is a [custom tag](https://support.wix.com/en/article/adding-additional-meta-tags-to-your-sites-pages) —
1444
1458
  * i.e. an entry from the site's Advanced/Custom Tags list.
1445
1459
  *
1460
+ * Setting this to `true` on a write restricts which `type` values are accepted
1461
+ * — the same restriction the Advanced/Custom Tags UI enforces. `title` and
1462
+ * `script` tags (including JSON-LD structured data) must be sent with `custom`
1463
+ * omitted or `false`; sending them with `custom: true` is rejected with
1464
+ * `TAG_TYPE_NOT_ALLOWED`.
1465
+ *
1466
+ * Note this is a separate restriction from Site SEO Tags' own type restriction on
1467
+ * `SiteSeoTags.tags`: even with `custom` unset, Site SEO Tags rejects `script` (e.g.
1468
+ * for site-wide structured data) unconditionally. There is currently no way to set
1469
+ * site-wide, every-page structured data through any of these APIs — write a per-page
1470
+ * `script` tag through the Item SEO Tags API instead.
1471
+ *
1446
1472
  * This flag is scoped to that feature only. It is NOT an indicator of whether a standard tag
1447
1473
  * (`title`, `description`, Open Graph, etc.) reflects a manually configured value versus a computed
1448
1474
  * default/pattern — standard tags always resolve with `custom: false`, even when their content comes