@onebun/cache 0.1.3 → 0.1.5
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/package.json +3 -3
- package/src/cache.service.ts +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@onebun/cache",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.5",
|
|
4
4
|
"description": "Caching module for OneBun framework - in-memory and Redis support",
|
|
5
5
|
"license": "LGPL-3.0",
|
|
6
6
|
"author": "RemRyahirev",
|
|
@@ -37,8 +37,8 @@
|
|
|
37
37
|
"dev": "bun run --watch src/index.ts"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@onebun/core": "
|
|
41
|
-
"@onebun/envs": "
|
|
40
|
+
"@onebun/core": "^0.1.9",
|
|
41
|
+
"@onebun/envs": "^0.1.3",
|
|
42
42
|
"effect": "^3.13.10"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
package/src/cache.service.ts
CHANGED
|
@@ -199,8 +199,8 @@ export class CacheService extends BaseService implements ICacheService {
|
|
|
199
199
|
private initialized = false;
|
|
200
200
|
private initPromise: Promise<void> | null = null;
|
|
201
201
|
|
|
202
|
-
constructor(
|
|
203
|
-
super(
|
|
202
|
+
constructor() {
|
|
203
|
+
super();
|
|
204
204
|
|
|
205
205
|
// Create in-memory cache by default
|
|
206
206
|
// Will be initialized properly in the initialize() method
|