@graphcommerce/magento-wishlist 1.7.4 → 1.7.5
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
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# @graphcommerce/magento-wishlist
|
|
2
2
|
|
|
3
|
+
## 1.7.5
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#1675](https://github.com/graphcommerce-org/graphcommerce/pull/1675) [`f2276e263`](https://github.com/graphcommerce-org/graphcommerce/commit/f2276e2639cb6d58035962c36a6a8cfc53460395) Thanks [@paales](https://github.com/paales)! - Solve issue for wishlist where not all options were set and couldn’t add the product to the wishlist
|
|
8
|
+
|
|
9
|
+
- [#1675](https://github.com/graphcommerce-org/graphcommerce/pull/1675) [`1b1504c9b`](https://github.com/graphcommerce-org/graphcommerce/commit/1b1504c9b0e51f2787bce91e1ff1940f540411d6) Thanks [@paales](https://github.com/paales)! - Added crosssel functionality
|
|
10
|
+
|
|
11
|
+
- Updated dependencies [[`9e630670f`](https://github.com/graphcommerce-org/graphcommerce/commit/9e630670ff6c952ab7b938d890b5509804985cf3), [`cf3518499`](https://github.com/graphcommerce-org/graphcommerce/commit/cf351849999ad6fe73ce2bb258098a7dd301d517), [`2e9fa5984`](https://github.com/graphcommerce-org/graphcommerce/commit/2e9fa5984a07ff14fc1b3a4f62189a26e8e3ecdd), [`adf13069a`](https://github.com/graphcommerce-org/graphcommerce/commit/adf13069af6460c960276b402237371c12fc6dec), [`1b1504c9b`](https://github.com/graphcommerce-org/graphcommerce/commit/1b1504c9b0e51f2787bce91e1ff1940f540411d6), [`8a34f8081`](https://github.com/graphcommerce-org/graphcommerce/commit/8a34f808186274a6fe1d4f309472f1a9c6d00efd), [`3dde492ad`](https://github.com/graphcommerce-org/graphcommerce/commit/3dde492ad3a49d96481eeb7453fb305d0017b1a5)]:
|
|
12
|
+
- @graphcommerce/next-ui@4.28.1
|
|
13
|
+
- @graphcommerce/graphql@3.5.0
|
|
14
|
+
- @graphcommerce/magento-cart@4.9.0
|
|
15
|
+
- @graphcommerce/magento-customer@4.12.0
|
|
16
|
+
- @graphcommerce/magento-product@4.7.3
|
|
17
|
+
- @graphcommerce/magento-product-configurable@4.3.5
|
|
18
|
+
- @graphcommerce/magento-store@4.3.2
|
|
19
|
+
- @graphcommerce/image@3.1.10
|
|
20
|
+
|
|
3
21
|
## 1.7.4
|
|
4
22
|
|
|
5
23
|
### Patch Changes
|
|
@@ -119,7 +119,7 @@ export function ProductWishlistChipBase(props: ProductWishlistChipProps) {
|
|
|
119
119
|
const handleClick: React.MouseEventHandler<HTMLButtonElement> = (e) => {
|
|
120
120
|
e.preventDefault()
|
|
121
121
|
|
|
122
|
-
const selectedOptions = addToCartForm?.getValues().cartItems[0]
|
|
122
|
+
const selectedOptions = addToCartForm?.getValues().cartItems?.[0]?.selected_options ?? []
|
|
123
123
|
const selected_options = Array.isArray(selectedOptions) ? selectedOptions : [selectedOptions]
|
|
124
124
|
|
|
125
125
|
if (!url_key || !sku) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@graphcommerce/magento-wishlist",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.5",
|
|
4
4
|
"sideEffects": false,
|
|
5
5
|
"prettier": "@graphcommerce/prettier-config-pwa",
|
|
6
6
|
"browserslist": [
|
|
@@ -19,15 +19,15 @@
|
|
|
19
19
|
"@playwright/test": "^1.21.1"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@graphcommerce/graphql": "3.
|
|
22
|
+
"@graphcommerce/graphql": "3.5.0",
|
|
23
23
|
"@graphcommerce/graphql-mesh": "4.2.0",
|
|
24
|
-
"@graphcommerce/image": "3.1.
|
|
25
|
-
"@graphcommerce/magento-cart": "4.
|
|
26
|
-
"@graphcommerce/magento-customer": "4.
|
|
27
|
-
"@graphcommerce/magento-product": "4.7.
|
|
28
|
-
"@graphcommerce/magento-product-configurable": "4.3.
|
|
29
|
-
"@graphcommerce/magento-store": "4.3.
|
|
30
|
-
"@graphcommerce/next-ui": "4.28.
|
|
24
|
+
"@graphcommerce/image": "3.1.10",
|
|
25
|
+
"@graphcommerce/magento-cart": "4.9.0",
|
|
26
|
+
"@graphcommerce/magento-customer": "4.12.0",
|
|
27
|
+
"@graphcommerce/magento-product": "4.7.3",
|
|
28
|
+
"@graphcommerce/magento-product-configurable": "4.3.5",
|
|
29
|
+
"@graphcommerce/magento-store": "4.3.2",
|
|
30
|
+
"@graphcommerce/next-ui": "4.28.1"
|
|
31
31
|
},
|
|
32
32
|
"peerDependencies": {
|
|
33
33
|
"@lingui/react": "^3.13.2",
|