@upstash/redis 0.0.0-ci.c00b02de3221a40eb48a9e0e9fecd434abda4dc2-20240703080528 → 0.0.0-ci.c2204f830cf3ca85c9f85a7dc63bd93a0e228f4b-20250403110828
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/README.md +1 -2
- package/chunk-YM432T55.mjs +4196 -0
- package/cloudflare.d.mts +7 -3
- package/cloudflare.d.ts +7 -3
- package/cloudflare.js +4308 -1
- package/cloudflare.mjs +93 -1
- package/fastly.d.mts +7 -3
- package/fastly.d.ts +7 -3
- package/fastly.js +4281 -1
- package/fastly.mjs +66 -1
- package/nodejs.d.mts +8 -22
- package/nodejs.d.ts +8 -22
- package/nodejs.js +4328 -1
- package/nodejs.mjs +113 -1
- package/package.json +1 -1
- package/{zmscore-80635339.d.ts → zmscore-BmesFNPF.d.mts} +532 -202
- package/zmscore-BmesFNPF.d.ts +3848 -0
- package/chunk-K5LHLR2R.js +0 -1
- package/chunk-LPQ73WFW.mjs +0 -1
package/cloudflare.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { R as RedisOptions, a as RequesterConfig, b as Redis$1 } from './zmscore-
|
|
2
|
-
export { A as AppendCommand, B as BitCountCommand, f as BitOpCommand, g as BitPosCommand, C as CopyCommand, D as DBSizeCommand, i as DecrByCommand, h as DecrCommand, j as DelCommand, E as EchoCommand,
|
|
1
|
+
import { R as RedisOptions, a as RequesterConfig, b as Redis$1 } from './zmscore-BmesFNPF.mjs';
|
|
2
|
+
export { A as AppendCommand, B as BitCountCommand, f as BitOpCommand, g as BitPosCommand, C as CopyCommand, D as DBSizeCommand, i as DecrByCommand, h as DecrCommand, j as DelCommand, E as EchoCommand, l as EvalCommand, k as EvalROCommand, n as EvalshaCommand, m as EvalshaROCommand, o as ExistsCommand, q as ExpireAtCommand, p as ExpireCommand, F as FlushAllCommand, r as FlushDBCommand, G as GeoAddCommand, s as GeoAddCommandOptions, u as GeoDistCommand, v as GeoHashCommand, t as GeoMember, w as GeoPosCommand, x as GeoSearchCommand, y as GeoSearchStoreCommand, H as GetBitCommand, z as GetCommand, I as GetDelCommand, J as GetExCommand, K as GetRangeCommand, L as GetSetCommand, M as HDelCommand, N as HExistsCommand, Q as HGetAllCommand, O as HGetCommand, S as HIncrByCommand, T as HIncrByFloatCommand, V as HKeysCommand, W as HLenCommand, X as HMGetCommand, Y as HMSetCommand, Z as HRandFieldCommand, _ as HScanCommand, $ as HSetCommand, a0 as HSetNXCommand, a1 as HStrLenCommand, a2 as HValsCommand, a4 as IncrByCommand, a5 as IncrByFloatCommand, a3 as IncrCommand, a6 as JsonArrAppendCommand, a7 as JsonArrIndexCommand, a8 as JsonArrInsertCommand, a9 as JsonArrLenCommand, aa as JsonArrPopCommand, ab as JsonArrTrimCommand, ac as JsonClearCommand, ad as JsonDelCommand, ae as JsonForgetCommand, af as JsonGetCommand, ah as JsonMGetCommand, ag as JsonMergeCommand, ai as JsonNumIncrByCommand, aj as JsonNumMultByCommand, ak as JsonObjKeysCommand, al as JsonObjLenCommand, am as JsonRespCommand, an as JsonSetCommand, ao as JsonStrAppendCommand, ap as JsonStrLenCommand, aq as JsonToggleCommand, ar as JsonTypeCommand, as as KeysCommand, at as LIndexCommand, au as LInsertCommand, av as LLenCommand, aw as LMoveCommand, ax as LPopCommand, ay as LPushCommand, az as LPushXCommand, aA as LRangeCommand, aB as LRemCommand, aC as LSetCommand, aD as LTrimCommand, aE as MGetCommand, aF as MSetCommand, aG as MSetNXCommand, aJ as PExpireAtCommand, aI as PExpireCommand, aL as PSetEXCommand, aM as PTtlCommand, aH as PersistCommand, aK as PingCommand, P as Pipeline, aN as PublishCommand, aR as RPopCommand, aS as RPushCommand, aT as RPushXCommand, aO as RandomKeyCommand, aP as RenameCommand, aQ as RenameNXCommand, d as Requester, aU as SAddCommand, aX as SCardCommand, a$ as SDiffCommand, b0 as SDiffStoreCommand, b7 as SInterCommand, b8 as SInterStoreCommand, b9 as SIsMemberCommand, bb as SMIsMemberCommand, ba as SMembersCommand, bc as SMoveCommand, bd as SPopCommand, be as SRandMemberCommand, bf as SRemCommand, bg as SScanCommand, bi as SUnionCommand, bj as SUnionStoreCommand, aV as ScanCommand, aW as ScanCommandOptions, bs as ScoreMember, aY as ScriptExistsCommand, aZ as ScriptFlushCommand, a_ as ScriptLoadCommand, b3 as SetBitCommand, b1 as SetCommand, b2 as SetCommandOptions, b4 as SetExCommand, b5 as SetNxCommand, b6 as SetRangeCommand, bh as StrLenCommand, bk as TimeCommand, bl as TouchCommand, bm as TtlCommand, bn as Type, bo as TypeCommand, bp as UnlinkCommand, U as UpstashRequest, c as UpstashResponse, bq as XAddCommand, br as XRangeCommand, bu as ZAddCommand, bt as ZAddCommandOptions, bv as ZCardCommand, bw as ZCountCommand, bx as ZDiffStoreCommand, by as ZIncrByCommand, bz as ZInterStoreCommand, bA as ZInterStoreCommandOptions, bB as ZLexCountCommand, bC as ZMScoreCommand, bD as ZPopMaxCommand, bE as ZPopMinCommand, bF as ZRangeCommand, bG as ZRangeCommandOptions, bH as ZRankCommand, bI as ZRemCommand, bJ as ZRemRangeByLexCommand, bK as ZRemRangeByRankCommand, bL as ZRemRangeByScoreCommand, bM as ZRevRankCommand, bN as ZScanCommand, bO as ZScoreCommand, bP as ZUnionCommand, bQ as ZUnionCommandOptions, bR as ZUnionStoreCommand, bS as ZUnionStoreCommandOptions, e as errors } from './zmscore-BmesFNPF.mjs';
|
|
3
3
|
|
|
4
4
|
type Env = {
|
|
5
5
|
UPSTASH_DISABLE_TELEMETRY?: string;
|
|
@@ -24,6 +24,10 @@ type RedisConfigCloudflare = {
|
|
|
24
24
|
*/
|
|
25
25
|
signal?: AbortSignal;
|
|
26
26
|
keepAlive?: boolean;
|
|
27
|
+
/**
|
|
28
|
+
* When this flag is enabled, any subsequent commands issued by this client are guaranteed to observe the effects of all earlier writes submitted by the same client.
|
|
29
|
+
*/
|
|
30
|
+
readYourWrites?: boolean;
|
|
27
31
|
} & RedisOptions & RequesterConfig & Env;
|
|
28
32
|
/**
|
|
29
33
|
* Serverless redis client for upstash.
|
|
@@ -48,4 +52,4 @@ declare class Redis extends Redis$1 {
|
|
|
48
52
|
}, opts?: Omit<RedisConfigCloudflare, "url" | "token">): Redis;
|
|
49
53
|
}
|
|
50
54
|
|
|
51
|
-
export { Redis, RedisConfigCloudflare };
|
|
55
|
+
export { Redis, type RedisConfigCloudflare };
|
package/cloudflare.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { R as RedisOptions, a as RequesterConfig, b as Redis$1 } from './zmscore-
|
|
2
|
-
export { A as AppendCommand, B as BitCountCommand, f as BitOpCommand, g as BitPosCommand, C as CopyCommand, D as DBSizeCommand, i as DecrByCommand, h as DecrCommand, j as DelCommand, E as EchoCommand,
|
|
1
|
+
import { R as RedisOptions, a as RequesterConfig, b as Redis$1 } from './zmscore-BmesFNPF.js';
|
|
2
|
+
export { A as AppendCommand, B as BitCountCommand, f as BitOpCommand, g as BitPosCommand, C as CopyCommand, D as DBSizeCommand, i as DecrByCommand, h as DecrCommand, j as DelCommand, E as EchoCommand, l as EvalCommand, k as EvalROCommand, n as EvalshaCommand, m as EvalshaROCommand, o as ExistsCommand, q as ExpireAtCommand, p as ExpireCommand, F as FlushAllCommand, r as FlushDBCommand, G as GeoAddCommand, s as GeoAddCommandOptions, u as GeoDistCommand, v as GeoHashCommand, t as GeoMember, w as GeoPosCommand, x as GeoSearchCommand, y as GeoSearchStoreCommand, H as GetBitCommand, z as GetCommand, I as GetDelCommand, J as GetExCommand, K as GetRangeCommand, L as GetSetCommand, M as HDelCommand, N as HExistsCommand, Q as HGetAllCommand, O as HGetCommand, S as HIncrByCommand, T as HIncrByFloatCommand, V as HKeysCommand, W as HLenCommand, X as HMGetCommand, Y as HMSetCommand, Z as HRandFieldCommand, _ as HScanCommand, $ as HSetCommand, a0 as HSetNXCommand, a1 as HStrLenCommand, a2 as HValsCommand, a4 as IncrByCommand, a5 as IncrByFloatCommand, a3 as IncrCommand, a6 as JsonArrAppendCommand, a7 as JsonArrIndexCommand, a8 as JsonArrInsertCommand, a9 as JsonArrLenCommand, aa as JsonArrPopCommand, ab as JsonArrTrimCommand, ac as JsonClearCommand, ad as JsonDelCommand, ae as JsonForgetCommand, af as JsonGetCommand, ah as JsonMGetCommand, ag as JsonMergeCommand, ai as JsonNumIncrByCommand, aj as JsonNumMultByCommand, ak as JsonObjKeysCommand, al as JsonObjLenCommand, am as JsonRespCommand, an as JsonSetCommand, ao as JsonStrAppendCommand, ap as JsonStrLenCommand, aq as JsonToggleCommand, ar as JsonTypeCommand, as as KeysCommand, at as LIndexCommand, au as LInsertCommand, av as LLenCommand, aw as LMoveCommand, ax as LPopCommand, ay as LPushCommand, az as LPushXCommand, aA as LRangeCommand, aB as LRemCommand, aC as LSetCommand, aD as LTrimCommand, aE as MGetCommand, aF as MSetCommand, aG as MSetNXCommand, aJ as PExpireAtCommand, aI as PExpireCommand, aL as PSetEXCommand, aM as PTtlCommand, aH as PersistCommand, aK as PingCommand, P as Pipeline, aN as PublishCommand, aR as RPopCommand, aS as RPushCommand, aT as RPushXCommand, aO as RandomKeyCommand, aP as RenameCommand, aQ as RenameNXCommand, d as Requester, aU as SAddCommand, aX as SCardCommand, a$ as SDiffCommand, b0 as SDiffStoreCommand, b7 as SInterCommand, b8 as SInterStoreCommand, b9 as SIsMemberCommand, bb as SMIsMemberCommand, ba as SMembersCommand, bc as SMoveCommand, bd as SPopCommand, be as SRandMemberCommand, bf as SRemCommand, bg as SScanCommand, bi as SUnionCommand, bj as SUnionStoreCommand, aV as ScanCommand, aW as ScanCommandOptions, bs as ScoreMember, aY as ScriptExistsCommand, aZ as ScriptFlushCommand, a_ as ScriptLoadCommand, b3 as SetBitCommand, b1 as SetCommand, b2 as SetCommandOptions, b4 as SetExCommand, b5 as SetNxCommand, b6 as SetRangeCommand, bh as StrLenCommand, bk as TimeCommand, bl as TouchCommand, bm as TtlCommand, bn as Type, bo as TypeCommand, bp as UnlinkCommand, U as UpstashRequest, c as UpstashResponse, bq as XAddCommand, br as XRangeCommand, bu as ZAddCommand, bt as ZAddCommandOptions, bv as ZCardCommand, bw as ZCountCommand, bx as ZDiffStoreCommand, by as ZIncrByCommand, bz as ZInterStoreCommand, bA as ZInterStoreCommandOptions, bB as ZLexCountCommand, bC as ZMScoreCommand, bD as ZPopMaxCommand, bE as ZPopMinCommand, bF as ZRangeCommand, bG as ZRangeCommandOptions, bH as ZRankCommand, bI as ZRemCommand, bJ as ZRemRangeByLexCommand, bK as ZRemRangeByRankCommand, bL as ZRemRangeByScoreCommand, bM as ZRevRankCommand, bN as ZScanCommand, bO as ZScoreCommand, bP as ZUnionCommand, bQ as ZUnionCommandOptions, bR as ZUnionStoreCommand, bS as ZUnionStoreCommandOptions, e as errors } from './zmscore-BmesFNPF.js';
|
|
3
3
|
|
|
4
4
|
type Env = {
|
|
5
5
|
UPSTASH_DISABLE_TELEMETRY?: string;
|
|
@@ -24,6 +24,10 @@ type RedisConfigCloudflare = {
|
|
|
24
24
|
*/
|
|
25
25
|
signal?: AbortSignal;
|
|
26
26
|
keepAlive?: boolean;
|
|
27
|
+
/**
|
|
28
|
+
* When this flag is enabled, any subsequent commands issued by this client are guaranteed to observe the effects of all earlier writes submitted by the same client.
|
|
29
|
+
*/
|
|
30
|
+
readYourWrites?: boolean;
|
|
27
31
|
} & RedisOptions & RequesterConfig & Env;
|
|
28
32
|
/**
|
|
29
33
|
* Serverless redis client for upstash.
|
|
@@ -48,4 +52,4 @@ declare class Redis extends Redis$1 {
|
|
|
48
52
|
}, opts?: Omit<RedisConfigCloudflare, "url" | "token">): Redis;
|
|
49
53
|
}
|
|
50
54
|
|
|
51
|
-
export { Redis, RedisConfigCloudflare };
|
|
55
|
+
export { Redis, type RedisConfigCloudflare };
|