Skip to content

Latest commit

 

History

History
37 lines (23 loc) · 1.46 KB

CHANGELOG.md

File metadata and controls

37 lines (23 loc) · 1.46 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

  • None

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.

Added

These are the current package's exports:

  • Functions:
    • verifyHcaptchaToken()
  • TypeScript types:
    • HcaptchaResponse

Changed

  • BREAKING CHANGE: This package is now a pure ESM package.
  • BREAKING CHANGE: Require Node.js 20 (latest LTS).
  • BREAKING CHANGE: Use fetch for network requests.

1.0.0 - 2021-10-26