redis-smq-rest-api 9.0.5 → 9.0.6-next.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 +17 -3
- package/README.md +13 -13
- package/dist/cjs/src/errors/errors.d.ts +1 -0
- package/dist/cjs/src/errors/errors.d.ts.map +1 -1
- package/dist/cjs/src/errors/errors.js +1 -0
- package/dist/cjs/src/errors/errors.js.map +1 -1
- package/dist/cjs/src/services/ConfigurationService.d.ts +1 -4
- package/dist/cjs/src/services/ConfigurationService.d.ts.map +1 -1
- package/dist/esm/src/errors/errors.d.ts +1 -0
- package/dist/esm/src/errors/errors.d.ts.map +1 -1
- package/dist/esm/src/errors/errors.js +1 -0
- package/dist/esm/src/errors/errors.js.map +1 -1
- package/dist/esm/src/services/ConfigurationService.d.ts +1 -4
- package/dist/esm/src/services/ConfigurationService.d.ts.map +1 -1
- package/dist/schema.json +20 -0
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -3,13 +3,27 @@
|
|
|
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
|
+
## [9.0.6-next.1](https://github.com/weyoss/redis-smq/compare/v9.0.6-next.0...v9.0.6-next.1) (2025-12-25)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package redis-smq-rest-api
|
|
9
|
+
|
|
10
|
+
## [9.0.6-next.0](https://github.com/weyoss/redis-smq/compare/v9.0.5...v9.0.6-next.0) (2025-12-19)
|
|
11
|
+
|
|
12
|
+
### 🚀 Chore
|
|
13
|
+
|
|
14
|
+
- fix outdated email address in different files ([ef0ec13](https://github.com/weyoss/redis-smq/commit/ef0ec13b7ea93de572b0913031bddf682dceb502))
|
|
15
|
+
- update copyright info ([09c04af](https://github.com/weyoss/redis-smq/commit/09c04af231725845f05e1a781d3211e87ded0b91))
|
|
16
|
+
- update READMEs after merging 'master' into 'next' ([7a7b35a](https://github.com/weyoss/redis-smq/commit/7a7b35a1a8171d70a2309bbb82b39ca5283b0499))
|
|
17
|
+
|
|
18
|
+
### ♻️ Code Refactoring
|
|
19
|
+
|
|
20
|
+
- **redis-smq-rest-api:** include ConsumerSetMismatchError in error list map ([d486f3c](https://github.com/weyoss/redis-smq/commit/d486f3c2834dd580841027ef5c0cf75672661a11))
|
|
21
|
+
|
|
6
22
|
## [9.0.5](https://github.com/weyoss/redis-smq/compare/v9.0.5-next.1...v9.0.5) (2025-12-15)
|
|
7
23
|
|
|
8
24
|
### 🚀 Chore
|
|
9
25
|
|
|
10
|
-
- update READMEs after merging '
|
|
11
|
-
- update READMEs after merging 'next' into 'master' ([7a9f9e6](https://github.com/weyoss/redis-smq/commit/7a9f9e64202aabc5264bb2369311ab7992992dbf))
|
|
12
|
-
- update READMEs after merging 'origin/next' into 'master' ([4d7b0b2](https://github.com/weyoss/redis-smq/commit/4d7b0b20a37157a4607529e1152787857c9a0254))
|
|
26
|
+
- update READMEs after merging 'next' into 'master' ([fd588f51](https://github.com/weyoss/redis-smq/commit/fd588f512c71160164728218df7e66eeefe32675))
|
|
13
27
|
|
|
14
28
|
## [9.0.5-next.1](https://github.com/weyoss/redis-smq/compare/v9.0.5-next.0...v9.0.5-next.1) (2025-12-14)
|
|
15
29
|
|
package/README.md
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
# RedisSMQ REST API
|
|
2
2
|
|
|
3
3
|
> [!NOTE]
|
|
4
|
-
> You are viewing the documentation for the "
|
|
5
|
-
> For
|
|
4
|
+
> You are viewing the documentation for the "next" branch. These docs describe unreleased changes published under the npm "next" dist-tag.
|
|
5
|
+
> For the latest stable documentation, see:
|
|
6
6
|
>
|
|
7
|
-
> -
|
|
7
|
+
> - Master (stable) README: https://github.com/weyoss/redis-smq/tree/master/packages/redis-smq-rest-api
|
|
8
8
|
> - Latest release notes/tags: https://github.com/weyoss/redis-smq/releases/latest
|
|
9
9
|
> - Install stable packages with @latest; pre-release with @next.
|
|
10
10
|
|
|
11
|
-
[](https://github.com/weyoss/redis-smq/releases)
|
|
12
|
+
[](https://app.codecov.io/github/weyoss/redis-smq/tree/next/packages/redis-smq-rest-api)
|
|
13
13
|
|
|
14
14
|
RedisSMQ REST API provides an HTTP interface enabling any web-capable application to interact with the RedisSMQ message
|
|
15
15
|
queue using a RESTful API.
|
|
@@ -26,7 +26,7 @@ queue using a RESTful API.
|
|
|
26
26
|
|
|
27
27
|
```bash
|
|
28
28
|
# Using npm
|
|
29
|
-
npm install redis-smq redis-smq-common redis-smq-rest-api --save
|
|
29
|
+
npm install redis-smq@next redis-smq-common@next redis-smq-rest-api@next --save
|
|
30
30
|
```
|
|
31
31
|
|
|
32
32
|
Don't forget to install a Redis client. Choose either node-redis or ioredis:
|
|
@@ -39,19 +39,19 @@ npm install ioredis --save
|
|
|
39
39
|
|
|
40
40
|
## Version Compatibility
|
|
41
41
|
|
|
42
|
-
Always install matching versions of RedisSMQ packages to ensure compatibility. See [version compatibility](https://github.com/weyoss/redis-smq/tree/
|
|
42
|
+
Always install matching versions of RedisSMQ packages to ensure compatibility. See [version compatibility](https://github.com/weyoss/redis-smq/tree/next/packages/redis-smq/docs/version-compatibility.md) for details.
|
|
43
43
|
|
|
44
44
|
## Documentation
|
|
45
45
|
|
|
46
|
-
For in-depth guides and API references, see [the documentation page](https://github.com/weyoss/redis-smq/tree/
|
|
46
|
+
For in-depth guides and API references, see [the documentation page](https://github.com/weyoss/redis-smq/tree/next/packages/redis-smq-rest-api/docs/README.md):
|
|
47
47
|
|
|
48
48
|
## Related packages
|
|
49
49
|
|
|
50
|
-
- [redis-smq](https://github.com/weyoss/redis-smq/tree/
|
|
51
|
-
- [redis-smq-common](https://github.com/weyoss/redis-smq/tree/
|
|
52
|
-
- [redis-smq-web-server](https://github.com/weyoss/redis-smq/tree/
|
|
53
|
-
- [redis-smq-web-ui](https://github.com/weyoss/redis-smq/tree/
|
|
50
|
+
- [redis-smq](https://github.com/weyoss/redis-smq/tree/next/packages/redis-smq/README.md): Core message queue
|
|
51
|
+
- [redis-smq-common](https://github.com/weyoss/redis-smq/tree/next/packages/redis-smq-common/README.md): Shared components/utilities
|
|
52
|
+
- [redis-smq-web-server](https://github.com/weyoss/redis-smq/tree/next/packages/redis-smq-web-server/README.md): Static hosting + in-process or proxied API
|
|
53
|
+
- [redis-smq-web-ui](https://github.com/weyoss/redis-smq/tree/next/packages/redis-smq-web-ui/README.md): SPA for monitoring and managing RedisSMQ
|
|
54
54
|
|
|
55
55
|
## License
|
|
56
56
|
|
|
57
|
-
RedisSMQ REST API is released under the [MIT License](https://github.com/weyoss/redis-smq/tree/
|
|
57
|
+
RedisSMQ REST API is released under the [MIT License](https://github.com/weyoss/redis-smq/tree/next/LICENSE).
|
|
@@ -10,6 +10,7 @@ export declare const errors: {
|
|
|
10
10
|
readonly ConsumerGroupRequiredError: readonly [400, "ConsumerGroupRequiredError"];
|
|
11
11
|
readonly ConsumerGroupsError: readonly [500, "ConsumerGroupsError"];
|
|
12
12
|
readonly ConsumerGroupsNotSupportedError: readonly [501, "ConsumerGroupsNotSupportedError"];
|
|
13
|
+
readonly ConsumerSetMismatchError: readonly [500, "ConsumerSetMismatchError"];
|
|
13
14
|
readonly DeadLetteredMessageAuditNotEnabledError: readonly [500, "DeadLetteredMessageAuditNotEnabledError"];
|
|
14
15
|
readonly ExchangeError: readonly [500, "ExchangeError"];
|
|
15
16
|
readonly ExchangeFanoutError: readonly [500, "ExchangeFanoutError"];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../../../../src/errors/errors.ts"],"names":[],"mappings":"AAgBA,eAAO,MAAM,MAAM
|
|
1
|
+
{"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../../../../src/errors/errors.ts"],"names":[],"mappings":"AAgBA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8FT,CAAC;AAEX,MAAM,MAAM,OAAO,GAAG,OAAO,MAAM,CAAC"}
|
|
@@ -22,6 +22,7 @@ exports.errors = {
|
|
|
22
22
|
ConsumerGroupRequiredError: [400, 'ConsumerGroupRequiredError'],
|
|
23
23
|
ConsumerGroupsError: [500, 'ConsumerGroupsError'],
|
|
24
24
|
ConsumerGroupsNotSupportedError: [501, 'ConsumerGroupsNotSupportedError'],
|
|
25
|
+
ConsumerSetMismatchError: [500, 'ConsumerSetMismatchError'],
|
|
25
26
|
DeadLetteredMessageAuditNotEnabledError: [
|
|
26
27
|
500,
|
|
27
28
|
'DeadLetteredMessageAuditNotEnabledError',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"errors.js","sourceRoot":"","sources":["../../../../src/errors/errors.ts"],"names":[],"mappings":";;;AAgBa,QAAA,MAAM,GAAG;IACpB,uCAAuC,EAAE;QACvC,GAAG;QACH,yCAAyC;KAC1C;IACD,kBAAkB,EAAE,CAAC,GAAG,EAAE,oBAAoB,CAAC;IAC/C,oCAAoC,EAAE;QACpC,GAAG;QACH,sCAAsC;KACvC;IACD,uCAAuC,EAAE;QACvC,GAAG;QACH,yCAAyC;KAC1C;IACD,2BAA2B,EAAE,CAAC,GAAG,EAAE,6BAA6B,CAAC;IACjE,aAAa,EAAE,CAAC,GAAG,EAAE,eAAe,CAAC;IACrC,0BAA0B,EAAE,CAAC,GAAG,EAAE,4BAA4B,CAAC;IAC/D,0BAA0B,EAAE,CAAC,GAAG,EAAE,4BAA4B,CAAC;IAC/D,0BAA0B,EAAE,CAAC,GAAG,EAAE,4BAA4B,CAAC;IAC/D,mBAAmB,EAAE,CAAC,GAAG,EAAE,qBAAqB,CAAC;IACjD,+BAA+B,EAAE,CAAC,GAAG,EAAE,iCAAiC,CAAC;IACzE,uCAAuC,EAAE;QACvC,GAAG;QACH,yCAAyC;KAC1C;IACD,aAAa,EAAE,CAAC,GAAG,EAAE,eAAe,CAAC;IACrC,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G,EAAE,wBAAwB,CAAC;IACvD,sBAAsB,EAAE,CAAC,GAAG,EAAE,wBAAwB,CAAC;IACvD,sCAAsC,EAAE;QACtC,GAAG;QACH,wCAAwC;KACzC;IACD,8BAA8B,EAAE,CAAC,GAAG,EAAE,gCAAgC,CAAC;IACvE,aAAa,EAAE,CAAC,GAAG,EAAE,eAAe,CAAC;IACrC,uBAAuB,EAAE,CAAC,GAAG,EAAE,yBAAyB,CAAC;IACzD,iBAAiB,EAAE,CAAC,GAAG,EAAE,mBAAmB,CAAC;IAC7C,uBAAuB,EAAE,CAAC,GAAG,EAAE,yBAAyB,CAAC;IACzD,+BAA+B,EAAE,CAAC,GAAG,EAAE,iCAAiC,CAAC;IACzE,2BAA2B,EAAE,CAAC,GAAG,EAAE,6BAA6B,CAAC;IACjE,6BAA6B,EAAE,CAAC,GAAG,EAAE,+BAA+B,CAAC;IACrE,gCAAgC,EAAE,CAAC,GAAG,EAAE,kCAAkC,CAAC;IAC3E,iBAAiB,EAAE,CAAC,GAAG,EAAE,mBAAmB,CAAC;IAC7C,kBAAkB,EAAE,CAAC,GAAG,EAAE,oBAAoB,CAAC;IAC/C,kBAAkB,EAAE,CAAC,GAAG,EAAE,oBAAoB,CAAC;IAC/C,kBAAkB,EAAE,CAAC,GAAG,EAAE,oBAAoB,CAAC;IAC/C,mBAAmB,EAAE,CAAC,GAAG,EAAE,qBAAqB,CAAC;IACjD,cAAc,EAAE,CAAC,GAAG,EAAE,gBAAgB,CAAC;IACvC,wBAAwB,EAAE,CAAC,GAAG,EAAE,0BAA0B,CAAC;IAC3D,uBAAuB,EAAE,CAAC,GAAG,EAAE,yBAAyB,CAAC;IACzD,qBAAqB,EAAE,CAAC,GAAG,EAAE,uBAAuB,CAAC;CAC7C,CAAC"}
|
|
@@ -1,12 +1,9 @@
|
|
|
1
1
|
import { Configuration } from 'redis-smq';
|
|
2
2
|
export declare class ConfigurationService {
|
|
3
3
|
protected configuration: {
|
|
4
|
-
loadAsync: () => Promise<
|
|
5
|
-
saveAsync: ((config: import("redis-smq").IRedisSMQConfig) => Promise<undefined>) | ((config: import("redis-smq").IRedisSMQConfig) => Promise<void>);
|
|
4
|
+
loadAsync: (() => Promise<undefined>) | (() => Promise<void>);
|
|
6
5
|
saveCurrentConfigAsync: (() => Promise<undefined>) | (() => Promise<void>);
|
|
7
|
-
resetAsync: (() => Promise<undefined>) | (() => Promise<void>);
|
|
8
6
|
updateConfigAsync: ((updates: import("redis-smq").IRedisSMQConfig) => Promise<undefined>) | ((updates: import("redis-smq").IRedisSMQConfig) => Promise<void>);
|
|
9
|
-
existsAsync: (() => Promise<false>) | (() => Promise<true>);
|
|
10
7
|
} & Configuration;
|
|
11
8
|
constructor(configuration: Configuration);
|
|
12
9
|
getConfiguration(): Promise<import("redis-smq").IRedisSMQParsedConfig>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConfigurationService.d.ts","sourceRoot":"","sources":["../../../../src/services/ConfigurationService.ts"],"names":[],"mappings":"AAUA,OAAO,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAI1C,qBAAa,oBAAoB;IAC/B,SAAS,CAAC,aAAa
|
|
1
|
+
{"version":3,"file":"ConfigurationService.d.ts","sourceRoot":"","sources":["../../../../src/services/ConfigurationService.ts"],"names":[],"mappings":"AAUA,OAAO,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAI1C,qBAAa,oBAAoB;IAC/B,SAAS,CAAC,aAAa;;;;sBAAC;gBAEZ,aAAa,EAAE,aAAa;IAIlC,gBAAgB;CAGvB"}
|
|
@@ -10,6 +10,7 @@ export declare const errors: {
|
|
|
10
10
|
readonly ConsumerGroupRequiredError: readonly [400, "ConsumerGroupRequiredError"];
|
|
11
11
|
readonly ConsumerGroupsError: readonly [500, "ConsumerGroupsError"];
|
|
12
12
|
readonly ConsumerGroupsNotSupportedError: readonly [501, "ConsumerGroupsNotSupportedError"];
|
|
13
|
+
readonly ConsumerSetMismatchError: readonly [500, "ConsumerSetMismatchError"];
|
|
13
14
|
readonly DeadLetteredMessageAuditNotEnabledError: readonly [500, "DeadLetteredMessageAuditNotEnabledError"];
|
|
14
15
|
readonly ExchangeError: readonly [500, "ExchangeError"];
|
|
15
16
|
readonly ExchangeFanoutError: readonly [500, "ExchangeFanoutError"];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../../../../src/errors/errors.ts"],"names":[],"mappings":"AAgBA,eAAO,MAAM,MAAM
|
|
1
|
+
{"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../../../../src/errors/errors.ts"],"names":[],"mappings":"AAgBA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8FT,CAAC;AAEX,MAAM,MAAM,OAAO,GAAG,OAAO,MAAM,CAAC"}
|
|
@@ -19,6 +19,7 @@ export const errors = {
|
|
|
19
19
|
ConsumerGroupRequiredError: [400, 'ConsumerGroupRequiredError'],
|
|
20
20
|
ConsumerGroupsError: [500, 'ConsumerGroupsError'],
|
|
21
21
|
ConsumerGroupsNotSupportedError: [501, 'ConsumerGroupsNotSupportedError'],
|
|
22
|
+
ConsumerSetMismatchError: [500, 'ConsumerSetMismatchError'],
|
|
22
23
|
DeadLetteredMessageAuditNotEnabledError: [
|
|
23
24
|
500,
|
|
24
25
|
'DeadLetteredMessageAuditNotEnabledError',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"errors.js","sourceRoot":"","sources":["../../../../src/errors/errors.ts"],"names":[],"mappings":"AAgBA,MAAM,CAAC,MAAM,MAAM,GAAG;IACpB,uCAAuC,EAAE;QACvC,GAAG;QACH,yCAAyC;KAC1C;IACD,kBAAkB,EAAE,CAAC,GAAG,EAAE,oBAAoB,CAAC;IAC/C,oCAAoC,EAAE;QACpC,GAAG;QACH,sCAAsC;KACvC;IACD,uCAAuC,EAAE;QACvC,GAAG;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,CAAC,GAAG,EAAE,oBAAoB,CAAC;IAC/C,kBAAkB,EAAE,CAAC,GAAG,EAAE,oBAAoB,CAAC;IAC/C,mBAAmB,EAAE,CAAC,GAAG,EAAE,qBAAqB,CAAC;IACjD,cAAc,EAAE,CAAC,GAAG,EAAE,gBAAgB,CAAC;IACvC,wBAAwB,EAAE,CAAC,GAAG,EAAE,0BAA0B,CAAC;IAC3D,uBAAuB,EAAE,CAAC,GAAG,EAAE,yBAAyB,CAAC;IACzD,qBAAqB,EAAE,CAAC,GAAG,EAAE,uBAAuB,CAAC;CAC7C,CAAC"}
|
|
@@ -1,12 +1,9 @@
|
|
|
1
1
|
import { Configuration } from 'redis-smq';
|
|
2
2
|
export declare class ConfigurationService {
|
|
3
3
|
protected configuration: {
|
|
4
|
-
loadAsync: () => Promise<
|
|
5
|
-
saveAsync: ((config: import("redis-smq").IRedisSMQConfig) => Promise<undefined>) | ((config: import("redis-smq").IRedisSMQConfig) => Promise<void>);
|
|
4
|
+
loadAsync: (() => Promise<undefined>) | (() => Promise<void>);
|
|
6
5
|
saveCurrentConfigAsync: (() => Promise<undefined>) | (() => Promise<void>);
|
|
7
|
-
resetAsync: (() => Promise<undefined>) | (() => Promise<void>);
|
|
8
6
|
updateConfigAsync: ((updates: import("redis-smq").IRedisSMQConfig) => Promise<undefined>) | ((updates: import("redis-smq").IRedisSMQConfig) => Promise<void>);
|
|
9
|
-
existsAsync: (() => Promise<false>) | (() => Promise<true>);
|
|
10
7
|
} & Configuration;
|
|
11
8
|
constructor(configuration: Configuration);
|
|
12
9
|
getConfiguration(): Promise<import("redis-smq").IRedisSMQParsedConfig>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConfigurationService.d.ts","sourceRoot":"","sources":["../../../../src/services/ConfigurationService.ts"],"names":[],"mappings":"AAUA,OAAO,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAI1C,qBAAa,oBAAoB;IAC/B,SAAS,CAAC,aAAa
|
|
1
|
+
{"version":3,"file":"ConfigurationService.d.ts","sourceRoot":"","sources":["../../../../src/services/ConfigurationService.ts"],"names":[],"mappings":"AAUA,OAAO,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAI1C,qBAAa,oBAAoB;IAC/B,SAAS,CAAC,aAAa;;;;sBAAC;gBAEZ,aAAa,EAAE,aAAa;IAIlC,gBAAgB;CAGvB"}
|
package/dist/schema.json
CHANGED
|
@@ -7031,6 +7031,25 @@
|
|
|
7031
7031
|
"minItems": 2,
|
|
7032
7032
|
"type": "array"
|
|
7033
7033
|
},
|
|
7034
|
+
"ConsumerSetMismatchError": {
|
|
7035
|
+
"default": [
|
|
7036
|
+
500,
|
|
7037
|
+
"ConsumerSetMismatchError"
|
|
7038
|
+
],
|
|
7039
|
+
"items": [
|
|
7040
|
+
{
|
|
7041
|
+
"const": 500,
|
|
7042
|
+
"type": "number"
|
|
7043
|
+
},
|
|
7044
|
+
{
|
|
7045
|
+
"const": "ConsumerSetMismatchError",
|
|
7046
|
+
"type": "string"
|
|
7047
|
+
}
|
|
7048
|
+
],
|
|
7049
|
+
"maxItems": 2,
|
|
7050
|
+
"minItems": 2,
|
|
7051
|
+
"type": "array"
|
|
7052
|
+
},
|
|
7034
7053
|
"DeadLetteredMessageAuditNotEnabledError": {
|
|
7035
7054
|
"default": [
|
|
7036
7055
|
500,
|
|
@@ -8013,6 +8032,7 @@
|
|
|
8013
8032
|
"ConsumerGroupRequiredError",
|
|
8014
8033
|
"ConsumerGroupsError",
|
|
8015
8034
|
"ConsumerGroupsNotSupportedError",
|
|
8035
|
+
"ConsumerSetMismatchError",
|
|
8016
8036
|
"DeadLetteredMessageAuditNotEnabledError",
|
|
8017
8037
|
"ExchangeError",
|
|
8018
8038
|
"ExchangeFanoutError",
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "redis-smq-rest-api",
|
|
3
|
-
"version": "9.0.
|
|
3
|
+
"version": "9.0.6-next.1",
|
|
4
4
|
"description": "REST API for RedisSMQ: OpenAPI 3 schema and Swagger UI for managing queues, messages, and consumers.",
|
|
5
|
-
"author": "Weyoss <weyoss@
|
|
5
|
+
"author": "Weyoss <weyoss@outlook.com>",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"keywords": [
|
|
8
8
|
"redis",
|
|
@@ -68,8 +68,8 @@
|
|
|
68
68
|
"peerDependencies": {
|
|
69
69
|
"@redis/client": "^5",
|
|
70
70
|
"ioredis": "^5",
|
|
71
|
-
"redis-smq": "^9.0.
|
|
72
|
-
"redis-smq-common": "^9.0.
|
|
71
|
+
"redis-smq": "^9.0.6-next.1",
|
|
72
|
+
"redis-smq-common": "^9.0.6-next.1"
|
|
73
73
|
},
|
|
74
74
|
"peerDependenciesMeta": {
|
|
75
75
|
"@redis/client": {
|