@lwrjs/module-registry 0.9.0-alpha.30 → 0.9.0-alpha.32

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.
@@ -47,12 +47,12 @@ async function link(moduleRegistry, moduleDef, versionStrategy, uriStrategy, run
47
47
  const context = runtimeParams.environment;
48
48
  if (contextMap?.has(context)) {
49
49
  const overrideSpecifier = contextMap.get(context);
50
- const overrideEntry = await moduleRegistry.getModuleEntry({
51
- specifier: overrideSpecifier
52
- });
50
+ const moduleId = (0, import_shared_utils2.explodeSpecifier)(overrideSpecifier);
51
+ const overrideEntry = await moduleRegistry.getModuleEntry(moduleId);
53
52
  if (overrideEntry) {
54
53
  importRef = {
55
54
  ...importRef,
55
+ ...moduleId,
56
56
  ...overrideEntry
57
57
  };
58
58
  }
@@ -27,12 +27,12 @@ export async function link(moduleRegistry, moduleDef, versionStrategy, uriStrate
27
27
  const context = runtimeParams.environment;
28
28
  if (contextMap?.has(context)) {
29
29
  const overrideSpecifier = contextMap.get(context);
30
- const overrideEntry = await moduleRegistry.getModuleEntry({
31
- specifier: overrideSpecifier,
32
- });
30
+ const moduleId = explodeSpecifier(overrideSpecifier);
31
+ const overrideEntry = await moduleRegistry.getModuleEntry(moduleId);
33
32
  if (overrideEntry) {
34
33
  importRef = {
35
34
  ...importRef,
35
+ ...moduleId,
36
36
  ...overrideEntry,
37
37
  };
38
38
  }
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
7
- "version": "0.9.0-alpha.30",
7
+ "version": "0.9.0-alpha.32",
8
8
  "homepage": "https://developer.salesforce.com/docs/platform/lwr/overview",
9
9
  "repository": {
10
10
  "type": "git",
@@ -31,17 +31,17 @@
31
31
  ],
32
32
  "dependencies": {
33
33
  "@locker/compiler": "0.18.14",
34
- "@lwrjs/diagnostics": "0.9.0-alpha.30",
35
- "@lwrjs/shared-utils": "0.9.0-alpha.30",
34
+ "@lwrjs/diagnostics": "0.9.0-alpha.32",
35
+ "@lwrjs/shared-utils": "0.9.0-alpha.32",
36
36
  "es-module-lexer": "^0.3.18",
37
37
  "rollup": "~2.45.2"
38
38
  },
39
39
  "devDependencies": {
40
- "@lwrjs/types": "0.9.0-alpha.30",
40
+ "@lwrjs/types": "0.9.0-alpha.32",
41
41
  "@types/es-module-lexer": "^0.3.0"
42
42
  },
43
43
  "engines": {
44
44
  "node": ">=16.0.0 <20"
45
45
  },
46
- "gitHead": "6e18768b8e47066c41ae0b792bf4aa766b0b784b"
46
+ "gitHead": "50e1f36c99ce2cd1ea8f6f1a2d3cf3967ca45de5"
47
47
  }