@graphcommerce/react-hook-form 2.102.12 → 2.103.1
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 +17 -0
- package/package.json +5 -5
- package/src/useFormGql.tsx +1 -0
- package/src/useFormGqlMutation.tsx +1 -1
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.
|
|
3
|
+
"version": "2.103.1",
|
|
4
4
|
"sideEffects": false,
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": "14.x"
|
|
@@ -17,10 +17,10 @@
|
|
|
17
17
|
},
|
|
18
18
|
"devDependencies": {
|
|
19
19
|
"@graphcommerce/browserslist-config-pwa": "^3.0.2",
|
|
20
|
-
"@graphcommerce/eslint-config-pwa": "^3.1.
|
|
21
|
-
"@graphcommerce/prettier-config-pwa": "^3.0.
|
|
20
|
+
"@graphcommerce/eslint-config-pwa": "^3.1.4",
|
|
21
|
+
"@graphcommerce/prettier-config-pwa": "^3.0.4",
|
|
22
22
|
"@graphcommerce/typescript-config-pwa": "^3.1.1",
|
|
23
|
-
"@playwright/test": "^1.
|
|
23
|
+
"@playwright/test": "^1.16.2"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"@apollo/client": "^3.4.16",
|
|
@@ -31,5 +31,5 @@
|
|
|
31
31
|
"react-hook-form": "7.16.2",
|
|
32
32
|
"type-fest": "^2.5.1"
|
|
33
33
|
},
|
|
34
|
-
"gitHead": "
|
|
34
|
+
"gitHead": "1099718b92d4d472f32aeb6379f6167c6b550ccf"
|
|
35
35
|
}
|
package/src/useFormGql.tsx
CHANGED
|
@@ -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
|
|