@graphcommerce/magento-cart 4.7.4 → 4.8.1

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,37 @@
1
1
  # Change Log
2
2
 
3
+ ## 4.8.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [[`104103bc2`](https://github.com/graphcommerce-org/graphcommerce/commit/104103bc2a0fbaa510af2e26b6b00ddc63e8495b)]:
8
+ - @graphcommerce/next-ui@4.24.0
9
+ - @graphcommerce/ecommerce-ui@1.3.2
10
+ - @graphcommerce/framer-scroller@2.1.36
11
+ - @graphcommerce/magento-customer@4.11.1
12
+ - @graphcommerce/magento-store@4.2.33
13
+
14
+ ## 4.8.0
15
+
16
+ ### Minor Changes
17
+
18
+ - [#1630](https://github.com/graphcommerce-org/graphcommerce/pull/1630) [`8d5207288`](https://github.com/graphcommerce-org/graphcommerce/commit/8d52072887f124831ed85d28ec79998f0ce55f1c) Thanks [@mikekeehnen](https://github.com/mikekeehnen)! - Bug that caused multiple cart creations, for guest, on returning from a successful checkout
19
+
20
+ ### Patch Changes
21
+
22
+ - Updated dependencies [[`c1b8b0352`](https://github.com/graphcommerce-org/graphcommerce/commit/c1b8b03520532223f7b572ff23f1d368a4dfe306), [`662f510c2`](https://github.com/graphcommerce-org/graphcommerce/commit/662f510c21fc44a63036e5c7a0726ccb33c31600)]:
23
+ - @graphcommerce/magento-customer@4.11.0
24
+ - @graphcommerce/react-hook-form@3.3.3
25
+ - @graphcommerce/ecommerce-ui@1.3.1
26
+
27
+ ## 4.7.5
28
+
29
+ ### Patch Changes
30
+
31
+ - Updated dependencies [[`e8639ec5f`](https://github.com/graphcommerce-org/graphcommerce/commit/e8639ec5f6759504211d70a966f5c348c6b3a7f6)]:
32
+ - @graphcommerce/ecommerce-ui@1.3.0
33
+ - @graphcommerce/magento-customer@4.10.5
34
+
3
35
  ## 4.7.4
4
36
 
5
37
  ### Patch Changes
@@ -89,7 +89,7 @@ export function CartSummary(props: CartSummaryProps) {
89
89
  <SectionContainer
90
90
  variantLeft='h5'
91
91
  labelLeft={<Trans id='Confirmation + Track & trace' />}
92
- sx={{ '& .SectionHeader': { marginTop: 0, paddingBottom: '8px' } }}
92
+ sx={{ '& .SectionHeader-root': { marginTop: 0, paddingBottom: '8px' } }}
93
93
  />
94
94
  <Typography variant='body1'>{email || ''}</Typography>
95
95
  </Box>
@@ -97,7 +97,7 @@ export function CartSummary(props: CartSummaryProps) {
97
97
  <SectionContainer
98
98
  variantLeft='h5'
99
99
  labelLeft={<Trans id='Shipping method' />}
100
- sx={{ '& .SectionHeader': { marginTop: 0, paddingBottom: '8px' } }}
100
+ sx={{ '& .SectionHeader-root': { marginTop: 0, paddingBottom: '8px' } }}
101
101
  />
102
102
  <Typography variant='body1'>
103
103
  {shipping_addresses?.[0]?.selected_shipping_method?.carrier_title}
@@ -27,8 +27,7 @@ export function useCartQuery<Q, V extends { cartId: string; [index: string]: unk
27
27
  const usingUrl = allowUrl && typeof urlCartId === 'string'
28
28
  const cartId = usingUrl ? urlCartId : currentCartId
29
29
 
30
- if (usingUrl && typeof queryOptions.fetchPolicy === 'undefined')
31
- queryOptions.fetchPolicy = 'cache-only'
30
+ if (usingUrl) queryOptions.fetchPolicy = 'cache-first'
32
31
 
33
32
  if (usingUrl && typeof queryOptions.returnPartialData === 'undefined')
34
33
  queryOptions.returnPartialData = true
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.7.4",
5
+ "version": "4.8.1",
6
6
  "sideEffects": false,
7
7
  "prettier": "@graphcommerce/prettier-config-pwa",
8
8
  "eslintConfig": {
@@ -18,17 +18,17 @@
18
18
  "@playwright/test": "^1.21.1"
19
19
  },
20
20
  "dependencies": {
21
- "@graphcommerce/ecommerce-ui": "1.2.3",
21
+ "@graphcommerce/ecommerce-ui": "1.3.2",
22
22
  "@graphcommerce/framer-utils": "3.2.0",
23
23
  "@graphcommerce/framer-next-pages": "3.3.0",
24
- "@graphcommerce/framer-scroller": "2.1.35",
24
+ "@graphcommerce/framer-scroller": "2.1.36",
25
25
  "@graphcommerce/graphql": "3.4.8",
26
26
  "@graphcommerce/image": "3.1.9",
27
- "@graphcommerce/magento-customer": "4.10.4",
27
+ "@graphcommerce/magento-customer": "4.11.1",
28
28
  "@graphcommerce/magento-graphql": "3.1.8",
29
- "@graphcommerce/magento-store": "4.2.32",
30
- "@graphcommerce/next-ui": "4.23.1",
31
- "@graphcommerce/react-hook-form": "3.3.2"
29
+ "@graphcommerce/magento-store": "4.2.33",
30
+ "@graphcommerce/next-ui": "4.24.0",
31
+ "@graphcommerce/react-hook-form": "3.3.3"
32
32
  },
33
33
  "peerDependencies": {
34
34
  "@lingui/react": "^3.13.2",