@adobe-commerce/recaptcha 1.1.0-alpha-202603181630 → 1.1.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 +33 -0
- package/package.json +1 -1
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# @adobe-commerce/recaptcha
|
|
2
|
+
|
|
3
|
+
## 1.1.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- d054150: ### Summary
|
|
8
|
+
|
|
9
|
+
- Replaces the `recaptchaV3Config` GraphQL query with `recaptchaFormConfig`, which supports both reCAPTCHA v3 and Enterprise
|
|
10
|
+
- Queries all form types in a single request using GraphQL aliases and normalizes the per-form response into the existing config shape
|
|
11
|
+
- Loads `enterprise.js` or `api.js` based on the detected `re_captcha_type` from the backend
|
|
12
|
+
- Uses `grecaptcha.enterprise.*` namespace for token generation and badge rendering when Enterprise is configured
|
|
13
|
+
- Skips forms with empty `website_key` (enabled but not usable)
|
|
14
|
+
- Warns and disables reCAPTCHA entirely if mixed types (v3 + Enterprise) are detected across forms
|
|
15
|
+
- Adds `[ReCaptcha]`-prefixed debug logging throughout the lifecycle (gated behind `enableLogger`)
|
|
16
|
+
- Renames all `V3`-suffixed types to generic names (`ReCaptchaModel`, `ReCaptchaResponse`, etc.)
|
|
17
|
+
- Updates README with Enterprise support documentation
|
|
18
|
+
|
|
19
|
+
## 1.1.0-beta.0
|
|
20
|
+
|
|
21
|
+
### Minor Changes
|
|
22
|
+
|
|
23
|
+
- d054150: ### Summary
|
|
24
|
+
|
|
25
|
+
- Replaces the `recaptchaV3Config` GraphQL query with `recaptchaFormConfig`, which supports both reCAPTCHA v3 and Enterprise
|
|
26
|
+
- Queries all form types in a single request using GraphQL aliases and normalizes the per-form response into the existing config shape
|
|
27
|
+
- Loads `enterprise.js` or `api.js` based on the detected `re_captcha_type` from the backend
|
|
28
|
+
- Uses `grecaptcha.enterprise.*` namespace for token generation and badge rendering when Enterprise is configured
|
|
29
|
+
- Skips forms with empty `website_key` (enabled but not usable)
|
|
30
|
+
- Warns and disables reCAPTCHA entirely if mixed types (v3 + Enterprise) are detected across forms
|
|
31
|
+
- Adds `[ReCaptcha]`-prefixed debug logging throughout the lifecycle (gated behind `enableLogger`)
|
|
32
|
+
- Renames all `V3`-suffixed types to generic names (`ReCaptchaModel`, `ReCaptchaResponse`, etc.)
|
|
33
|
+
- Updates README with Enterprise support documentation
|
package/package.json
CHANGED