@graphcommerce/magento-cart 4.4.4 → 4.4.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,38 @@
1
1
  # Change Log
2
2
 
3
+ ## 4.4.7
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [[`11bca2d2f`](https://github.com/graphcommerce-org/graphcommerce/commit/11bca2d2f7dbb7c5e2827c04eb0db43d4099f2fd)]:
8
+ - @graphcommerce/next-ui@4.11.1
9
+ - @graphcommerce/ecommerce-ui@1.0.22
10
+ - @graphcommerce/framer-scroller@2.1.19
11
+ - @graphcommerce/magento-customer@4.6.2
12
+ - @graphcommerce/magento-store@4.2.13
13
+
14
+ ## 4.4.6
15
+
16
+ ### Patch Changes
17
+
18
+ - [#1524](https://github.com/graphcommerce-org/graphcommerce/pull/1524) [`d140fca34`](https://github.com/graphcommerce-org/graphcommerce/commit/d140fca3463b73e761e23fd1d9216305727f0c1a) Thanks [@paales](https://github.com/paales)! - when there are no agreements, do not render anything
19
+
20
+ - Updated dependencies [[`9ec0338df`](https://github.com/graphcommerce-org/graphcommerce/commit/9ec0338dfe34d37b0f2c24e36ffa6ed13ea1145e), [`735b78672`](https://github.com/graphcommerce-org/graphcommerce/commit/735b786724d5401cbe6e88f2515e121a1a0945b2)]:
21
+ - @graphcommerce/next-ui@4.11.0
22
+ - @graphcommerce/magento-store@4.2.12
23
+ - @graphcommerce/graphql@3.3.0
24
+ - @graphcommerce/ecommerce-ui@1.0.21
25
+ - @graphcommerce/framer-scroller@2.1.18
26
+ - @graphcommerce/magento-customer@4.6.1
27
+ - @graphcommerce/magento-graphql@3.0.15
28
+
29
+ ## 4.4.5
30
+
31
+ ### Patch Changes
32
+
33
+ - Updated dependencies [[`98ff2334d`](https://github.com/graphcommerce-org/graphcommerce/commit/98ff2334d1b7dedb8bc56ebe6abb50836eefedd3)]:
34
+ - @graphcommerce/magento-customer@4.6.0
35
+
3
36
  ## 4.4.4
4
37
 
5
38
  ### Patch Changes
@@ -53,6 +53,8 @@ export function CartAgreementsForm(props: CartAgreementsFormProps) {
53
53
 
54
54
  useFormCompose({ form, step, submit, key: 'PaymentAgreementsForm' })
55
55
 
56
+ if (data?.checkoutAgreements?.length === 0) return null
57
+
56
58
  return (
57
59
  <FormDiv
58
60
  className={classes.form}
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@graphcommerce/magento-cart",
3
3
  "homepage": "https://www.graphcommerce.org/",
4
4
  "repository": "github:graphcommerce-org/graphcommerce",
5
- "version": "4.4.4",
5
+ "version": "4.4.7",
6
6
  "sideEffects": false,
7
7
  "prettier": "@graphcommerce/prettier-config-pwa",
8
8
  "eslintConfig": {
@@ -18,15 +18,15 @@
18
18
  "@playwright/test": "^1.21.1"
19
19
  },
20
20
  "dependencies": {
21
- "@graphcommerce/ecommerce-ui": "1.0.20",
21
+ "@graphcommerce/ecommerce-ui": "1.0.22",
22
22
  "@graphcommerce/framer-next-pages": "3.2.3",
23
- "@graphcommerce/framer-scroller": "2.1.17",
24
- "@graphcommerce/graphql": "3.2.1",
23
+ "@graphcommerce/framer-scroller": "2.1.19",
24
+ "@graphcommerce/graphql": "3.3.0",
25
25
  "@graphcommerce/image": "3.1.7",
26
- "@graphcommerce/magento-customer": "4.5.4",
27
- "@graphcommerce/magento-graphql": "3.0.14",
28
- "@graphcommerce/magento-store": "4.2.11",
29
- "@graphcommerce/next-ui": "4.10.0",
26
+ "@graphcommerce/magento-customer": "4.6.2",
27
+ "@graphcommerce/magento-graphql": "3.0.15",
28
+ "@graphcommerce/magento-store": "4.2.13",
29
+ "@graphcommerce/next-ui": "4.11.1",
30
30
  "@graphcommerce/react-hook-form": "3.2.2"
31
31
  },
32
32
  "peerDependencies": {