diff --git a/docs/gitbook/CHANGELOG.md b/docs/gitbook/CHANGELOG.md index f8109eb955..ac8f20e58d 100644 --- a/docs/gitbook/CHANGELOG.md +++ b/docs/gitbook/CHANGELOG.md @@ -1,3 +1,10 @@ +## [1.20.3](https://github.com/taskforcesh/bullmq/compare/v1.20.2...v1.20.3) (2021-04-23) + + +### Bug Fixes + +* **flows:** correct typings fixes [#492](https://github.com/taskforcesh/bullmq/issues/492) ([a77f80b](https://github.com/taskforcesh/bullmq/commit/a77f80bc07e7627f512323f0dcc9141fe408809e)) + ## [1.20.2](https://github.com/taskforcesh/bullmq/compare/v1.20.1...v1.20.2) (2021-04-22) diff --git a/docs/gitbook/api/bullmq.job.getchildrenvalues.md b/docs/gitbook/api/bullmq.job.getchildrenvalues.md index f3d642206e..be3b9e0af3 100644 --- a/docs/gitbook/api/bullmq.job.getchildrenvalues.md +++ b/docs/gitbook/api/bullmq.job.getchildrenvalues.md @@ -9,13 +9,13 @@ Get this jobs children result values if any. Signature: ```typescript -getChildrenValues(): Promise<{ - [jobKey: string]: string; +getChildrenValues(): Promise<{ + [jobKey: string]: CT; }>; ``` Returns: -Promise<{ \[jobKey: string\]: string; }> +Promise<{ \[jobKey: string\]: CT; }> Object mapping children job keys with their values. diff --git a/docs/gitbook/api/bullmq.job.getdependencies.md b/docs/gitbook/api/bullmq.job.getdependencies.md index 8088403265..2ce179b639 100644 --- a/docs/gitbook/api/bullmq.job.getdependencies.md +++ b/docs/gitbook/api/bullmq.job.getdependencies.md @@ -10,13 +10,15 @@ Get children job keys if this job is a parent and has children. ```typescript getDependencies(): Promise<{ - processed: string[]; - unprocessed: object; + processed: { + [jobKey: string]: string; + }; + unprocessed: string[]; }>; ``` Returns: -Promise<{ processed: string\[\]; unprocessed: object; }> +Promise<{ processed: { \[jobKey: string\]: string; }; unprocessed: string\[\]; }> dependencies separated by processed and unprocessed. diff --git a/package.json b/package.json index 89999b97d0..ccb7fdf257 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "bullmq", - "version": "1.20.2", + "version": "1.20.3", "description": "Queue for messages and jobs based on Redis", "main": "dist/index.js", "types": "dist/index.d.ts",