@lwrjs/view-registry 0.13.7 → 0.13.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.
- package/build/cjs/utils.cjs +3 -1
- package/build/es/utils.js +3 -1
- package/package.json +7 -7
package/build/cjs/utils.cjs
CHANGED
|
@@ -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
|
-
|
|
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
|
-
|
|
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.
|
|
7
|
+
"version": "0.13.9",
|
|
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.
|
|
37
|
-
"@lwrjs/diagnostics": "0.13.
|
|
38
|
-
"@lwrjs/instrumentation": "0.13.
|
|
39
|
-
"@lwrjs/shared-utils": "0.13.
|
|
36
|
+
"@lwrjs/app-service": "0.13.9",
|
|
37
|
+
"@lwrjs/diagnostics": "0.13.9",
|
|
38
|
+
"@lwrjs/instrumentation": "0.13.9",
|
|
39
|
+
"@lwrjs/shared-utils": "0.13.9",
|
|
40
40
|
"lru-cache": "^10.4.3"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
|
-
"@lwrjs/types": "0.13.
|
|
43
|
+
"@lwrjs/types": "0.13.9"
|
|
44
44
|
},
|
|
45
45
|
"engines": {
|
|
46
46
|
"node": ">=18.0.0"
|
|
47
47
|
},
|
|
48
|
-
"gitHead": "
|
|
48
|
+
"gitHead": "c991b71930739c3ac1f411b361a09ac777f7eeb3"
|
|
49
49
|
}
|