@hcaptcha/types
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -69,3 +69,3 @@ /* eslint-disable */ | ||
*/ | ||
sitekey: String; | ||
sitekey: string; | ||
@@ -86,3 +86,3 @@ /** | ||
*/ | ||
"challenge-container"?: HTMLElement | String; | ||
"challenge-container"?: HTMLElement | string; | ||
@@ -94,3 +94,3 @@ /** | ||
*/ | ||
hl?: String; | ||
hl?: string; | ||
@@ -105,3 +105,3 @@ /** | ||
*/ | ||
tabindex?: Number; | ||
tabindex?: number; | ||
@@ -111,3 +111,3 @@ /** | ||
*/ | ||
custom?: Boolean; | ||
custom?: boolean; | ||
@@ -117,3 +117,3 @@ /** | ||
*/ | ||
callback?: String | ((response: String) => void); | ||
callback?: string | ((response: string) => void); | ||
@@ -123,3 +123,3 @@ /** | ||
*/ | ||
"open-callback"?: String | (() => void); | ||
"open-callback"?: string | (() => void); | ||
@@ -129,3 +129,3 @@ /** | ||
*/ | ||
"close-callback"?: String | (() => void); | ||
"close-callback"?: string | (() => void); | ||
@@ -135,3 +135,3 @@ /** | ||
*/ | ||
"chalexpired-callback"?: String | (() => void); | ||
"chalexpired-callback"?: string | (() => void); | ||
@@ -141,3 +141,3 @@ /** | ||
*/ | ||
"expired-callback"?: String | (() => void); | ||
"expired-callback"?: string | (() => void); | ||
@@ -147,3 +147,3 @@ /** | ||
*/ | ||
"error-callback"?: String | ((error: HCaptchaErrorCallback) => void); | ||
"error-callback"?: string | ((error: HCaptchaErrorCallback) => void); | ||
}; | ||
@@ -155,7 +155,7 @@ | ||
*/ | ||
async: Boolean; | ||
async: boolean; | ||
}; | ||
type ConfigSetData = { | ||
rqdata: String; | ||
rqdata: string; | ||
}; | ||
@@ -167,3 +167,3 @@ | ||
*/ | ||
render(container: HTMLElement | String, config: ConfigRender): HCaptchaId; | ||
render(container: HTMLElement | string, config: ConfigRender): HCaptchaId; | ||
@@ -208,3 +208,3 @@ /** | ||
*/ | ||
getResponse(id?: HCaptchaId): String; | ||
getResponse(id?: HCaptchaId): string; | ||
@@ -215,3 +215,3 @@ /** | ||
*/ | ||
getRespKey(id?: HCaptchaId): String; | ||
getRespKey(id?: HCaptchaId): string; | ||
@@ -218,0 +218,0 @@ /** |
{ | ||
"name": "@hcaptcha/types", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"license": "MIT", | ||
@@ -12,2 +12,5 @@ "private": false, | ||
"description": "hCaptcha Type Definitions", | ||
"files": [ | ||
"index.d.ts" | ||
], | ||
"types": "index.d.ts", | ||
@@ -20,3 +23,3 @@ "scripts": { | ||
}, | ||
"gitHead": "23c7fce0c2835fac65c8fefaacb2877715528ddf" | ||
"gitHead": "8d74e494447de50701efb09122eda6a2e21a01f1" | ||
} |
@@ -17,1 +17,5 @@ ## hCaptcha TypeScript Definitions | ||
``` | ||
### Bug Report | ||
If you encounter an issue and would like to report it, please email us at [support@hcaptcha.com](mailto:support@hcaptcha.com). |
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
21
6309
4
178