@salesforce/ui-bundle-template-feature-react-agentforce-conversation-client 12.4.1 → 12.4.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 +9 -0
- package/dist/force-app/main/default/uiBundles/feature-react-agentforce-conversation-client/package.json +4 -4
- package/dist/package-lock.json +2 -2
- package/dist/package.json +1 -1
- package/dist/scripts/org-setup-config-schema.mjs +2 -2
- package/dist/scripts/org-setup.mjs +3 -3
- package/package.json +2 -2
package/dist/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,15 @@
|
|
|
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
|
+
## [12.4.2](https://github.com/salesforce-experience-platform-emu/webapps/compare/v12.4.1...v12.4.2) (2026-09-02)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **ui-bundle:** use UI API GraphQL instead of Chatter for current-user lookup ([#951](https://github.com/salesforce-experience-platform-emu/webapps/issues/951)) ([47c28c1](https://github.com/salesforce-experience-platform-emu/webapps/commit/47c28c10a0b838eacef6c4a3e45e3a4fe587d20a))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
6
15
|
## [12.4.1](https://github.com/salesforce-experience-platform-emu/webapps/compare/v12.4.0...v12.4.1) (2026-09-02)
|
|
7
16
|
|
|
8
17
|
**Note:** Version bump only for package @salesforce/ui-bundle-template-base-sfdx-project
|
|
@@ -19,8 +19,8 @@
|
|
|
19
19
|
"graphql:schema": "node scripts/get-graphql-schema.mjs"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@salesforce/platform-sdk": "^12.4.
|
|
23
|
-
"@salesforce/ui-bundle": "^12.4.
|
|
22
|
+
"@salesforce/platform-sdk": "^12.4.2",
|
|
23
|
+
"@salesforce/ui-bundle": "^12.4.2",
|
|
24
24
|
"@tailwindcss/vite": "^4.1.17",
|
|
25
25
|
"class-variance-authority": "^0.7.1",
|
|
26
26
|
"clsx": "^2.1.1",
|
|
@@ -46,8 +46,8 @@
|
|
|
46
46
|
"@graphql-eslint/eslint-plugin": "^4.1.0",
|
|
47
47
|
"@graphql-tools/utils": "^11.0.0",
|
|
48
48
|
"@playwright/test": "^1.49.0",
|
|
49
|
-
"@salesforce/graphiti": "^12.4.
|
|
50
|
-
"@salesforce/vite-plugin-ui-bundle": "^12.4.
|
|
49
|
+
"@salesforce/graphiti": "^12.4.2",
|
|
50
|
+
"@salesforce/vite-plugin-ui-bundle": "^12.4.2",
|
|
51
51
|
"@testing-library/jest-dom": "^6.6.3",
|
|
52
52
|
"@testing-library/react": "^16.1.0",
|
|
53
53
|
"@testing-library/user-event": "^14.5.2",
|
package/dist/package-lock.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/ui-bundle-template-base-sfdx-project",
|
|
3
|
-
"version": "12.4.
|
|
3
|
+
"version": "12.4.2",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "@salesforce/ui-bundle-template-base-sfdx-project",
|
|
9
|
-
"version": "12.4.
|
|
9
|
+
"version": "12.4.2",
|
|
10
10
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"fast-xml-parser": "^5.9.3",
|
package/dist/package.json
CHANGED
|
@@ -72,8 +72,8 @@ export const ConfigSchema = z
|
|
|
72
72
|
// Required because React (Site Container) sites hide SSO config in Admin UI.
|
|
73
73
|
authProviderNames: z.array(z.string().min(1)).min(1),
|
|
74
74
|
// Permission set to assign to community users created via SSO.
|
|
75
|
-
// Required because getCurrentUser() calls
|
|
76
|
-
// API access (PermissionsApiEnabled) that the community profile lacks.
|
|
75
|
+
// Required because getCurrentUser() calls UI API GraphQL (uiapi.currentUser)
|
|
76
|
+
// which needs API access (PermissionsApiEnabled) that the community profile lacks.
|
|
77
77
|
// Typically the app's "*_Guest_User_Api_Access" permset.
|
|
78
78
|
communityUserPermset: z.string().min(1).optional(),
|
|
79
79
|
})
|
|
@@ -546,7 +546,7 @@ function loadSelfRegConfig(config) {
|
|
|
546
546
|
* - communityMemberProfile: profile added to NetworkMemberGroup (required for access)
|
|
547
547
|
* - authProviderNames: DeveloperNames of AuthProvider (OAuth) or SamlSsoConfig (SAML) records to link to site
|
|
548
548
|
* - communityUserPermset: permset assigned to community users so getCurrentUser()
|
|
549
|
-
* works (requires PermissionsApiEnabled for
|
|
549
|
+
* works (requires PermissionsApiEnabled for UI API GraphQL via /sf/api/)
|
|
550
550
|
*
|
|
551
551
|
* Returns null if no "socialLogin" section exists in config (the step is hidden).
|
|
552
552
|
*/
|
|
@@ -937,7 +937,7 @@ function addCommunityMemberProfile(profileName, siteName, targetOrg) {
|
|
|
937
937
|
* Assign a permission set to all existing community users with a given profile.
|
|
938
938
|
*
|
|
939
939
|
* After SSO login, community users need the app's API-enabled permset so that
|
|
940
|
-
* getCurrentUser() (which calls
|
|
940
|
+
* getCurrentUser() (which calls UI API GraphQL via the /sf/api/ proxy) works.
|
|
941
941
|
* Without PermissionsApiEnabled the proxy returns API_DISABLED_FOR_ORG and the
|
|
942
942
|
* React app treats the user as unauthenticated.
|
|
943
943
|
*
|
|
@@ -2309,7 +2309,7 @@ async function main() {
|
|
|
2309
2309
|
addCommunityMemberProfile(socialLoginConfig.communityMemberProfile, siteName, targetOrg);
|
|
2310
2310
|
|
|
2311
2311
|
// Sub-step 4 (optional): Assign API-enabled permset to community users.
|
|
2312
|
-
// Without this, getCurrentUser() fails because
|
|
2312
|
+
// Without this, getCurrentUser() fails because UI API GraphQL requires
|
|
2313
2313
|
// PermissionsApiEnabled which the standard community profile lacks.
|
|
2314
2314
|
if (socialLoginConfig.communityUserPermset) {
|
|
2315
2315
|
console.log(` [4/${totalSubSteps}] Assigning API permset to community users...`);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/ui-bundle-template-feature-react-agentforce-conversation-client",
|
|
3
|
-
"version": "12.4.
|
|
3
|
+
"version": "12.4.2",
|
|
4
4
|
"description": "Embedded Agentforce conversation client feature for UI Bundles",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"author": "",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"clean": "rm -rf dist"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@salesforce/agentforce-conversation-client": "^12.4.
|
|
29
|
+
"@salesforce/agentforce-conversation-client": "^12.4.2"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
32
|
"@types/react": "^19.2.7",
|