@salesforce/commerce-sdk-react 5.5.0-nightly-20261005081305 → 5.5.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.
- package/CHANGELOG.md +1 -4
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
## v5.5.0-
|
|
2
|
-
## v5.5.0-dev (Oct 05, 2026)
|
|
3
|
-
## v3.21.0-nightly-20261005081305 (Oct 05, 2026)
|
|
4
|
-
## v5.5.0-dev (Aug 12, 2026)
|
|
1
|
+
## v5.5.0-preview.0 (Oct 05, 2026)
|
|
5
2
|
- [Feature] Add a `useDeliveryEstimates` query hook and `ShopperDeliveryEstimates` client registration for the Shopper Delivery Estimates API. This requires a `commerce-sdk-isomorphic` release that includes the generated client. The TypeDoc entry is grouped with the Shopper Delivery Estimates API and links to the endpoint, SDK, and TanStack Query references. [#4013](https://github.com/SalesforceCommerceCloud/pwa-kit/pull/4013)
|
|
6
3
|
- [Feature] Add Shopper Experience `useComponent` query hook for fetching a single Page Designer component by component ID, with Page Designer edit/preview mode support (raw response preserved when a `mode` or `pdToken` is present). Page Designer mode uses `rawResponse`, which bypasses the SDK's `throwOnBadResponse` check, so `usePage`, `usePages`, and `useComponent` now explicitly throw a `ResponseError` on a non-ok response in that mode instead of parsing the error body as successful data.
|
|
7
4
|
- [Feature] Add `requestOrderAccessCode` to `ShopperOrdersMutations` and bump `commerce-sdk-isomorphic` to `5.5.0`, which ships the method. `useShopperOrdersMutation('requestOrderAccessCode')` is now fully typed and functional. [#3982](https://github.com/SalesforceCommerceCloud/pwa-kit/pull/3982)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/commerce-sdk-react",
|
|
3
|
-
"version": "5.5.0-
|
|
3
|
+
"version": "5.5.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.21.0-
|
|
49
|
+
"@salesforce/pwa-kit-dev": "3.21.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.21.0-
|
|
64
|
+
"internal-lib-build": "3.21.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": "
|
|
101
|
+
"gitHead": "d2ca08e4b363b5bc4a3804d63f9013b2c3366eeb"
|
|
102
102
|
}
|