@adobe-commerce/recaptcha 1.1.0 → 1.2.0-alpha-20260515083935

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,18 @@
1
1
  # @adobe-commerce/recaptcha
2
2
 
3
+ ## 1.2.0-alpha-20260515083935
4
+
5
+ ### Minor Changes
6
+
7
+ - f55a79c: Migrate to Node.js 24 LTS
8
+
9
+ 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 [f55a79c]
14
+ - @adobe-commerce/fetch-graphql@1.3.0-alpha-20260515083935
15
+
3
16
  ## 1.1.0
4
17
 
5
18
  ### Minor Changes
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@adobe-commerce/recaptcha",
3
- "version": "1.1.0",
3
+ "version": "1.2.0-alpha-20260515083935",
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": ">=16"
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": "~1.2.3"
17
+ "@adobe-commerce/fetch-graphql": "1.3.0-alpha-20260515083935"
18
18
  },
19
19
  "devDependencies": {}
20
20
  }
package/src/index.ts CHANGED
@@ -9,6 +9,7 @@
9
9
 
10
10
  import {
11
11
  ReCaptchaResponse,
12
+ ReCaptchaProps,
12
13
  PropsFormTypes,
13
14
  ReCaptchaModel,
14
15
  ReCaptchaFormConfigResult,
@@ -127,10 +128,10 @@ export class RecaptchaModule {
127
128
  language_code: globalConfig.language_code,
128
129
  minimum_score: globalConfig.minimum_score,
129
130
  failure_message: globalConfig.validation_failure_message,
130
- theme: globalConfig.theme,
131
+ theme: globalConfig.theme!,
131
132
  forms: enabledForms,
132
133
  recaptcha_type: isEnterprise ? 'enterprise' : 'v3',
133
- },
134
+ } as ReCaptchaProps,
134
135
  },
135
136
  };
136
137
  }