@lwrjs/view-registry 0.17.2-alpha.11 → 0.17.2-alpha.14

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.
@@ -52,6 +52,7 @@ function getViewBootstrapConfigurationResource(viewInfo, config, runtimeEnvironm
52
52
  };
53
53
  const lwrEnv = {
54
54
  SSR: false,
55
+ SSREnabled: !!viewInfo.ssr,
55
56
  ...(0, import_shared_utils.buildEnvironmentContext)(runtimeParams)
56
57
  };
57
58
  let warnMessages = `console.group('Server-side rendering warnings:');`;
@@ -25,6 +25,7 @@ export function getViewBootstrapConfigurationResource(viewInfo, config, runtimeE
25
25
  const lwrEnv = {
26
26
  // Note: SSR is always false because this script is executed on the client
27
27
  SSR: false,
28
+ SSREnabled: !!viewInfo.ssr,
28
29
  // Used by `lwr/environment`
29
30
  ...buildEnvironmentContext(runtimeParams),
30
31
  };
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
7
- "version": "0.17.2-alpha.11",
7
+ "version": "0.17.2-alpha.14",
8
8
  "homepage": "https://developer.salesforce.com/docs/platform/lwr/overview",
9
9
  "repository": {
10
10
  "type": "git",
@@ -33,20 +33,20 @@
33
33
  "build": "tsc -b"
34
34
  },
35
35
  "dependencies": {
36
- "@lwrjs/app-service": "0.17.2-alpha.11",
37
- "@lwrjs/diagnostics": "0.17.2-alpha.11",
38
- "@lwrjs/instrumentation": "0.17.2-alpha.11",
39
- "@lwrjs/shared-utils": "0.17.2-alpha.11",
36
+ "@lwrjs/app-service": "0.17.2-alpha.14",
37
+ "@lwrjs/diagnostics": "0.17.2-alpha.14",
38
+ "@lwrjs/instrumentation": "0.17.2-alpha.14",
39
+ "@lwrjs/shared-utils": "0.17.2-alpha.14",
40
40
  "lru-cache": "^10.4.3"
41
41
  },
42
42
  "devDependencies": {
43
- "@lwrjs/types": "0.17.2-alpha.11"
43
+ "@lwrjs/types": "0.17.2-alpha.14"
44
44
  },
45
45
  "engines": {
46
- "node": ">=18.0.0"
46
+ "node": ">=20.0.0"
47
47
  },
48
48
  "volta": {
49
49
  "extends": "../../../package.json"
50
50
  },
51
- "gitHead": "72217912e6c17e617413044743892582be5599a0"
51
+ "gitHead": "a7d6d67f5453787a8b2428bd11546c334af3f77b"
52
52
  }