redis-wizard 0.0.3 → 0.0.6
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 +1 -1
- package/services/config.js +2 -8
- package/version.txt +1 -1
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "redis-wizard",
|
|
3
3
|
"description": "A modern TypeScript-based Redis database utility package that provides an enhanced wrapper around the redis library, offering simplified database operations with elegant chainable queries.",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.6",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {},
|
|
7
7
|
"author": "park-minhyeong",
|
package/services/config.js
CHANGED
|
@@ -209,11 +209,5 @@ const disconnect = async () => {
|
|
|
209
209
|
}
|
|
210
210
|
};
|
|
211
211
|
exports.disconnect = disconnect;
|
|
212
|
-
//
|
|
213
|
-
|
|
214
|
-
console.error("[Redis Wizard] Failed to initialize Redis on application startup:", {
|
|
215
|
-
message: error instanceof Error ? error.message : String(error),
|
|
216
|
-
stack: error instanceof Error ? error.stack : undefined,
|
|
217
|
-
timestamp: new Date().toISOString(),
|
|
218
|
-
});
|
|
219
|
-
});
|
|
212
|
+
// 모듈 import 시 즉시 연결하지 않음 — getRedisClient() 첫 호출 시 lazy connect
|
|
213
|
+
// (Next.js docker build / CI 등 REDIS_URL 없는 환경에서 불필요한 초기화 오류 방지)
|
package/version.txt
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.0.
|
|
1
|
+
0.0.6
|