@sitecore-jss/sitecore-jss-nextjs 22.3.0-canary.13 → 22.3.0-canary.15

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.
@@ -265,7 +265,10 @@ class MetadataHandler {
265
265
  * @returns Content-Security-Policy header value
266
266
  */
267
267
  getSCPHeader() {
268
- return `frame-ancestors 'self' ${[(0, utils_2.getAllowedOriginsFromEnv)(), ...editing_1.EDITING_ALLOWED_ORIGINS].join(' ')}`;
268
+ return `frame-ancestors 'self' ${[
269
+ ...(0, utils_2.getAllowedOriginsFromEnv)(),
270
+ ...editing_1.EDITING_ALLOWED_ORIGINS,
271
+ ].join(' ')}`;
269
272
  }
270
273
  }
271
274
  exports.MetadataHandler = MetadataHandler;
@@ -260,7 +260,10 @@ export class MetadataHandler {
260
260
  * @returns Content-Security-Policy header value
261
261
  */
262
262
  getSCPHeader() {
263
- return `frame-ancestors 'self' ${[getAllowedOriginsFromEnv(), ...EDITING_ALLOWED_ORIGINS].join(' ')}`;
263
+ return `frame-ancestors 'self' ${[
264
+ ...getAllowedOriginsFromEnv(),
265
+ ...EDITING_ALLOWED_ORIGINS,
266
+ ].join(' ')}`;
264
267
  }
265
268
  }
266
269
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sitecore-jss/sitecore-jss-nextjs",
3
- "version": "22.3.0-canary.13",
3
+ "version": "22.3.0-canary.15",
4
4
  "main": "dist/cjs/index.js",
5
5
  "module": "dist/esm/index.js",
6
6
  "sideEffects": false,
@@ -72,9 +72,9 @@
72
72
  "react-dom": "^18.2.0"
73
73
  },
74
74
  "dependencies": {
75
- "@sitecore-jss/sitecore-jss": "^22.3.0-canary.13",
76
- "@sitecore-jss/sitecore-jss-dev-tools": "^22.3.0-canary.13",
77
- "@sitecore-jss/sitecore-jss-react": "^22.3.0-canary.13",
75
+ "@sitecore-jss/sitecore-jss": "^22.3.0-canary.15",
76
+ "@sitecore-jss/sitecore-jss-dev-tools": "^22.3.0-canary.15",
77
+ "@sitecore-jss/sitecore-jss-react": "^22.3.0-canary.15",
78
78
  "@vercel/kv": "^0.2.1",
79
79
  "prop-types": "^15.8.1",
80
80
  "regex-parser": "^2.2.11",
@@ -82,7 +82,7 @@
82
82
  },
83
83
  "description": "",
84
84
  "types": "types/index.d.ts",
85
- "gitHead": "3594160e4faebace2e135b19675ae9583992a405",
85
+ "gitHead": "3b2f6e4ee89a36797e65b3c41b5cbc13cb78d38c",
86
86
  "files": [
87
87
  "dist",
88
88
  "types",