@lwrjs/view-registry 0.13.8 → 0.13.10

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.
@@ -149,7 +149,9 @@ function generatePageContext({requestPath: url}, {id, contentTemplate, propertie
149
149
  const title = properties?.title || getTitleFromFilePath(contentTemplate);
150
150
  const locale = runtimeParams.locale;
151
151
  const basePath = runtimeParams.basePath;
152
- return {basePath, id, locale, title, url};
152
+ const assetBasePath = runtimeParams.assetBasePath;
153
+ const uiBasePath = runtimeParams.uiBasePath;
154
+ return {assetBasePath, basePath, id, locale, title, url, uiBasePath};
153
155
  }
154
156
  function isViewResponse(response) {
155
157
  return response.body !== void 0;
package/build/es/utils.js CHANGED
@@ -111,7 +111,9 @@ export function generatePageContext({ requestPath: url }, { id, contentTemplate,
111
111
  const title = properties?.title || getTitleFromFilePath(contentTemplate);
112
112
  const locale = runtimeParams.locale;
113
113
  const basePath = runtimeParams.basePath;
114
- return { basePath, id, locale, title, url };
114
+ const assetBasePath = runtimeParams.assetBasePath;
115
+ const uiBasePath = runtimeParams.uiBasePath;
116
+ return { assetBasePath, basePath, id, locale, title, url, uiBasePath };
115
117
  }
116
118
  // type guard for ViewDef responses
117
119
  export function isViewResponse(response) {
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
7
- "version": "0.13.8",
7
+ "version": "0.13.10",
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.8",
37
- "@lwrjs/diagnostics": "0.13.8",
38
- "@lwrjs/instrumentation": "0.13.8",
39
- "@lwrjs/shared-utils": "0.13.8",
36
+ "@lwrjs/app-service": "0.13.10",
37
+ "@lwrjs/diagnostics": "0.13.10",
38
+ "@lwrjs/instrumentation": "0.13.10",
39
+ "@lwrjs/shared-utils": "0.13.10",
40
40
  "lru-cache": "^10.4.3"
41
41
  },
42
42
  "devDependencies": {
43
- "@lwrjs/types": "0.13.8"
43
+ "@lwrjs/types": "0.13.10"
44
44
  },
45
45
  "engines": {
46
46
  "node": ">=18.0.0"
47
47
  },
48
- "gitHead": "1dd356c81ca50b9877e009ac68a04d6da497f533"
48
+ "gitHead": "45dfe095e39f71b14e110ede777b9bf66c929475"
49
49
  }