Skip to content

Commit 74d96ff

Browse files
patrickdemers6Patrick Demers
andauthored
fix: Add missing fields in HCaptchaProps (#335)
Co-authored-by: Patrick Demers <pdemers@tesla.com>
1 parent 3170803 commit 74d96ff

3 files changed

Lines changed: 9 additions & 3 deletions

File tree

‎package-lock.json‎

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@hcaptcha/react-hcaptcha",
3-
"version": "1.17.1",
3+
"version": "1.17.2",
44
"types": "types/index.d.ts",
55
"main": "dist/index.js",
66
"module": "dist/esm/index.js",

‎types/index.d.ts‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,12 @@ interface HCaptchaProps {
3737
custom?: boolean;
3838
secureApi?: boolean;
3939
scriptSource?: string;
40+
apihost?: string;
41+
assethost?: string;
42+
endpoint?: string;
43+
host?: string;
44+
imghost?: string;
45+
reportapi?: string;
4046
}
4147

4248
interface ExecuteResponse {

0 commit comments

Comments
 (0)