@salesforce/webapp-template-feature-react-agentforce-conversation-client-experimental 1.33.3 → 1.33.5
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 +16 -0
- package/dist/force-app/main/default/webapplications/feature-react-agentforce-conversation-client/build/vite.config.js +2 -0
- package/dist/force-app/main/default/webapplications/feature-react-agentforce-conversation-client/package-lock.json +4 -4
- package/dist/force-app/main/default/webapplications/feature-react-agentforce-conversation-client/package.json +1 -1
- package/dist/force-app/main/default/webapplications/feature-react-agentforce-conversation-client/src/app.tsx +10 -1
- package/dist/force-app/main/default/webapplications/feature-react-agentforce-conversation-client/src/routes.tsx +1 -1
- package/dist/force-app/main/default/webapplications/feature-react-agentforce-conversation-client/vite.config.ts +2 -0
- package/dist/package.json +1 -1
- package/package.json +2 -2
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
|
+
## [1.33.5](https://github.com/salesforce-experience-platform-emu/webapps/compare/v1.33.4...v1.33.5) (2026-02-18)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @salesforce/webapp-template-base-sfdx-project-experimental
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## [1.33.4](https://github.com/salesforce-experience-platform-emu/webapps/compare/v1.33.3...v1.33.4) (2026-02-17)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @salesforce/webapp-template-base-sfdx-project-experimental
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
6
22
|
## [1.33.3](https://github.com/salesforce-experience-platform-emu/webapps/compare/v1.33.2...v1.33.3) (2026-02-17)
|
|
7
23
|
|
|
8
24
|
**Note:** Version bump only for package @salesforce/webapp-template-base-sfdx-project-experimental
|
|
@@ -7,6 +7,8 @@ import salesforce from '@salesforce/vite-plugin-webapp-experimental';
|
|
|
7
7
|
export default defineConfig(function (_a) {
|
|
8
8
|
var mode = _a.mode;
|
|
9
9
|
return {
|
|
10
|
+
// Ensure root base for e2e/static serve; plugin may override when deployed under a path
|
|
11
|
+
base: '/',
|
|
10
12
|
plugins: [tailwindcss(), react(), salesforce()],
|
|
11
13
|
// Build configuration for MPA
|
|
12
14
|
build: {
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"name": "base-react-app",
|
|
9
9
|
"version": "1.0.0",
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"@salesforce/agentforce-conversation-client": "^1.33.
|
|
11
|
+
"@salesforce/agentforce-conversation-client": "^1.33.4",
|
|
12
12
|
"@salesforce/webapp-experimental": "*",
|
|
13
13
|
"@tailwindcss/vite": "^4.1.17",
|
|
14
14
|
"react": "^19.2.0",
|
|
@@ -1863,9 +1863,9 @@
|
|
|
1863
1863
|
]
|
|
1864
1864
|
},
|
|
1865
1865
|
"node_modules/@salesforce/agentforce-conversation-client": {
|
|
1866
|
-
"version": "1.33.
|
|
1867
|
-
"resolved": "https://registry.npmjs.org/@salesforce/agentforce-conversation-client/-/agentforce-conversation-client-1.33.
|
|
1868
|
-
"integrity": "sha512-
|
|
1866
|
+
"version": "1.33.4",
|
|
1867
|
+
"resolved": "https://registry.npmjs.org/@salesforce/agentforce-conversation-client/-/agentforce-conversation-client-1.33.4.tgz",
|
|
1868
|
+
"integrity": "sha512-m5uClUwc1K011bx47ClUGy728r/4MEbMrqGlJHvwYF1D4ISi3ccBuZ+xCvG97d+PTathhCqGrbuVekbWZ8mbeQ==",
|
|
1869
1869
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
1870
1870
|
"dependencies": {
|
|
1871
1871
|
"@lightning-out/application": "2.1.1-rc.2"
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"test": "vitest"
|
|
13
13
|
},
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@salesforce/agentforce-conversation-client": "^1.33.
|
|
15
|
+
"@salesforce/agentforce-conversation-client": "^1.33.4",
|
|
16
16
|
"@salesforce/webapp-experimental": "*",
|
|
17
17
|
"@tailwindcss/vite": "^4.1.17",
|
|
18
18
|
"react": "^19.2.0",
|
|
@@ -4,7 +4,16 @@ import { StrictMode } from 'react';
|
|
|
4
4
|
import { createRoot } from 'react-dom/client';
|
|
5
5
|
import './styles/global.css';
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
// Match Vite base so client-side routes work when deployed under a path (e.g. /lwr/application/ai/c-webapp2/).
|
|
8
|
+
// When served at root (e.g. e2e with static serve), use '/' so routes match.
|
|
9
|
+
const base = (import.meta.env.BASE_URL ?? '/').replace(/\/$/, '') || '/';
|
|
10
|
+
const basename =
|
|
11
|
+
typeof window !== 'undefined' &&
|
|
12
|
+
(window.location.pathname === '/' ||
|
|
13
|
+
!window.location.pathname.startsWith('/lwr/'))
|
|
14
|
+
? '/'
|
|
15
|
+
: base;
|
|
16
|
+
const router = createBrowserRouter(routes, { basename });
|
|
8
17
|
|
|
9
18
|
createRoot(document.getElementById('root')!).render(
|
|
10
19
|
<StrictMode>
|
|
@@ -7,6 +7,8 @@ import salesforce from '@salesforce/vite-plugin-webapp-experimental';
|
|
|
7
7
|
|
|
8
8
|
export default defineConfig(({ mode }) => {
|
|
9
9
|
return {
|
|
10
|
+
// Ensure root base for e2e/static serve; plugin may override when deployed under a path
|
|
11
|
+
base: '/',
|
|
10
12
|
plugins: [tailwindcss(), react(), salesforce()],
|
|
11
13
|
|
|
12
14
|
// Build configuration for MPA
|
package/dist/package.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/webapp-template-feature-react-agentforce-conversation-client-experimental",
|
|
3
|
-
"version": "1.33.
|
|
3
|
+
"version": "1.33.5",
|
|
4
4
|
"description": "Embedded Agentforce conversation client feature for web applications",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"author": "",
|
|
@@ -37,5 +37,5 @@
|
|
|
37
37
|
"react-dom": "^19.2.1",
|
|
38
38
|
"react-router": "^7.10.1"
|
|
39
39
|
},
|
|
40
|
-
"gitHead": "
|
|
40
|
+
"gitHead": "d23795615e716c723701b285cf0f84a0c94ff6fe"
|
|
41
41
|
}
|