@midwayjs/bull 3.11.12 → 3.11.14

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,7 +1,7 @@
1
1
  import { BaseFramework, IMidwayBootstrapOptions } from '@midwayjs/core';
2
2
  import { Application, Context, IProcessor, IQueue, IQueueManager } from './interface';
3
3
  import { Job, JobOptions, QueueOptions } from 'bull';
4
- import * as Bull from 'bull';
4
+ import Bull = require('bull');
5
5
  export declare class BullQueue extends Bull implements IQueue<Job> {
6
6
  constructor(queueName: string, queueOptions: QueueOptions);
7
7
  runJob(data: any, options?: JobOptions): Promise<Job>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@midwayjs/bull",
3
- "version": "3.11.12",
3
+ "version": "3.11.14",
4
4
  "description": "midway component for bull",
5
5
  "main": "dist/index.js",
6
6
  "typings": "index.d.ts",
@@ -33,5 +33,5 @@
33
33
  "engines": {
34
34
  "node": ">=12"
35
35
  },
36
- "gitHead": "7454a59cd57e693a04e4c887535c9193354e2980"
36
+ "gitHead": "7adb0d7c46f2b2203c4491ba41b6583156920695"
37
37
  }