@zintrust/queue-monitor 2.4.8 → 2.8.0

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.
@@ -8,7 +8,7 @@ const isAllQueuesSelection = (queue) => queue === ALL_QUEUES;
8
8
  const sortJobsByTimestamp = (jobs) => jobs.toSorted((left, right) => right.timestamp - left.timestamp);
9
9
  const jobIdentity = (job) => {
10
10
  const queue = job.queue ?? '';
11
- const id = job.id == null ? '' : String(job.id);
11
+ const id = String(job.id ?? '');
12
12
  const timestamp = Number.isFinite(job.timestamp) ? String(job.timestamp) : '';
13
13
  return `${queue}::${id}::${timestamp}`;
14
14
  };
@@ -0,0 +1,125 @@
1
+ {
2
+ "name": "@zintrust/queue-monitor",
3
+ "version": "2.8.0",
4
+ "buildDate": "2026-06-25T15:00:38.667Z",
5
+ "buildEnvironment": {
6
+ "node": "v20.20.2",
7
+ "platform": "linux",
8
+ "arch": "x64"
9
+ },
10
+ "git": {
11
+ "commit": "4f1c19ee",
12
+ "branch": "master"
13
+ },
14
+ "package": {
15
+ "engines": {
16
+ "node": ">=20.0.0"
17
+ },
18
+ "dependencies": [
19
+ "bullmq",
20
+ "ioredis"
21
+ ],
22
+ "peerDependencies": [
23
+ "@zintrust/core",
24
+ "@zintrust/redis-rpc"
25
+ ]
26
+ },
27
+ "files": {
28
+ "BrandFavicon.d.ts": {
29
+ "size": 81,
30
+ "sha256": "0f477b645fb3df6d3f52ced87c3c0f7dc942e5f4c4710f24866eca3b2e411fb9"
31
+ },
32
+ "BrandFavicon.js": {
33
+ "size": 721,
34
+ "sha256": "33e57f6cec15b8dcb5886ca92644139d2e3ca1789aae1c3a4a066d75a273a6bb"
35
+ },
36
+ "QueueMonitoringService.d.ts": {
37
+ "size": 1760,
38
+ "sha256": "949569e78120329804b63736b25c8cff9b5516ca44c9e7f1b2989d9cb09360b9"
39
+ },
40
+ "QueueMonitoringService.js": {
41
+ "size": 10412,
42
+ "sha256": "a3c94f60d0f2adf223301bd7002270a9fc404cf44c516776801cec1ba3292df7"
43
+ },
44
+ "connection.d.ts": {
45
+ "size": 287,
46
+ "sha256": "dcc6ea45e59b0a2e8844b27f466dff4849618c06b74aae62a99c8edd772d0db0"
47
+ },
48
+ "connection.js": {
49
+ "size": 178,
50
+ "sha256": "ff387351f5b8c7c14a7f2ef817fbbb065ad677faffcb47e5e8ddc4b064747e5b"
51
+ },
52
+ "dashboard-index.d.ts": {
53
+ "size": 183,
54
+ "sha256": "9d7c7fc63fe2919de0584d3f3d0ef74166d834af0a68caca2fe6fe64340652b9"
55
+ },
56
+ "dashboard-index.js": {
57
+ "size": 183,
58
+ "sha256": "9d7c7fc63fe2919de0584d3f3d0ef74166d834af0a68caca2fe6fe64340652b9"
59
+ },
60
+ "dashboard-ui.d.ts": {
61
+ "size": 219,
62
+ "sha256": "5140191207b5620500ac5e1edacefed65956a1ad88739695d545ea7d2b405243"
63
+ },
64
+ "dashboard-ui.js": {
65
+ "size": 60096,
66
+ "sha256": "9f2b40d3921efbdb2ed84bd43b05bd7770b8af2c328448de6e0df1070c94860a"
67
+ },
68
+ "driver-index.d.ts": {
69
+ "size": 311,
70
+ "sha256": "67cb3435d023bbb76ef968f722e2a6ff206a56d911671ba0d14504d04196cbe1"
71
+ },
72
+ "driver-index.js": {
73
+ "size": 184,
74
+ "sha256": "fb91df973acd13a88cca443e50ecdd34944c66e1a1d48333f63099079a00f3c9"
75
+ },
76
+ "driver.d.ts": {
77
+ "size": 1758,
78
+ "sha256": "967003567f92527f389046f7fbbf221146ae56254becc6c07a8c4e0e5261d954"
79
+ },
80
+ "driver.js": {
81
+ "size": 16226,
82
+ "sha256": "b6125ade0a562d2bef8579e51b769b78de64e204dfc834aae729754d2922b323"
83
+ },
84
+ "index.d.ts": {
85
+ "size": 2368,
86
+ "sha256": "ae9a03519f69648e9c71d4fbd1f00fb7aa27be714e10cc0786ea8696aea2b327"
87
+ },
88
+ "index.js": {
89
+ "size": 18434,
90
+ "sha256": "557c5158dcec80fdf55e568fc4fc0a8da49c54b717dfc739aff63cc3c4797299"
91
+ },
92
+ "metrics-index.d.ts": {
93
+ "size": 239,
94
+ "sha256": "b68d7ca4d15e2380bc7a57e8ff6b00eb19a9f49417f7df88ff20b93cd2aeb00d"
95
+ },
96
+ "metrics-index.js": {
97
+ "size": 171,
98
+ "sha256": "53e858995605858b819f2c48c701e3b8f7d028ec51c1b4814c46284c7fb3989e"
99
+ },
100
+ "metrics.d.ts": {
101
+ "size": 913,
102
+ "sha256": "c68b254af229871ae8d4ad5c2aca00108c07465e0abb336a68a9c2023d2d5776"
103
+ },
104
+ "metrics.js": {
105
+ "size": 3526,
106
+ "sha256": "bec6d546c15a4040eaf637feb974799db85cbdf34a7cb077f7b407da31181f11"
107
+ },
108
+ "runtime-index.d.ts": {
109
+ "size": 2230,
110
+ "sha256": "b4608f964f6c5cdb5469eb320683fee827734adcf1d03ea931766405451f35df"
111
+ },
112
+ "runtime-index.js": {
113
+ "size": 9948,
114
+ "sha256": "7aa5c97aef19ec36e1309b9abc922481924672e4017bc3fe198b5eff7dabda86"
115
+ },
116
+ "worker.d.ts": {
117
+ "size": 347,
118
+ "sha256": "fb7751246ae88f5f470107e35f25f561da5919fd2619fe70b8b182d0c878ac0e"
119
+ },
120
+ "worker.js": {
121
+ "size": 1376,
122
+ "sha256": "4f114198579d049482e284738cbdf35576d48bb269cc0936053911548efacb5d"
123
+ }
124
+ }
125
+ }
@@ -546,7 +546,7 @@ const getRenderJobsStateFunction = () => `
546
546
  const getRenderJobsIdentityHelpersFunction = () => `
547
547
  function getJobId(job) {
548
548
  const queue = job.queue || currentQueue || '';
549
- const id = job.id == null ? '' : String(job.id);
549
+ const id = String(job.id ?? '');
550
550
  const timestamp = Number.isFinite(job.timestamp) ? String(job.timestamp) : '';
551
551
  return queue + '::' + id + '::' + timestamp;
552
552
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zintrust/queue-monitor",
3
- "version": "2.4.8",
3
+ "version": "2.8.0",
4
4
  "description": "Queue monitoring package for ZinTrust with BullMQ and Redis.",
5
5
  "private": false,
6
6
  "type": "module",
@@ -62,4 +62,4 @@
62
62
  "bullmq": "^5.77.6",
63
63
  "ioredis": "^5.11.0"
64
64
  }
65
- }
65
+ }