@salesforce/webapp-template-feature-react-agentforce-conversation-client-experimental 1.53.2 → 1.54.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
+ ## [1.54.1](https://github.com/salesforce-experience-platform-emu/webapps/compare/v1.54.0...v1.54.1) (2026-02-25)
7
+
8
+ **Note:** Version bump only for package @salesforce/webapp-template-base-sfdx-project-experimental
9
+
10
+
11
+
12
+
13
+
14
+ # [1.54.0](https://github.com/salesforce-experience-platform-emu/webapps/compare/v1.53.2...v1.54.0) (2026-02-25)
15
+
16
+ **Note:** Version bump only for package @salesforce/webapp-template-base-sfdx-project-experimental
17
+
18
+
19
+
20
+
21
+
6
22
  ## [1.53.2](https://github.com/salesforce-experience-platform-emu/webapps/compare/v1.53.1...v1.53.2) (2026-02-25)
7
23
 
8
24
 
@@ -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.53.1",
11
+ "@salesforce/agentforce-conversation-client": "^1.54.0",
12
12
  "@salesforce/sdk-data": "^1.11.2",
13
13
  "@salesforce/webapp-experimental": "*",
14
14
  "@tailwindcss/vite": "^4.1.17",
@@ -412,22 +412,22 @@
412
412
  }
413
413
  },
414
414
  "node_modules/@conduit-client/jwt-manager": {
415
- "version": "3.15.0",
416
- "resolved": "https://registry.npmjs.org/@conduit-client/jwt-manager/-/jwt-manager-3.15.0.tgz",
417
- "integrity": "sha512-ibpNyXS/jRvwJPFqhhsna/AZncBSGyg9a9C3ysi2IKR9A0VZupJk2F5B8luiBINFSgXk55j1Fd4pODMSxzskxw==",
415
+ "version": "3.15.1",
416
+ "resolved": "https://registry.npmjs.org/@conduit-client/jwt-manager/-/jwt-manager-3.15.1.tgz",
417
+ "integrity": "sha512-HBYkCVNE6O183hfkWmJAjXgQqY89XMzfqGB1Y8zWc2gvvACPupbbkAeUQfYsqsAgqsmSpsXguiHGzPLrmoFBGg==",
418
418
  "license": "SEE LICENSE IN LICENSE.txt",
419
419
  "dependencies": {
420
420
  "jwt-decode": "~3.1.2"
421
421
  }
422
422
  },
423
423
  "node_modules/@conduit-client/salesforce-lightning-service-worker": {
424
- "version": "3.15.0",
425
- "resolved": "https://registry.npmjs.org/@conduit-client/salesforce-lightning-service-worker/-/salesforce-lightning-service-worker-3.15.0.tgz",
426
- "integrity": "sha512-TPuJ8CMXdQGCQ5Ci+VSUBF64Hs3tuTBLafhi4H37LlI5JV0yugYVwVjsbZAvvM+Yj68Pd+HcYtNJlBjfOxI96w==",
424
+ "version": "3.15.1",
425
+ "resolved": "https://registry.npmjs.org/@conduit-client/salesforce-lightning-service-worker/-/salesforce-lightning-service-worker-3.15.1.tgz",
426
+ "integrity": "sha512-Xb7Au4gaDWr4r9O7y00xGXosfcK9r0EJTdMukKtHO2cYG6Nf23nxYx8DXLvxjQ7oYzVhT19ybbRwSy+GuRhWTQ==",
427
427
  "license": "SEE LICENSE IN LICENSE.txt",
428
428
  "dependencies": {
429
- "@conduit-client/service-fetch-network": "3.15.0",
430
- "@conduit-client/utils": "3.15.0",
429
+ "@conduit-client/service-fetch-network": "3.15.1",
430
+ "@conduit-client/utils": "3.15.1",
431
431
  "vite": "6.3.5"
432
432
  }
433
433
  },
@@ -1006,29 +1006,29 @@
1006
1006
  }
1007
1007
  },
1008
1008
  "node_modules/@conduit-client/service-fetch-network": {
1009
- "version": "3.15.0",
1010
- "resolved": "https://registry.npmjs.org/@conduit-client/service-fetch-network/-/service-fetch-network-3.15.0.tgz",
1011
- "integrity": "sha512-RJxPKCMRLL1Ru0F5OwYVn0elr3WxmCZvz+bpBAviEReIXcuQuyqjlyQKyqUQy9JUcFd+QsH7Y7Hyo+0i5gUfKA==",
1009
+ "version": "3.15.1",
1010
+ "resolved": "https://registry.npmjs.org/@conduit-client/service-fetch-network/-/service-fetch-network-3.15.1.tgz",
1011
+ "integrity": "sha512-6LpPpi9kjPk6Sm82YV0tkHtqW1vCO2yL9YDp4NzTz5M71zEhXooN4QmbMeOpKUfi0LTEfhJmRpDiUFX3TMcF/A==",
1012
1012
  "license": "SEE LICENSE IN LICENSE.txt",
1013
1013
  "dependencies": {
1014
- "@conduit-client/jwt-manager": "3.15.0",
1015
- "@conduit-client/service-retry": "3.15.0",
1016
- "@conduit-client/utils": "3.15.0"
1014
+ "@conduit-client/jwt-manager": "3.15.1",
1015
+ "@conduit-client/service-retry": "3.15.1",
1016
+ "@conduit-client/utils": "3.15.1"
1017
1017
  }
1018
1018
  },
1019
1019
  "node_modules/@conduit-client/service-retry": {
1020
- "version": "3.15.0",
1021
- "resolved": "https://registry.npmjs.org/@conduit-client/service-retry/-/service-retry-3.15.0.tgz",
1022
- "integrity": "sha512-Vf20kJMi2FJZzcgPYran9eKkHQw0mINSldghyxAsKfGS3WW82eRo1UMW+CfosEvtNt41jheXtxOebMBi5UCsjw==",
1020
+ "version": "3.15.1",
1021
+ "resolved": "https://registry.npmjs.org/@conduit-client/service-retry/-/service-retry-3.15.1.tgz",
1022
+ "integrity": "sha512-iG6w7qG/638+C38HIpb9/kkQbvXlQen4uUtK7wb/c4nMQUWWXXed8yishl1wa4OkJ844m7QUm2F7I+mcRT3s+A==",
1023
1023
  "license": "SEE LICENSE IN LICENSE.txt",
1024
1024
  "dependencies": {
1025
- "@conduit-client/utils": "3.15.0"
1025
+ "@conduit-client/utils": "3.15.1"
1026
1026
  }
1027
1027
  },
1028
1028
  "node_modules/@conduit-client/utils": {
1029
- "version": "3.15.0",
1030
- "resolved": "https://registry.npmjs.org/@conduit-client/utils/-/utils-3.15.0.tgz",
1031
- "integrity": "sha512-4YPL4okIhGxUbfwEfJW6kV3NTPvxEUsml4z2Ucevtzyay+7cXyOP4/pS+zkb+iHbTDvR60R5mqeobBkX5RKz2A==",
1029
+ "version": "3.15.1",
1030
+ "resolved": "https://registry.npmjs.org/@conduit-client/utils/-/utils-3.15.1.tgz",
1031
+ "integrity": "sha512-FMEPHNT/1PKNRIWLBX+bkuMgr4PP7DN9+qUTZdUWJp6apoao1S+iDXDyWR5iBvJMEzq1HUjoJhQ4ndTtlNJ6hg==",
1032
1032
  "license": "SEE LICENSE IN LICENSE.txt"
1033
1033
  },
1034
1034
  "node_modules/@csstools/color-helpers": {
@@ -4085,9 +4085,9 @@
4085
4085
  ]
4086
4086
  },
4087
4087
  "node_modules/@salesforce/agentforce-conversation-client": {
4088
- "version": "1.53.1",
4089
- "resolved": "https://registry.npmjs.org/@salesforce/agentforce-conversation-client/-/agentforce-conversation-client-1.53.1.tgz",
4090
- "integrity": "sha512-JP/163sUyNI/vKHK2nclHRMl8HV/a94aGN+u63Og4zxUhI1lCNJoX/7L4GkzDGjhnKOroUIlmr115tF9Lb3pWw==",
4088
+ "version": "1.54.0",
4089
+ "resolved": "https://registry.npmjs.org/@salesforce/agentforce-conversation-client/-/agentforce-conversation-client-1.54.0.tgz",
4090
+ "integrity": "sha512-JiU8+xTRGwdau6M464vgwcpqU2DwTyetVyAtN7kc9cN2Es/WE9tZbpGFJ2ggdMhiR/zT1m6BMRZKUFPWGwtNTg==",
4091
4091
  "license": "SEE LICENSE IN LICENSE.txt",
4092
4092
  "dependencies": {
4093
4093
  "@lightning-out/application": "2.1.1-rc.2"
@@ -4097,9 +4097,9 @@
4097
4097
  }
4098
4098
  },
4099
4099
  "node_modules/@salesforce/core": {
4100
- "version": "8.26.2",
4101
- "resolved": "https://registry.npmjs.org/@salesforce/core/-/core-8.26.2.tgz",
4102
- "integrity": "sha512-P1otybl1d+sXg5FORl3PD82TzaOOP5aH1j0UVkpGf1p4BLw6VD0mJekS4mDc0pz6UKK2iIt0CFxXAEMKa/YtBA==",
4100
+ "version": "8.26.3",
4101
+ "resolved": "https://registry.npmjs.org/@salesforce/core/-/core-8.26.3.tgz",
4102
+ "integrity": "sha512-lPNFHjHFeC4V3KuH88xuVLGhAqmtM8meUcvyejNh8bQ5w642APKRTGDZ0pOnWHJAe5SQy7cSQ1WqvO3V73ouQw==",
4103
4103
  "license": "BSD-3-Clause",
4104
4104
  "dependencies": {
4105
4105
  "@jsforce/jsforce-node": "^3.10.13",
@@ -4148,19 +4148,19 @@
4148
4148
  }
4149
4149
  },
4150
4150
  "node_modules/@salesforce/sdk-core": {
4151
- "version": "1.53.1",
4152
- "resolved": "https://registry.npmjs.org/@salesforce/sdk-core/-/sdk-core-1.53.1.tgz",
4153
- "integrity": "sha512-ofJ9yhxX03n0Gy6OrdDZygyL4wL+HDyAoziOF5YrPA9QImRAvEo5s6TR1t7u8noTacVvgDgAHJQBVyz0qZXZvg==",
4151
+ "version": "1.54.0",
4152
+ "resolved": "https://registry.npmjs.org/@salesforce/sdk-core/-/sdk-core-1.54.0.tgz",
4153
+ "integrity": "sha512-zEEgNKIhlUQuNLAqqE+bjs14WG7iKO+Zzg5n9aEKBN1CO+duuhpx4eTR1u4rd+ZsX1RYuyG2F2YBrbEt5bX+rA==",
4154
4154
  "license": "SEE LICENSE IN LICENSE.txt"
4155
4155
  },
4156
4156
  "node_modules/@salesforce/sdk-data": {
4157
- "version": "1.53.1",
4158
- "resolved": "https://registry.npmjs.org/@salesforce/sdk-data/-/sdk-data-1.53.1.tgz",
4159
- "integrity": "sha512-ltzKLGpYt2H1H8op8n917+IUC4QKGc/GbfHcpHYCQl9eNrQxumjnm7DmiF+zldrd6HsHDp6nDYjWQx3dinag4A==",
4157
+ "version": "1.54.0",
4158
+ "resolved": "https://registry.npmjs.org/@salesforce/sdk-data/-/sdk-data-1.54.0.tgz",
4159
+ "integrity": "sha512-9Wk8pyRyLK+mB/wamQzn5fWO0ago2r9KwpOgqZ06eqAR+flPBG1w7R7UeiAApUBbZnJNeq6BkBzFtmF7+ZM/9w==",
4160
4160
  "license": "SEE LICENSE IN LICENSE.txt",
4161
4161
  "dependencies": {
4162
4162
  "@conduit-client/salesforce-lightning-service-worker": "^3.7.0",
4163
- "@salesforce/sdk-core": "^1.53.1"
4163
+ "@salesforce/sdk-core": "^1.54.0"
4164
4164
  }
4165
4165
  },
4166
4166
  "node_modules/@salesforce/ts-types": {
@@ -4173,15 +4173,15 @@
4173
4173
  }
4174
4174
  },
4175
4175
  "node_modules/@salesforce/vite-plugin-webapp-experimental": {
4176
- "version": "1.53.1",
4177
- "resolved": "https://registry.npmjs.org/@salesforce/vite-plugin-webapp-experimental/-/vite-plugin-webapp-experimental-1.53.1.tgz",
4178
- "integrity": "sha512-XsnxLhB15FvKpcrKTL1SGTIV/I3hZX3V44v4mItaVvWa53DYhdEmqgM60bYd8+TAEnuKEgYyjqrrwMGQc0qJhg==",
4176
+ "version": "1.54.0",
4177
+ "resolved": "https://registry.npmjs.org/@salesforce/vite-plugin-webapp-experimental/-/vite-plugin-webapp-experimental-1.54.0.tgz",
4178
+ "integrity": "sha512-LbFV9sbm0DXNGNl/zRsy/5VBrkiCeSAQkhyjgAN1Tl4jh9pC79zJxdC6yzV0BdyumU4uMIFb1rrcHZVnjLKC5w==",
4179
4179
  "dev": true,
4180
4180
  "license": "SEE LICENSE IN LICENSE.txt",
4181
4181
  "dependencies": {
4182
4182
  "@babel/core": "^7.28.4",
4183
4183
  "@babel/helper-plugin-utils": "^7.28.3",
4184
- "@salesforce/webapp-experimental": "^1.53.1"
4184
+ "@salesforce/webapp-experimental": "^1.54.0"
4185
4185
  },
4186
4186
  "engines": {
4187
4187
  "node": ">=20.0.0"
@@ -4191,13 +4191,13 @@
4191
4191
  }
4192
4192
  },
4193
4193
  "node_modules/@salesforce/webapp-experimental": {
4194
- "version": "1.53.1",
4195
- "resolved": "https://registry.npmjs.org/@salesforce/webapp-experimental/-/webapp-experimental-1.53.1.tgz",
4196
- "integrity": "sha512-vX5+fLStDCsBUQp5uP5s7n4qbSTdrjLQ3PqYsQSpVlPL1+lfEvwIwIeRygdtluAQB02U7uIBFeN/GvObLA+/xg==",
4194
+ "version": "1.54.0",
4195
+ "resolved": "https://registry.npmjs.org/@salesforce/webapp-experimental/-/webapp-experimental-1.54.0.tgz",
4196
+ "integrity": "sha512-C60kXy8MKUAbZ7YxRxO8wqqQTwOPB47bHxp9WeKXQm5DtkEudSooIsORM+D6Z+ZepvI6dTfjFJVvqq6M+9q09g==",
4197
4197
  "license": "SEE LICENSE IN LICENSE.txt",
4198
4198
  "dependencies": {
4199
4199
  "@salesforce/core": "^8.23.4",
4200
- "@salesforce/sdk-data": "^1.53.1",
4200
+ "@salesforce/sdk-data": "^1.54.0",
4201
4201
  "axios": "^1.7.7",
4202
4202
  "micromatch": "^4.0.8",
4203
4203
  "path-to-regexp": "^8.3.0"
@@ -4927,9 +4927,9 @@
4927
4927
  }
4928
4928
  },
4929
4929
  "node_modules/@typescript-eslint/typescript-estree/node_modules/minimatch": {
4930
- "version": "10.2.3",
4931
- "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.2.3.tgz",
4932
- "integrity": "sha512-Rwi3pnapEqirPSbWbrZaa6N3nmqq4Xer/2XooiOKyV3q12ML06f7MOuc5DVH8ONZIFhwIYQ3yzPH4nt7iWHaTg==",
4930
+ "version": "10.2.4",
4931
+ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.2.4.tgz",
4932
+ "integrity": "sha512-oRjTw/97aTBN0RHbYCdtF1MQfvusSIBQM0IZEgzl6426+8jSC0nF1a/GmnVLpfB9yyr6g6FTqWqiZVbxrtaCIg==",
4933
4933
  "dev": true,
4934
4934
  "license": "BlueOak-1.0.0",
4935
4935
  "dependencies": {
@@ -8534,9 +8534,9 @@
8534
8534
  }
8535
8535
  },
8536
8536
  "node_modules/graphql-config/node_modules/minimatch": {
8537
- "version": "9.0.7",
8538
- "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.7.tgz",
8539
- "integrity": "sha512-MOwgjc8tfrpn5QQEvjijjmDVtMw2oL88ugTevzxQnzRLm6l3fVEF2gzU0kYeYYKD8C66+IdGX6peJ4MyUlUnPg==",
8537
+ "version": "9.0.8",
8538
+ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.8.tgz",
8539
+ "integrity": "sha512-reYkDYtj/b19TeqbNZCV4q9t+Yxylf/rYBsLb42SXJatTv4/ylq5lEiAmhA/IToxO7NI2UzNMghHoHuaqDkAjw==",
8540
8540
  "dev": true,
8541
8541
  "license": "ISC",
8542
8542
  "dependencies": {
@@ -10658,9 +10658,9 @@
10658
10658
  }
10659
10659
  },
10660
10660
  "node_modules/minimatch": {
10661
- "version": "3.1.4",
10662
- "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.4.tgz",
10663
- "integrity": "sha512-twmL+S8+7yIsE9wsqgzU3E8/LumN3M3QELrBZ20OdmQ9jB2JvW5oZtBEmft84k/Gs5CG9mqtWc6Y9vW+JEzGxw==",
10661
+ "version": "3.1.5",
10662
+ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.5.tgz",
10663
+ "integrity": "sha512-VgjWUsnnT6n+NUk6eZq77zeFdpW2LWDzP6zFGrCbHXiYNul5Dzqk2HHQ5uFH2DNW5Xbp8+jVzaeNt94ssEEl4w==",
10664
10664
  "dev": true,
10665
10665
  "license": "ISC",
10666
10666
  "dependencies": {
@@ -14,7 +14,7 @@
14
14
  "graphql:schema": "node scripts/get-graphql-schema.mjs"
15
15
  },
16
16
  "dependencies": {
17
- "@salesforce/agentforce-conversation-client": "^1.53.1",
17
+ "@salesforce/agentforce-conversation-client": "^1.54.0",
18
18
  "@salesforce/sdk-data": "^1.11.2",
19
19
  "@salesforce/webapp-experimental": "*",
20
20
  "@tailwindcss/vite": "^4.1.17",
@@ -1,4 +1,4 @@
1
- import { executeGraphQL } from '@salesforce/webapp-experimental/api';
1
+ import { getDataSDK } from '@salesforce/webapp-experimental/api';
2
2
  import HIGH_REVENUE_ACCOUNTS_QUERY from './query/highRevenueAccountsQuery.graphql?raw';
3
3
  import type {
4
4
  GetHighRevenueAccountsQuery,
@@ -24,10 +24,18 @@ type AccountNode = NonNullable<
24
24
  export async function getHighRevenueAccounts(
25
25
  variables: GetHighRevenueAccountsQueryVariables
26
26
  ): Promise<(AccountNode | null | undefined)[]> {
27
- const response = await executeGraphQL<GetHighRevenueAccountsQuery>(
28
- HIGH_REVENUE_ACCOUNTS_QUERY,
29
- variables
30
- );
27
+ const data = await getDataSDK();
28
+ const response = await data.graphql?.<
29
+ GetHighRevenueAccountsQuery,
30
+ GetHighRevenueAccountsQueryVariables
31
+ >(HIGH_REVENUE_ACCOUNTS_QUERY, variables);
32
+
33
+ if (response?.errors?.length) {
34
+ const errorMessages = response.errors.map(e => e.message).join('; ');
35
+ throw new Error(`GraphQL Error: ${errorMessages}`);
36
+ }
31
37
 
32
- return response.uiapi?.query?.Account?.edges?.map(edge => edge?.node) || [];
38
+ return (
39
+ response?.data?.uiapi?.query?.Account?.edges?.map(edge => edge?.node) || []
40
+ );
33
41
  }
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/webapp-template-base-sfdx-project-experimental",
3
- "version": "1.53.2",
3
+ "version": "1.54.1",
4
4
  "description": "Base SFDX project template",
5
5
  "private": true,
6
6
  "files": [
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.53.2",
3
+ "version": "1.54.1",
4
4
  "description": "Embedded Agentforce conversation client feature for web applications",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "author": "",
@@ -27,7 +27,7 @@
27
27
  "clean": "rm -rf dist"
28
28
  },
29
29
  "dependencies": {
30
- "@salesforce/agentforce-conversation-client": "^1.53.2"
30
+ "@salesforce/agentforce-conversation-client": "^1.54.1"
31
31
  },
32
32
  "devDependencies": {
33
33
  "@types/react": "^19.2.7",
@@ -52,5 +52,5 @@
52
52
  }
53
53
  }
54
54
  },
55
- "gitHead": "8866eb09bf1e24f023333d1ecc491a1e1a6c8904"
55
+ "gitHead": "6defeb0540e40000b92f0c88fc822cf8de1758b9"
56
56
  }