vona-module-a-redis 5.0.14 → 5.0.17
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/dist/index.js +1 -4
- package/dist/types/redis.d.ts +0 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -18,7 +18,7 @@ let ServiceRedisClient = (_dec$3 = Service(), _dec2$3 = BeanInfo({
|
|
|
18
18
|
this._redisInstance = this._createClient(clientName);
|
|
19
19
|
}
|
|
20
20
|
async __dispose__() {
|
|
21
|
-
await this._redisInstance?.
|
|
21
|
+
await this._redisInstance?.disconnect();
|
|
22
22
|
}
|
|
23
23
|
_createClient(clientName) {
|
|
24
24
|
const configRedis = this.app.config.redis;
|
|
@@ -117,9 +117,6 @@ async function configDefault(app) {
|
|
|
117
117
|
io: {
|
|
118
118
|
keyPrefix: `io_${app.name}:`
|
|
119
119
|
},
|
|
120
|
-
auth: {
|
|
121
|
-
keyPrefix: `auth_${app.name}:`
|
|
122
|
-
},
|
|
123
120
|
summer: {
|
|
124
121
|
keyPrefix: `summer_${app.name}:`
|
|
125
122
|
},
|
package/dist/types/redis.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vona-module-a-redis",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "5.0.
|
|
4
|
+
"version": "5.0.17",
|
|
5
5
|
"title": "a-redis",
|
|
6
6
|
"vonaModule": {
|
|
7
7
|
"dependencies": {},
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"static"
|
|
30
30
|
],
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"ioredis": "^5.
|
|
32
|
+
"ioredis": "^5.7.0"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
35
|
"clean-package": "^2.2.0",
|