@cmssy/cli 11.3.1 → 11.4.0

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.
@@ -1,5 +1,5 @@
1
1
  ---
2
- import { loadCmssyPage } from "@cmssy/astro";
2
+ import { loadCmssyPage, resolveEditorOrigin } from "@cmssy/astro";
3
3
  import { cmssy } from "../../cmssy.config";
4
4
  import { blocks } from "../../cmssy/blocks";
5
5
  import CmssyEditor from "../../cmssy/editor";
@@ -13,7 +13,7 @@ export const prerender = false;
13
13
  // can select the header and not fill it, and a relation field shows raw ids.
14
14
  const { page, layouts, locale, defaultLocale, enabledLocales, editorData } =
15
15
  await loadCmssyPage(cmssy, Astro.request, Astro.url, { blocks });
16
- const editorOrigin = cmssy.editorOrigin ?? "*";
16
+ const editorOrigin = resolveEditorOrigin(cmssy.editorOrigin);
17
17
  ---
18
18
 
19
19
  <html lang={locale}>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cmssy/cli",
3
- "version": "11.3.1",
3
+ "version": "11.4.0",
4
4
  "description": "The cmssy CLI: `cmssy init` wires cmssy into an existing Next.js, Astro or React Router app; `cmssy link` connects it to a workspace and verifies the editor wiring.",
5
5
  "keywords": [
6
6
  "cmssy",
@@ -27,7 +27,7 @@
27
27
  "assets"
28
28
  ],
29
29
  "dependencies": {
30
- "@cmssy/core": "11.3.1"
30
+ "@cmssy/core": "11.4.0"
31
31
  },
32
32
  "devDependencies": {
33
33
  "@types/node": "^20.0.0",