@upstash/redis 1.20.3 → 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.3";
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.3",
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.3";
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
  */
@@ -3,7 +3,8 @@ import { Requester, UpstashRequest, UpstashResponse } from "./http.js";
3
3
  import { Pipeline } from "./pipeline.js";
4
4
  import type { CommandArgs } from "./types.js";
5
5
  import { Script } from "./script.js";
6
- import { RedisOptions, Telemetry } from "./types.js";
6
+ import type { RedisOptions, Telemetry } from "./types.js";
7
+ export type { RedisOptions } from "./types.js";
7
8
  /**
8
9
  * Serverless redis client for upstash.
9
10
  */
@@ -232,7 +233,7 @@ export declare class Redis {
232
233
  /**
233
234
  * @see https://redis.io/commands/hdel
234
235
  */
235
- hdel: (key: string, field: string) => Promise<0 | 1>;
236
+ hdel: (key: string, ...fields: string[]) => Promise<0 | 1>;
236
237
  /**
237
238
  * @see https://redis.io/commands/hexists
238
239
  */
@@ -1 +1 @@
1
- export declare const VERSION = "v1.20.3";
1
+ export declare const VERSION = "v1.20.5-canary.0";