Skip to content

Releases: snelsi/lethargy-ts

0.1.0

15 May 15:35
Compare
Choose a tag to compare

Lethargy-ts has been rewritten to enhance accuracy, eliminate false positives, simplify internal logic, and reduce the package size.

What's changed?

  • The package is now Pure ESM.
  • The inertiaDecay and highVelocity options have been removed.
  • A new increasingDeltasThreshold option has been added.
  • lethargy.check no longer compares event vectors.
  • Passing "out of order" or "past" events to lethargy.check will now return false instead of true.
  • React's SyntheticEvent can now be passed to the lethargy.check method. #5
  • Updated development dependencies.
  • Updated dependencies in the demo.

Full Changelog: 0.0.5...0.1.0

0.0.5

20 Mar 09:25
Compare
Choose a tag to compare

What's changed?

  • Fix failing null test
  • Update dev dependencies
  • Update dependencies in example
  • Update Rollup version
  • Update Typescript version

0.0.4

07 Mar 10:33
Compare
Choose a tag to compare

What's changed?

😎 Demo

⭐ Features

  • Add unit tests
  • Throw an error instead of a null when no event is provided
  • Change default config values
  • Adjust isHuman checks logic
  • Add reason code to the isHuman check
  • Update dependencies
  • Update Rollup version

🔍 Chore

  • Run prettier + eslint
  • Use ChatGPT 🤖 to update the README
  • Remove the .lock file from the example folder

Full Changelog: https://github.com/snelsi/lethargy-ts/commits/0.0.4