@salesforce/retail-react-app 4.0.1 → 4.0.2
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 +3 -0
- package/app/pages/account/wishlist/index.jsx +7 -2
- package/app/ssr.js +9 -1
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
## v4.0.2 (Oct 2, 2024)
|
|
2
|
+
- Fixed a bug that incorrectly imports uninstalled package `@chakra-ui/layout` [#2047](https://github.com/SalesforceCommerceCloud/pwa-kit/pull/2047)
|
|
3
|
+
|
|
1
4
|
## v4.0.1 (Sept 4, 2024)
|
|
2
5
|
- Updated @salesforce/commerce-sdk-react to 3.0.1 to fix an issue with the expires attribute of cookies, ensuring it uses seconds instead of days [#1994](https://github.com/SalesforceCommerceCloud/pwa-kit/pull/1994)
|
|
3
6
|
|
|
@@ -5,9 +5,14 @@
|
|
|
5
5
|
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/BSD-3-Clause
|
|
6
6
|
*/
|
|
7
7
|
import React, {useState, useEffect, useRef} from 'react'
|
|
8
|
-
import {Stack, Heading} from '@chakra-ui/layout'
|
|
9
8
|
import {FormattedMessage, useIntl} from 'react-intl'
|
|
10
|
-
import {
|
|
9
|
+
import {
|
|
10
|
+
Box,
|
|
11
|
+
Flex,
|
|
12
|
+
Skeleton,
|
|
13
|
+
Heading,
|
|
14
|
+
Stack
|
|
15
|
+
} from '@salesforce/retail-react-app/app/components/shared/ui'
|
|
11
16
|
import {useProducts, useShopperCustomersMutation} from '@salesforce/commerce-sdk-react'
|
|
12
17
|
|
|
13
18
|
import useNavigation from '@salesforce/retail-react-app/app/hooks/use-navigation'
|
package/app/ssr.js
CHANGED
|
@@ -45,7 +45,15 @@ const options = {
|
|
|
45
45
|
// Set this to false if using a SLAS public client
|
|
46
46
|
// When setting this to true, make sure to also set the PWA_KIT_SLAS_CLIENT_SECRET
|
|
47
47
|
// environment variable as this endpoint will return HTTP 501 if it is not set
|
|
48
|
-
useSLASPrivateClient: false
|
|
48
|
+
useSLASPrivateClient: false,
|
|
49
|
+
|
|
50
|
+
// If this is enabled, any HTTP header that has a non ASCII value will be URI encoded
|
|
51
|
+
// If there any HTTP headers that have been encoded, an additional header will be
|
|
52
|
+
// passed, `x-encoded-headers`, containing a comma separated list
|
|
53
|
+
// of the keys of headers that have been encoded
|
|
54
|
+
// There may be a slight performance loss with requests/responses with large number
|
|
55
|
+
// of headers as we loop through all the headers to verify ASCII vs non ASCII
|
|
56
|
+
encodeNonAsciiHttpHeaders: true
|
|
49
57
|
}
|
|
50
58
|
|
|
51
59
|
const runtime = getRuntime()
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/retail-react-app",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.2",
|
|
4
4
|
"license": "See license in LICENSE",
|
|
5
5
|
"author": "cc-pwa-kit@salesforce.com",
|
|
6
6
|
"ccExtensibility": {
|
|
@@ -46,9 +46,9 @@
|
|
|
46
46
|
"@loadable/component": "^5.15.3",
|
|
47
47
|
"@peculiar/webcrypto": "^1.4.2",
|
|
48
48
|
"@salesforce/commerce-sdk-react": "3.0.1",
|
|
49
|
-
"@salesforce/pwa-kit-dev": "3.7.
|
|
50
|
-
"@salesforce/pwa-kit-react-sdk": "3.7.
|
|
51
|
-
"@salesforce/pwa-kit-runtime": "3.7.
|
|
49
|
+
"@salesforce/pwa-kit-dev": "3.7.1",
|
|
50
|
+
"@salesforce/pwa-kit-react-sdk": "3.7.1",
|
|
51
|
+
"@salesforce/pwa-kit-runtime": "3.7.1",
|
|
52
52
|
"@tanstack/react-query": "^4.28.0",
|
|
53
53
|
"@tanstack/react-query-devtools": "^4.29.1",
|
|
54
54
|
"@testing-library/dom": "^9.0.1",
|
|
@@ -100,5 +100,5 @@
|
|
|
100
100
|
"maxSize": "320 kB"
|
|
101
101
|
}
|
|
102
102
|
],
|
|
103
|
-
"gitHead": "
|
|
103
|
+
"gitHead": "9dde49caa598178c7a8dd406966f0d635fa8102c"
|
|
104
104
|
}
|