@upstash/redis 1.18.2 → 1.18.3
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 +1 -1
- package/package.json +1 -1
- package/script/version.js +1 -1
- package/types/pkg/commands/smembers.d.ts +2 -2
- package/types/pkg/pipeline.d.ts +1 -1
- package/types/pkg/redis.d.ts +1 -1
- package/types/version.d.ts +1 -1
package/esm/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = "v1.18.
|
|
1
|
+
export const VERSION = "v1.18.3";
|
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.18.
|
|
6
|
+
"version": "v1.18.3",
|
|
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
|
@@ -2,6 +2,6 @@ import { Command, CommandOptions } from "./command.js";
|
|
|
2
2
|
/**
|
|
3
3
|
* @see https://redis.io/commands/smembers
|
|
4
4
|
*/
|
|
5
|
-
export declare class SMembersCommand<TData = string> extends Command<unknown[], TData
|
|
6
|
-
constructor(cmd: [key: string], opts?: CommandOptions<unknown[], TData
|
|
5
|
+
export declare class SMembersCommand<TData extends unknown[] = string[]> extends Command<unknown[], TData> {
|
|
6
|
+
constructor(cmd: [key: string], opts?: CommandOptions<unknown[], TData>);
|
|
7
7
|
}
|
package/types/pkg/pipeline.d.ts
CHANGED
|
@@ -419,7 +419,7 @@ export declare class Pipeline {
|
|
|
419
419
|
/**
|
|
420
420
|
* @see https://redis.io/commands/smembers
|
|
421
421
|
*/
|
|
422
|
-
smembers: (key: string) => this;
|
|
422
|
+
smembers: <TData extends unknown[] = string[]>(key: string) => this;
|
|
423
423
|
/**
|
|
424
424
|
* @see https://redis.io/commands/smove
|
|
425
425
|
*/
|
package/types/pkg/redis.d.ts
CHANGED
|
@@ -410,7 +410,7 @@ export declare class Redis {
|
|
|
410
410
|
/**
|
|
411
411
|
* @see https://redis.io/commands/smembers
|
|
412
412
|
*/
|
|
413
|
-
smembers: (key: string) => Promise<
|
|
413
|
+
smembers: <TData extends unknown[] = string[]>(key: string) => Promise<TData>;
|
|
414
414
|
/**
|
|
415
415
|
* @see https://redis.io/commands/smove
|
|
416
416
|
*/
|
package/types/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const VERSION = "v1.18.
|
|
1
|
+
export declare const VERSION = "v1.18.3";
|