@graphcommerce/magento-wishlist 1.3.6 → 1.3.7

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,18 @@
1
1
  # @graphcommerce/magento-wishlist
2
2
 
3
+ ## 1.3.7
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [[`5f927ebdc`](https://github.com/graphcommerce-org/graphcommerce/commit/5f927ebdc6f0331833e02b96e4f169bfe475ac6b), [`c87a28e7d`](https://github.com/graphcommerce-org/graphcommerce/commit/c87a28e7dad87bffd0bd125ad5fdca65aaa389cc), [`c756f42e5`](https://github.com/graphcommerce-org/graphcommerce/commit/c756f42e503761a497e4a5a7a02d02141df231c3)]:
8
+ - @graphcommerce/graphql@3.4.0
9
+ - @graphcommerce/magento-cart@4.5.0
10
+ - @graphcommerce/magento-customer@4.7.0
11
+ - @graphcommerce/next-ui@4.12.0
12
+ - @graphcommerce/magento-product@4.4.13
13
+ - @graphcommerce/magento-product-configurable@4.1.20
14
+ - @graphcommerce/magento-store@4.2.15
15
+
3
16
  ## 1.3.6
4
17
 
5
18
  ### Patch Changes
@@ -74,7 +74,15 @@ export function WishlistFab(props: WishlistFabProps) {
74
74
  activeWishlist = wishlist.length > 0
75
75
  }
76
76
 
77
- if (!isWishlistEnabled || hideForGuest) return null
77
+ if (!isWishlistEnabled) return null
78
+
79
+ if (hideForGuest) {
80
+ return (
81
+ <NoSsr fallback={null}>
82
+ <WishlistFabContent {...props} activeWishlist={activeWishlist} />
83
+ </NoSsr>
84
+ )
85
+ }
78
86
 
79
87
  return (
80
88
  <NoSsr fallback={<WishlistFabContent {...props} activeWishlist={false} />}>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@graphcommerce/magento-wishlist",
3
- "version": "1.3.6",
3
+ "version": "1.3.7",
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.3.0",
22
+ "@graphcommerce/graphql": "3.4.0",
23
23
  "@graphcommerce/graphql-mesh": "4.1.4",
24
24
  "@graphcommerce/image": "3.1.7",
25
- "@graphcommerce/magento-cart": "4.4.8",
26
- "@graphcommerce/magento-customer": "4.6.3",
27
- "@graphcommerce/magento-product": "4.4.12",
28
- "@graphcommerce/magento-product-configurable": "4.1.19",
29
- "@graphcommerce/magento-store": "4.2.14",
30
- "@graphcommerce/next-ui": "4.11.2"
25
+ "@graphcommerce/magento-cart": "4.5.0",
26
+ "@graphcommerce/magento-customer": "4.7.0",
27
+ "@graphcommerce/magento-product": "4.4.13",
28
+ "@graphcommerce/magento-product-configurable": "4.1.20",
29
+ "@graphcommerce/magento-store": "4.2.15",
30
+ "@graphcommerce/next-ui": "4.12.0"
31
31
  },
32
32
  "peerDependencies": {
33
33
  "@lingui/react": "^3.13.2",