@lwrjs/app-service 0.7.0-alpha.9 → 0.7.2

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.
@@ -99,11 +99,11 @@ const { imports, index, importMappings, endpoints } = clientBootstrapConfig;
99
99
  esmLoaderInit({ imports, index, importMappings, endpoints });`,
100
100
  `
101
101
  // initialize additional non-configured root components
102
- const { rootComponents, rootProperties = {} } = clientBootstrapConfig;
102
+ const { rootComponents, ssrProps } = clientBootstrapConfig;
103
103
  Promise.all(rootComponents.map(async (rootSpecifier) => {
104
104
  const element = toKebabCase(rootSpecifier);
105
105
  return import(rootSpecifier).then(({default: Ctor}) => {
106
- init([[element, Ctor, rootProperties[rootSpecifier] || {}]]);
106
+ init([[element, Ctor]], ssrProps);
107
107
  });
108
108
  return;
109
109
  }));`,
@@ -103,11 +103,11 @@ const { imports, index, importMappings, endpoints } = clientBootstrapConfig;
103
103
  esmLoaderInit({ imports, index, importMappings, endpoints });`,
104
104
  `
105
105
  // initialize additional non-configured root components
106
- const { rootComponents, rootProperties = {} } = clientBootstrapConfig;
106
+ const { rootComponents, ssrProps } = clientBootstrapConfig;
107
107
  Promise.all(rootComponents.map(async (rootSpecifier) => {
108
108
  const element = toKebabCase(rootSpecifier);
109
109
  return import(rootSpecifier).then(({default: Ctor}) => {
110
- init([[element, Ctor, rootProperties[rootSpecifier] || {}]]);
110
+ init([[element, Ctor]], ssrProps);
111
111
  });
112
112
  return;
113
113
  }));`,
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
7
- "version": "0.7.0-alpha.9",
7
+ "version": "0.7.2",
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.7.0-alpha.9",
37
- "@lwrjs/shared-utils": "0.7.0-alpha.9"
36
+ "@lwrjs/diagnostics": "0.7.2",
37
+ "@lwrjs/shared-utils": "0.7.2"
38
38
  },
39
39
  "devDependencies": {
40
- "@lwrjs/types": "0.7.0-alpha.9"
40
+ "@lwrjs/types": "0.7.2"
41
41
  },
42
42
  "engines": {
43
- "node": ">=14.15.4 <17"
43
+ "node": ">=14.15.4 <19"
44
44
  },
45
- "gitHead": "522665298cc74f1898da6ed018fa72504bd72645"
45
+ "gitHead": "1467a95aa5dcf6901e1122f6025ffd4f22237a3f"
46
46
  }