@lwrjs/app-service 0.11.0-alpha.3 → 0.11.0-alpha.6
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.
|
@@ -100,11 +100,11 @@ esmLoaderInit({ imports, index, importMappings, endpoints });`,
|
|
|
100
100
|
ssr && `polyfillDeclarativeShadowDom();`,
|
|
101
101
|
`
|
|
102
102
|
// initialize additional non-configured root components
|
|
103
|
-
const { rootComponents,
|
|
103
|
+
const { rootComponents, serverData } = clientBootstrapConfig;
|
|
104
104
|
Promise.all(rootComponents.map(async (rootSpecifier) => {
|
|
105
105
|
const element = toKebabCase(rootSpecifier);
|
|
106
106
|
return import(rootSpecifier).then(({default: Ctor}) => {
|
|
107
|
-
init([[element, Ctor]],
|
|
107
|
+
init([[element, Ctor]], serverData);
|
|
108
108
|
});
|
|
109
109
|
return;
|
|
110
110
|
}));`,
|
|
@@ -106,11 +106,11 @@ esmLoaderInit({ imports, index, importMappings, endpoints });`,
|
|
|
106
106
|
ssr && `polyfillDeclarativeShadowDom();`,
|
|
107
107
|
`
|
|
108
108
|
// initialize additional non-configured root components
|
|
109
|
-
const { rootComponents,
|
|
109
|
+
const { rootComponents, serverData } = clientBootstrapConfig;
|
|
110
110
|
Promise.all(rootComponents.map(async (rootSpecifier) => {
|
|
111
111
|
const element = toKebabCase(rootSpecifier);
|
|
112
112
|
return import(rootSpecifier).then(({default: Ctor}) => {
|
|
113
|
-
init([[element, Ctor]],
|
|
113
|
+
init([[element, Ctor]], serverData);
|
|
114
114
|
});
|
|
115
115
|
return;
|
|
116
116
|
}));`,
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
7
|
-
"version": "0.11.0-alpha.
|
|
7
|
+
"version": "0.11.0-alpha.6",
|
|
8
8
|
"homepage": "https://developer.salesforce.com/docs/platform/lwr/overview",
|
|
9
9
|
"repository": {
|
|
10
10
|
"type": "git",
|
|
@@ -33,14 +33,14 @@
|
|
|
33
33
|
"build/**/*.d.ts"
|
|
34
34
|
],
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@lwrjs/diagnostics": "0.11.0-alpha.
|
|
37
|
-
"@lwrjs/shared-utils": "0.11.0-alpha.
|
|
36
|
+
"@lwrjs/diagnostics": "0.11.0-alpha.6",
|
|
37
|
+
"@lwrjs/shared-utils": "0.11.0-alpha.6"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
|
-
"@lwrjs/types": "0.11.0-alpha.
|
|
40
|
+
"@lwrjs/types": "0.11.0-alpha.6"
|
|
41
41
|
},
|
|
42
42
|
"engines": {
|
|
43
43
|
"node": ">=16.0.0"
|
|
44
44
|
},
|
|
45
|
-
"gitHead": "
|
|
45
|
+
"gitHead": "571d4bac5650765aa818bcb9d5ed752a8cf041af"
|
|
46
46
|
}
|