@zintrust/queue-redis 0.4.4 → 0.4.26
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.
- package/dist/BullMQRedisQueue.js +1 -1
- package/dist/QueueHttpGateway.js +1 -1
- package/dist/index.js +4 -4
- package/dist/register.js +1 -1
- package/package.json +6 -3
package/dist/BullMQRedisQueue.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Cloudflare, createLockProvider, createRedisConnection, Env, ErrorFactory, generateUuid, getBullMQSafeQueueName, getLockProvider, Logger, queueConfig, registerLockProvider, resolveLockPrefix, ZintrustLang, } from '@zintrust/core';
|
|
2
2
|
import { Queue } from 'bullmq';
|
|
3
|
-
import { HttpQueueDriver } from './HttpQueueDriver';
|
|
3
|
+
import { HttpQueueDriver } from './HttpQueueDriver.js';
|
|
4
4
|
export const shouldUseHttpProxyDriver = () => {
|
|
5
5
|
if (directModeDepth > 0)
|
|
6
6
|
return false;
|
package/dist/QueueHttpGateway.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Env, ErrorFactory, Logger, Router, SignedRequest } from '@zintrust/core';
|
|
2
|
-
import BullMQRedisQueue, { runWithDirectQueueDriver } from './BullMQRedisQueue';
|
|
2
|
+
import BullMQRedisQueue, { runWithDirectQueueDriver } from './BullMQRedisQueue.js';
|
|
3
3
|
const nonces = new Map();
|
|
4
4
|
const nowMs = () => Date.now();
|
|
5
5
|
const normalizePath = (value) => {
|
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { BullMQRedisQueue } from './BullMQRedisQueue';
|
|
2
|
-
export { HttpQueueDriver } from './HttpQueueDriver';
|
|
3
|
-
export { QueueHttpGateway } from './QueueHttpGateway';
|
|
4
|
-
export { createRedisPublishClient, resetPublishClient, } from './RedisPublishClient';
|
|
1
|
+
export { BullMQRedisQueue } from './BullMQRedisQueue.js';
|
|
2
|
+
export { HttpQueueDriver } from './HttpQueueDriver.js';
|
|
3
|
+
export { QueueHttpGateway } from './QueueHttpGateway.js';
|
|
4
|
+
export { createRedisPublishClient, resetPublishClient, } from './RedisPublishClient.js';
|
|
5
5
|
/**
|
|
6
6
|
* Package version and build metadata
|
|
7
7
|
* Available at runtime for debugging and health checks
|
package/dist/register.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zintrust/queue-redis",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.26",
|
|
4
4
|
"description": "Redis queue driver for ZinTrust.",
|
|
5
5
|
"private": false,
|
|
6
6
|
"type": "module",
|
|
@@ -23,7 +23,10 @@
|
|
|
23
23
|
"node": ">=20.0.0"
|
|
24
24
|
},
|
|
25
25
|
"peerDependencies": {
|
|
26
|
-
"@zintrust/core": "^0.4.
|
|
26
|
+
"@zintrust/core": "^0.4.26"
|
|
27
|
+
},
|
|
28
|
+
"devDependencies": {
|
|
29
|
+
"@zintrust/core": "file:../../dist"
|
|
27
30
|
},
|
|
28
31
|
"publishConfig": {
|
|
29
32
|
"access": "public"
|
|
@@ -36,7 +39,7 @@
|
|
|
36
39
|
"adapter"
|
|
37
40
|
],
|
|
38
41
|
"scripts": {
|
|
39
|
-
"build": "tsc -p tsconfig.json",
|
|
42
|
+
"build": "tsc -p tsconfig.json && node ../../scripts/fix-dist-esm-imports.mjs dist",
|
|
40
43
|
"prepublishOnly": "npm run build"
|
|
41
44
|
},
|
|
42
45
|
"dependencies": {
|