version 1.0.6

This commit is contained in:
Josh Guyette 2023-07-17 18:56:34 -05:00
parent 57239561f7
commit 617fdebee3
2 changed files with 6 additions and 2 deletions

View File

@ -87,7 +87,7 @@ type StopFunction = (stopTime?: TimeUntil) => StopCancelFunction | null
## Stop Cancel Functions ## Stop Cancel Functions
The `StopFunction` returns a `StopCancelFunction` when called. This function can be called to cancel a scheduled stop. The `StopFunction` will return a `StopCancelFunction` when called with a stopTime. This function can be called to cancel a scheduled stop.
```typescript ```typescript
type StopCancelFunction = (stopRunning: boolean = false) => void type StopCancelFunction = (stopRunning: boolean = false) => void

View File

@ -1,9 +1,13 @@
{ {
"name": "schedule-later", "name": "schedule-later",
"version": "1.0.5", "version": "1.0.6",
"types": "dist/Scheduler.d.ts", "types": "dist/Scheduler.d.ts",
"main": "dist/Scheduler.js", "main": "dist/Scheduler.js",
"author": "Nightness", "author": "Nightness",
"repository": {
"type": "git",
"url": "https://github.com/nightness/schedule-later.git"
},
"scripts": { "scripts": {
"build": "tsc", "build": "tsc",
"pretest": "tsc", "pretest": "tsc",