Skip to content

Releases: code-hemu/truehuman

Release list

0.0.6

Choose a tag to compare

@hemanta-gayen hemanta-gayen released this 29 Jun 19:08

Breaking

  • Removed referrer filter from RecaptchaOptions, TurnstileOptions, and HardwareOptions - the per-plugin referrer filter no longer exists. Use the global referrer field on the result if you need referrer-based logic on your server.
    Behavioral
  • environmentFlag no longer contributes to risk score - it's still tracked in debug.environmentFlag and used for the referrer field, but no longer inflates the risk score. Previously it added a flat +30.
  • grecaptcha / turnstile saveTokens behavior changed - now skips CAPTCHA execution when the visitor is already classified as human with no environment flags, rather than only checking for existing integrity codes. More conservative CAPTCHA saving.
    Error Codes
  • 42.4 (devtools) risk reduced: 15 => 5
  • 85.1 (AudioContext unavailable) risk reduced: 5 => 2
  • 85.2 (Invalid baseLatency) risk reduced: 8 => 4
  • 85.3 (new AudioContext() failed) added - risk 5
  • 85.4 (Unusual latency value) added - risk 2
    Types
  • PluginContext now includes visitor?: string and environmentFlag?: boolean
  • TurnstileOptions now includes saveTokens?: boolean
  • HardwareOptions is now an empty interface

0.0.4

Choose a tag to compare

@hemanta-gayen hemanta-gayen released this 24 Jun 09:43