@upstash/redis 1.20.4 → 1.20.5-canary.0

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/esm/version.js CHANGED
@@ -1 +1 @@
1
- export const VERSION = "v1.20.4";
1
+ export const VERSION = "v1.20.5-canary.0";
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.20.4",
6
+ "version": "v1.20.5-canary.0",
7
7
  "description": "An HTTP/REST based Redis client built on top of Upstash REST API.",
8
8
  "repository": {
9
9
  "type": "git",
package/script/version.js CHANGED
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
- exports.VERSION = "v1.20.4";
4
+ exports.VERSION = "v1.20.5-canary.0";
@@ -3,5 +3,5 @@ import { Command, CommandOptions } from "./command.js";
3
3
  * @see https://redis.io/commands/hdel
4
4
  */
5
5
  export declare class HDelCommand extends Command<"0" | "1", 0 | 1> {
6
- constructor(cmd: [key: string, field: string], opts?: CommandOptions<"0" | "1", 0 | 1>);
6
+ constructor(cmd: [key: string, ...fields: string[]], opts?: CommandOptions<"0" | "1", 0 | 1>);
7
7
  }
@@ -162,7 +162,7 @@ export declare class Pipeline {
162
162
  /**
163
163
  * @see https://redis.io/commands/hdel
164
164
  */
165
- hdel: (key: string, field: string) => this;
165
+ hdel: (key: string, ...fields: string[]) => this;
166
166
  /**
167
167
  * @see https://redis.io/commands/hexists
168
168
  */
@@ -233,7 +233,7 @@ export declare class Redis {
233
233
  /**
234
234
  * @see https://redis.io/commands/hdel
235
235
  */
236
- hdel: (key: string, field: string) => Promise<0 | 1>;
236
+ hdel: (key: string, ...fields: string[]) => Promise<0 | 1>;
237
237
  /**
238
238
  * @see https://redis.io/commands/hexists
239
239
  */
@@ -1 +1 @@
1
- export declare const VERSION = "v1.20.4";
1
+ export declare const VERSION = "v1.20.5-canary.0";