@graphcommerce/magento-customer 9.0.0-canary.64 → 9.0.0-canary.65

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,11 @@
1
1
  # Change Log
2
2
 
3
+ ## 9.0.0-canary.65
4
+
5
+ ### Patch Changes
6
+
7
+ - [#2333](https://github.com/graphcommerce-org/graphcommerce/pull/2333) [`03c28ab`](https://github.com/graphcommerce-org/graphcommerce/commit/03c28ab342bca3179b7ce1650fa7c16df1119a86) - Avoid displaying 'undefined' for countryName or regionName ([@carlocarels90](https://github.com/carlocarels90))
8
+
3
9
  ## 9.0.0-canary.64
4
10
 
5
11
  ## 9.0.0-canary.63
@@ -15,8 +15,8 @@ export function AddressSingleLine(props: CustomerAddressFragment) {
15
15
  postcode,
16
16
  country_code,
17
17
  } = props
18
- const countryName = useFindCountry(country_code)?.full_name_locale
19
- const regionName = typeof region === 'string' ? region : region?.region
18
+ const countryName = useFindCountry(country_code)?.full_name_locale ?? ''
19
+ const regionName = typeof region === 'string' ? region : region?.region || ''
20
20
 
21
21
  // todo: detect correct format by locale
22
22
  // for now, US format will be returned by default
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": "9.0.0-canary.64",
5
+ "version": "9.0.0-canary.65",
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": "^9.0.0-canary.64",
16
- "@graphcommerce/eslint-config-pwa": "^9.0.0-canary.64",
17
- "@graphcommerce/framer-next-pages": "^9.0.0-canary.64",
18
- "@graphcommerce/framer-utils": "^9.0.0-canary.64",
19
- "@graphcommerce/graphql": "^9.0.0-canary.64",
20
- "@graphcommerce/graphql-mesh": "^9.0.0-canary.64",
21
- "@graphcommerce/image": "^9.0.0-canary.64",
22
- "@graphcommerce/magento-graphql": "^9.0.0-canary.64",
23
- "@graphcommerce/magento-store": "^9.0.0-canary.64",
24
- "@graphcommerce/next-ui": "^9.0.0-canary.64",
25
- "@graphcommerce/prettier-config-pwa": "^9.0.0-canary.64",
26
- "@graphcommerce/react-hook-form": "^9.0.0-canary.64",
27
- "@graphcommerce/typescript-config-pwa": "^9.0.0-canary.64",
15
+ "@graphcommerce/ecommerce-ui": "^9.0.0-canary.65",
16
+ "@graphcommerce/eslint-config-pwa": "^9.0.0-canary.65",
17
+ "@graphcommerce/framer-next-pages": "^9.0.0-canary.65",
18
+ "@graphcommerce/framer-utils": "^9.0.0-canary.65",
19
+ "@graphcommerce/graphql": "^9.0.0-canary.65",
20
+ "@graphcommerce/graphql-mesh": "^9.0.0-canary.65",
21
+ "@graphcommerce/image": "^9.0.0-canary.65",
22
+ "@graphcommerce/magento-graphql": "^9.0.0-canary.65",
23
+ "@graphcommerce/magento-store": "^9.0.0-canary.65",
24
+ "@graphcommerce/next-ui": "^9.0.0-canary.65",
25
+ "@graphcommerce/prettier-config-pwa": "^9.0.0-canary.65",
26
+ "@graphcommerce/react-hook-form": "^9.0.0-canary.65",
27
+ "@graphcommerce/typescript-config-pwa": "^9.0.0-canary.65",
28
28
  "@lingui/core": "^4.2.1",
29
29
  "@lingui/macro": "^4.2.1",
30
30
  "@lingui/react": "^4.2.1",