@autofleet/matmon 3.0.3 → 3.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/lib/index.d.cts +2 -2
- package/lib/index.d.ts +2 -2
- package/package.json +1 -1
package/lib/index.d.cts
CHANGED
|
@@ -68,7 +68,7 @@ declare class RedisCache {
|
|
|
68
68
|
private readonly lockTimeout;
|
|
69
69
|
private readonly lockDuration;
|
|
70
70
|
private readonly logger;
|
|
71
|
-
locks: Record<string, Awaited<ReturnType<typeof
|
|
71
|
+
locks: Record<string, Awaited<ReturnType<typeof this.lock>> | undefined>;
|
|
72
72
|
private readonly baseTTL;
|
|
73
73
|
keyPrefix: string;
|
|
74
74
|
useLock: boolean;
|
|
@@ -79,7 +79,7 @@ declare class RedisCache {
|
|
|
79
79
|
readonly setMultiple: <T = any>(keyValues: Record<string, T>) => Promise<void>;
|
|
80
80
|
readonly remove: (key: string) => Promise<void>;
|
|
81
81
|
readonly removeMultiple: (keys: string[]) => Promise<void>;
|
|
82
|
-
readonly getClient: () => typeof
|
|
82
|
+
readonly getClient: () => typeof this.client;
|
|
83
83
|
private lock;
|
|
84
84
|
}
|
|
85
85
|
//#endregion
|
package/lib/index.d.ts
CHANGED
|
@@ -68,7 +68,7 @@ declare class RedisCache {
|
|
|
68
68
|
private readonly lockTimeout;
|
|
69
69
|
private readonly lockDuration;
|
|
70
70
|
private readonly logger;
|
|
71
|
-
locks: Record<string, Awaited<ReturnType<typeof
|
|
71
|
+
locks: Record<string, Awaited<ReturnType<typeof this.lock>> | undefined>;
|
|
72
72
|
private readonly baseTTL;
|
|
73
73
|
keyPrefix: string;
|
|
74
74
|
useLock: boolean;
|
|
@@ -79,7 +79,7 @@ declare class RedisCache {
|
|
|
79
79
|
readonly setMultiple: <T = any>(keyValues: Record<string, T>) => Promise<void>;
|
|
80
80
|
readonly remove: (key: string) => Promise<void>;
|
|
81
81
|
readonly removeMultiple: (keys: string[]) => Promise<void>;
|
|
82
|
-
readonly getClient: () => typeof
|
|
82
|
+
readonly getClient: () => typeof this.client;
|
|
83
83
|
private lock;
|
|
84
84
|
}
|
|
85
85
|
//#endregion
|