@ddd-ts-kit/rabbitmq 0.1.1 → 0.3.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/README.md +2 -2
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -57,7 +57,7 @@ export const messagingModule = defineContextModule({
|
|
|
57
57
|
import { CommandBus, systemActor, type IntegrationEvent } from '@ddd-ts-kit/kernel';
|
|
58
58
|
import { IntegrationEventHandler } from '@ddd-ts-kit/kernel/declarations';
|
|
59
59
|
|
|
60
|
-
@IntegrationEventHandler(orderPlaced, { consumer: 'billing.invoice-on-order-placed' }
|
|
60
|
+
@IntegrationEventHandler(orderPlaced, { consumer: 'billing.invoice-on-order-placed' })
|
|
61
61
|
export class InvoiceOnOrderPlacedIntegrationHandler {
|
|
62
62
|
constructor(private readonly commands: CommandBus) {}
|
|
63
63
|
|
|
@@ -75,7 +75,7 @@ export class InvoiceOnOrderPlacedIntegrationHandler {
|
|
|
75
75
|
import { contextModule, createApplication, kernelModule } from '@ddd-ts-kit/di';
|
|
76
76
|
import { Clock } from '@ddd-ts-kit/kernel';
|
|
77
77
|
import { OutboxRelay, OutboxStore } from '@ddd-ts-kit/events';
|
|
78
|
-
import { bus, messagingModule } from '@/platform/messaging.module
|
|
78
|
+
import { bus, messagingModule } from '@/platform/messaging.module';
|
|
79
79
|
|
|
80
80
|
const app = createApplication({
|
|
81
81
|
modules: [
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ddd-ts-kit/rabbitmq",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0",
|
|
4
4
|
"description": "RabbitMQ provider for integration events: confirmed publishing for the outbox relay, durable queue per consumer, manual acknowledgement, bounded retries and dead-lettering.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -26,14 +26,14 @@
|
|
|
26
26
|
"dist"
|
|
27
27
|
],
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@ddd-ts-kit/kernel": "0.
|
|
30
|
-
"@ddd-ts-kit/events": "0.
|
|
29
|
+
"@ddd-ts-kit/kernel": "0.3.0",
|
|
30
|
+
"@ddd-ts-kit/events": "0.3.0"
|
|
31
31
|
},
|
|
32
32
|
"peerDependencies": {
|
|
33
33
|
"amqplib": ">=0.10.0"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
36
|
"amqplib": "latest",
|
|
37
|
-
"@ddd-ts-kit/testing": "0.
|
|
37
|
+
"@ddd-ts-kit/testing": "0.3.0"
|
|
38
38
|
}
|
|
39
39
|
}
|