Skip to content

Commit 88427d9

Browse files
committed
fix changelog
1 parent 1184547 commit 88427d9

File tree

4 files changed

+5
-3
lines changed

4 files changed

+5
-3
lines changed

packages/commerce-sdk-react/CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1+
## [Unreleased]
2+
- Add HttpOnly session cookies for SLAS private client proxy [#3680](https://github.com/SalesforceCommerceCloud/pwa-kit/pull/3680)
3+
14
## v5.1.0-dev
25
- Add Node 24 support. Drop Node 16 support. [#3652](https://github.com/SalesforceCommerceCloud/pwa-kit/pull/3652)
3-
- Add HttpOnly session cookies for SLAS private client proxy [#3680](https://github.com/SalesforceCommerceCloud/pwa-kit/pull/3680)
46

57
## v5.0.0 (Feb 12, 2026)
68
- Upgrade to commerce-sdk-isomorphic v5.0.0 and introduce Payment Instrument SCAPI integration [#3552](https://github.com/SalesforceCommerceCloud/pwa-kit/pull/3552)

packages/commerce-sdk-react/src/auth/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ interface AuthConfig extends ApiClientConfigParams {
5454
refreshTokenRegisteredCookieTTL?: number
5555
refreshTokenGuestCookieTTL?: number
5656
hybridAuthEnabled?: boolean
57-
/** When true, token response may be sanitized (tokens in HttpOnly cookies); only set non-token fields and use access_token_expires_at for expiry. */
57+
/** When true, session tokens are set as HttpOnly cookies */
5858
useHttpOnlySessionCookies?: boolean
5959
}
6060

packages/commerce-sdk-react/src/provider.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,6 @@ const CommerceApiProvider = (props: CommerceApiProviderProps): ReactElement => {
155155
const configLogger = logger || console
156156

157157
// When HttpOnly cookies are enabled, ensure fetch credentials allow cookies to be sent.
158-
// Override 'omit' or unset to 'same-origin'; keep 'same-origin' or 'include' as-is.
159158
const effectiveFetchOptions =
160159
useHttpOnlySessionCookies &&
161160
(!fetchOptions?.credentials || fetchOptions.credentials === 'omit')

packages/pwa-kit-create-app/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
## [Unreleased]
2+
- Add configuration flag `disableHttpOnlySessionCookies` to `ssrParameters` [#3635](https://github.com/SalesforceCommerceCloud/pwa-kit/pull/3635)
23

34
## v3.17.0-dev
45
- Clear verdaccio npm cache during project generation [#3652](https://github.com/SalesforceCommerceCloud/pwa-kit/pull/3652)

0 commit comments

Comments
 (0)