Skip to content

0.1.0

Latest
Compare
Choose a tag to compare
@snelsi snelsi released this 15 May 15:35

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