@upstash/redis 0.0.0-ci.9190cbfb-20230208 → 0.0.0-ci.97cb5577-20231010

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.
@@ -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
  */
@@ -129,7 +130,7 @@ export declare class Redis {
129
130
  *
130
131
  * @see {@link Pipeline}
131
132
  */
132
- pipeline: () => Pipeline;
133
+ pipeline: () => Pipeline<[]>;
133
134
  /**
134
135
  * Create a new transaction to allow executing multiple steps atomically.
135
136
  *
@@ -139,7 +140,7 @@ export declare class Redis {
139
140
  *
140
141
  * @see {@link Pipeline}
141
142
  */
142
- multi: () => Pipeline;
143
+ multi: () => Pipeline<[]>;
143
144
  /**
144
145
  * @see https://redis.io/commands/append
145
146
  */
@@ -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 = "v0.0.0-ci.9190cbfb-20230208";
1
+ export declare const VERSION = "v0.0.0-ci.97cb5577-20231010";