redis 4.3.0 → 4.3.1
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.d.ts +9 -9
- package/dist/index.js +4 -4
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -5,8 +5,8 @@ export * from '@redis/graph';
|
|
|
5
5
|
export * from '@redis/json';
|
|
6
6
|
export * from '@redis/search';
|
|
7
7
|
export * from '@redis/time-series';
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
declare const modules: {
|
|
9
|
+
graph: {
|
|
10
10
|
CONFIG_GET: typeof import("@redis/graph/dist/commands/CONFIG_GET");
|
|
11
11
|
configGet: typeof import("@redis/graph/dist/commands/CONFIG_GET");
|
|
12
12
|
CONFIG_SET: typeof import("@redis/graph/dist/commands/CONFIG_SET");
|
|
@@ -26,7 +26,7 @@ export declare const modules: {
|
|
|
26
26
|
SLOWLOG: typeof import("@redis/graph/dist/commands/SLOWLOG");
|
|
27
27
|
slowLog: typeof import("@redis/graph/dist/commands/SLOWLOG");
|
|
28
28
|
};
|
|
29
|
-
|
|
29
|
+
json: {
|
|
30
30
|
ARRAPPEND: typeof import("@redis/json/dist/commands/ARRAPPEND");
|
|
31
31
|
arrAppend: typeof import("@redis/json/dist/commands/ARRAPPEND");
|
|
32
32
|
ARRINDEX: typeof import("@redis/json/dist/commands/ARRINDEX");
|
|
@@ -68,7 +68,7 @@ export declare const modules: {
|
|
|
68
68
|
TYPE: typeof import("@redis/json/dist/commands/TYPE");
|
|
69
69
|
type: typeof import("@redis/json/dist/commands/TYPE");
|
|
70
70
|
};
|
|
71
|
-
|
|
71
|
+
ft: {
|
|
72
72
|
_LIST: typeof import("@redis/search/dist/commands/_LIST");
|
|
73
73
|
_list: typeof import("@redis/search/dist/commands/_LIST");
|
|
74
74
|
ALTER: typeof import("@redis/search/dist/commands/ALTER");
|
|
@@ -136,7 +136,7 @@ export declare const modules: {
|
|
|
136
136
|
TAGVALS: typeof import("@redis/search/dist/commands/TAGVALS");
|
|
137
137
|
tagVals: typeof import("@redis/search/dist/commands/TAGVALS");
|
|
138
138
|
};
|
|
139
|
-
|
|
139
|
+
ts: {
|
|
140
140
|
ADD: typeof import("@redis/time-series/dist/commands/ADD");
|
|
141
141
|
add: typeof import("@redis/time-series/dist/commands/ADD");
|
|
142
142
|
ALTER: typeof import("@redis/time-series/dist/commands/ALTER");
|
|
@@ -180,7 +180,7 @@ export declare const modules: {
|
|
|
180
180
|
MREVRANGE_WITHLABELS: typeof import("@redis/time-series/dist/commands/MREVRANGE_WITHLABELS");
|
|
181
181
|
mRevRangeWithLabels: typeof import("@redis/time-series/dist/commands/MREVRANGE_WITHLABELS");
|
|
182
182
|
};
|
|
183
|
-
|
|
183
|
+
bf: {
|
|
184
184
|
ADD: typeof import("@redis/bloom/dist/commands/bloom/ADD");
|
|
185
185
|
add: typeof import("@redis/bloom/dist/commands/bloom/ADD");
|
|
186
186
|
EXISTS: typeof import("@redis/bloom/dist/commands/bloom/EXISTS");
|
|
@@ -200,7 +200,7 @@ export declare const modules: {
|
|
|
200
200
|
SCANDUMP: typeof import("@redis/bloom/dist/commands/bloom/SCANDUMP");
|
|
201
201
|
scanDump: typeof import("@redis/bloom/dist/commands/bloom/SCANDUMP");
|
|
202
202
|
};
|
|
203
|
-
|
|
203
|
+
cms: {
|
|
204
204
|
INCRBY: typeof import("@redis/bloom/dist/commands/count-min-sketch/INCRBY");
|
|
205
205
|
incrBy: typeof import("@redis/bloom/dist/commands/count-min-sketch/INCRBY");
|
|
206
206
|
INFO: typeof import("@redis/bloom/dist/commands/count-min-sketch/INFO");
|
|
@@ -214,7 +214,7 @@ export declare const modules: {
|
|
|
214
214
|
QUERY: typeof import("@redis/bloom/dist/commands/count-min-sketch/QUERY");
|
|
215
215
|
query: typeof import("@redis/bloom/dist/commands/count-min-sketch/QUERY");
|
|
216
216
|
};
|
|
217
|
-
|
|
217
|
+
cf: {
|
|
218
218
|
ADD: typeof import("@redis/bloom/dist/commands/cuckoo/ADD");
|
|
219
219
|
add: typeof import("@redis/bloom/dist/commands/cuckoo/ADD");
|
|
220
220
|
ADDNX: typeof import("@redis/bloom/dist/commands/cuckoo/ADDNX");
|
|
@@ -238,7 +238,7 @@ export declare const modules: {
|
|
|
238
238
|
SCANDUMP: typeof import("@redis/bloom/dist/commands/cuckoo/SCANDUMP");
|
|
239
239
|
scanDump: typeof import("@redis/bloom/dist/commands/cuckoo/SCANDUMP");
|
|
240
240
|
};
|
|
241
|
-
|
|
241
|
+
topK: {
|
|
242
242
|
ADD: typeof import("@redis/bloom/dist/commands/top-k/ADD");
|
|
243
243
|
add: typeof import("@redis/bloom/dist/commands/top-k/ADD");
|
|
244
244
|
COUNT: typeof import("@redis/bloom/dist/commands/top-k/COUNT");
|
package/dist/index.js
CHANGED
|
@@ -14,7 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
exports.createCluster = exports.createClient =
|
|
17
|
+
exports.createCluster = exports.createClient = void 0;
|
|
18
18
|
const client_1 = require("@redis/client");
|
|
19
19
|
const bloom_1 = require("@redis/bloom");
|
|
20
20
|
const graph_1 = require("@redis/graph");
|
|
@@ -27,7 +27,7 @@ __exportStar(require("@redis/graph"), exports);
|
|
|
27
27
|
__exportStar(require("@redis/json"), exports);
|
|
28
28
|
__exportStar(require("@redis/search"), exports);
|
|
29
29
|
__exportStar(require("@redis/time-series"), exports);
|
|
30
|
-
|
|
30
|
+
const modules = {
|
|
31
31
|
...bloom_1.default,
|
|
32
32
|
graph: graph_1.default,
|
|
33
33
|
json: json_1.default,
|
|
@@ -38,7 +38,7 @@ function createClient(options) {
|
|
|
38
38
|
return (0, client_1.createClient)({
|
|
39
39
|
...options,
|
|
40
40
|
modules: {
|
|
41
|
-
...
|
|
41
|
+
...modules,
|
|
42
42
|
...options?.modules
|
|
43
43
|
}
|
|
44
44
|
});
|
|
@@ -48,7 +48,7 @@ function createCluster(options) {
|
|
|
48
48
|
return (0, client_1.createCluster)({
|
|
49
49
|
...options,
|
|
50
50
|
modules: {
|
|
51
|
-
...
|
|
51
|
+
...modules,
|
|
52
52
|
...options?.modules
|
|
53
53
|
}
|
|
54
54
|
});
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "redis",
|
|
3
3
|
"description": "A modern, high performance Redis client",
|
|
4
|
-
"version": "4.3.
|
|
4
|
+
"version": "4.3.1",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "./dist/index.js",
|
|
7
7
|
"types": "./dist/index.d.ts",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"@redis/bloom": "1.0.2",
|
|
27
27
|
"@redis/client": "1.3.0",
|
|
28
28
|
"@redis/graph": "1.0.1",
|
|
29
|
-
"@redis/json": "1.0.
|
|
29
|
+
"@redis/json": "1.0.4",
|
|
30
30
|
"@redis/search": "1.1.0",
|
|
31
31
|
"@redis/time-series": "1.0.3"
|
|
32
32
|
},
|