diff --git a/README.md b/README.md index 88174a7..6508707 100644 --- a/README.md +++ b/README.md @@ -87,7 +87,7 @@ type StopFunction = (stopTime?: TimeUntil) => StopCancelFunction | null ## 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 type StopCancelFunction = (stopRunning: boolean = false) => void diff --git a/package.json b/package.json index 91eea5e..7eccad8 100644 --- a/package.json +++ b/package.json @@ -1,9 +1,13 @@ { "name": "schedule-later", - "version": "1.0.5", + "version": "1.0.6", "types": "dist/Scheduler.d.ts", "main": "dist/Scheduler.js", "author": "Nightness", + "repository": { + "type": "git", + "url": "https://github.com/nightness/schedule-later.git" + }, "scripts": { "build": "tsc", "pretest": "tsc",