@lwrjs/app-service 0.9.0-alpha.8 → 0.9.0
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.
|
@@ -69,7 +69,7 @@ export function createAppRouteViewBootstrapModule(route, options, lockerConfig)
|
|
|
69
69
|
return [
|
|
70
70
|
'/* This module is generated */',
|
|
71
71
|
// pre app initialization step
|
|
72
|
-
// TODO: enable for AMD once https://github.com/salesforce/lwr/issues/1087 is implemented
|
|
72
|
+
// TODO: enable for AMD once https://github.com/salesforce-experience-platform-emu/lwr/issues/1087 is implemented
|
|
73
73
|
isESM && `import { getClientBootstrapConfig } from 'lwr/preInit';`,
|
|
74
74
|
// conditional shadow
|
|
75
75
|
syntheticShadow && `import '@lwc/synthetic-shadow';`,
|
|
@@ -94,7 +94,7 @@ registerLockerDefine(${JSON.stringify(lockerConfig.trustedComponents)});
|
|
|
94
94
|
`,
|
|
95
95
|
// grab client bootstrap config
|
|
96
96
|
isESM && `const clientBootstrapConfig = getClientBootstrapConfig()`,
|
|
97
|
-
// TODO: https://github.com/salesforce/lwr/issues/1087
|
|
97
|
+
// TODO: https://github.com/salesforce-experience-platform-emu/lwr/issues/1087
|
|
98
98
|
isAMD && `const clientBootstrapConfig = globalThis.LWR`,
|
|
99
99
|
// Initialize the ESM loader with the Client Bootstrap Config
|
|
100
100
|
isESM &&
|
|
@@ -118,7 +118,7 @@ Promise.all(rootComponents.map(async (rootSpecifier) => {
|
|
|
118
118
|
const viewMetadata = globalThis._lwrRuntimeDebug.viewMetadata;
|
|
119
119
|
const hmrEndpoint = clientBootstrapConfig.endpoints.uris.hmr;
|
|
120
120
|
initHMR(hmrEndpoint, viewMetadata);`,
|
|
121
|
-
// TODO: can be removed following https://github.com/salesforce/lwr/issues/1092
|
|
121
|
+
// TODO: can be removed following https://github.com/salesforce-experience-platform-emu/lwr/issues/1092
|
|
122
122
|
// LAST TASK: Cleanup globalThis.LWR in AMD
|
|
123
123
|
isAMD &&
|
|
124
124
|
`
|
package/package.json
CHANGED
|
@@ -4,15 +4,15 @@
|
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
7
|
-
"version": "0.9.0
|
|
7
|
+
"version": "0.9.0",
|
|
8
8
|
"homepage": "https://developer.salesforce.com/docs/platform/lwr/overview",
|
|
9
9
|
"repository": {
|
|
10
10
|
"type": "git",
|
|
11
|
-
"url": "https://github.com/salesforce/lwr.git",
|
|
11
|
+
"url": "https://github.com/salesforce-experience-platform-emu/lwr/lwr.git",
|
|
12
12
|
"directory": "packages/@lwrjs/app-service"
|
|
13
13
|
},
|
|
14
14
|
"bugs": {
|
|
15
|
-
"url": "https://github.com/salesforce/lwr/issues"
|
|
15
|
+
"url": "https://github.com/salesforce-experience-platform-emu/lwr/issues"
|
|
16
16
|
},
|
|
17
17
|
"types": "build/es/index.d.ts",
|
|
18
18
|
"type": "module",
|
|
@@ -33,14 +33,14 @@
|
|
|
33
33
|
"build/**/*.d.ts"
|
|
34
34
|
],
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@lwrjs/diagnostics": "0.9.0
|
|
37
|
-
"@lwrjs/shared-utils": "0.9.0
|
|
36
|
+
"@lwrjs/diagnostics": "0.9.0",
|
|
37
|
+
"@lwrjs/shared-utils": "0.9.0"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
|
-
"@lwrjs/types": "0.9.0
|
|
40
|
+
"@lwrjs/types": "0.9.0"
|
|
41
41
|
},
|
|
42
42
|
"engines": {
|
|
43
|
-
"node": ">=
|
|
43
|
+
"node": ">=16.0.0 <20"
|
|
44
44
|
},
|
|
45
|
-
"gitHead": "
|
|
45
|
+
"gitHead": "4e42b0dc5453f92b36b42aa8132c5bc281e616b7"
|
|
46
46
|
}
|