@veloxts/cache 0.6.90 → 0.6.92
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/CHANGELOG.md +16 -0
- package/dist/index.d.ts +0 -19
- package/dist/index.js +0 -24
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @veloxts/cache
|
|
2
2
|
|
|
3
|
+
## 0.6.92
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- feat(storage): add provider factories, lifecycle hooks, and presigned uploads
|
|
8
|
+
- Updated dependencies
|
|
9
|
+
- @veloxts/core@0.6.92
|
|
10
|
+
|
|
11
|
+
## 0.6.91
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- removed unused DI system
|
|
16
|
+
- Updated dependencies
|
|
17
|
+
- @veloxts/core@0.6.91
|
|
18
|
+
|
|
3
19
|
## 0.6.90
|
|
4
20
|
|
|
5
21
|
### Patch Changes
|
package/dist/index.d.ts
CHANGED
|
@@ -58,22 +58,3 @@ export type { CacheConfig, CacheDriver, CacheEntry, CacheOptions, CachePluginOpt
|
|
|
58
58
|
* ```
|
|
59
59
|
*/
|
|
60
60
|
export { formatTtl, isDurationString, parseTtl, parseTtlMs, } from './utils.js';
|
|
61
|
-
/**
|
|
62
|
-
* DI tokens and providers for @veloxts/cache
|
|
63
|
-
*
|
|
64
|
-
* Use these to integrate cache services with the @veloxts/core DI container.
|
|
65
|
-
*
|
|
66
|
-
* @example
|
|
67
|
-
* ```typescript
|
|
68
|
-
* import { Container } from '@veloxts/core';
|
|
69
|
-
* import { registerCacheProviders, CACHE_MANAGER } from '@veloxts/cache';
|
|
70
|
-
*
|
|
71
|
-
* const container = new Container();
|
|
72
|
-
* await registerCacheProviders(container, { driver: 'memory' });
|
|
73
|
-
*
|
|
74
|
-
* const cache = container.resolve(CACHE_MANAGER);
|
|
75
|
-
* await cache.put('key', 'value', '1h');
|
|
76
|
-
* ```
|
|
77
|
-
*/
|
|
78
|
-
export { registerCacheProviders } from './providers.js';
|
|
79
|
-
export { CACHE_CONFIG, CACHE_MANAGER, CACHE_STORE } from './tokens.js';
|
package/dist/index.js
CHANGED
|
@@ -60,27 +60,3 @@ export { cachePlugin, closeCache, getCache, getCacheFromInstance, initCache, } f
|
|
|
60
60
|
* ```
|
|
61
61
|
*/
|
|
62
62
|
export { formatTtl, isDurationString, parseTtl, parseTtlMs, } from './utils.js';
|
|
63
|
-
// ============================================================================
|
|
64
|
-
// Dependency Injection
|
|
65
|
-
// ============================================================================
|
|
66
|
-
/**
|
|
67
|
-
* DI tokens and providers for @veloxts/cache
|
|
68
|
-
*
|
|
69
|
-
* Use these to integrate cache services with the @veloxts/core DI container.
|
|
70
|
-
*
|
|
71
|
-
* @example
|
|
72
|
-
* ```typescript
|
|
73
|
-
* import { Container } from '@veloxts/core';
|
|
74
|
-
* import { registerCacheProviders, CACHE_MANAGER } from '@veloxts/cache';
|
|
75
|
-
*
|
|
76
|
-
* const container = new Container();
|
|
77
|
-
* await registerCacheProviders(container, { driver: 'memory' });
|
|
78
|
-
*
|
|
79
|
-
* const cache = container.resolve(CACHE_MANAGER);
|
|
80
|
-
* await cache.put('key', 'value', '1h');
|
|
81
|
-
* ```
|
|
82
|
-
*/
|
|
83
|
-
// Provider exports - factory functions for registering services
|
|
84
|
-
export { registerCacheProviders } from './providers.js';
|
|
85
|
-
// Token exports - unique identifiers for DI resolution
|
|
86
|
-
export { CACHE_CONFIG, CACHE_MANAGER, CACHE_STORE } from './tokens.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@veloxts/cache",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.92",
|
|
4
4
|
"description": "Multi-driver caching layer for VeloxTS framework",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"fastify-plugin": "5.1.0",
|
|
36
36
|
"lru-cache": "11.2.5",
|
|
37
37
|
"superjson": "2.2.6",
|
|
38
|
-
"@veloxts/core": "0.6.
|
|
38
|
+
"@veloxts/core": "0.6.92"
|
|
39
39
|
},
|
|
40
40
|
"peerDependencies": {
|
|
41
41
|
"ioredis": ">=5.0.0"
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"ioredis": "5.9.2",
|
|
52
52
|
"typescript": "5.9.3",
|
|
53
53
|
"vitest": "4.0.18",
|
|
54
|
-
"@veloxts/testing": "0.6.
|
|
54
|
+
"@veloxts/testing": "0.6.92"
|
|
55
55
|
},
|
|
56
56
|
"keywords": [
|
|
57
57
|
"velox",
|