Skip to content

Commit

Permalink
package version updated
Browse files Browse the repository at this point in the history
  • Loading branch information
dancheskus committed Nov 8, 2023
1 parent b23c0bf commit 6e264b1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ speedUpFirstSecond* | first tick will happen faster after timer starts. Visual t



**stopUpdate** - with this prop most of the callbacks are not working. Only `onStart`, `onEnd` and `onCancel` are available
**stopUpdate** - with this prop most of the callbacks are not working. Only `onStart`, `onEnd` and `onCancel` are available. `currentTime` is not available as well.

**stopwatch** - with this prop `onEnd` callback is disabled

Expand Down
3 changes: 2 additions & 1 deletion TODO.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ TODO:
// import { TTimeUnit } from 'react-hook-time/dist/src/ReactTimer/types'
- remove // @ts-ignore from chainingFunctions = { start, pause, reset, setTime, incTime, decTime }
- write test for updated convertedInitialTimeInMsRef.current. check that reset always resets to updated value
- stop onUpdate callback working twice after decTime, incTime and setTime
- stop onUpdate callback working twice after decTime, incTime and setTime
- update demo page to support decTime, incTime and setTime in stopUpdate mode
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-hook-time",
"version": "1.0.6",
"version": "1.0.7",
"type": "module",
"description": "A React timer library",
"main": "dist/index.umd.js",
Expand Down

0 comments on commit 6e264b1

Please sign in to comment.