@upstash/redis 1.13.0 → 1.13.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.
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { Command } from "./command.js";
|
|
2
2
|
/**
|
|
3
|
-
* @see https://redis.io/commands/
|
|
3
|
+
* @see https://redis.io/commands/zmscore
|
|
4
4
|
*/
|
|
5
5
|
export class ZMScoreCommand extends Command {
|
|
6
6
|
constructor(cmd, opts) {
|
|
7
7
|
const [key, members] = cmd;
|
|
8
|
-
console.log({ key, members });
|
|
9
8
|
super(["zmscore", key, ...members], opts);
|
|
10
9
|
}
|
|
11
10
|
}
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"main": "./script/platforms/nodejs.js",
|
|
4
4
|
"types": "./types/platforms/nodejs.d.ts",
|
|
5
5
|
"name": "@upstash/redis",
|
|
6
|
-
"version": "v1.13.
|
|
6
|
+
"version": "v1.13.1",
|
|
7
7
|
"description": "An HTTP/REST based Redis client built on top of Upstash REST API.",
|
|
8
8
|
"repository": {
|
|
9
9
|
"type": "git",
|
|
@@ -3,12 +3,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.ZMScoreCommand = void 0;
|
|
4
4
|
const command_js_1 = require("./command.js");
|
|
5
5
|
/**
|
|
6
|
-
* @see https://redis.io/commands/
|
|
6
|
+
* @see https://redis.io/commands/zmscore
|
|
7
7
|
*/
|
|
8
8
|
class ZMScoreCommand extends command_js_1.Command {
|
|
9
9
|
constructor(cmd, opts) {
|
|
10
10
|
const [key, members] = cmd;
|
|
11
|
-
console.log({ key, members });
|
|
12
11
|
super(["zmscore", key, ...members], opts);
|
|
13
12
|
}
|
|
14
13
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Command, CommandOptions } from "./command.js";
|
|
2
2
|
/**
|
|
3
|
-
* @see https://redis.io/commands/
|
|
3
|
+
* @see https://redis.io/commands/zmscore
|
|
4
4
|
*/
|
|
5
5
|
export declare class ZMScoreCommand<TData> extends Command<string[] | null, number[] | null> {
|
|
6
6
|
constructor(cmd: [key: string, members: TData[]], opts?: CommandOptions<string[] | null, number[] | null>);
|