@graphcommerce/magento-cart 4.4.3 → 4.4.6

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.6
4
+
5
+ ### Patch Changes
6
+
7
+ - [#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
8
+
9
+ - Updated dependencies [[`9ec0338df`](https://github.com/graphcommerce-org/graphcommerce/commit/9ec0338dfe34d37b0f2c24e36ffa6ed13ea1145e), [`735b78672`](https://github.com/graphcommerce-org/graphcommerce/commit/735b786724d5401cbe6e88f2515e121a1a0945b2)]:
10
+ - @graphcommerce/next-ui@4.11.0
11
+ - @graphcommerce/magento-store@4.2.12
12
+ - @graphcommerce/graphql@3.3.0
13
+ - @graphcommerce/ecommerce-ui@1.0.21
14
+ - @graphcommerce/framer-scroller@2.1.18
15
+ - @graphcommerce/magento-customer@4.6.1
16
+ - @graphcommerce/magento-graphql@3.0.15
17
+
18
+ ## 4.4.5
19
+
20
+ ### Patch Changes
21
+
22
+ - Updated dependencies [[`98ff2334d`](https://github.com/graphcommerce-org/graphcommerce/commit/98ff2334d1b7dedb8bc56ebe6abb50836eefedd3)]:
23
+ - @graphcommerce/magento-customer@4.6.0
24
+
25
+ ## 4.4.4
26
+
27
+ ### Patch Changes
28
+
29
+ - Updated dependencies [[`c877e438a`](https://github.com/graphcommerce-org/graphcommerce/commit/c877e438a48f30204fa3e36b611906a546e1cf5c), [`371e6cf52`](https://github.com/graphcommerce-org/graphcommerce/commit/371e6cf52916a3b6c44192bd40cc8271bd608832), [`4143483f3`](https://github.com/graphcommerce-org/graphcommerce/commit/4143483f37c038d2bbf218be2685e27a31a35745)]:
30
+ - @graphcommerce/magento-customer@4.5.4
31
+ - @graphcommerce/next-ui@4.10.0
32
+ - @graphcommerce/ecommerce-ui@1.0.20
33
+ - @graphcommerce/framer-scroller@2.1.17
34
+ - @graphcommerce/magento-store@4.2.11
35
+
3
36
  ## 4.4.3
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.3",
5
+ "version": "4.4.6",
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.19",
21
+ "@graphcommerce/ecommerce-ui": "1.0.21",
22
22
  "@graphcommerce/framer-next-pages": "3.2.3",
23
- "@graphcommerce/framer-scroller": "2.1.16",
24
- "@graphcommerce/graphql": "3.2.1",
23
+ "@graphcommerce/framer-scroller": "2.1.18",
24
+ "@graphcommerce/graphql": "3.3.0",
25
25
  "@graphcommerce/image": "3.1.7",
26
- "@graphcommerce/magento-customer": "4.5.3",
27
- "@graphcommerce/magento-graphql": "3.0.14",
28
- "@graphcommerce/magento-store": "4.2.10",
29
- "@graphcommerce/next-ui": "4.9.0",
26
+ "@graphcommerce/magento-customer": "4.6.1",
27
+ "@graphcommerce/magento-graphql": "3.0.15",
28
+ "@graphcommerce/magento-store": "4.2.12",
29
+ "@graphcommerce/next-ui": "4.11.0",
30
30
  "@graphcommerce/react-hook-form": "3.2.2"
31
31
  },
32
32
  "peerDependencies": {