@fern-api/fdr-sdk 1.2.166-e8ae898b4d → 1.2.167-543929dbcb

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.
@@ -5032,6 +5032,13 @@ var LedgerManifestSchema = z18.object({
5032
5032
  * site's next publish.
5033
5033
  */
5034
5034
  siblingSites: z18.array(LedgerSiblingSiteSchema).optional(),
5035
+ /**
5036
+ * Every hostname this publish is served on (the fern URL plus its
5037
+ * `customDomains`), so the runtime knows which hosts form one site (e.g.
5038
+ * whether analytics cookies must be shared across sibling subdomains).
5039
+ * Absent on pointers written before the field existed.
5040
+ */
5041
+ siteHosts: z18.array(z18.string()).optional(),
5035
5042
  /** Default locale for the deployment — read-path fallback when a translation is absent. */
5036
5043
  defaultLocale: z18.string(),
5037
5044
  /**
@@ -5794,6 +5801,7 @@ function buildLedgerReadModel(args) {
5794
5801
  isPrivate: args.isPrivate,
5795
5802
  askAiEnabled: args.askAiEnabled,
5796
5803
  ...args.siblingSites != null ? { siblingSites: args.siblingSites } : {},
5804
+ ...args.siteHosts != null ? { siteHosts: args.siteHosts } : {},
5797
5805
  defaultLocale,
5798
5806
  // All file bytes are anchored on the canonical fern domain (ADR
5799
5807
  // 0010); the lean shard file entries omit `domain` and the read