@salesforce/ui-bundle-template-app-react-template-b2e 9.10.0 → 9.10.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.
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.10.2](https://github.com/salesforce-experience-platform-emu/webapps/compare/v9.10.1...v9.10.2) (2026-05-27)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @salesforce/ui-bundle-template-base-sfdx-project
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## [9.10.1](https://github.com/salesforce-experience-platform-emu/webapps/compare/v9.10.0...v9.10.1) (2026-05-26)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @salesforce/ui-bundle-template-base-sfdx-project
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
6
22
|
## [9.10.0](https://github.com/salesforce-experience-platform-emu/webapps/compare/v9.9.4...v9.10.0) (2026-05-26)
|
|
7
23
|
|
|
8
24
|
**Note:** Version bump only for package @salesforce/ui-bundle-template-base-sfdx-project
|
|
@@ -24,6 +24,12 @@ interface WindowWithAgentforceSingleton extends Window {
|
|
|
24
24
|
[SINGLETON_KEY]?: AgentforceConversationClientSingleton;
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
+
type GlobalWithSfdcEnv = typeof globalThis & {
|
|
28
|
+
SFDC_ENV?: {
|
|
29
|
+
orgUrl?: string;
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
|
|
27
33
|
function getSingleton(): AgentforceConversationClientSingleton {
|
|
28
34
|
const win = window as WindowWithAgentforceSingleton;
|
|
29
35
|
if (!win[SINGLETON_KEY]) {
|
|
@@ -45,7 +51,8 @@ function getOrCreateGlobalHost(): HTMLDivElement {
|
|
|
45
51
|
}
|
|
46
52
|
|
|
47
53
|
function getDefaultEmbedOptions(): ResolvedEmbedOptions {
|
|
48
|
-
|
|
54
|
+
const sfdcEnv = (globalThis as GlobalWithSfdcEnv).SFDC_ENV;
|
|
55
|
+
return { salesforceOrigin: sfdcEnv?.orgUrl };
|
|
49
56
|
}
|
|
50
57
|
|
|
51
58
|
/**
|
package/dist/package-lock.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/webapp-template-base-sfdx-project-experimental",
|
|
3
|
-
"version": "9.10.
|
|
3
|
+
"version": "9.10.2",
|
|
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.10.
|
|
9
|
+
"version": "9.10.2",
|
|
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