@salesforce-ui-embedding/internal-lightning-ui-embedding 2.2.7-rc.4 → 2.2.8-rc.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.
@@ -8,19 +8,21 @@ export const DEFAULT_SANDBOX_TOKENS = ["allow-scripts", "allow-same-origin"];
8
8
  // Source of truth: Core's AuraDomainSuffix Lightning family (domainsuffix.xml); matched with anchored endsWith.
9
9
  // Parity is manual and fails closed — a new Core Lightning suffix isn't honored here until this list is
10
10
  // hand-updated. A follow-up work item (W-24242222) tracks automated drift detection between the two lists.
11
+ // Region-restricted Lightning suffixes are intentionally NOT hardcoded here: Core compliance blocks those
12
+ // domain literals, and this comment ships verbatim into the copied Core artifact — so neither the literals
13
+ // nor the region names may appear here. They are deferred to Core-side runtime resolution (there is no
14
+ // build/runtime path to source them today) — see W-24259316.
11
15
  export const LIGHTNING_DOMAIN_SUFFIXES = [
12
16
  ".lightning.force.com",
13
- ".lightning.crmforce.mil",
14
- // .lightning.sfcrmapps.cn (China/CAG) deferred pending Secure Domains/CAG sign-off.
17
+ // Region-restricted suffix deferred pending Secure Domains sign-off.
15
18
  ".my-lightning.com",
16
19
  // Internal R&D/perf-pod host, NOT customer-facing.
17
20
  ".lightning.pc-rnd.force.com",
18
21
  ];
19
22
 
20
23
  // SFW/local-dev hosts: hyphenated family label + workspace hash + location before .crm.dev; endsWith can't
21
- // anchor a mid-hostname marker, so this regex anchors both the .lightning.<family>. label and the trailing .crm.dev.
22
- export const SFW_DEV_LIGHTNING_DOMAIN_PATTERN =
23
- /\.lightning\.(?:force-com|crmforce-mil)\.[a-z0-9-]+(?:\.[a-z0-9-]+)*\.crm\.dev$/i;
24
+ // anchor a mid-hostname marker, so this regex anchors both the .lightning.force-com. label and the trailing .crm.dev.
25
+ export const SFW_DEV_LIGHTNING_DOMAIN_PATTERN = /\.lightning\.force-com\.[a-z0-9-]+(?:\.[a-z0-9-]+)*\.crm\.dev$/i;
24
26
 
25
27
  // Default advisory heartbeat deadline; Infinity opts out.
26
28
  export const DEFAULT_HEARTBEAT_TIMEOUT_MS = 30_000;
@@ -3,11 +3,11 @@
3
3
  * For full license text, see the LICENSE.txt file in this package.
4
4
  */
5
5
 
6
- // `"2.2.7-rc.4"` is a repo-wide ambient declared in /types/globals.d.ts;
6
+ // `"2.2.8-rc.0"` is a repo-wide ambient declared in /types/globals.d.ts;
7
7
  // build.mjs substitutes the literal at build time, jest globals supply a test value.
8
8
 
9
9
  /** Identity emitted on `ui/notifications/host-initialized`. */
10
10
  export const HOST_INFO = {
11
11
  name: "lightning-ui-embedding",
12
- version: "2.2.7-rc.4",
12
+ version: "2.2.8-rc.0",
13
13
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce-ui-embedding/internal-lightning-ui-embedding",
3
- "version": "2.2.7-rc.4",
3
+ "version": "2.2.8-rc.0",
4
4
  "private": false,
5
5
  "description": "Lightning Base Component (LWC) host for sf-embedding-protocol iframes",
6
6
  "license": "SEE LICENSE IN LICENSE.txt",
@@ -22,8 +22,8 @@
22
22
  },
23
23
  "devDependencies": {
24
24
  "@salesforce/jsonrpc": "^10.12.3",
25
- "@salesforce/sf-embedding-contract": "2.2.7-rc.4",
26
- "utils": "2.2.7-rc.4"
25
+ "@salesforce/sf-embedding-contract": "2.2.8-rc.0",
26
+ "utils": "2.2.8-rc.0"
27
27
  },
28
28
  "sideEffects": false,
29
29
  "publishConfig": {