@sarimarcus/content-sites-ui 0.32.2 → 0.32.3

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.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,10 @@
2
2
 
3
3
  All packages in the platform release in lockstep; entries are per release version.
4
4
 
5
+ ## 0.32.3 (2026-10-11)
6
+
7
+ - `emeraldResources` declares `https://mn-tz.com` and `https://emrld.cc` under `connect-src` (the Emerald loader fetches `adv_out.js` from both). No markup change; sites add the two hosts to their CSP.
8
+
5
9
  ## 0.32.2 (2026-10-09)
6
10
 
7
11
  - No changes; lockstep release with core (SLA-3037).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sarimarcus/content-sites-ui",
3
- "version": "0.32.2",
3
+ "version": "0.32.3",
4
4
  "description": "Universal Astro UI components, layout shell and design tokens shared by the content sites.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -49,6 +49,6 @@
49
49
  "@lucide/astro": "^1.23.0",
50
50
  "astro": "^7.0.6",
51
51
  "tailwindcss": "^4.1.18",
52
- "@sarimarcus/content-sites-core": "0.32.2"
52
+ "@sarimarcus/content-sites-core": "0.32.3"
53
53
  }
54
54
  }
@@ -49,7 +49,10 @@ export const widgetLoaders: Record<WidgetKind, WidgetLoader> = {
49
49
  /** The Travelpayouts Emerald loader every page carries (EmeraldLoader): https://emrldtp.com/<base64 trs>.js?t=<trs>. */
50
50
  export const EMERALD_ORIGIN = 'https://emrldtp.com';
51
51
 
52
+ /** Hosts the Emerald loader fetches adv_out.js from (connect-src); the network rotates them. */
53
+ export const EMERALD_CONNECT_ORIGINS = ['https://mn-tz.com', 'https://emrld.cc'] as const;
54
+
52
55
  export const emeraldResources: Partial<Record<CspDirective, readonly string[]>> = {
53
56
  'script-src': [EMERALD_ORIGIN],
54
- 'connect-src': [EMERALD_ORIGIN],
57
+ 'connect-src': [EMERALD_ORIGIN, ...EMERALD_CONNECT_ORIGINS],
55
58
  };