@graphcommerce/magento-customer 4.9.0 → 4.9.3

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.9.3
4
+
5
+ ### Patch Changes
6
+
7
+ - [#1588](https://github.com/graphcommerce-org/graphcommerce/pull/1588) [`1be392e42`](https://github.com/graphcommerce-org/graphcommerce/commit/1be392e42241d38b0ce1862e8ba184d2b5ec23c3) Thanks [@paales](https://github.com/paales)! - Do not activate the customer session during hydration only in the next step
8
+
9
+ - Updated dependencies [[`b6d3a3c13`](https://github.com/graphcommerce-org/graphcommerce/commit/b6d3a3c13ea63ef0f691f497507f07c0e094de5b)]:
10
+ - @graphcommerce/next-ui@4.19.0
11
+ - @graphcommerce/ecommerce-ui@1.1.10
12
+ - @graphcommerce/magento-store@4.2.25
13
+
14
+ ## 4.9.2
15
+
16
+ ### Patch Changes
17
+
18
+ - Updated dependencies [[`6ce2cbaf2`](https://github.com/graphcommerce-org/graphcommerce/commit/6ce2cbaf2cf27e21b753f7cb71e7e74826294de6), [`6ce2cbaf2`](https://github.com/graphcommerce-org/graphcommerce/commit/6ce2cbaf2cf27e21b753f7cb71e7e74826294de6)]:
19
+ - @graphcommerce/graphql@3.4.5
20
+ - @graphcommerce/next-ui@4.18.0
21
+ - @graphcommerce/ecommerce-ui@1.1.9
22
+ - @graphcommerce/magento-graphql@3.1.5
23
+ - @graphcommerce/magento-store@4.2.24
24
+
25
+ ## 4.9.1
26
+
27
+ ### Patch Changes
28
+
29
+ - Updated dependencies [[`49370878a`](https://github.com/graphcommerce-org/graphcommerce/commit/49370878a48b90a4579026a7c56c54f97840cebb), [`b6ce5548c`](https://github.com/graphcommerce-org/graphcommerce/commit/b6ce5548c66a8ca62d3aee29467045f7f07f30c8)]:
30
+ - @graphcommerce/graphql@3.4.4
31
+ - @graphcommerce/next-ui@4.17.0
32
+ - @graphcommerce/ecommerce-ui@1.1.8
33
+ - @graphcommerce/magento-graphql@3.1.4
34
+ - @graphcommerce/magento-store@4.2.23
35
+
3
36
  ## 4.9.0
4
37
 
5
38
  ### Minor Changes
@@ -19,7 +19,7 @@ export type UseCustomerSessionReturn =
19
19
  export function useCustomerSession(
20
20
  options: UseCustomerSessionOptions = {},
21
21
  ): UseCustomerSessionReturn {
22
- const { hydration = true } = options
22
+ const { hydration = false } = options
23
23
  const [hydrating, setHydrating] = useState(!hydration)
24
24
 
25
25
  useIsomorphicLayoutEffect(() => startTransition(() => setHydrating(false)), [])
@@ -12,7 +12,7 @@ export type UseFormIsEmailAvailableProps = {
12
12
 
13
13
  export function useFormIsEmailAvailable(props: UseFormIsEmailAvailableProps) {
14
14
  const { email, onSubmitted } = props
15
- const { loggedIn, requireAuth } = useCustomerSession({ hydration: false })
15
+ const { loggedIn, requireAuth } = useCustomerSession()
16
16
  const customerQuery = useCustomerQuery(CustomerDocument)
17
17
 
18
18
  const form = useFormGqlQuery(
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": "4.9.0",
5
+ "version": "4.9.3",
6
6
  "sideEffects": false,
7
7
  "prettier": "@graphcommerce/prettier-config-pwa",
8
8
  "eslintConfig": {
@@ -19,14 +19,14 @@
19
19
  "type-fest": "^2.12.2"
20
20
  },
21
21
  "dependencies": {
22
- "@graphcommerce/ecommerce-ui": "1.1.7",
22
+ "@graphcommerce/ecommerce-ui": "1.1.10",
23
23
  "@graphcommerce/framer-utils": "3.1.4",
24
- "@graphcommerce/graphql": "3.4.3",
24
+ "@graphcommerce/graphql": "3.4.5",
25
25
  "@graphcommerce/graphql-mesh": "4.1.6",
26
26
  "@graphcommerce/image": "3.1.7",
27
- "@graphcommerce/magento-graphql": "3.1.3",
28
- "@graphcommerce/magento-store": "4.2.22",
29
- "@graphcommerce/next-ui": "4.16.0",
27
+ "@graphcommerce/magento-graphql": "3.1.5",
28
+ "@graphcommerce/magento-store": "4.2.25",
29
+ "@graphcommerce/next-ui": "4.19.0",
30
30
  "@graphcommerce/react-hook-form": "3.3.2"
31
31
  },
32
32
  "peerDependencies": {