@salesforce/commerce-sdk-react 5.3.0-nightly-20260709090230 → 5.3.0-preview.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.
Files changed (2) hide show
  1. package/CHANGELOG.md +1 -4
  2. package/package.json +4 -4
package/CHANGELOG.md CHANGED
@@ -1,7 +1,4 @@
1
- ## v5.3.0-nightly-20260709090230 (Jul 09, 2026)
2
- ## v5.3.0-dev (Jul 09, 2026)
3
- ## v3.19.0-nightly-20260709090230 (Jul 09, 2026)
4
- ## v5.3.0-dev
1
+ ## v5.3.0-preview.0
5
2
  - [Bugfix] Fix stale `sfdc_dwsid` server-affinity header in `CommerceApiProvider`. The `updatedClients` `useMemo` baked the `dwsid`-derived header into each SCAPI client's config but omitted `dwsid` from its dependency array, so when only the `dwsid` cookie changed (guest-to-login, session bridge, re-auth) the memoized clients kept sending the stale header, risking wrong/expired app-server routing on hybrid storefronts. The `dwsid` primitive is now a dependency so clients rebuild on change without churning on unrelated renders.
6
3
  - [Feature] Add OMS order-action hooks for Shopper Orders: the `cancelOmsOrder` and `returnOmsOrder` mutations and the `getOmsMetaData` query hook (return/cancel reason codes), with cache invalidation on the mutating actions. [#3864](https://github.com/SalesforceCommerceCloud/pwa-kit/pull/3864) [#3869](https://github.com/SalesforceCommerceCloud/pwa-kit/pull/3869)
7
4
  - Bump `commerce-sdk-isomorphic` to `5.4.0`, the first stable release carrying the OMS Shopper Orders endpoints (`oms-return-order`, `oms-cancel-order`, `oms-meta-data`).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/commerce-sdk-react",
3
- "version": "5.3.0-nightly-20260709090230",
3
+ "version": "5.3.0-preview.0",
4
4
  "description": "A library that provides react hooks for fetching data from Commerce Cloud",
5
5
  "homepage": "https://github.com/SalesforceCommerceCloud/pwa-kit/tree/develop/packages/ecom-react-hooks#readme",
6
6
  "bugs": {
@@ -46,7 +46,7 @@
46
46
  "jwt-decode": "^4.0.0"
47
47
  },
48
48
  "devDependencies": {
49
- "@salesforce/pwa-kit-dev": "3.19.0-nightly-20260709090230",
49
+ "@salesforce/pwa-kit-dev": "3.19.0-preview.0",
50
50
  "@tanstack/react-query": "^4.28.0",
51
51
  "@testing-library/jest-dom": "^5.16.5",
52
52
  "@testing-library/react": "^14.0.0",
@@ -61,7 +61,7 @@
61
61
  "@types/react-helmet": "~6.1.6",
62
62
  "@types/react-router-dom": "~5.3.3",
63
63
  "cross-env": "^5.2.1",
64
- "internal-lib-build": "3.19.0-nightly-20260709090230",
64
+ "internal-lib-build": "3.19.0-preview.0",
65
65
  "jsonwebtoken": "^9.0.0",
66
66
  "nock": "^13.3.0",
67
67
  "nodemon": "^2.0.22",
@@ -98,5 +98,5 @@
98
98
  "publishConfig": {
99
99
  "directory": "dist"
100
100
  },
101
- "gitHead": "f189efc51d2435a7831f6fd1764cda6426fb2413"
101
+ "gitHead": "f93e393e81306cfc61186f9162324f7ff8ac7b3c"
102
102
  }