@lwrjs/view-registry 0.13.3 → 0.13.5

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.
@@ -218,7 +218,7 @@ async function getHtmlResources(view, viewParams, resourceContext) {
218
218
  }
219
219
  }
220
220
  }));
221
- if (viewContainsLiveElements) {
221
+ if (viewContainsLiveElements || serverDebug?.message) {
222
222
  if ((0, import_shared_utils.isLocalDev)()) {
223
223
  const localDevSpecifier = "lwr_local_dev/bootstrap";
224
224
  rootComponents.push(localDevSpecifier);
@@ -200,7 +200,7 @@ async function getHtmlResources(view, viewParams, resourceContext) {
200
200
  importMetadata = await (0, import_shared_utils.toImportMetadata)(graph, importMetadata, moduleRegistry, runtimeEnvironment, runtimeParams);
201
201
  }
202
202
  }
203
- if (viewContainsLiveElements) {
203
+ if (viewContainsLiveElements || serverDebug?.message) {
204
204
  configResources.unshift((0, import_utils2.getViewBootstrapConfigurationResource)({
205
205
  id: view.id,
206
206
  url: viewParams?.page?.url,
@@ -250,7 +250,7 @@ export async function getHtmlResources(view, viewParams, resourceContext) {
250
250
  }
251
251
  }
252
252
  }));
253
- if (viewContainsLiveElements) {
253
+ if (viewContainsLiveElements || serverDebug?.message) {
254
254
  if (isLocalDev()) {
255
255
  // ADD the client-side bootstrap module and mapping for local-dev
256
256
  const localDevSpecifier = 'lwr_local_dev/bootstrap';
@@ -221,7 +221,7 @@ export async function getHtmlResources(view, viewParams, resourceContext) {
221
221
  importMetadata = await toImportMetadata(graph, importMetadata, moduleRegistry, runtimeEnvironment, runtimeParams);
222
222
  }
223
223
  }
224
- if (viewContainsLiveElements) {
224
+ if (viewContainsLiveElements || serverDebug?.message) {
225
225
  // ADD configuration of the bootstrapModule
226
226
  configResources.unshift(getViewBootstrapConfigurationResource({
227
227
  id: view.id,
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
7
- "version": "0.13.3",
7
+ "version": "0.13.5",
8
8
  "homepage": "https://developer.salesforce.com/docs/platform/lwr/overview",
9
9
  "repository": {
10
10
  "type": "git",
@@ -33,17 +33,17 @@
33
33
  "build": "tsc -b"
34
34
  },
35
35
  "dependencies": {
36
- "@lwrjs/app-service": "0.13.3",
37
- "@lwrjs/diagnostics": "0.13.3",
38
- "@lwrjs/instrumentation": "0.13.3",
39
- "@lwrjs/shared-utils": "0.13.3",
36
+ "@lwrjs/app-service": "0.13.5",
37
+ "@lwrjs/diagnostics": "0.13.5",
38
+ "@lwrjs/instrumentation": "0.13.5",
39
+ "@lwrjs/shared-utils": "0.13.5",
40
40
  "lru-cache": "^10.4.3"
41
41
  },
42
42
  "devDependencies": {
43
- "@lwrjs/types": "0.13.3"
43
+ "@lwrjs/types": "0.13.5"
44
44
  },
45
45
  "engines": {
46
46
  "node": ">=18.0.0"
47
47
  },
48
- "gitHead": "adaedf286df20aed374d9eb07eaf74668084073c"
48
+ "gitHead": "8a0b773b7ed0e017f3fa29f1e918e0c0e31bd74f"
49
49
  }