@graphcommerce/googlerecaptcha 7.0.0-canary.21 → 7.0.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
@@ -1,6 +1,176 @@
1
1
  # Change Log
2
2
 
3
- ## 7.0.0-canary.21
3
+ ## 7.0.0
4
+
5
+ ### Patch Changes
6
+
7
+ - [`b72968c0f`](https://github.com/graphcommerce-org/graphcommerce/commit/b72968c0f1a33309d1ebd8e9e7d381b63af61d7c) - Prevent circular dependency between @graphcommerce/googlerecaptcha and @graphcommerce/graphql ([@Giovanni-Schroevers](https://github.com/Giovanni-Schroevers))
8
+
9
+ - [#1957](https://github.com/graphcommerce-org/graphcommerce/pull/1957) [`cb3c82163`](https://github.com/graphcommerce-org/graphcommerce/commit/cb3c82163c32768f977b85c21b029ead354847af) - Docs were directly applied to the config.md which is autogenerated ([@paales](https://github.com/paales))
10
+
11
+ ## 6.2.0-canary.98
12
+
13
+ ## 6.2.0-canary.97
14
+
15
+ ## 6.2.0-canary.96
16
+
17
+ ## 6.2.0-canary.95
18
+
19
+ ## 6.2.0-canary.94
20
+
21
+ ## 6.2.0-canary.93
22
+
23
+ ## 6.2.0-canary.92
24
+
25
+ ## 6.2.0-canary.91
26
+
27
+ ## 6.2.0-canary.90
28
+
29
+ ## 6.2.0-canary.89
30
+
31
+ ## 6.2.0-canary.88
32
+
33
+ ## 6.2.0-canary.87
34
+
35
+ ## 6.2.0-canary.86
36
+
37
+ ## 6.2.0-canary.85
38
+
39
+ ## 6.2.0-canary.84
40
+
41
+ ## 6.2.0-canary.83
42
+
43
+ ## 6.2.0-canary.82
44
+
45
+ ## 6.2.0-canary.81
46
+
47
+ ## 6.2.0-canary.80
48
+
49
+ ## 6.2.0-canary.79
50
+
51
+ ## 6.2.0-canary.78
52
+
53
+ ## 6.2.0-canary.77
54
+
55
+ ## 6.2.0-canary.76
56
+
57
+ ## 6.2.0-canary.75
58
+
59
+ ## 6.2.0-canary.74
60
+
61
+ ## 6.2.0-canary.73
62
+
63
+ ## 6.2.0-canary.72
64
+
65
+ ## 6.2.0-canary.71
66
+
67
+ ## 6.2.0-canary.70
68
+
69
+ ## 6.2.0-canary.69
70
+
71
+ ## 6.2.0-canary.68
72
+
73
+ ## 6.2.0-canary.67
74
+
75
+ ## 6.2.0-canary.66
76
+
77
+ ## 6.2.0-canary.65
78
+
79
+ ## 6.2.0-canary.64
80
+
81
+ ## 6.2.0-canary.63
82
+
83
+ ## 6.2.0-canary.62
84
+
85
+ ## 6.2.0-canary.61
86
+
87
+ ## 6.2.0-canary.60
88
+
89
+ ## 6.2.0-canary.59
90
+
91
+ ## 6.2.0-canary.58
92
+
93
+ ## 6.2.0-canary.57
94
+
95
+ ## 6.2.0-canary.56
96
+
97
+ ## 6.2.0-canary.55
98
+
99
+ ## 6.2.0-canary.54
100
+
101
+ ## 6.2.0-canary.53
102
+
103
+ ## 6.2.0-canary.52
104
+
105
+ ## 6.2.0-canary.51
106
+
107
+ ## 6.2.0-canary.50
108
+
109
+ ## 6.2.0-canary.49
110
+
111
+ ## 6.2.0-canary.48
112
+
113
+ ## 6.2.0-canary.47
114
+
115
+ ## 6.2.0-canary.46
116
+
117
+ ## 6.2.0-canary.45
118
+
119
+ ## 6.2.0-canary.44
120
+
121
+ ### Patch Changes
122
+
123
+ - [`b72968c0f`](https://github.com/graphcommerce-org/graphcommerce/commit/b72968c0f1a33309d1ebd8e9e7d381b63af61d7c) - Prevent circular dependency between @graphcommerce/googlerecaptcha and @graphcommerce/graphql ([@Giovanni-Schroevers](https://github.com/Giovanni-Schroevers))
124
+
125
+ ## 6.2.0-canary.43
126
+
127
+ ## 6.2.0-canary.42
128
+
129
+ ## 6.2.0-canary.41
130
+
131
+ ## 6.2.0-canary.40
132
+
133
+ ## 6.2.0-canary.39
134
+
135
+ ### Patch Changes
136
+
137
+ - [#1957](https://github.com/graphcommerce-org/graphcommerce/pull/1957) [`cb3c82163`](https://github.com/graphcommerce-org/graphcommerce/commit/cb3c82163c32768f977b85c21b029ead354847af) - Docs were directly applied to the config.md which is autogenerated ([@paales](https://github.com/paales))
138
+
139
+ ## 6.2.0-canary.38
140
+
141
+ ## 6.2.0-canary.37
142
+
143
+ ## 6.2.0-canary.36
144
+
145
+ ## 6.2.0-canary.35
146
+
147
+ ## 6.2.0-canary.34
148
+
149
+ ## 6.2.0-canary.33
150
+
151
+ ## 6.2.0-canary.32
152
+
153
+ ## 6.2.0-canary.31
154
+
155
+ ## 6.2.0-canary.30
156
+
157
+ ## 6.2.0-canary.29
158
+
159
+ ## 6.2.0-canary.28
160
+
161
+ ## 6.2.0-canary.27
162
+
163
+ ## 6.2.0-canary.26
164
+
165
+ ## 6.2.0-canary.25
166
+
167
+ ## 6.2.0-canary.24
168
+
169
+ ## 6.2.0-canary.23
170
+
171
+ ## 6.2.0-canary.22
172
+
173
+ ## 6.2.0-canary.21
4
174
 
5
175
  ## 6.2.0-canary.20
6
176
 
package/Config.graphqls CHANGED
@@ -1,8 +1,12 @@
1
1
  extend input GraphCommerceConfig {
2
2
  """
3
- Google reCAPTCHA key, get from https://developers.google.com/recaptcha/docs/v3
3
+ Google reCAPTCHA site key.
4
+ When using reCAPTCHA, this value is required, even if you are configuring different values for each locale.
4
5
 
5
- This value is required even if you are configuring different values for each locale.
6
+ Get a site key and a secret key from https://developers.google.com/recaptcha/docs/v3
7
+
8
+ The secret key should be added in the Magento admin panel (Stores > Configuration > Security > Google ReCAPTCHA Storefront > reCAPTCHA v3 Invisible)
9
+ ReCAPTCHA can then be enabled/disabled for the different forms, separately (Stores > Configuration > Security > Google ReCAPTCHA Storefront > Storefront)
6
10
  """
7
11
  googleRecaptchaKey: String
8
12
  }
@@ -1,4 +1,5 @@
1
- import { GraphQLRequest, setContext } from '@graphcommerce/graphql'
1
+ import { GraphQLRequest } from '@graphcommerce/graphql'
2
+ import { setContext } from '@graphcommerce/graphql/apollo'
2
3
 
3
4
  const isMutation = (operation: GraphQLRequest) =>
4
5
  operation.query.definitions.some(
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@graphcommerce/googlerecaptcha",
3
3
  "homepage": "https://www.graphcommerce.org/",
4
4
  "repository": "github:graphcommerce-org/graphcommerce",
5
- "version": "7.0.0-canary.21",
5
+ "version": "7.0.0",
6
6
  "sideEffects": false,
7
7
  "prettier": "@graphcommerce/prettier-config-pwa",
8
8
  "eslintConfig": {
@@ -12,14 +12,14 @@
12
12
  }
13
13
  },
14
14
  "devDependencies": {
15
- "@graphcommerce/eslint-config-pwa": "7.0.0-canary.21",
16
- "@graphcommerce/prettier-config-pwa": "7.0.0-canary.21",
17
- "@graphcommerce/typescript-config-pwa": "7.0.0-canary.21",
15
+ "@graphcommerce/eslint-config-pwa": "7.0.0",
16
+ "@graphcommerce/prettier-config-pwa": "7.0.0",
17
+ "@graphcommerce/typescript-config-pwa": "7.0.0",
18
18
  "@types/grecaptcha": "^3.0.4"
19
19
  },
20
20
  "dependencies": {
21
- "@graphcommerce/graphql": "7.0.0-canary.21",
22
- "@graphcommerce/next-ui": "7.0.0-canary.21"
21
+ "@graphcommerce/graphql": "7.0.0",
22
+ "@graphcommerce/next-ui": "7.0.0"
23
23
  },
24
24
  "peerDependencies": {
25
25
  "next": "^13.2.0",