@graphcommerce/magento-customer 4.9.2 → 4.9.5

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,41 @@
1
1
  # Change Log
2
2
 
3
+ ## 4.9.5
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [[`1f7ee6f6c`](https://github.com/graphcommerce-org/graphcommerce/commit/1f7ee6f6cfb28544439ed36e10929ac530d1b2b7), [`707dbc73d`](https://github.com/graphcommerce-org/graphcommerce/commit/707dbc73d181204d88fdbbd2e09340e25b2b5f7b), [`5c5645e6e`](https://github.com/graphcommerce-org/graphcommerce/commit/5c5645e6eaf5314c063f05547707fcd4b34a8717)]:
8
+ - @graphcommerce/next-ui@4.21.0
9
+ - @graphcommerce/framer-utils@3.1.5
10
+ - @graphcommerce/graphql@3.4.6
11
+ - @graphcommerce/graphql-mesh@4.1.7
12
+ - @graphcommerce/ecommerce-ui@1.1.12
13
+ - @graphcommerce/magento-store@4.2.27
14
+ - @graphcommerce/image@3.1.8
15
+ - @graphcommerce/magento-graphql@3.1.6
16
+
17
+ ## 4.9.4
18
+
19
+ ### Patch Changes
20
+
21
+ - [#1596](https://github.com/graphcommerce-org/graphcommerce/pull/1596) [`3a619b70d`](https://github.com/graphcommerce-org/graphcommerce/commit/3a619b70d082804b8de46a8e8232f9431479a8b7) Thanks [@paales](https://github.com/paales)! - Do not activate the customer session during hydration only in the next step
22
+
23
+ - Updated dependencies [[`43822fd61`](https://github.com/graphcommerce-org/graphcommerce/commit/43822fd61c949215b8ddce9fb37d09f29b638426), [`3a619b70d`](https://github.com/graphcommerce-org/graphcommerce/commit/3a619b70d082804b8de46a8e8232f9431479a8b7)]:
24
+ - @graphcommerce/next-ui@4.20.0
25
+ - @graphcommerce/ecommerce-ui@1.1.11
26
+ - @graphcommerce/magento-store@4.2.26
27
+
28
+ ## 4.9.3
29
+
30
+ ### Patch Changes
31
+
32
+ - [#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
33
+
34
+ - Updated dependencies [[`b6d3a3c13`](https://github.com/graphcommerce-org/graphcommerce/commit/b6d3a3c13ea63ef0f691f497507f07c0e094de5b)]:
35
+ - @graphcommerce/next-ui@4.19.0
36
+ - @graphcommerce/ecommerce-ui@1.1.10
37
+ - @graphcommerce/magento-store@4.2.25
38
+
3
39
  ## 4.9.2
4
40
 
5
41
  ### Patch 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.2",
5
+ "version": "4.9.5",
6
6
  "sideEffects": false,
7
7
  "prettier": "@graphcommerce/prettier-config-pwa",
8
8
  "eslintConfig": {
@@ -12,21 +12,21 @@
12
12
  }
13
13
  },
14
14
  "devDependencies": {
15
- "@graphcommerce/eslint-config-pwa": "^4.1.9",
15
+ "@graphcommerce/eslint-config-pwa": "^4.1.10",
16
16
  "@graphcommerce/prettier-config-pwa": "^4.0.6",
17
17
  "@graphcommerce/typescript-config-pwa": "^4.0.4",
18
18
  "@playwright/test": "^1.21.1",
19
19
  "type-fest": "^2.12.2"
20
20
  },
21
21
  "dependencies": {
22
- "@graphcommerce/ecommerce-ui": "1.1.9",
23
- "@graphcommerce/framer-utils": "3.1.4",
24
- "@graphcommerce/graphql": "3.4.5",
25
- "@graphcommerce/graphql-mesh": "4.1.6",
26
- "@graphcommerce/image": "3.1.7",
27
- "@graphcommerce/magento-graphql": "3.1.5",
28
- "@graphcommerce/magento-store": "4.2.24",
29
- "@graphcommerce/next-ui": "4.18.0",
22
+ "@graphcommerce/ecommerce-ui": "1.1.12",
23
+ "@graphcommerce/framer-utils": "3.1.5",
24
+ "@graphcommerce/graphql": "3.4.6",
25
+ "@graphcommerce/graphql-mesh": "4.1.7",
26
+ "@graphcommerce/image": "3.1.8",
27
+ "@graphcommerce/magento-graphql": "3.1.6",
28
+ "@graphcommerce/magento-store": "4.2.27",
29
+ "@graphcommerce/next-ui": "4.21.0",
30
30
  "@graphcommerce/react-hook-form": "3.3.2"
31
31
  },
32
32
  "peerDependencies": {