dt-common-device 7.6.8 → 7.6.9

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.
@@ -73,4 +73,5 @@ export declare class RedisUtils {
73
73
  sadd(key: string, member: string): Promise<number>;
74
74
  smembers(key: string): Promise<string[]>;
75
75
  srem(key: string, ...members: string[]): Promise<number>;
76
+ keys(pattern: string): Promise<string[]>;
76
77
  }
@@ -197,6 +197,9 @@ let RedisUtils = (() => {
197
197
  throw error;
198
198
  }
199
199
  }
200
+ async keys(pattern) {
201
+ return this.client.keys(pattern);
202
+ }
200
203
  };
201
204
  __setFunctionName(_classThis, "RedisUtils");
202
205
  (() => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dt-common-device",
3
- "version": "7.6.8",
3
+ "version": "7.6.9",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "files": [