@ddd-ts-kit/kafka 0.104.0 → 0.106.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.fr.md CHANGED
@@ -1,5 +1,5 @@
1
1
  [English](README.md) · **Français**
2
- <!-- translation-of: README.md sha256:26ed13a5fc492ce2 -->
2
+ <!-- translation-of: README.md sha256:62021d366d69c70e -->
3
3
 
4
4
  # @ddd-ts-kit/kafka
5
5
 
@@ -144,7 +144,8 @@ declare const IssueInvoice: new (actor: Actor, orderId: string) => Command;
144
144
 
145
145
  ```ts
146
146
  // main.ts
147
- import { contextModule, createApplication, kernelModule } from '@ddd-ts-kit/di';
147
+ import { contextModule, kernelModule } from '@ddd-ts-kit/di';
148
+ import { createApplication } from '@ddd-ts-kit/di/tsyringe';
148
149
  import { Clock } from '@ddd-ts-kit/kernel';
149
150
  import { OutboxRelay, OutboxStore } from '@ddd-ts-kit/events';
150
151
  import { aggregateOf, bus, messagingModule } from '@/platform/messaging.module';
package/README.md CHANGED
@@ -138,7 +138,8 @@ declare const IssueInvoice: new (actor: Actor, orderId: string) => Command;
138
138
 
139
139
  ```ts
140
140
  // main.ts
141
- import { contextModule, createApplication, kernelModule } from '@ddd-ts-kit/di';
141
+ import { contextModule, kernelModule } from '@ddd-ts-kit/di';
142
+ import { createApplication } from '@ddd-ts-kit/di/tsyringe';
142
143
  import { Clock } from '@ddd-ts-kit/kernel';
143
144
  import { OutboxRelay, OutboxStore } from '@ddd-ts-kit/events';
144
145
  import { aggregateOf, bus, messagingModule } from '@/platform/messaging.module';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ddd-ts-kit/kafka",
3
- "version": "0.104.0",
3
+ "version": "0.106.0",
4
4
  "description": "Kafka provider for integration events: idempotent keyed publishing for the outbox relay, one consumer group per consumer, offsets committed after handling, bounded retries and a dead-letter topic.",
5
5
  "keywords": [
6
6
  "ddd",
@@ -28,6 +28,9 @@
28
28
  },
29
29
  "type": "module",
30
30
  "sideEffects": false,
31
+ "engines": {
32
+ "node": ">=22.12.0"
33
+ },
31
34
  "exports": {
32
35
  ".": {
33
36
  "types": "./dist/index.d.ts",
@@ -38,12 +41,12 @@
38
41
  "dist"
39
42
  ],
40
43
  "dependencies": {
41
- "@ddd-ts-kit/events": "0.104.0",
42
- "@ddd-ts-kit/kernel": "0.104.0"
44
+ "@ddd-ts-kit/events": "0.106.0",
45
+ "@ddd-ts-kit/kernel": "0.106.0"
43
46
  },
44
47
  "devDependencies": {
45
48
  "@confluentinc/kafka-javascript": "^1.11.0",
46
- "@ddd-ts-kit/testing": "0.104.0"
49
+ "@ddd-ts-kit/testing": "0.106.0"
47
50
  },
48
51
  "peerDependencies": {
49
52
  "@confluentinc/kafka-javascript": ">=1.11.0 <2"