@ddd-ts-kit/nats 0.1.1 → 0.2.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.
Files changed (2) hide show
  1. package/README.md +2 -2
  2. package/package.json +4 -4
package/README.md CHANGED
@@ -68,7 +68,7 @@ export const messagingModule = defineContextModule({
68
68
  import { CommandBus, systemActor, type IntegrationEvent } from '@ddd-ts-kit/kernel';
69
69
  import { IntegrationEventHandler } from '@ddd-ts-kit/kernel/declarations';
70
70
 
71
- @IntegrationEventHandler(orderPlaced, { consumer: 'billing.invoice-on-order-placed' }, [CommandBus])
71
+ @IntegrationEventHandler(orderPlaced, { consumer: 'billing.invoice-on-order-placed' })
72
72
  export class InvoiceOnOrderPlacedIntegrationHandler {
73
73
  constructor(private readonly commands: CommandBus) {}
74
74
 
@@ -86,7 +86,7 @@ export class InvoiceOnOrderPlacedIntegrationHandler {
86
86
  import { contextModule, createApplication, kernelModule } from '@ddd-ts-kit/di';
87
87
  import { Clock } from '@ddd-ts-kit/kernel';
88
88
  import { OutboxRelay, OutboxStore } from '@ddd-ts-kit/events';
89
- import { bus, messagingModule } from '@/platform/messaging.module.js';
89
+ import { bus, messagingModule } from '@/platform/messaging.module';
90
90
 
91
91
  const app = createApplication({
92
92
  modules: [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ddd-ts-kit/nats",
3
- "version": "0.1.1",
3
+ "version": "0.2.0",
4
4
  "description": "NATS JetStream provider for integration events: acknowledged publishing with message deduplication for the outbox relay, one durable consumer per consumer, explicit acknowledgement, bounded redelivery and a dead-letter subject.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -26,11 +26,11 @@
26
26
  "dist"
27
27
  ],
28
28
  "dependencies": {
29
- "@ddd-ts-kit/events": "0.1.1",
30
- "@ddd-ts-kit/kernel": "0.1.1"
29
+ "@ddd-ts-kit/events": "0.2.0",
30
+ "@ddd-ts-kit/kernel": "0.2.0"
31
31
  },
32
32
  "devDependencies": {
33
- "@ddd-ts-kit/testing": "0.1.1",
33
+ "@ddd-ts-kit/testing": "0.2.0",
34
34
  "@nats-io/jetstream": "^3.4.0",
35
35
  "@nats-io/transport-node": "^3.4.0"
36
36
  },