@lwrjs/view-registry 0.8.0-alpha.6 → 0.8.0-alpha.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.
@@ -58,7 +58,7 @@ async function getHtmlResources(view, viewParams, resourceContext) {
58
58
  const rootComponents = [];
59
59
  const requiredAmdModules = [];
60
60
  const preloadAmdModules = [];
61
- const isSSR = view.bootstrap?.experimentalSSR;
61
+ const isSSR = view.bootstrap?.ssr;
62
62
  if (isAMD) {
63
63
  const shimBundle = !bundle ? "lwr-loader-shim-legacy.js" : debug || minify === false ? "lwr-loader-shim-legacy.bundle.js" : "lwr-loader-shim-legacy.bundle.min.js";
64
64
  const def = await resourceRegistry.getResource({specifier: shimBundle, version}, runtimeEnvironment, runtimeParams);
@@ -58,7 +58,7 @@ async function getHtmlResources(view, viewParams, resourceContext) {
58
58
  const rootComponents = [];
59
59
  const requiredAmdModules = [];
60
60
  const preloadAmdModules = [];
61
- const isSSR = view.bootstrap?.experimentalSSR;
61
+ const isSSR = view.bootstrap?.ssr;
62
62
  if (isAMD) {
63
63
  const shimBundle = !bundle ? "lwr-loader-shim.js" : debug || minify === false ? "lwr-loader-shim.bundle.js" : "lwr-loader-shim.bundle.min.js";
64
64
  const def = await resourceRegistry.getResource({specifier: shimBundle, version}, runtimeEnvironment, runtimeParams);
@@ -40,7 +40,7 @@ export async function getHtmlResources(view, viewParams, resourceContext) {
40
40
  // Collection of modules that will be loaded in the view
41
41
  const preloadAmdModules = [];
42
42
  // Determine if server side rendering view modules
43
- const isSSR = view.bootstrap?.experimentalSSR;
43
+ const isSSR = view.bootstrap?.ssr;
44
44
  // ------ AMD Required module resources
45
45
  if (isAMD) {
46
46
  // Keep shim format in sync with view_bootstrap.ts
@@ -40,7 +40,7 @@ export async function getHtmlResources(view, viewParams, resourceContext) {
40
40
  // Collection of modules that will be loaded in the view
41
41
  const preloadAmdModules = [];
42
42
  // Determine if server side rendering view modules
43
- const isSSR = view.bootstrap?.experimentalSSR;
43
+ const isSSR = view.bootstrap?.ssr;
44
44
  // ------ AMD Required module resources
45
45
  if (isAMD) {
46
46
  // Keep shim format in sync with legacy_view_bootstrap.ts
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
7
- "version": "0.8.0-alpha.6",
7
+ "version": "0.8.0-alpha.9",
8
8
  "homepage": "https://developer.salesforce.com/docs/platform/lwr/overview",
9
9
  "repository": {
10
10
  "type": "git",
@@ -30,15 +30,15 @@
30
30
  "build/**/*.d.ts"
31
31
  ],
32
32
  "dependencies": {
33
- "@lwrjs/app-service": "0.8.0-alpha.6",
34
- "@lwrjs/diagnostics": "0.8.0-alpha.6",
35
- "@lwrjs/shared-utils": "0.8.0-alpha.6"
33
+ "@lwrjs/app-service": "0.8.0-alpha.9",
34
+ "@lwrjs/diagnostics": "0.8.0-alpha.9",
35
+ "@lwrjs/shared-utils": "0.8.0-alpha.9"
36
36
  },
37
37
  "devDependencies": {
38
- "@lwrjs/types": "0.8.0-alpha.6"
38
+ "@lwrjs/types": "0.8.0-alpha.9"
39
39
  },
40
40
  "engines": {
41
41
  "node": ">=14.15.4 <19"
42
42
  },
43
- "gitHead": "cf34943d7df7b570d1183836868462c10a6a136c"
43
+ "gitHead": "037c471903c6753fc6866ef598571b0df83e58f9"
44
44
  }