@hastehaul/common 1.0.9 → 1.0.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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",