@ddd-ts-kit/nats 0.105.0 → 0.107.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 +3 -2
- package/README.md +2 -1
- package/package.json +7 -4
package/README.fr.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
[English](README.md) · **Français**
|
|
2
|
-
<!-- translation-of: README.md sha256:
|
|
2
|
+
<!-- translation-of: README.md sha256:ef7bf1d3df6d16c2 -->
|
|
3
3
|
|
|
4
4
|
# @ddd-ts-kit/nats
|
|
5
5
|
|
|
@@ -120,7 +120,8 @@ export class InvoiceOnOrderPlacedIntegrationHandler {
|
|
|
120
120
|
<!-- checked sample -->
|
|
121
121
|
```ts
|
|
122
122
|
// main.ts
|
|
123
|
-
import { contextModule,
|
|
123
|
+
import { contextModule, kernelModule, type ContextModule, type DeclaredSource } from '@ddd-ts-kit/di';
|
|
124
|
+
import { createApplication } from '@ddd-ts-kit/di/tsyringe';
|
|
124
125
|
import { Clock } from '@ddd-ts-kit/kernel';
|
|
125
126
|
import { OutboxRelay, OutboxStore } from '@ddd-ts-kit/events';
|
|
126
127
|
import type { NatsEventBus } from '@ddd-ts-kit/nats';
|
package/README.md
CHANGED
|
@@ -115,7 +115,8 @@ export class InvoiceOnOrderPlacedIntegrationHandler {
|
|
|
115
115
|
<!-- checked sample -->
|
|
116
116
|
```ts
|
|
117
117
|
// main.ts
|
|
118
|
-
import { contextModule,
|
|
118
|
+
import { contextModule, kernelModule, type ContextModule, type DeclaredSource } from '@ddd-ts-kit/di';
|
|
119
|
+
import { createApplication } from '@ddd-ts-kit/di/tsyringe';
|
|
119
120
|
import { Clock } from '@ddd-ts-kit/kernel';
|
|
120
121
|
import { OutboxRelay, OutboxStore } from '@ddd-ts-kit/events';
|
|
121
122
|
import type { NatsEventBus } from '@ddd-ts-kit/nats';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ddd-ts-kit/nats",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.107.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
|
"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,11 +41,11 @@
|
|
|
38
41
|
"dist"
|
|
39
42
|
],
|
|
40
43
|
"dependencies": {
|
|
41
|
-
"@ddd-ts-kit/events": "0.
|
|
42
|
-
"@ddd-ts-kit/kernel": "0.
|
|
44
|
+
"@ddd-ts-kit/events": "0.107.0",
|
|
45
|
+
"@ddd-ts-kit/kernel": "0.107.0"
|
|
43
46
|
},
|
|
44
47
|
"devDependencies": {
|
|
45
|
-
"@ddd-ts-kit/testing": "0.
|
|
48
|
+
"@ddd-ts-kit/testing": "0.107.0",
|
|
46
49
|
"@nats-io/jetstream": "^3.4.0",
|
|
47
50
|
"@nats-io/transport-node": "^3.4.0"
|
|
48
51
|
},
|