bullmq 1.81.3 → 1.81.4

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.
@@ -99,6 +99,7 @@ export interface QueueEventsListener {
99
99
  */
100
100
  removed: (args: {
101
101
  jobId: string;
102
+ prev: string;
102
103
  }, id: string) => void;
103
104
  /**
104
105
  * Listen to 'resumed' event.
@@ -17,6 +17,7 @@ if(millis) then
17
17
  local repeatJobId = ARGV[1] .. millis
18
18
  if(rcall("ZREM", KEYS[2], repeatJobId) == 1) then
19
19
  rcall("DEL", ARGV[3] .. repeatJobId)
20
+ rcall("XADD", ARGV[3] .. "events", "*", "event", "removed", "jobId", repeatJobId, "prev", "delayed");
20
21
  end
21
22
  end
22
23
 
@@ -99,6 +99,7 @@ export interface QueueEventsListener {
99
99
  */
100
100
  removed: (args: {
101
101
  jobId: string;
102
+ prev: string;
102
103
  }, id: string) => void;
103
104
  /**
104
105
  * Listen to 'resumed' event.
@@ -17,6 +17,7 @@ if(millis) then
17
17
  local repeatJobId = ARGV[1] .. millis
18
18
  if(rcall("ZREM", KEYS[2], repeatJobId) == 1) then
19
19
  rcall("DEL", ARGV[3] .. repeatJobId)
20
+ rcall("XADD", ARGV[3] .. "events", "*", "event", "removed", "jobId", repeatJobId, "prev", "delayed");
20
21
  end
21
22
  end
22
23
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bullmq",
3
- "version": "1.81.3",
3
+ "version": "1.81.4",
4
4
  "description": "Queue for messages and jobs based on Redis",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",