create-content-sdk-app 2.3.0-canary.20260710122044 → 2.3.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.
@@ -37,6 +37,10 @@ export default function proxy(req: NextRequest, event: NextFetchEvent) {
37
37
  * List of all supported locales configured in routing.ts
38
38
  */
39
39
  locales: routing.locales.slice(),
40
+ /**
41
+ * Default language to use if no language is identified in the request
42
+ */
43
+ defaultLanguage: scConfig.defaultLanguage,
40
44
  // This function determines if the proxy should be turned off on per-request basis.
41
45
  // Certain paths are ignored by default (e.g. files and Next.js API routes), but you may wish to disable more.
42
46
  // This is an important performance consideration since Next.js Edge proxy runs on every request.
@@ -37,6 +37,10 @@ export default function proxy(req: NextRequest, event: NextFetchEvent) {
37
37
  * List of all supported locales configured in routing.ts
38
38
  */
39
39
  locales: routing.locales.slice(),
40
+ /**
41
+ * Default language to use if no language is identified in the request
42
+ */
43
+ defaultLanguage: scConfig.defaultLanguage,
40
44
  // This function determines if the proxy should be turned off on per-request basis.
41
45
  // Certain paths are ignored by default (e.g. files and Next.js API routes), but you may wish to disable more.
42
46
  // This is an important performance consideration since Next.js Edge proxy runs on every request.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-content-sdk-app",
3
- "version": "2.3.0-canary.20260710122044",
3
+ "version": "2.3.0",
4
4
  "description": "Sitecore Content SDK initializer",
5
5
  "bin": "./dist/index.js",
6
6
  "scripts": {
@@ -38,12 +38,12 @@
38
38
  "minimist": "^1.2.8"
39
39
  },
40
40
  "devDependencies": {
41
- "@sitecore-content-sdk/analytics-core": "2.1.1-canary.20260710122044",
42
- "@sitecore-content-sdk/angular": "0.1.0-canary.20260710122044",
43
- "@sitecore-content-sdk/cli": "2.2.1-canary.20260710122044",
44
- "@sitecore-content-sdk/events": "2.1.1-canary.20260710122044",
45
- "@sitecore-content-sdk/nextjs": "2.2.1-canary.20260710122044",
46
- "@sitecore-content-sdk/personalize": "2.1.1-canary.20260710122044",
41
+ "@sitecore-content-sdk/analytics-core": "^2.1.1",
42
+ "@sitecore-content-sdk/angular": "~0.1.0",
43
+ "@sitecore-content-sdk/cli": "^2.2.0",
44
+ "@sitecore-content-sdk/events": "^2.1.1",
45
+ "@sitecore-content-sdk/nextjs": "^2.2.1",
46
+ "@sitecore-content-sdk/personalize": "^2.1.0",
47
47
  "@stylistic/eslint-plugin": "^5.2.2",
48
48
  "@types/chai": "^5.2.2",
49
49
  "@types/cross-spawn": "^6.0.6",