@graphcommerce/magento-cart-email 10.0.0-canary.62 → 10.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,15 @@
1
1
  # Change Log
2
2
 
3
+ ## 10.0.0-canary.65
4
+
5
+ ## 10.0.0-canary.64
6
+
7
+ ### Patch Changes
8
+
9
+ - [#2551](https://github.com/graphcommerce-org/graphcommerce/pull/2551) [`d029c16`](https://github.com/graphcommerce-org/graphcommerce/commit/d029c16be3daf94d25c3389dd904adc0a55765f0) - fix(checkout): fix faulty check if email exists in the checkout; keep special characters in email on redirect to login ([@FrankHarland](https://github.com/FrankHarland))
10
+
11
+ ## 10.0.0-canary.63
12
+
3
13
  ## 10.0.0-canary.62
4
14
 
5
15
  ## 10.0.0-canary.61
@@ -54,7 +54,10 @@ const EmailFormBase = React.memo<EmailFormProps>((props) => {
54
54
 
55
55
  useFormCompose({ form, step, submit, key: 'EmailForm' })
56
56
 
57
- const showLogin = enableGuestCheckoutLogin && canLogin && isEmailAvailable.data?.isEmailAvailable
57
+ const showLogin =
58
+ enableGuestCheckoutLogin &&
59
+ canLogin &&
60
+ isEmailAvailable.data?.isEmailAvailable?.is_email_available === false
58
61
 
59
62
  return (
60
63
  <Box component='form' noValidate onSubmit={submit} sx={sx}>
@@ -70,7 +73,7 @@ const EmailFormBase = React.memo<EmailFormProps>((props) => {
70
73
  autoComplete: 'email',
71
74
  endAdornment: showLogin && (
72
75
  <Button
73
- href={`/account/signin?email=${email}`}
76
+ href={`/account/signin?email=${encodeURIComponent(email)}`}
74
77
  color='secondary'
75
78
  style={{ whiteSpace: 'nowrap' }}
76
79
  >
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@graphcommerce/magento-cart-email",
3
3
  "homepage": "https://www.graphcommerce.org/",
4
4
  "repository": "github:graphcommerce-org/graphcommerce",
5
- "version": "10.0.0-canary.62",
5
+ "version": "10.0.0-canary.65",
6
6
  "sideEffects": false,
7
7
  "prettier": "@graphcommerce/prettier-config-pwa",
8
8
  "eslintConfig": {
@@ -15,18 +15,18 @@
15
15
  ".": "./index.ts"
16
16
  },
17
17
  "peerDependencies": {
18
- "@graphcommerce/ecommerce-ui": "^10.0.0-canary.62",
19
- "@graphcommerce/eslint-config-pwa": "^10.0.0-canary.62",
20
- "@graphcommerce/graphql": "^10.0.0-canary.62",
21
- "@graphcommerce/image": "^10.0.0-canary.62",
22
- "@graphcommerce/magento-cart": "^10.0.0-canary.62",
23
- "@graphcommerce/magento-customer": "^10.0.0-canary.62",
24
- "@graphcommerce/magento-product": "^10.0.0-canary.62",
25
- "@graphcommerce/magento-store": "^10.0.0-canary.62",
26
- "@graphcommerce/next-ui": "^10.0.0-canary.62",
27
- "@graphcommerce/prettier-config-pwa": "^10.0.0-canary.62",
28
- "@graphcommerce/react-hook-form": "^10.0.0-canary.62",
29
- "@graphcommerce/typescript-config-pwa": "^10.0.0-canary.62",
18
+ "@graphcommerce/ecommerce-ui": "^10.0.0-canary.65",
19
+ "@graphcommerce/eslint-config-pwa": "^10.0.0-canary.65",
20
+ "@graphcommerce/graphql": "^10.0.0-canary.65",
21
+ "@graphcommerce/image": "^10.0.0-canary.65",
22
+ "@graphcommerce/magento-cart": "^10.0.0-canary.65",
23
+ "@graphcommerce/magento-customer": "^10.0.0-canary.65",
24
+ "@graphcommerce/magento-product": "^10.0.0-canary.65",
25
+ "@graphcommerce/magento-store": "^10.0.0-canary.65",
26
+ "@graphcommerce/next-ui": "^10.0.0-canary.65",
27
+ "@graphcommerce/prettier-config-pwa": "^10.0.0-canary.65",
28
+ "@graphcommerce/react-hook-form": "^10.0.0-canary.65",
29
+ "@graphcommerce/typescript-config-pwa": "^10.0.0-canary.65",
30
30
  "@lingui/core": "^5",
31
31
  "@lingui/macro": "^5",
32
32
  "@lingui/react": "^5",