redis-smq-rest-api 8.1.0 → 8.2.1

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/CHANGELOG.md CHANGED
@@ -3,6 +3,16 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [8.2.1](https://github.com/weyoss/redis-smq/compare/v8.2.0...v8.2.1) (2025-04-22)
7
+
8
+ **Note:** Version bump only for package redis-smq-rest-api
9
+
10
+ ## [8.2.0](https://github.com/weyoss/redis-smq/compare/v8.1.0...v8.2.0) (2025-04-20)
11
+
12
+ ### 📝 Documentation
13
+
14
+ - **redis-smq-rest-api:** update package name reference in README ([cf8415d](https://github.com/weyoss/redis-smq/commit/cf8415d6b1171c375fa6941430b34acc7b323acd))
15
+
6
16
  ## [8.1.0](https://github.com/weyoss/redis-smq/compare/v8.0.3...v8.1.0) (2025-04-16)
7
17
 
8
18
  **Note:** Version bump only for package redis-smq-rest-api
package/README.md CHANGED
@@ -37,7 +37,7 @@ pnpm add redis-smq-rest-api
37
37
  ⚠️ Important: Always install matching versions of RedisSMQ packages to ensure compatibility.
38
38
 
39
39
  ```bash
40
- npm install redis-smq@x.x.x redis-smq-rest-api@x.x.x @redis-smq/common@x.x.x
40
+ npm install redis-smq@x.x.x redis-smq-rest-api@x.x.x redis-smq-common@x.x.x
41
41
  ```
42
42
 
43
43
  See [version compatibility](https://github.com/weyoss/redis-smq/blob/master/packages/redis-smq/docs/version-compatibility.md) for details.
@@ -9,6 +9,8 @@ export declare class QueuesService {
9
9
  deleteAsync: ((queue: string | IQueueParams) => Promise<undefined>) | ((queue: string | IQueueParams) => Promise<void>);
10
10
  getPropertiesAsync: (queue: string | IQueueParams) => Promise<import("redis-smq").IQueueProperties>;
11
11
  getQueuesAsync: () => Promise<IQueueParams[]>;
12
+ getConsumersAsync: (queue: string | IQueueParams) => Promise<Record<string, import("redis-smq").TQueueConsumer>>;
13
+ getConsumerIdsAsync: (queue: string | IQueueParams) => Promise<string[]>;
12
14
  shutdownAsync: (() => Promise<undefined>) | (() => Promise<void>);
13
15
  } & Queue;
14
16
  constructor(queue: Queue);
@@ -1 +1 @@
1
- {"version":3,"file":"QueuesService.d.ts","sourceRoot":"","sources":["../../../../../src/app/services/QueuesService.ts"],"names":[],"mappings":"AAUA,OAAO,EACL,mBAAmB,EACnB,UAAU,EACV,YAAY,EACZ,KAAK,EACN,MAAM,WAAW,CAAC;AAInB,qBAAa,aAAa;IACxB,SAAS,CAAC,KAAK;;;;;;;;;;cAAC;gBAEJ,KAAK,EAAE,KAAK;IAIlB,WAAW,CACf,WAAW,EAAE,YAAY,EACzB,SAAS,EAAE,UAAU,EACrB,kBAAkB,EAAE,mBAAmB;;;;IAKnC,MAAM,CAAC,WAAW,EAAE,YAAY;IAIhC,aAAa,CAAC,WAAW,EAAE,YAAY;IAIvC,MAAM,CAAC,WAAW,EAAE,YAAY;IAIhC,SAAS;CAGhB"}
1
+ {"version":3,"file":"QueuesService.d.ts","sourceRoot":"","sources":["../../../../../src/app/services/QueuesService.ts"],"names":[],"mappings":"AAUA,OAAO,EACL,mBAAmB,EACnB,UAAU,EACV,YAAY,EACZ,KAAK,EACN,MAAM,WAAW,CAAC;AAInB,qBAAa,aAAa;IACxB,SAAS,CAAC,KAAK;;;;;;;;;;;;cAAC;gBAEJ,KAAK,EAAE,KAAK;IAIlB,WAAW,CACf,WAAW,EAAE,YAAY,EACzB,SAAS,EAAE,UAAU,EACrB,kBAAkB,EAAE,mBAAmB;;;;IAKnC,MAAM,CAAC,WAAW,EAAE,YAAY;IAIhC,aAAa,CAAC,WAAW,EAAE,YAAY;IAIvC,MAAM,CAAC,WAAW,EAAE,YAAY;IAIhC,SAAS;CAGhB"}
@@ -9,6 +9,8 @@ export declare class QueuesService {
9
9
  deleteAsync: ((queue: string | IQueueParams) => Promise<undefined>) | ((queue: string | IQueueParams) => Promise<void>);
10
10
  getPropertiesAsync: (queue: string | IQueueParams) => Promise<import("redis-smq").IQueueProperties>;
11
11
  getQueuesAsync: () => Promise<IQueueParams[]>;
12
+ getConsumersAsync: (queue: string | IQueueParams) => Promise<Record<string, import("redis-smq").TQueueConsumer>>;
13
+ getConsumerIdsAsync: (queue: string | IQueueParams) => Promise<string[]>;
12
14
  shutdownAsync: (() => Promise<undefined>) | (() => Promise<void>);
13
15
  } & Queue;
14
16
  constructor(queue: Queue);
@@ -1 +1 @@
1
- {"version":3,"file":"QueuesService.d.ts","sourceRoot":"","sources":["../../../../../src/app/services/QueuesService.ts"],"names":[],"mappings":"AAUA,OAAO,EACL,mBAAmB,EACnB,UAAU,EACV,YAAY,EACZ,KAAK,EACN,MAAM,WAAW,CAAC;AAInB,qBAAa,aAAa;IACxB,SAAS,CAAC,KAAK;;;;;;;;;;cAAC;gBAEJ,KAAK,EAAE,KAAK;IAIlB,WAAW,CACf,WAAW,EAAE,YAAY,EACzB,SAAS,EAAE,UAAU,EACrB,kBAAkB,EAAE,mBAAmB;;;;IAKnC,MAAM,CAAC,WAAW,EAAE,YAAY;IAIhC,aAAa,CAAC,WAAW,EAAE,YAAY;IAIvC,MAAM,CAAC,WAAW,EAAE,YAAY;IAIhC,SAAS;CAGhB"}
1
+ {"version":3,"file":"QueuesService.d.ts","sourceRoot":"","sources":["../../../../../src/app/services/QueuesService.ts"],"names":[],"mappings":"AAUA,OAAO,EACL,mBAAmB,EACnB,UAAU,EACV,YAAY,EACZ,KAAK,EACN,MAAM,WAAW,CAAC;AAInB,qBAAa,aAAa;IACxB,SAAS,CAAC,KAAK;;;;;;;;;;;;cAAC;gBAEJ,KAAK,EAAE,KAAK;IAIlB,WAAW,CACf,WAAW,EAAE,YAAY,EACzB,SAAS,EAAE,UAAU,EACrB,kBAAkB,EAAE,mBAAmB;;;;IAKnC,MAAM,CAAC,WAAW,EAAE,YAAY;IAIhC,aAAa,CAAC,WAAW,EAAE,YAAY;IAIvC,MAAM,CAAC,WAAW,EAAE,YAAY;IAIhC,SAAS;CAGhB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "redis-smq-rest-api",
3
- "version": "8.1.0",
3
+ "version": "8.2.1",
4
4
  "description": "A RESTful API for RedisSMQ",
5
5
  "author": "Weyoss <weyoss@protonmail.com>",
6
6
  "license": "MIT",
@@ -61,8 +61,8 @@
61
61
  "uuid": "11.1.0"
62
62
  },
63
63
  "peerDependencies": {
64
- "redis-smq": "^8.1.0",
65
- "redis-smq-common": "^8.1.0"
64
+ "redis-smq": "^8.2.1",
65
+ "redis-smq-common": "^8.2.1"
66
66
  },
67
67
  "devDependencies": {
68
68
  "@types/json-schema": "7.0.15",