@salesforce/webapp-template-feature-react-file-upload-experimental 1.103.6 → 1.104.0

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,14 @@
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.104.0](https://github.com/salesforce-experience-platform-emu/webapps/compare/v1.103.6...v1.104.0) (2026-03-17)
7
+
8
+ **Note:** Version bump only for package @salesforce/webapp-template-base-sfdx-project-experimental
9
+
10
+
11
+
12
+
13
+
6
14
  ## [1.103.6](https://github.com/salesforce-experience-platform-emu/webapps/compare/v1.103.5...v1.103.6) (2026-03-17)
7
15
 
8
16
  **Note:** Version bump only for package @salesforce/webapp-template-base-sfdx-project-experimental
@@ -4,7 +4,7 @@
4
4
 
5
5
  import { createRecord, getCurrentUser } from "@salesforce/webapp-experimental/api";
6
6
 
7
- import { getDataSDK } from "@salesforce/sdk-data";
7
+ import { createDataSDK } from "@salesforce/sdk-data";
8
8
 
9
9
  declare const __SF_API_VERSION__: string;
10
10
 
@@ -17,7 +17,7 @@ export interface UploadConfig {
17
17
  * Get upload config (token, uploadUrl) from /connect/file/upload/config.
18
18
  */
19
19
  export async function getUploadConfig(): Promise<UploadConfig> {
20
- const sdk = await getDataSDK();
20
+ const sdk = await createDataSDK();
21
21
  if (!sdk?.fetch) {
22
22
  throw new Error("Failed to initialize SDK");
23
23
  }
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/webapp-template-base-sfdx-project-experimental",
3
- "version": "1.103.6",
3
+ "version": "1.104.0",
4
4
  "description": "Base SFDX project template",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "publishConfig": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/webapp-template-feature-react-file-upload-experimental",
3
- "version": "1.103.6",
3
+ "version": "1.104.0",
4
4
  "description": "File upload feature with a component to upload files to core",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "author": "",
@@ -41,7 +41,7 @@
41
41
  }
42
42
  },
43
43
  "devDependencies": {
44
- "@salesforce/webapp-experimental": "^1.103.6",
44
+ "@salesforce/webapp-experimental": "^1.104.0",
45
45
  "@types/react": "^19.2.7",
46
46
  "@types/react-dom": "^19.2.3",
47
47
  "nodemon": "^3.1.0",
@@ -4,7 +4,7 @@
4
4
 
5
5
  import { createRecord, getCurrentUser } from "@salesforce/webapp-experimental/api";
6
6
 
7
- import { getDataSDK } from "@salesforce/sdk-data";
7
+ import { createDataSDK } from "@salesforce/sdk-data";
8
8
 
9
9
  declare const __SF_API_VERSION__: string;
10
10
 
@@ -17,7 +17,7 @@ export interface UploadConfig {
17
17
  * Get upload config (token, uploadUrl) from /connect/file/upload/config.
18
18
  */
19
19
  export async function getUploadConfig(): Promise<UploadConfig> {
20
- const sdk = await getDataSDK();
20
+ const sdk = await createDataSDK();
21
21
  if (!sdk?.fetch) {
22
22
  throw new Error("Failed to initialize SDK");
23
23
  }