@lwrjs/app-service 0.6.0-alpha.12 → 0.6.0-alpha.16
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.
|
@@ -102,9 +102,6 @@ esmLoaderInit({ imports, index, importMappings, endpoints });`,
|
|
|
102
102
|
const { rootComponents } = clientBootstrapConfig;
|
|
103
103
|
Promise.all(rootComponents.map(async (rootSpecifier) => {
|
|
104
104
|
const element = toKebabCase(rootSpecifier);
|
|
105
|
-
if (globalThis.performance) {
|
|
106
|
-
globalThis.performance.measure('${import_shared_utils.ON_APP_LOAD}');
|
|
107
|
-
}
|
|
108
105
|
return import(rootSpecifier).then(({default: Ctor}) => {
|
|
109
106
|
init([[element, Ctor]]);
|
|
110
107
|
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DEFAULT_LWR_BOOTSTRAP_CONFIG
|
|
1
|
+
import { DEFAULT_LWR_BOOTSTRAP_CONFIG } from '@lwrjs/shared-utils';
|
|
2
2
|
function getDefaultImportName(service) {
|
|
3
3
|
return `loaderService_${service.replace(/\//gi, '_').replace(/@/gi, '')}`;
|
|
4
4
|
}
|
|
@@ -106,9 +106,6 @@ esmLoaderInit({ imports, index, importMappings, endpoints });`,
|
|
|
106
106
|
const { rootComponents } = clientBootstrapConfig;
|
|
107
107
|
Promise.all(rootComponents.map(async (rootSpecifier) => {
|
|
108
108
|
const element = toKebabCase(rootSpecifier);
|
|
109
|
-
if (globalThis.performance) {
|
|
110
|
-
globalThis.performance.measure('${ON_APP_LOAD}');
|
|
111
|
-
}
|
|
112
109
|
return import(rootSpecifier).then(({default: Ctor}) => {
|
|
113
110
|
init([[element, Ctor]]);
|
|
114
111
|
});
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
7
|
-
"version": "0.6.0-alpha.
|
|
7
|
+
"version": "0.6.0-alpha.16",
|
|
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.6.0-alpha.
|
|
37
|
-
"@lwrjs/shared-utils": "0.6.0-alpha.
|
|
36
|
+
"@lwrjs/diagnostics": "0.6.0-alpha.16",
|
|
37
|
+
"@lwrjs/shared-utils": "0.6.0-alpha.16"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
|
-
"@lwrjs/types": "0.6.0-alpha.
|
|
40
|
+
"@lwrjs/types": "0.6.0-alpha.16"
|
|
41
41
|
},
|
|
42
42
|
"engines": {
|
|
43
43
|
"node": ">=14.15.4 <17"
|
|
44
44
|
},
|
|
45
|
-
"gitHead": "
|
|
45
|
+
"gitHead": "2ccfba164126587f8c898da5994b6749ec23aa22"
|
|
46
46
|
}
|