@adobe-commerce/recaptcha 1.2.0 → 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 CHANGED
@@ -1,5 +1,13 @@
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
+
3
11
  ## 1.2.0
4
12
 
5
13
  ### 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.0",
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",
@@ -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',