@sockethub/data-layer 1.0.0-alpha.13 → 1.0.0-alpha.14

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.
@@ -55,6 +55,14 @@ export declare class JobQueue extends JobBase {
55
55
  * Gracefully shuts down the queue, cleaning up all resources and connections.
56
56
  */
57
57
  shutdown(): Promise<void>;
58
+ /**
59
+ * Closes this queue's connections without pausing or obliterating the
60
+ * underlying Redis queue. The queue name is derived from the platform
61
+ * instance identifier, so a replacement instance for the same identifier
62
+ * shares it; use this instead of shutdown() when a replacement exists
63
+ * and must keep accepting and processing jobs.
64
+ */
65
+ disconnect(): Promise<void>;
58
66
  private getJob;
59
67
  private createJob;
60
68
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sockethub/data-layer",
3
3
  "description": "Storing and RPC of data for Sockethub",
4
- "version": "1.0.0-alpha.13",
4
+ "version": "1.0.0-alpha.14",
5
5
  "type": "module",
6
6
  "private": false,
7
7
  "author": "Nick Jennings <nick@silverbucket.net>",
@@ -46,12 +46,12 @@
46
46
  "test:integration": "bun test ./integration/redis.integration.ts"
47
47
  },
48
48
  "dependencies": {
49
- "@sockethub/logger": "^1.0.0-alpha.13",
50
- "@sockethub/schemas": "^3.0.0-alpha.13",
51
- "@sockethub/util": "^1.0.0-alpha.1",
49
+ "@sockethub/logger": "^1.0.0-alpha.14",
50
+ "@sockethub/schemas": "^3.0.0-alpha.14",
51
+ "@sockethub/util": "^1.0.0-alpha.2",
52
52
  "bullmq": "^5.66.5",
53
53
  "ioredis": "^5.9.2",
54
- "secure-store-redis": "^4.1.0"
54
+ "secure-store-redis": "^4.2.0"
55
55
  },
56
56
  "devDependencies": {
57
57
  "@types/bun": "latest",
@@ -62,6 +62,6 @@
62
62
  "typedoc-plugin-markdown": "^4.9.0",
63
63
  "winston": "^3.19.0"
64
64
  },
65
- "gitHead": "864733e5b34449ef39542eceb4ff11aa308081bc",
65
+ "gitHead": "4f99b07fc19c9606875621b3f96323fa6e62ae3f",
66
66
  "types": "./dist/index.d.ts"
67
67
  }