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
inertiaDecayandhighVelocityoptions have been removed. - A new
increasingDeltasThresholdoption has been added. lethargy.checkno longer compares event vectors.- Passing "out of order" or "past" events to
lethargy.checkwill now returnfalseinstead oftrue. - React's
SyntheticEventcan now be passed to thelethargy.checkmethod. #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
examplefolder. Check out our new Demo: 👇
https://lethargy-ts.vercel.app/
⭐ Features
- Add unit tests
- Throw an error instead of a
nullwhen no event is provided - Change default config values
- Adjust
isHumanchecks logic - Add
reasoncode to theisHumancheck - Update dependencies
- Update Rollup version
🔍 Chore
- Run prettier + eslint
- Use ChatGPT 🤖 to update the README
- Remove the
.lockfile from theexamplefolder
Full Changelog: https://github.com/snelsi/lethargy-ts/commits/0.0.4