@hastehaul/common 1.0.9 → 1.0.10

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,9 +1,6 @@
1
1
  import { Job, Worker } from "bullmq";
2
- export type JobT = {
3
- job: Job;
4
- };
5
2
  export declare abstract class AbstractWorker {
6
3
  protected worker: Worker;
7
4
  constructor(queueName: string);
8
- protected abstract process(job: JobT['job']): Promise<void>;
5
+ protected abstract process(job: Job): Promise<void>;
9
6
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hastehaul/common",
3
- "version": "1.0.9",
3
+ "version": "1.0.10",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",