@hcaptcha/react-hcaptcha
Advanced tools
Comparing version 0.3.6 to 0.3.7
@@ -106,3 +106,4 @@ "use strict"; | ||
reportapi = _this$props.reportapi, | ||
sentry = _this$props.sentry; | ||
sentry = _this$props.sentry, | ||
custom = _this$props.custom; | ||
var isApiReady = this.state.isApiReady; | ||
@@ -123,3 +124,4 @@ | ||
reportapi: reportapi, | ||
sentry: sentry | ||
sentry: sentry, | ||
custom: custom | ||
}); | ||
@@ -126,0 +128,0 @@ } // Add onload callback to global onload listeners |
{ | ||
"name": "@hcaptcha/react-hcaptcha", | ||
"version": "0.3.6", | ||
"version": "0.3.7", | ||
"types": "types/index.d.ts", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -74,2 +74,3 @@ # React hCaptcha Component Library | ||
|`sentry`|String|No|`-`|See enterprise docs.| | ||
|`custom`|Boolean|No|`-`|See enterprise docs.| | ||
@@ -76,0 +77,0 @@ ### Events |
@@ -62,3 +62,3 @@ const React = require('react'); | ||
componentDidMount () { //Once captcha is mounted intialize hCaptcha - hCaptcha | ||
const { apihost, assethost, endpoint, host, imghost, languageOverride:hl, reCaptchaCompat, reportapi, sentry } = this.props; | ||
const { apihost, assethost, endpoint, host, imghost, languageOverride:hl, reCaptchaCompat, reportapi, sentry, custom } = this.props; | ||
const { isApiReady } = this.state; | ||
@@ -79,3 +79,4 @@ | ||
reportapi, | ||
sentry | ||
sentry, | ||
custom | ||
}); | ||
@@ -82,0 +83,0 @@ } |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
30965
486
131