Skip to content

Commit 7fcff78

Browse files
committed
feat: libs
1 parent 3eb5f49 commit 7fcff78

File tree

6 files changed

+7
-14
lines changed

6 files changed

+7
-14
lines changed

package.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,5 @@
5555
"dependencies": {
5656
"@aws-sdk/client-cloudwatch": "^3.962.0",
5757
"node-fetch": "^2.6.9"
58-
},
59-
"volta": {
60-
"node": "24.0.0",
61-
"npm": "11.0.0"
6258
}
6359
}

packages/commerce-sdk-react/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
## v5.1.0-dev
2+
- Add Page Designer Support
23
- Bump commerce-sdk-isomorphic to 5.1.0
34
- Add Node 24 support. Drop Node 16 support. [#3652](https://github.com/SalesforceCommerceCloud/pwa-kit/pull/3652)
45
- Add Shopper Consents API support [#3674](https://github.com/SalesforceCommerceCloud/pwa-kit/pull/3674)

packages/commerce-sdk-react/src/hooks/ShopperExperience/query.ts

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,7 @@ export const usePages = (
5959
// we must merge them in order to generate the correct query key.
6060
const netOptions = omitNullableParameters(mergeOptions(client, apiOptionsWithPDParams))
6161
const parameters = {
62-
...pickValidParams(
63-
netOptions.parameters,
64-
ShopperExperience.paramKeys[methodName]
65-
),
62+
...pickValidParams(netOptions.parameters, ShopperExperience.paramKeys[methodName]),
6663
// Add Page Designer params after filtering - these are not officially part of the oas spec, since they are meant to be internal
6764
...(mode && {mode}),
6865
...(pdToken && {pdToken}),
@@ -126,18 +123,15 @@ export const usePage = (
126123
const apiOptionsWithPDParams = {
127124
...apiOptions,
128125
parameters: {
129-
...apiOptions.parameters,
126+
...apiOptions.parameters
130127
}
131128
}
132129

133130
// Parameters can be set in `apiOptions` or `client.clientConfig`;
134131
// we must merge them in order to generate the correct query key.
135132
const netOptions = omitNullableParameters(mergeOptions(client, apiOptionsWithPDParams))
136133
const parameters = {
137-
...pickValidParams(
138-
netOptions.parameters,
139-
ShopperExperience.paramKeys[methodName]
140-
),
134+
...pickValidParams(netOptions.parameters, ShopperExperience.paramKeys[methodName]),
141135
// Add Page Designer params after filtering - these are not officially part of the oas spec, since they are meant to be internal
142136
...(mode && {mode}),
143137
...(pdToken && {pdToken}),

packages/pwa-kit-dev/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
## v3.17.0-dev
2+
- Add Page Designer Design CSS Support
23
- Update jest, archiver and remove rimraf dependencies [#3663](https://github.com/SalesforceCommerceCloud/pwa-kit/pull/3663)
34
- Add Node 24 support, remove legacy `url` module import. Drop Node 16 support [#3652](https://github.com/SalesforceCommerceCloud/pwa-kit/pull/3652)
45

packages/template-retail-react-app/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
## v9.1.0-dev
2+
- Add Page Designer Support
23
- [Feature] Add Salesforce Payments support in checkout
34
- Update jest-fetch-mock and Jest 29 dependencies [#3663](https://github.com/SalesforceCommerceCloud/pwa-kit/pull/3663)
45
- Add Node 24 support. Drop Node 16 support [#3652](https://github.com/SalesforceCommerceCloud/pwa-kit/pull/3652)

packages/template-retail-react-app/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@
110110
},
111111
{
112112
"path": "build/vendor.js",
113-
"maxSize": "388 kB"
113+
"maxSize": "391 kB"
114114
}
115115
]
116116
}

0 commit comments

Comments
 (0)