@skein-js/redis 0.5.0 → 0.7.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.
- package/dist/index.d.ts +2 -0
- package/package.json +6 -6
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { RunQueue, QueuedRun, RunProcessor, RunConsumerOptions, RunConsumer, RunEventBus, RunFrame } from '@skein-js/core';
|
|
2
2
|
|
|
3
|
+
/** Options for {@link RedisRunQueue} — the BullMQ queue name and per-run retry attempts. */
|
|
3
4
|
interface RedisRunQueueOptions {
|
|
4
5
|
/** BullMQ queue name; also namespaces the Redis keys. Must not contain `:`. Default `"skein-runs"`. */
|
|
5
6
|
queueName?: string;
|
|
@@ -20,6 +21,7 @@ declare class RedisRunQueue implements RunQueue {
|
|
|
20
21
|
dispose(): Promise<void>;
|
|
21
22
|
}
|
|
22
23
|
|
|
24
|
+
/** Options for {@link RedisRunEventBus} — key namespacing and stream/close-marker retention windows. */
|
|
23
25
|
interface RedisRunEventBusOptions {
|
|
24
26
|
/** Namespaces every key so multiple apps can share one Redis. Default `"skein"`. */
|
|
25
27
|
keyPrefix?: string;
|
package/package.json
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@skein-js/redis",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.7.0",
|
|
4
4
|
"description": "Redis job queue and cross-instance pub/sub streaming for skein-js.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "Maina Wycliffe <wmmaina7@gmail.com>",
|
|
7
|
-
"homepage": "https://github.com/
|
|
7
|
+
"homepage": "https://github.com/skein-js/skein-js/tree/main/packages/runtime-redis#readme",
|
|
8
8
|
"repository": {
|
|
9
9
|
"type": "git",
|
|
10
|
-
"url": "git+https://github.com/
|
|
10
|
+
"url": "git+https://github.com/skein-js/skein-js.git",
|
|
11
11
|
"directory": "packages/runtime-redis"
|
|
12
12
|
},
|
|
13
13
|
"bugs": {
|
|
14
|
-
"url": "https://github.com/
|
|
14
|
+
"url": "https://github.com/skein-js/skein-js/issues"
|
|
15
15
|
},
|
|
16
16
|
"keywords": [
|
|
17
17
|
"typescript",
|
|
@@ -43,10 +43,10 @@
|
|
|
43
43
|
"dependencies": {
|
|
44
44
|
"ioredis": ">=5.4.0",
|
|
45
45
|
"bullmq": ">=5.0.0",
|
|
46
|
-
"@skein-js/core": "0.
|
|
46
|
+
"@skein-js/core": "0.7.0"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
|
-
"@skein-js/test-support": "0.
|
|
49
|
+
"@skein-js/test-support": "0.7.0"
|
|
50
50
|
},
|
|
51
51
|
"publishConfig": {
|
|
52
52
|
"access": "public"
|