@graphcommerce/magento-customer 8.0.2 → 8.0.3-canary.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,14 @@
1
1
  # Change Log
2
2
 
3
+ ## 8.0.3-canary.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [#2207](https://github.com/graphcommerce-org/graphcommerce/pull/2207) [`4d7594c`](https://github.com/graphcommerce-org/graphcommerce/commit/4d7594ca2174f74bfa9f66a464b77b3fd04f3560) - After changing the default shipping or billing address in the account section other address would not properly update
8
+ ([@paales](https://github.com/paales))
9
+
10
+ ## 8.0.3-canary.0
11
+
3
12
  ## 8.0.2
4
13
 
5
14
  ### Patch Changes
@@ -26,7 +26,7 @@ export function UpdateDefaultAddressForm(props: UpdateDefaultAddressFormProps) {
26
26
  const form = useFormGqlMutation(
27
27
  UpdateDefaultAddressDocument,
28
28
  { mode: 'onChange', defaultValues },
29
- { errorPolicy: 'all' },
29
+ { errorPolicy: 'all', refetchQueries: ['AccountDashboardAddresses'] },
30
30
  )
31
31
 
32
32
  const { handleSubmit, control, error, reset, formState } = form
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@graphcommerce/magento-customer",
3
3
  "homepage": "https://www.graphcommerce.org/",
4
4
  "repository": "github:graphcommerce-org/graphcommerce",
5
- "version": "8.0.2",
5
+ "version": "8.0.3-canary.1",
6
6
  "sideEffects": false,
7
7
  "prettier": "@graphcommerce/prettier-config-pwa",
8
8
  "eslintConfig": {
@@ -12,19 +12,19 @@
12
12
  }
13
13
  },
14
14
  "peerDependencies": {
15
- "@graphcommerce/ecommerce-ui": "^8.0.2",
16
- "@graphcommerce/eslint-config-pwa": "^8.0.2",
17
- "@graphcommerce/framer-next-pages": "^8.0.2",
18
- "@graphcommerce/framer-utils": "^8.0.2",
19
- "@graphcommerce/graphql": "^8.0.2",
20
- "@graphcommerce/graphql-mesh": "^8.0.2",
21
- "@graphcommerce/image": "^8.0.2",
22
- "@graphcommerce/magento-graphql": "^8.0.2",
23
- "@graphcommerce/magento-store": "^8.0.2",
24
- "@graphcommerce/next-ui": "^8.0.2",
25
- "@graphcommerce/prettier-config-pwa": "^8.0.2",
26
- "@graphcommerce/react-hook-form": "^8.0.2",
27
- "@graphcommerce/typescript-config-pwa": "^8.0.2",
15
+ "@graphcommerce/ecommerce-ui": "^8.0.3-canary.1",
16
+ "@graphcommerce/eslint-config-pwa": "^8.0.3-canary.1",
17
+ "@graphcommerce/framer-next-pages": "^8.0.3-canary.1",
18
+ "@graphcommerce/framer-utils": "^8.0.3-canary.1",
19
+ "@graphcommerce/graphql": "^8.0.3-canary.1",
20
+ "@graphcommerce/graphql-mesh": "^8.0.3-canary.1",
21
+ "@graphcommerce/image": "^8.0.3-canary.1",
22
+ "@graphcommerce/magento-graphql": "^8.0.3-canary.1",
23
+ "@graphcommerce/magento-store": "^8.0.3-canary.1",
24
+ "@graphcommerce/next-ui": "^8.0.3-canary.1",
25
+ "@graphcommerce/prettier-config-pwa": "^8.0.3-canary.1",
26
+ "@graphcommerce/react-hook-form": "^8.0.3-canary.1",
27
+ "@graphcommerce/typescript-config-pwa": "^8.0.3-canary.1",
28
28
  "@lingui/core": "^4.2.1",
29
29
  "@lingui/macro": "^4.2.1",
30
30
  "@lingui/react": "^4.2.1",