@wix/auto_sdk_events_forms 1.0.109 → 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.
@@ -1598,6 +1598,13 @@ interface Tag {
1598
1598
  * `title`/`script`/`link` with a validation error even though they appear here —
1599
1599
  * check the field description of the specific `tags`-typed field you're writing to
1600
1600
  * for the types it actually supports and the error it returns.
1601
+ *
1602
+ * Limitation: `title` and `script` (e.g. a `script` tag with `props.type`
1603
+ * `"application/ld+json"` carrying structured data) are supported only when
1604
+ * `custom` is unset or `false`. Setting `custom: true` on a `title` or `script`
1605
+ * tag is rejected with `TAG_TYPE_NOT_ALLOWED`, because `custom: true` routes the
1606
+ * write through the site's Advanced/Custom Tags list. To write structured data,
1607
+ * omit `custom` (or set it to `false`).
1601
1608
  */
1602
1609
  type?: string;
1603
1610
  /**
@@ -1613,6 +1620,12 @@ interface Tag {
1613
1620
  * Whether the tag is a [custom tag](https://support.wix.com/en/article/adding-additional-meta-tags-to-your-sites-pages) —
1614
1621
  * i.e. an entry from the site's Advanced/Custom Tags list.
1615
1622
  *
1623
+ * Setting this to `true` on a write restricts which `type` values are accepted
1624
+ * — the same restriction the Advanced/Custom Tags UI enforces. `title` and
1625
+ * `script` tags (including JSON-LD structured data) must be sent with `custom`
1626
+ * omitted or `false`; sending them with `custom: true` is rejected with
1627
+ * `TAG_TYPE_NOT_ALLOWED`.
1628
+ *
1616
1629
  * Note this is a separate restriction from Site SEO Tags' own type restriction on
1617
1630
  * `SiteSeoTags.tags`: even with `custom` unset, Site SEO Tags rejects `script` (e.g.
1618
1631
  * for site-wide structured data) unconditionally. There is currently no way to set