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