@adobe-commerce/recaptcha 1.1.0-beta.0 → 2.0.0-alpha-20260514091936
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 +29 -0
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,34 @@
|
|
|
1
1
|
# @adobe-commerce/recaptcha
|
|
2
2
|
|
|
3
|
+
## 2.0.0-alpha-20260514091936
|
|
4
|
+
|
|
5
|
+
### Major Changes
|
|
6
|
+
|
|
7
|
+
- 6f2484e: Migrate to Node.js 24 LTS
|
|
8
|
+
|
|
9
|
+
BREAKING CHANGE: Minimum required Node.js version is now 24. Updated `engines.node` from `>=16`/`>=18` to `>=24` across all packages. Regenerated lockfile under Node 24. Updated CI workflows to use `storefront-workflows@v6` with Node 24 support.
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Updated dependencies [6f2484e]
|
|
14
|
+
- @adobe-commerce/fetch-graphql@2.0.0-alpha-20260514091936
|
|
15
|
+
|
|
16
|
+
## 1.1.0
|
|
17
|
+
|
|
18
|
+
### Minor Changes
|
|
19
|
+
|
|
20
|
+
- d054150: ### Summary
|
|
21
|
+
|
|
22
|
+
- Replaces the `recaptchaV3Config` GraphQL query with `recaptchaFormConfig`, which supports both reCAPTCHA v3 and Enterprise
|
|
23
|
+
- Queries all form types in a single request using GraphQL aliases and normalizes the per-form response into the existing config shape
|
|
24
|
+
- Loads `enterprise.js` or `api.js` based on the detected `re_captcha_type` from the backend
|
|
25
|
+
- Uses `grecaptcha.enterprise.*` namespace for token generation and badge rendering when Enterprise is configured
|
|
26
|
+
- Skips forms with empty `website_key` (enabled but not usable)
|
|
27
|
+
- Warns and disables reCAPTCHA entirely if mixed types (v3 + Enterprise) are detected across forms
|
|
28
|
+
- Adds `[ReCaptcha]`-prefixed debug logging throughout the lifecycle (gated behind `enableLogger`)
|
|
29
|
+
- Renames all `V3`-suffixed types to generic names (`ReCaptchaModel`, `ReCaptchaResponse`, etc.)
|
|
30
|
+
- Updates README with Enterprise support documentation
|
|
31
|
+
|
|
3
32
|
## 1.1.0-beta.0
|
|
4
33
|
|
|
5
34
|
### Minor Changes
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adobe-commerce/recaptcha",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0-alpha-20260514091936",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
5
5
|
"description": "Module allows to efficiently verify that users are humans, not bots or spammers",
|
|
6
6
|
"engines": {
|
|
7
|
-
"node": ">=
|
|
7
|
+
"node": ">=24"
|
|
8
8
|
},
|
|
9
9
|
"main": "src/index.ts",
|
|
10
10
|
"scripts": {
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"build": " "
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@adobe-commerce/fetch-graphql": "
|
|
17
|
+
"@adobe-commerce/fetch-graphql": "2.0.0-alpha-20260514091936"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {}
|
|
20
20
|
}
|