@graphcommerce/react-hook-form 2.102.14 → 2.103.0

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
@@ -3,6 +3,23 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [2.103.0](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/react-hook-form@2.102.14...@graphcommerce/react-hook-form@2.103.0) (2021-11-03)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * add x-recaptcha header to apollo link context when using mutations ([380fe52](https://github.com/ho-nl/m2-pwa/commit/380fe52ebd283df034d8a2c6a4f6a3713955bdd3))
12
+ * **use-form-gql:** context type ([f355495](https://github.com/ho-nl/m2-pwa/commit/f3554951697fe394a76dd75ecf119f038f8d9bbc))
13
+
14
+
15
+ ### Features
16
+
17
+ * google recaptcha v3 integration ([a9fcc16](https://github.com/ho-nl/m2-pwa/commit/a9fcc16f93951e61378c99a2e183e2d754da1d50))
18
+
19
+
20
+
21
+
22
+
6
23
  ## [2.102.1](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/react-hook-form@2.102.0...@graphcommerce/react-hook-form@2.102.1) (2021-09-27)
7
24
 
8
25
  **Note:** Version bump only for package @graphcommerce/react-hook-form
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@graphcommerce/react-hook-form",
3
- "version": "2.102.14",
3
+ "version": "2.103.0",
4
4
  "sideEffects": false,
5
5
  "engines": {
6
6
  "node": "14.x"
@@ -31,5 +31,5 @@
31
31
  "react-hook-form": "7.16.2",
32
32
  "type-fest": "^2.5.1"
33
33
  },
34
- "gitHead": "b6321b8f479a0ef6e4b1b543702158d964bbeac6"
34
+ "gitHead": "7aca802dd74632aa2f474eae2d93bd563490fd90"
35
35
  }
@@ -5,6 +5,7 @@ import {
5
5
  useApolloClient,
6
6
  MutationTuple,
7
7
  ApolloError,
8
+ GraphQLRequest,
8
9
  } from '@apollo/client'
9
10
  import { UseFormProps, UseFormReturn, UnpackNestedValue, DeepPartial } from 'react-hook-form'
10
11
  import diff from './diff'
@@ -6,7 +6,7 @@ import { useFormValidFields, UseFormValidReturn } from './useFormValidFields'
6
6
 
7
7
  export type UseFormGqlMutationReturn<
8
8
  Q extends Record<string, any> = Record<string, any>,
9
- V extends Record<string, any> = Record<string, any>
9
+ V extends Record<string, any> = Record<string, any>,
10
10
  > = UseFormGqlMethods<Q, V> &
11
11
  UseFormReturn<V> & { muiRegister: UseMuiFormRegister<V>; valid: UseFormValidReturn<V> }
12
12