@salesforce/commerce-sdk-react 5.5.0-nightly-20261008080708 → 5.5.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 +3 -6
  2. package/package.json +4 -4
package/CHANGELOG.md CHANGED
@@ -1,10 +1,7 @@
1
- ## v5.5.0-nightly-20261008080708 (Oct 08, 2026)
2
- ## v5.5.0-dev (Oct 08, 2026)
3
- ## v3.21.0-nightly-20261008080708 (Oct 08, 2026)
4
- ## v5.5.0-dev (Aug 12, 2026)
5
- - [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)
1
+ ## v5.5.0 (Oct 08, 2026)
2
+ - [Feature] Add a `useDeliveryEstimates` query hook and `ShopperDeliveryEstimates` client registration for the Shopper Delivery Estimates API. This requires `commerce-sdk-isomorphic` `5.7.0`, which 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
- - [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)
4
+ - [Feature] Add `requestOrderAccessCode` to `ShopperOrdersMutations`. Requires `commerce-sdk-isomorphic` `5.5.0` or later (this release ships with `5.7.0`). `useShopperOrdersMutation('requestOrderAccessCode')` is now fully typed and functional. [#3982](https://github.com/SalesforceCommerceCloud/pwa-kit/pull/3982)
8
5
 
9
6
  ## v5.4.1 (Sep 22, 2026)
10
7
  - [Feature] Re-export `usePreviewContext` through `ShopperExperienceV2` so storefront code can read the Page Designer preview channel’s `isConnected` state and call `notifyClientRouteChanged`. Bumps `@salesforce/storefront-next-runtime` to `1.3.1`. [#4021](https://github.com/SalesforceCommerceCloud/pwa-kit/pull/4021)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/commerce-sdk-react",
3
- "version": "5.5.0-nightly-20261008080708",
3
+ "version": "5.5.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-nightly-20261008080708",
49
+ "@salesforce/pwa-kit-dev": "3.21.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-nightly-20261008080708",
64
+ "internal-lib-build": "3.21.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": "cc484a6a87a04e2936705ba2763dad2487c294fd"
101
+ "gitHead": "7f26d1f98d1beec0b3c9e90a75a923598cc9ed96"
102
102
  }