Skip to content

Conversation

@gzuidhof
Copy link
Contributor

@gzuidhof gzuidhof commented Feb 3, 2026

No description provided.

Adds support for *Risk Intelligence* data in siteverify responses, providing more detailed information about the client and network.

Renames the `siteverifyEndpoint` option to `apiEndpoint` for better clarity and to reflect that it expects a URL without a path or a shorthand. Maintains backwards compatibility with the old option.
@gzuidhof gzuidhof requested a review from greenberga February 3, 2026 12:42
@gzuidhof gzuidhof self-assigned this Feb 3, 2026
- **apiKey**: Your Friendly Captcha API key.
- **sitekey**: Your Friendly Captcha sitekey.
- **strict**: (Optional) In case the client was not able to verify the captcha response at all (for example if there is a network failure or a mistake in configuration), by default `verifyCaptchaResponse` returns `true` regardless. By passing `strict: true`, it will return `false` instead: every response needs to be strictly verified.
- **siteverifyEndpoint**: (Optional) The endpoint URL for the site verification API. Shorthands `eu` or `global` are also accepted. Default is `global`.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same comment before about leaving this documented but marked as deprecated; but I don't feel strongly

@gzuidhof gzuidhof merged commit ab3bf66 into main Feb 3, 2026
1 check passed
@gzuidhof gzuidhof deleted the add-risk-intelligence branch February 3, 2026 14:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants