@salesforce/webapp-template-app-react-template-vibe-experimental 1.57.0 → 1.58.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.58.1](https://github.com/salesforce-experience-platform-emu/webapps/compare/v1.58.0...v1.58.1) (2026-02-26)
7
+
8
+ **Note:** Version bump only for package @salesforce/webapp-template-base-sfdx-project-experimental
9
+
10
+
11
+
12
+
13
+
14
+ # [1.58.0](https://github.com/salesforce-experience-platform-emu/webapps/compare/v1.57.0...v1.58.0) (2026-02-26)
15
+
16
+ **Note:** Version bump only for package @salesforce/webapp-template-base-sfdx-project-experimental
17
+
18
+
19
+
20
+
21
+
6
22
  # [1.57.0](https://github.com/salesforce-experience-platform-emu/webapps/compare/v1.56.1...v1.57.0) (2026-02-26)
7
23
 
8
24
  **Note:** Version bump only for package @salesforce/webapp-template-base-sfdx-project-experimental
@@ -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.56.1",
11
+ "@salesforce/agentforce-conversation-client": "^1.58.0",
12
12
  "@salesforce/sdk-data": "^1.11.2",
13
13
  "@salesforce/webapp-experimental": "*",
14
14
  "@tailwindcss/vite": "^4.1.17",
@@ -6027,9 +6027,9 @@
6027
6027
  ]
6028
6028
  },
6029
6029
  "node_modules/@salesforce/agentforce-conversation-client": {
6030
- "version": "1.56.1",
6031
- "resolved": "https://registry.npmjs.org/@salesforce/agentforce-conversation-client/-/agentforce-conversation-client-1.56.1.tgz",
6032
- "integrity": "sha512-uxwuHpihKju/SUS4X6ozJPoLna0Gmpg8laI8KPO5NqJ3lFyiw1RNFa2BoJGp9VmSoHH9o8Wkzcg8tLVVQ/r/cQ==",
6030
+ "version": "1.58.0",
6031
+ "resolved": "https://registry.npmjs.org/@salesforce/agentforce-conversation-client/-/agentforce-conversation-client-1.58.0.tgz",
6032
+ "integrity": "sha512-KBc6dhWcc0uuPcRCw3wExU+t2JPRTLRbGXrupaJ9PNS2R5DulkixC9olBCw2hSiDAjFiYGUSEXXGlriz5TDAYg==",
6033
6033
  "license": "SEE LICENSE IN LICENSE.txt",
6034
6034
  "dependencies": {
6035
6035
  "@lightning-out/application": "2.1.1-rc.2"
@@ -6090,19 +6090,19 @@
6090
6090
  }
6091
6091
  },
6092
6092
  "node_modules/@salesforce/sdk-core": {
6093
- "version": "1.56.1",
6094
- "resolved": "https://registry.npmjs.org/@salesforce/sdk-core/-/sdk-core-1.56.1.tgz",
6095
- "integrity": "sha512-1Xw79p4JYPsikZuKQ2Kj2lD+rNJwzYEcFL913T1SYt2ZJB+eN8R2ZkWZ/0clT/nazus/JRBd1cxrkaWlOg/fVA==",
6093
+ "version": "1.58.0",
6094
+ "resolved": "https://registry.npmjs.org/@salesforce/sdk-core/-/sdk-core-1.58.0.tgz",
6095
+ "integrity": "sha512-Ol3dtUfOt9bgkBKumaJmg9/wQ6MLpfni6GHX5Jmt5PVNk0tI6FiW/KXOkh/TyKKcwjy8zKNTFZfByrFNZK8Nyw==",
6096
6096
  "license": "SEE LICENSE IN LICENSE.txt"
6097
6097
  },
6098
6098
  "node_modules/@salesforce/sdk-data": {
6099
- "version": "1.56.1",
6100
- "resolved": "https://registry.npmjs.org/@salesforce/sdk-data/-/sdk-data-1.56.1.tgz",
6101
- "integrity": "sha512-ACw0kF2DRGL9RE21Boyak7GCY1z86CWOgl8Ly//M75Jo8sDk1DXsMXojJV74F40bj31KbRTtqVU2WmlQwEm98Q==",
6099
+ "version": "1.58.0",
6100
+ "resolved": "https://registry.npmjs.org/@salesforce/sdk-data/-/sdk-data-1.58.0.tgz",
6101
+ "integrity": "sha512-/aJSHXVGW6z+MvH9Gg5jlhbyI1k/xKKJyD7a3z/zkYoaSxTobc6U4AwBE4GyoXPVK9tBiJJxkTpYK0JEg9rjLg==",
6102
6102
  "license": "SEE LICENSE IN LICENSE.txt",
6103
6103
  "dependencies": {
6104
6104
  "@conduit-client/salesforce-lightning-service-worker": "^3.7.0",
6105
- "@salesforce/sdk-core": "^1.56.1"
6105
+ "@salesforce/sdk-core": "^1.58.0"
6106
6106
  }
6107
6107
  },
6108
6108
  "node_modules/@salesforce/ts-types": {
@@ -6115,15 +6115,15 @@
6115
6115
  }
6116
6116
  },
6117
6117
  "node_modules/@salesforce/vite-plugin-webapp-experimental": {
6118
- "version": "1.56.1",
6119
- "resolved": "https://registry.npmjs.org/@salesforce/vite-plugin-webapp-experimental/-/vite-plugin-webapp-experimental-1.56.1.tgz",
6120
- "integrity": "sha512-plhdDjO0veCOiZKJ1yhqOgsFd50H9J9SWQBU60EZVx8+ZgKymJz5C5vkn5gGubK7qEPscZLBxX/GoaUZOYdJxA==",
6118
+ "version": "1.58.0",
6119
+ "resolved": "https://registry.npmjs.org/@salesforce/vite-plugin-webapp-experimental/-/vite-plugin-webapp-experimental-1.58.0.tgz",
6120
+ "integrity": "sha512-788yGucCAHptSj9RPC3tXqtCN7NSqaZiN3HbRtpNJ6sjvxhTl9jvq666CQF8q6gZsRjhSfZcYbcfZ+L69YvRRw==",
6121
6121
  "dev": true,
6122
6122
  "license": "SEE LICENSE IN LICENSE.txt",
6123
6123
  "dependencies": {
6124
6124
  "@babel/core": "^7.28.4",
6125
6125
  "@babel/helper-plugin-utils": "^7.28.3",
6126
- "@salesforce/webapp-experimental": "^1.56.1"
6126
+ "@salesforce/webapp-experimental": "^1.58.0"
6127
6127
  },
6128
6128
  "engines": {
6129
6129
  "node": ">=20.0.0"
@@ -6133,13 +6133,13 @@
6133
6133
  }
6134
6134
  },
6135
6135
  "node_modules/@salesforce/webapp-experimental": {
6136
- "version": "1.56.1",
6137
- "resolved": "https://registry.npmjs.org/@salesforce/webapp-experimental/-/webapp-experimental-1.56.1.tgz",
6138
- "integrity": "sha512-PG5/9YI8yBSzCgs7S2CuC06QtckAQGYbO4DobPR/gF9F2flfJU+CDT5Q5G2tinoBWJhputAjeJNIXF0hQKMC3A==",
6136
+ "version": "1.58.0",
6137
+ "resolved": "https://registry.npmjs.org/@salesforce/webapp-experimental/-/webapp-experimental-1.58.0.tgz",
6138
+ "integrity": "sha512-rbGDSGDrknRTaPWvWtbXF33Aju7gH6/2gG6IEmr0r89/UaSbicD2F9aFS4iz2z0zS1TlD8MDn+N5x/sErW8kkQ==",
6139
6139
  "license": "SEE LICENSE IN LICENSE.txt",
6140
6140
  "dependencies": {
6141
6141
  "@salesforce/core": "^8.23.4",
6142
- "@salesforce/sdk-data": "^1.56.1",
6142
+ "@salesforce/sdk-data": "^1.58.0",
6143
6143
  "axios": "^1.7.7",
6144
6144
  "micromatch": "^4.0.8",
6145
6145
  "path-to-regexp": "^8.3.0"
@@ -6774,9 +6774,9 @@
6774
6774
  "license": "MIT"
6775
6775
  },
6776
6776
  "node_modules/@types/node": {
6777
- "version": "24.10.13",
6778
- "resolved": "https://registry.npmjs.org/@types/node/-/node-24.10.13.tgz",
6779
- "integrity": "sha512-oH72nZRfDv9lADUBSo104Aq7gPHpQZc4BTx38r9xf9pg5LfP6EzSyH2n7qFmmxRQXh7YlUXODcYsg6PuTDSxGg==",
6777
+ "version": "24.10.14",
6778
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-24.10.14.tgz",
6779
+ "integrity": "sha512-OowOUbD1lBCOFIPOZ8xnMIhgqA4sCutMiYOmPHL1PTLt5+y1XA+g2+yC9OOyz8p+deMZqPZLxfMjYIfrKsPeFg==",
6780
6780
  "devOptional": true,
6781
6781
  "license": "MIT",
6782
6782
  "dependencies": {
@@ -15,7 +15,7 @@
15
15
  "graphql:schema": "node scripts/get-graphql-schema.mjs"
16
16
  },
17
17
  "dependencies": {
18
- "@salesforce/agentforce-conversation-client": "^1.56.1",
18
+ "@salesforce/agentforce-conversation-client": "^1.58.0",
19
19
  "@salesforce/sdk-data": "^1.11.2",
20
20
  "@salesforce/webapp-experimental": "*",
21
21
  "@tailwindcss/vite": "^4.1.17",
@@ -4,7 +4,7 @@ import { z } from "zod";
4
4
  import { CenteredPageLayout } from "../layout/centered-page-layout";
5
5
  import { AuthForm } from "../forms/auth-form";
6
6
  import { useAppForm } from "../hooks/form";
7
- import { getDataSDK } from "../lib/data-sdk";
7
+ import { getDataSDK } from "@salesforce/webapp-experimental/api";
8
8
  import { ROUTES, AUTH_PLACEHOLDERS } from "../authenticationConfig";
9
9
  import { newPasswordSchema } from "../authHelpers";
10
10
  import { handleApiResponse, getErrorMessage } from "../utils/helpers";
@@ -29,7 +29,7 @@ export default function ChangePassword() {
29
29
  // [Dev Note] Custom Apex Endpoint: /auth/change-password
30
30
  // You must ensure this Apex class exists in your org
31
31
  const sdk = await getDataSDK();
32
- const response = await sdk.fetch("/sfdcapi/services/apexrest/auth/change-password", {
32
+ const response = await sdk.fetch!("/sfdcapi/services/apexrest/auth/change-password", {
33
33
  method: "POST",
34
34
  body: JSON.stringify({
35
35
  currentPassword: formFieldValues.currentPassword,
@@ -3,7 +3,7 @@ import { z } from "zod";
3
3
  import { CenteredPageLayout } from "../layout/centered-page-layout";
4
4
  import { AuthForm } from "../forms/auth-form";
5
5
  import { useAppForm } from "../hooks/form";
6
- import { getDataSDK } from "../lib/data-sdk";
6
+ import { getDataSDK } from "@salesforce/webapp-experimental/api";
7
7
  import { ROUTES, AUTH_PLACEHOLDERS } from "../authenticationConfig";
8
8
  import { handleApiResponse, getErrorMessage } from "../utils/helpers";
9
9
 
@@ -25,7 +25,7 @@ export default function ForgotPassword() {
25
25
  // [Dev Note] Custom Apex Endpoint: /auth/forgot-password
26
26
  // You must ensure this Apex class exists in your org
27
27
  const sdk = await getDataSDK();
28
- const response = await sdk.fetch("/sfdcapi/services/apexrest/auth/forgot-password", {
28
+ const response = await sdk.fetch!("/sfdcapi/services/apexrest/auth/forgot-password", {
29
29
  method: "POST",
30
30
  body: JSON.stringify({ username: value.username.trim() }),
31
31
  headers: {
@@ -4,7 +4,7 @@ import { z } from "zod";
4
4
  import { CenteredPageLayout } from "../layout/centered-page-layout";
5
5
  import { AuthForm } from "../forms/auth-form";
6
6
  import { useAppForm } from "../hooks/form";
7
- import { getDataSDK } from "../lib/data-sdk";
7
+ import { getDataSDK } from "@salesforce/webapp-experimental/api";
8
8
  import { ROUTES } from "../authenticationConfig";
9
9
  import { emailSchema, getStartUrl, type AuthResponse } from "../authHelpers";
10
10
  import { handleApiResponse, getErrorMessage } from "../utils/helpers";
@@ -31,7 +31,7 @@ export default function Login() {
31
31
  // You must ensure this Apex class exists in your org and handles the login logic
32
32
  // (e.g., creating a session or returning a token).
33
33
  const sdk = await getDataSDK();
34
- const response = await sdk.fetch("/sfdcapi/services/apexrest/auth/login", {
34
+ const response = await sdk.fetch!("/sfdcapi/services/apexrest/auth/login", {
35
35
  method: "POST",
36
36
  body: JSON.stringify({
37
37
  email: value.email.trim().toLowerCase(),
@@ -4,7 +4,7 @@ import { z } from "zod";
4
4
  import { CenteredPageLayout } from "../layout/centered-page-layout";
5
5
  import { AuthForm } from "../forms/auth-form";
6
6
  import { useAppForm } from "../hooks/form";
7
- import { getDataSDK } from "../lib/data-sdk";
7
+ import { getDataSDK } from "@salesforce/webapp-experimental/api";
8
8
  import { ROUTES, AUTH_PLACEHOLDERS } from "../authenticationConfig";
9
9
  import { emailSchema, passwordSchema, getStartUrl, type AuthResponse } from "../authHelpers";
10
10
  import { handleApiResponse, getErrorMessage } from "../utils/helpers";
@@ -48,7 +48,7 @@ export default function Register() {
48
48
  // (e.g., duplicate checks and user creation such as Site.createExternalUser).
49
49
  const { confirmPassword, ...request } = formFieldValues;
50
50
  const sdk = await getDataSDK();
51
- const response = await sdk.fetch("/sfdcapi/services/apexrest/auth/register", {
51
+ const response = await sdk.fetch!("/sfdcapi/services/apexrest/auth/register", {
52
52
  method: "POST",
53
53
  body: JSON.stringify({ request }),
54
54
  headers: {
@@ -5,7 +5,7 @@ import { CenteredPageLayout } from "../layout/centered-page-layout";
5
5
  import { AuthForm } from "../forms/auth-form";
6
6
  import { StatusAlert } from "../alerts/status-alert";
7
7
  import { useAppForm } from "../hooks/form";
8
- import { getDataSDK } from "../lib/data-sdk";
8
+ import { getDataSDK } from "@salesforce/webapp-experimental/api";
9
9
  import { ROUTES, AUTH_PLACEHOLDERS } from "../authenticationConfig";
10
10
  import { newPasswordSchema } from "../authHelpers";
11
11
  import { handleApiResponse, getErrorMessage } from "../utils/helpers";
@@ -26,7 +26,7 @@ export default function ResetPassword() {
26
26
  // [Dev Note] Custom Apex Endpoint: /auth/reset-password
27
27
  // You must ensure this Apex class exists in your org
28
28
  const sdk = await getDataSDK();
29
- const response = await sdk.fetch("/sfdcapi/services/apexrest/auth/reset-password", {
29
+ const response = await sdk.fetch!("/sfdcapi/services/apexrest/auth/reset-password", {
30
30
  method: "POST",
31
31
  body: JSON.stringify({ token, newPassword: value.newPassword }),
32
32
  headers: {
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/webapp-template-base-sfdx-project-experimental",
3
- "version": "1.57.0",
3
+ "version": "1.58.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-app-react-template-vibe-experimental",
3
- "version": "1.57.0",
3
+ "version": "1.58.1",
4
4
  "description": "Vibe coding starter app template",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "author": "",
@@ -43,5 +43,5 @@
43
43
  }
44
44
  }
45
45
  },
46
- "gitHead": "79d48250f085dbf33512c356b0ff5fb6acd239d3"
46
+ "gitHead": "3ca21b4efdb09c459fac018f54284b3637fc02e7"
47
47
  }
@@ -1,21 +0,0 @@
1
- import { createDataSDK, type DataSDK } from "@salesforce/sdk-data";
2
-
3
- type FetchableSDK = DataSDK & { fetch: typeof fetch };
4
-
5
- let sdkPromise: Promise<FetchableSDK> | null = null;
6
-
7
- /**
8
- * Returns a singleton DataSDK instance with a guaranteed fetch method.
9
- * Lazily initialized on first call; subsequent calls return the same instance.
10
- */
11
- export function getDataSDK(): Promise<FetchableSDK> {
12
- if (!sdkPromise) {
13
- sdkPromise = createDataSDK().then((sdk) => {
14
- if (!sdk.fetch) {
15
- throw new Error("DataSDK fetch is not available on this surface.");
16
- }
17
- return sdk as FetchableSDK;
18
- });
19
- }
20
- return sdkPromise;
21
- }