@salesforce/ui-bundle-template-app-react-template-b2e 9.7.0 → 9.8.1

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.
package/dist/CHANGELOG.md CHANGED
@@ -3,6 +3,22 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [9.8.1](https://github.com/salesforce-experience-platform-emu/webapps/compare/v9.8.0...v9.8.1) (2026-05-22)
7
+
8
+ **Note:** Version bump only for package @salesforce/ui-bundle-template-base-sfdx-project
9
+
10
+
11
+
12
+
13
+
14
+ ## [9.8.0](https://github.com/salesforce-experience-platform-emu/webapps/compare/v9.7.0...v9.8.0) (2026-05-22)
15
+
16
+ **Note:** Version bump only for package @salesforce/ui-bundle-template-base-sfdx-project
17
+
18
+
19
+
20
+
21
+
6
22
  ## [9.7.0](https://github.com/salesforce-experience-platform-emu/webapps/compare/v9.6.1...v9.7.0) (2026-05-21)
7
23
 
8
24
  **Note:** Version bump only for package @salesforce/ui-bundle-template-base-sfdx-project
@@ -77,7 +77,7 @@ function getOrCreateGlobalHost(): HTMLDivElement {
77
77
  }
78
78
 
79
79
  function getDefaultEmbedOptions(): ResolvedEmbedOptions {
80
- return { salesforceOrigin: window.location.origin };
80
+ return { salesforceOrigin: globalThis.SFDC_ENV?.orgUrl };
81
81
  }
82
82
 
83
83
  /**
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Copyright (c) 2026, Salesforce, Inc.
3
+ * All rights reserved.
4
+ * For full license text, see the LICENSE.txt file
5
+ */
6
+
7
+ interface SfdcEnv {
8
+ /** Salesforce org force.com URL (e.g., "https://myorg.lightning.force.com"). */
9
+ orgUrl?: string;
10
+ }
11
+
12
+ // eslint-disable-next-line no-var -- ambient global declaration
13
+ declare var SFDC_ENV: SfdcEnv | undefined;
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@salesforce/webapp-template-base-sfdx-project-experimental",
3
- "version": "9.7.0",
3
+ "version": "9.8.1",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@salesforce/webapp-template-base-sfdx-project-experimental",
9
- "version": "9.7.0",
9
+ "version": "9.8.1",
10
10
  "license": "SEE LICENSE IN LICENSE.txt",
11
11
  "devDependencies": {
12
12
  "@lwc/eslint-plugin-lwc": "^3.3.0",
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/ui-bundle-template-base-sfdx-project",
3
- "version": "9.7.0",
3
+ "version": "9.8.1",
4
4
  "description": "Base SFDX project template",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "publishConfig": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/ui-bundle-template-app-react-template-b2e",
3
- "version": "9.7.0",
3
+ "version": "9.8.1",
4
4
  "description": "Salesforce React internal app template",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "author": "",