Releases: snelsi/lethargy-ts
Releases · snelsi/lethargy-ts
0.1.0
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
andhighVelocity
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 returnfalse
instead oftrue
. - React's
SyntheticEvent
can now be passed to thelethargy.check
method. #5 - Updated development dependencies.
- Updated dependencies in the demo.
Full Changelog: 0.0.5...0.1.0
0.0.5
0.0.4
What's changed?
😎 Demo
- Update the
example
folder. Check out our new Demo: 👇
https://lethargy-ts.vercel.app/
⭐ 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 theisHuman
check - Update dependencies
- Update Rollup version
🔍 Chore
- Run prettier + eslint
- Use ChatGPT 🤖 to update the README
- Remove the
.lock
file from theexample
folder
Full Changelog: https://github.com/snelsi/lethargy-ts/commits/0.0.4