Comparing version 0.0.1 to 0.0.2
import * as bullmq from 'bullmq'; | ||
import { Queue, Worker, ConnectionOptions, Processor, JobsOptions, RepeatOptions } from 'bullmq'; | ||
import { Queue, Worker, ConnectionOptions, Processor, JobsOptions, RepeatOptions, WorkerOptions } from 'bullmq'; | ||
type OptionsData = Omit<WorkerOptions, "connection">; | ||
declare class Job<GlobalInput = never> { | ||
@@ -12,3 +13,3 @@ private connection; | ||
input<Input>(input?: Input): Job<Input>; | ||
options(options: typeof this.optionsData): this; | ||
options(options: OptionsData): this; | ||
action(action: Processor<GlobalInput, any, string>): this; | ||
@@ -15,0 +16,0 @@ add(name: string, input: GlobalInput, options?: JobsOptions): Promise<bullmq.Job<GlobalInput, any, string>>; |
@@ -15,3 +15,3 @@ { | ||
"keywords": ["jobs", "queue", "bullmq", "bull", "pg-boss"], | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"type": "module", | ||
@@ -18,0 +18,0 @@ "devDependencies": { |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
5652
122
0