@ddd-ts-kit/redis 0.105.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:9aea6521e0bff4e9 -->
2
+ <!-- translation-of: README.md sha256:d22af54bf265554f -->
3
3
 
4
4
  # @ddd-ts-kit/redis
5
5
 
@@ -163,7 +163,8 @@ export async function logStartup(): Promise<void> {
163
163
  ```ts
164
164
  // src/main.ts
165
165
  import { Cache, Lock, Metrics, RateLimiter } from '@ddd-ts-kit/kernel';
166
- import { contextModule, createApplication, defineContextModule, kernelModule, type DeclaredSource } from '@ddd-ts-kit/di';
166
+ import { contextModule, defineContextModule, kernelModule, type DeclaredSource } from '@ddd-ts-kit/di';
167
+ import { createApplication } from '@ddd-ts-kit/di/tsyringe';
167
168
  import { RedisCache, RedisLock, RedisRateLimiter, type RedisConnection } from '@ddd-ts-kit/redis';
168
169
 
169
170
  declare const redis: RedisConnection; // connectRedis(config.redisUrl), plus haut
package/README.md CHANGED
@@ -160,7 +160,8 @@ export async function logStartup(): Promise<void> {
160
160
  ```ts
161
161
  // src/main.ts
162
162
  import { Cache, Lock, Metrics, RateLimiter } from '@ddd-ts-kit/kernel';
163
- import { contextModule, createApplication, defineContextModule, kernelModule, type DeclaredSource } from '@ddd-ts-kit/di';
163
+ import { contextModule, defineContextModule, kernelModule, type DeclaredSource } from '@ddd-ts-kit/di';
164
+ import { createApplication } from '@ddd-ts-kit/di/tsyringe';
164
165
  import { RedisCache, RedisLock, RedisRateLimiter, type RedisConnection } from '@ddd-ts-kit/redis';
165
166
 
166
167
  declare const redis: RedisConnection; // connectRedis(config.redisUrl), above
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ddd-ts-kit/redis",
3
- "version": "0.105.0",
3
+ "version": "0.106.0",
4
4
  "description": "Adapters of the kernel ports on the Redis protocol (Redis, Dragonfly, Valkey): cache, distributed lock, rate limiter, relay wake-up signal, a background job store, and an integration event provider on Redis Streams.",
5
5
  "keywords": [
6
6
  "ddd",
@@ -30,6 +30,9 @@
30
30
  },
31
31
  "type": "module",
32
32
  "sideEffects": false,
33
+ "engines": {
34
+ "node": ">=22.12.0"
35
+ },
33
36
  "exports": {
34
37
  ".": {
35
38
  "types": "./dist/index.d.ts",
@@ -48,12 +51,12 @@
48
51
  "dist"
49
52
  ],
50
53
  "dependencies": {
51
- "@ddd-ts-kit/kernel": "0.105.0",
52
- "@ddd-ts-kit/scheduling": "0.105.0"
54
+ "@ddd-ts-kit/kernel": "0.106.0",
55
+ "@ddd-ts-kit/scheduling": "0.106.0"
53
56
  },
54
57
  "peerDependencies": {
55
58
  "ioredis": "^5.0.0 || ^6.0.0",
56
- "@ddd-ts-kit/testing": "0.105.0"
59
+ "@ddd-ts-kit/testing": "0.106.0"
57
60
  },
58
61
  "peerDependenciesMeta": {
59
62
  "@ddd-ts-kit/testing": {
@@ -62,8 +65,8 @@
62
65
  },
63
66
  "devDependencies": {
64
67
  "ioredis": "^6.0.0",
65
- "@ddd-ts-kit/events": "0.105.0",
66
- "@ddd-ts-kit/testing": "0.105.0",
68
+ "@ddd-ts-kit/events": "0.106.0",
69
+ "@ddd-ts-kit/testing": "0.106.0",
67
70
  "wasmoon-lua5.1": "1.18.12"
68
71
  }
69
72
  }