verify-hcaptcha
Advanced tools
Changelog
[2.0.0] - 2024-07-03
This package is now a pure ESM package and uses the fetch global function to perform network requests.
Additionally, every response returned by hCaptcha.com is now validated against its expected schema. This means that data can now be safely accessed according to the corresponding TypeScript type definition. Unexpected data will reject with an error; in this case open an issue to propose changes to the schema.
These are the current package's exports:
fetch
for network requests.