@elysiumjs/heracles 0.5.0 → 0.5.1

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,5 +1,4 @@
1
- import type { QueueOptions } from '../queue';
2
- import type { Worker } from '../worker';
1
+ import type { Worker, WorkerQueueOptions } from '../worker';
3
2
  import { RedisTransport } from '../transports/redis.transport';
4
3
  import { BaseWorker } from './base.worker';
5
4
  /**
@@ -40,7 +39,7 @@ export declare class RedisWorker extends BaseWorker<RedisTransport> {
40
39
  * Create a new queue with the specified options
41
40
  * @param options Queue options
42
41
  */
43
- createQueue(options: QueueOptions): Promise<Worker>;
42
+ createQueue(options: WorkerQueueOptions): Promise<Worker>;
44
43
  /**
45
44
  * Handle a message from the transport
46
45
  * @param message The message to handle
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elysiumjs/heracles",
3
- "version": "0.5.0",
3
+ "version": "0.5.1",
4
4
  "description": "Background job processing system for Elysium.js apps.",
5
5
  "module": "dist/index.js",
6
6
  "type": "module",