ferst-core 0.4.8 → 0.4.9

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.
@@ -29,12 +29,14 @@ export const PREVIEW_MESSAGES = {
29
29
 
30
30
  const STYLE_ID = 'ferst-preview';
31
31
 
32
- /** Origins allowed to drive the preview (besides same-origin, i.e. the CMS pane). */
32
+ /** Origins allowed to drive the preview (besides same-origin, i.e. the CMS pane).
33
+ * The Ferst portal — both its custom domains and the bare Cloudflare Pages URLs
34
+ * it's actually served from (dev has no custom domain today). */
33
35
  const PORTAL_ORIGINS = [
34
36
  'https://portal.ferst.co.uk',
35
37
  'https://portal-dev.ferst.co.uk',
36
- 'https://signin.ferst.co.uk',
37
- 'https://signin-dev.ferst.co.uk',
38
+ 'https://myai4-portal.pages.dev',
39
+ 'https://myai4-portal-dev.pages.dev',
38
40
  ];
39
41
 
40
42
  /** True for same-origin (CMS design-tokens pane) or a known Ferst portal origin. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ferst-core",
3
- "version": "0.4.8",
3
+ "version": "0.4.9",
4
4
  "type": "module",
5
5
  "description": "Ferst Core — the shared, brand-agnostic client-site system: Astro components, layouts, content schemas, the layered config resolver, and a neutral styling architecture that every client overrides.",
6
6
  "license": "BUSL-1.1",