@palmetto/nestjs-pubsub 3.3.0 → 3.3.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/README.md +3 -3
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -51,7 +51,7 @@ import { Injectable, Module } from "@nestjs/common";
|
|
|
51
51
|
|
|
52
52
|
import { z } from "zod";
|
|
53
53
|
|
|
54
|
-
// MyModel* objects define the model you are publishing or subscribing using
|
|
54
|
+
// MyModel* objects define the model you are publishing or subscribing using RabbitMQ
|
|
55
55
|
const MyModelSchema = IdMetaSchema.extend({
|
|
56
56
|
message: z.string(),
|
|
57
57
|
value: z.int(),
|
|
@@ -64,7 +64,7 @@ const MyModelConfig: RabbitQueueExchangeConfiguration = {
|
|
|
64
64
|
exchangeType: "direct",
|
|
65
65
|
};
|
|
66
66
|
|
|
67
|
-
// MyOtherModel* objects define another model you are publishing or subscribing, this time using
|
|
67
|
+
// MyOtherModel* objects define another model you are publishing or subscribing, this time using BullMQ
|
|
68
68
|
const MyOtherModelSchema = IdMetaSchema.extend({
|
|
69
69
|
message: z.string(),
|
|
70
70
|
values: z.int().array(),
|
|
@@ -76,7 +76,7 @@ const MyOtherModelConfig: BullMqQueueConfiguration = {
|
|
|
76
76
|
transport: BULLMQ_TRANSPORT,
|
|
77
77
|
};
|
|
78
78
|
|
|
79
|
-
// MyModelHandler demonstrates a subscriber to the MyModel event over
|
|
79
|
+
// MyModelHandler demonstrates a subscriber to the MyModel event over RabbitMQ
|
|
80
80
|
@Injectable()
|
|
81
81
|
class MyModelHandler {
|
|
82
82
|
constructor(private readonly publisher: Publisher) {}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@palmetto/nestjs-pubsub",
|
|
3
|
-
"version": "3.3.
|
|
3
|
+
"version": "3.3.1",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/palmetto/galaxy"
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"@nestjs/core": "^11.1.3",
|
|
29
29
|
"@nestjs/testing": "^11.1.5",
|
|
30
30
|
"@palmetto/nestjs-errors": "^2.2.1",
|
|
31
|
-
"@palmetto/pubsub": "^3.3.
|
|
31
|
+
"@palmetto/pubsub": "^3.3.1",
|
|
32
32
|
"@swc/core": "^1.13.3",
|
|
33
33
|
"@types/node": "^24.2.1",
|
|
34
34
|
"@vitest/coverage-v8": "^3.2.4",
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
"@nestjs/common": "^7.0.0 || ^8.0.0 || ^9.0.0 || ^10.0.0 || ^11.0.0",
|
|
58
58
|
"@nestjs/core": "^7.0.0 || ^8.0.0 || ^9.0.0 || ^10.0.0 || ^11.0.0",
|
|
59
59
|
"@palmetto/nestjs-errors": "^2.2.1",
|
|
60
|
-
"@palmetto/pubsub": "^3.3.
|
|
60
|
+
"@palmetto/pubsub": "^3.3.1",
|
|
61
61
|
"zod": "^4.1"
|
|
62
62
|
}
|
|
63
63
|
}
|