@adobe-commerce/recaptcha 1.2.0-beta.1 → 1.2.1-alpha-20260615100255
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 +21 -0
- package/README.md +1 -0
- package/package.json +2 -2
- package/src/configs/typeForms.config.ts +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,26 @@
|
|
|
1
1
|
# @adobe-commerce/recaptcha
|
|
2
2
|
|
|
3
|
+
## 1.2.1-alpha-20260615100255
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 24d7ffb: Add `COMPANY_CREATE` to the default reCAPTCHA form map for B2B company registration (`createCompany` badge id).
|
|
8
|
+
|
|
9
|
+
Global `setConfig()` now batches `recaptchaFormConfig` for company create alongside other storefront forms.
|
|
10
|
+
|
|
11
|
+
## 1.2.0
|
|
12
|
+
|
|
13
|
+
### Minor Changes
|
|
14
|
+
|
|
15
|
+
- af62897: Update minimum Node.js requirement to 22 LTS
|
|
16
|
+
|
|
17
|
+
Packages are now built with Node.js 22. `elsie` requires `>=22`; browser-only packages (`fetch-graphql`, `event-bus`, `recaptcha`, `storefront-design`, `build-tools`) do not declare an `engines` field as they do not run in Node.js.
|
|
18
|
+
|
|
19
|
+
### Patch Changes
|
|
20
|
+
|
|
21
|
+
- Updated dependencies [af62897]
|
|
22
|
+
- @adobe-commerce/fetch-graphql@1.3.0
|
|
23
|
+
|
|
3
24
|
## 1.2.0-beta.1
|
|
4
25
|
|
|
5
26
|
### Minor Changes
|
package/README.md
CHANGED
|
@@ -90,6 +90,7 @@ The module queries these form types from the backend:
|
|
|
90
90
|
| `CUSTOMER_LOGIN` | `generateCustomerToken` |
|
|
91
91
|
| `CUSTOMER_FORGOT_PASSWORD` | `requestPasswordResetEmail` |
|
|
92
92
|
| `CUSTOMER_CREATE` | `createCustomerV2` |
|
|
93
|
+
| `COMPANY_CREATE` | `createCompany` |
|
|
93
94
|
| `CUSTOMER_EDIT` | `updateCustomerV2` |
|
|
94
95
|
| `NEWSLETTER` | `subscribeEmailToNewsletter` |
|
|
95
96
|
| `PRODUCT_REVIEW` | `createProductReview` |
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adobe-commerce/recaptcha",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.1-alpha-20260615100255",
|
|
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
|
"main": "src/index.ts",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"build": " "
|
|
12
12
|
},
|
|
13
13
|
"dependencies": {
|
|
14
|
-
"@adobe-commerce/fetch-graphql": "~1.3.0
|
|
14
|
+
"@adobe-commerce/fetch-graphql": "~1.3.0"
|
|
15
15
|
},
|
|
16
16
|
"devDependencies": {}
|
|
17
17
|
}
|
|
@@ -13,6 +13,7 @@ export const typeDefaultForm: Record<string, string> = {
|
|
|
13
13
|
CUSTOMER_LOGIN: 'generateCustomerToken',
|
|
14
14
|
CUSTOMER_FORGOT_PASSWORD: 'requestPasswordResetEmail',
|
|
15
15
|
CUSTOMER_CREATE: 'createCustomerV2',
|
|
16
|
+
COMPANY_CREATE: 'createCompany',
|
|
16
17
|
CUSTOMER_EDIT: 'updateCustomerV2',
|
|
17
18
|
NEWSLETTER: 'subscribeEmailToNewsletter',
|
|
18
19
|
PRODUCT_REVIEW: 'createProductReview',
|