Skip to content

Releases: SupremeTechnopriest/react-idle-timer

4.5.1

08 Jan 00:22
Compare
Choose a tag to compare

✨ Enhancements

  • Added the ability to set timeout dynamically in the useIdleTimer hook. Doing so will automatically reset the timer if it is active.

4.5.0

30 Oct 01:06
Compare
Choose a tag to compare

⚑️ Features

  • Added getLastIdleTime and getTotalIdleTime methods.

✨ Chores

  • Refactor getTotalActiveTime to be accurate in more scenarios.
  • Switched from Travis CI to Github Actions.

4.4.2

26 Oct 20:27
Compare
Choose a tag to compare

✨ Chores

  • Update peerDependencies to support React versions greater than 16.

4.4.1

26 Oct 20:25
Compare
Choose a tag to compare

✨ Enhancements

  • Reduce bundle size by excluding examples from npm package.

πŸ“ Documentation

  • Update README.md.

4.4.0

21 Oct 22:44
Compare
Choose a tag to compare

⚑️ Features

  • Added getTotalActiveTime method. It returns the total time in milliseconds the user was active.

4.3.7

06 Oct 02:12
Compare
Choose a tag to compare

🐞 Bugfixes

  • Added more event types to typescript definition.
  • Fixed a type-o in the default events (mouseWheel -> mousewheel).

4.3.6

03 Aug 17:54
Compare
Choose a tag to compare

✨ Chores

  • Fixed a type-o in the README examples.

This was causing some confusion and warranted a version bump to update the README on NPM as well.

4.3.5

28 Jul 04:20
Compare
Choose a tag to compare

🐞 Bugfixes

  • Fixed a regression affecting older minifiers that don't know how to deal with let and const. Re-implemented babel to transpile back to var.

4.3.4

22 Jul 22:03
Compare
Choose a tag to compare

🐞 Bugfixes

  • Fixed a small regression that prevented onAction from being throttled or debounced.

4.3.2

22 Jul 21:52
Compare
Choose a tag to compare

🐞 Bugfixes

  • Fixed an issue where callback functions were not being updated within the useIdleTimer hook.