diff --git a/docs/gitbook/CHANGELOG.md b/docs/gitbook/CHANGELOG.md index 3ce6ed1a2a..dfbfb8b6cb 100644 --- a/docs/gitbook/CHANGELOG.md +++ b/docs/gitbook/CHANGELOG.md @@ -1,3 +1,10 @@ +## [1.20.1](https://github.com/taskforcesh/bullmq/compare/v1.20.0...v1.20.1) (2021-04-22) + + +### Bug Fixes + +* **worker:** make token optional in processor function fixes [#490](https://github.com/taskforcesh/bullmq/issues/490) ([3940bd7](https://github.com/taskforcesh/bullmq/commit/3940bd71c6faf3bd5fce572b9c1f11cb5b5d2123)) + # [1.20.0](https://github.com/taskforcesh/bullmq/compare/v1.19.3...v1.20.0) (2021-04-21) diff --git a/docs/gitbook/api/bullmq.processor.md b/docs/gitbook/api/bullmq.processor.md index 702b0f0a04..2ce8e540af 100644 --- a/docs/gitbook/api/bullmq.processor.md +++ b/docs/gitbook/api/bullmq.processor.md @@ -9,7 +9,7 @@ An async function that receives `Job`s and handles them. Signature: ```typescript -export declare type Processor = (job: Job, token: string) => Promise; +export declare type Processor = (job: Job, token?: string) => Promise; ``` References: [Job](./bullmq.job.md) diff --git a/package.json b/package.json index 51fd9c26cc..d06b13b083 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "bullmq", - "version": "1.20.0", + "version": "1.20.1", "description": "Queue for messages and jobs based on Redis", "main": "dist/index.js", "types": "dist/index.d.ts",