@upstash/redis 1.36.0 → 1.36.2

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.
@@ -88,6 +88,7 @@ function kvArrayToObject(v) {
88
88
  }
89
89
 
90
90
  // pkg/http.ts
91
+ var MAX_BUFFER_SIZE = 1024 * 1024;
91
92
  var HttpClient = class {
92
93
  baseUrl;
93
94
  headers;
@@ -211,11 +212,16 @@ var HttpClient = class {
211
212
  const decoder = new TextDecoder();
212
213
  (async () => {
213
214
  try {
215
+ let buffer = "";
214
216
  while (true) {
215
217
  const { value, done } = await reader.read();
216
218
  if (done) break;
217
- const chunk = decoder.decode(value);
218
- const lines = chunk.split("\n");
219
+ buffer += decoder.decode(value, { stream: true });
220
+ const lines = buffer.split("\n");
221
+ buffer = lines.pop() || "";
222
+ if (buffer.length > MAX_BUFFER_SIZE) {
223
+ throw new Error("Buffer size exceeded (1MB)");
224
+ }
219
225
  for (const line of lines) {
220
226
  if (line.startsWith("data: ")) {
221
227
  const data = line.slice(6);
@@ -487,6 +493,13 @@ var BitPosCommand = class extends Command {
487
493
  }
488
494
  };
489
495
 
496
+ // pkg/commands/client_setinfo.ts
497
+ var ClientSetInfoCommand = class extends Command {
498
+ constructor([attribute, value], opts) {
499
+ super(["CLIENT", "SETINFO", attribute.toUpperCase(), value], opts);
500
+ }
501
+ };
502
+
490
503
  // pkg/commands/copy.ts
491
504
  var CopyCommand = class extends Command {
492
505
  constructor([key, destinationKey, opts], commandOptions) {
@@ -1084,6 +1097,63 @@ var HGetAllCommand = class extends Command {
1084
1097
  }
1085
1098
  };
1086
1099
 
1100
+ // pkg/commands/hmget.ts
1101
+ function deserialize5(fields, result) {
1102
+ if (result.every((field) => field === null)) {
1103
+ return null;
1104
+ }
1105
+ const obj = {};
1106
+ for (const [i, field] of fields.entries()) {
1107
+ try {
1108
+ obj[field] = JSON.parse(result[i]);
1109
+ } catch {
1110
+ obj[field] = result[i];
1111
+ }
1112
+ }
1113
+ return obj;
1114
+ }
1115
+ var HMGetCommand = class extends Command {
1116
+ constructor([key, ...fields], opts) {
1117
+ super(["hmget", key, ...fields], {
1118
+ deserialize: (result) => deserialize5(fields, result),
1119
+ ...opts
1120
+ });
1121
+ }
1122
+ };
1123
+
1124
+ // pkg/commands/hgetdel.ts
1125
+ var HGetDelCommand = class extends Command {
1126
+ constructor([key, ...fields], opts) {
1127
+ super(["hgetdel", key, "FIELDS", fields.length, ...fields], {
1128
+ deserialize: (result) => deserialize5(fields.map(String), result),
1129
+ ...opts
1130
+ });
1131
+ }
1132
+ };
1133
+
1134
+ // pkg/commands/hgetex.ts
1135
+ var HGetExCommand = class extends Command {
1136
+ constructor([key, opts, ...fields], cmdOpts) {
1137
+ const command = ["hgetex", key];
1138
+ if ("ex" in opts && typeof opts.ex === "number") {
1139
+ command.push("EX", opts.ex);
1140
+ } else if ("px" in opts && typeof opts.px === "number") {
1141
+ command.push("PX", opts.px);
1142
+ } else if ("exat" in opts && typeof opts.exat === "number") {
1143
+ command.push("EXAT", opts.exat);
1144
+ } else if ("pxat" in opts && typeof opts.pxat === "number") {
1145
+ command.push("PXAT", opts.pxat);
1146
+ } else if ("persist" in opts && opts.persist) {
1147
+ command.push("PERSIST");
1148
+ }
1149
+ command.push("FIELDS", fields.length, ...fields);
1150
+ super(command, {
1151
+ deserialize: (result) => deserialize5(fields.map(String), result),
1152
+ ...cmdOpts
1153
+ });
1154
+ }
1155
+ };
1156
+
1087
1157
  // pkg/commands/hincrby.ts
1088
1158
  var HIncrByCommand = class extends Command {
1089
1159
  constructor(cmd, opts) {
@@ -1112,30 +1182,6 @@ var HLenCommand = class extends Command {
1112
1182
  }
1113
1183
  };
1114
1184
 
1115
- // pkg/commands/hmget.ts
1116
- function deserialize5(fields, result) {
1117
- if (result.every((field) => field === null)) {
1118
- return null;
1119
- }
1120
- const obj = {};
1121
- for (const [i, field] of fields.entries()) {
1122
- try {
1123
- obj[field] = JSON.parse(result[i]);
1124
- } catch {
1125
- obj[field] = result[i];
1126
- }
1127
- }
1128
- return obj;
1129
- }
1130
- var HMGetCommand = class extends Command {
1131
- constructor([key, ...fields], opts) {
1132
- super(["hmget", key, ...fields], {
1133
- deserialize: (result) => deserialize5(fields, result),
1134
- ...opts
1135
- });
1136
- }
1137
- };
1138
-
1139
1185
  // pkg/commands/hmset.ts
1140
1186
  var HMSetCommand = class extends Command {
1141
1187
  constructor([key, kv], opts) {
@@ -1167,6 +1213,35 @@ var HSetCommand = class extends Command {
1167
1213
  }
1168
1214
  };
1169
1215
 
1216
+ // pkg/commands/hsetex.ts
1217
+ var HSetExCommand = class extends Command {
1218
+ constructor([key, opts, kv], cmdOpts) {
1219
+ const command = ["hsetex", key];
1220
+ if (opts.conditional) {
1221
+ command.push(opts.conditional.toUpperCase());
1222
+ }
1223
+ if (opts.expiration) {
1224
+ if ("ex" in opts.expiration && typeof opts.expiration.ex === "number") {
1225
+ command.push("EX", opts.expiration.ex);
1226
+ } else if ("px" in opts.expiration && typeof opts.expiration.px === "number") {
1227
+ command.push("PX", opts.expiration.px);
1228
+ } else if ("exat" in opts.expiration && typeof opts.expiration.exat === "number") {
1229
+ command.push("EXAT", opts.expiration.exat);
1230
+ } else if ("pxat" in opts.expiration && typeof opts.expiration.pxat === "number") {
1231
+ command.push("PXAT", opts.expiration.pxat);
1232
+ } else if ("keepttl" in opts.expiration && opts.expiration.keepttl) {
1233
+ command.push("KEEPTTL");
1234
+ }
1235
+ }
1236
+ const entries = Object.entries(kv);
1237
+ command.push("FIELDS", entries.length);
1238
+ for (const [field, value] of entries) {
1239
+ command.push(field, value);
1240
+ }
1241
+ super(command, cmdOpts);
1242
+ }
1243
+ };
1244
+
1170
1245
  // pkg/commands/hsetnx.ts
1171
1246
  var HSetNXCommand = class extends Command {
1172
1247
  constructor(cmd, opts) {
@@ -1950,6 +2025,16 @@ var XAckCommand = class extends Command {
1950
2025
  }
1951
2026
  };
1952
2027
 
2028
+ // pkg/commands/xackdel.ts
2029
+ var XAckDelCommand = class extends Command {
2030
+ constructor([key, group, opts, ...ids], cmdOpts) {
2031
+ const command = ["XACKDEL", key, group];
2032
+ command.push(opts.toUpperCase());
2033
+ command.push("IDS", ids.length, ...ids);
2034
+ super(command, cmdOpts);
2035
+ }
2036
+ };
2037
+
1953
2038
  // pkg/commands/xadd.ts
1954
2039
  var XAddCommand = class extends Command {
1955
2040
  constructor([key, id, entries, opts], commandOptions) {
@@ -2022,6 +2107,18 @@ var XDelCommand = class extends Command {
2022
2107
  }
2023
2108
  };
2024
2109
 
2110
+ // pkg/commands/xdelex.ts
2111
+ var XDelExCommand = class extends Command {
2112
+ constructor([key, opts, ...ids], cmdOpts) {
2113
+ const command = ["XDELEX", key];
2114
+ if (opts) {
2115
+ command.push(opts.toUpperCase());
2116
+ }
2117
+ command.push("IDS", ids.length, ...ids);
2118
+ super(command, cmdOpts);
2119
+ }
2120
+ };
2121
+
2025
2122
  // pkg/commands/xgroup.ts
2026
2123
  var XGroupCommand = class extends Command {
2027
2124
  constructor([key, opts], commandOptions) {
@@ -2586,6 +2683,10 @@ var Pipeline = class {
2586
2683
  * @see https://redis.io/commands/bitpos
2587
2684
  */
2588
2685
  bitpos = (...args) => this.chain(new BitPosCommand(args, this.commandOptions));
2686
+ /**
2687
+ * @see https://redis.io/commands/client-setinfo
2688
+ */
2689
+ clientSetinfo = (...args) => this.chain(new ClientSetInfoCommand(args, this.commandOptions));
2589
2690
  /**
2590
2691
  * @see https://redis.io/commands/copy
2591
2692
  */
@@ -2750,6 +2851,14 @@ var Pipeline = class {
2750
2851
  * @see https://redis.io/commands/hgetall
2751
2852
  */
2752
2853
  hgetall = (...args) => this.chain(new HGetAllCommand(args, this.commandOptions));
2854
+ /**
2855
+ * @see https://redis.io/commands/hgetdel
2856
+ */
2857
+ hgetdel = (...args) => this.chain(new HGetDelCommand(args, this.commandOptions));
2858
+ /**
2859
+ * @see https://redis.io/commands/hgetex
2860
+ */
2861
+ hgetex = (...args) => this.chain(new HGetExCommand(args, this.commandOptions));
2753
2862
  /**
2754
2863
  * @see https://redis.io/commands/hincrby
2755
2864
  */
@@ -2786,6 +2895,10 @@ var Pipeline = class {
2786
2895
  * @see https://redis.io/commands/hset
2787
2896
  */
2788
2897
  hset = (key, kv) => this.chain(new HSetCommand([key, kv], this.commandOptions));
2898
+ /**
2899
+ * @see https://redis.io/commands/hsetex
2900
+ */
2901
+ hsetex = (...args) => this.chain(new HSetExCommand(args, this.commandOptions));
2789
2902
  /**
2790
2903
  * @see https://redis.io/commands/hsetnx
2791
2904
  */
@@ -3090,10 +3203,18 @@ var Pipeline = class {
3090
3203
  * @see https://redis.io/commands/xack
3091
3204
  */
3092
3205
  xack = (...args) => this.chain(new XAckCommand(args, this.commandOptions));
3206
+ /**
3207
+ * @see https://redis.io/commands/xackdel
3208
+ */
3209
+ xackdel = (...args) => this.chain(new XAckDelCommand(args, this.commandOptions));
3093
3210
  /**
3094
3211
  * @see https://redis.io/commands/xdel
3095
3212
  */
3096
3213
  xdel = (...args) => this.chain(new XDelCommand(args, this.commandOptions));
3214
+ /**
3215
+ * @see https://redis.io/commands/xdelex
3216
+ */
3217
+ xdelex = (...args) => this.chain(new XDelExCommand(args, this.commandOptions));
3097
3218
  /**
3098
3219
  * @see https://redis.io/commands/xgroup
3099
3220
  */
@@ -4037,6 +4158,10 @@ var Redis = class {
4037
4158
  * @see https://redis.io/commands/bitpos
4038
4159
  */
4039
4160
  bitpos = (...args) => new BitPosCommand(args, this.opts).exec(this.client);
4161
+ /**
4162
+ * @see https://redis.io/commands/client-setinfo
4163
+ */
4164
+ clientSetinfo = (...args) => new ClientSetInfoCommand(args, this.opts).exec(this.client);
4040
4165
  /**
4041
4166
  * @see https://redis.io/commands/copy
4042
4167
  */
@@ -4201,6 +4326,14 @@ var Redis = class {
4201
4326
  * @see https://redis.io/commands/hgetall
4202
4327
  */
4203
4328
  hgetall = (...args) => new HGetAllCommand(args, this.opts).exec(this.client);
4329
+ /**
4330
+ * @see https://redis.io/commands/hgetdel
4331
+ */
4332
+ hgetdel = (...args) => new HGetDelCommand(args, this.opts).exec(this.client);
4333
+ /**
4334
+ * @see https://redis.io/commands/hgetex
4335
+ */
4336
+ hgetex = (...args) => new HGetExCommand(args, this.opts).exec(this.client);
4204
4337
  /**
4205
4338
  * @see https://redis.io/commands/hincrby
4206
4339
  */
@@ -4237,6 +4370,10 @@ var Redis = class {
4237
4370
  * @see https://redis.io/commands/hset
4238
4371
  */
4239
4372
  hset = (key, kv) => new HSetCommand([key, kv], this.opts).exec(this.client);
4373
+ /**
4374
+ * @see https://redis.io/commands/hsetex
4375
+ */
4376
+ hsetex = (...args) => new HSetExCommand(args, this.opts).exec(this.client);
4240
4377
  /**
4241
4378
  * @see https://redis.io/commands/hsetnx
4242
4379
  */
@@ -4538,10 +4675,18 @@ var Redis = class {
4538
4675
  * @see https://redis.io/commands/xack
4539
4676
  */
4540
4677
  xack = (...args) => new XAckCommand(args, this.opts).exec(this.client);
4678
+ /**
4679
+ * @see https://redis.io/commands/xackdel
4680
+ */
4681
+ xackdel = (...args) => new XAckDelCommand(args, this.opts).exec(this.client);
4541
4682
  /**
4542
4683
  * @see https://redis.io/commands/xdel
4543
4684
  */
4544
4685
  xdel = (...args) => new XDelCommand(args, this.opts).exec(this.client);
4686
+ /**
4687
+ * @see https://redis.io/commands/xdelex
4688
+ */
4689
+ xdelex = (...args) => new XDelExCommand(args, this.opts).exec(this.client);
4545
4690
  /**
4546
4691
  * @see https://redis.io/commands/xgroup
4547
4692
  */
@@ -4683,7 +4828,7 @@ var Redis = class {
4683
4828
  };
4684
4829
 
4685
4830
  // version.ts
4686
- var VERSION = "v1.36.0";
4831
+ var VERSION = "v1.36.2";
4687
4832
 
4688
4833
  export {
4689
4834
  error_exports,
package/cloudflare.d.mts CHANGED
@@ -1,5 +1,5 @@
1
- import { H as HttpClientConfig, R as RedisOptions, a as RequesterConfig, b as Redis$1 } from './zmscore-0SAuWM0q.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, r as ExpireAtCommand, p as ExpireCommand, q as ExpireOption, F as FlushAllCommand, s as FlushDBCommand, G as GeoAddCommand, t as GeoAddCommandOptions, v as GeoDistCommand, w as GeoHashCommand, u as GeoMember, x as GeoPosCommand, y as GeoSearchCommand, z as GeoSearchStoreCommand, J as GetBitCommand, I as GetCommand, K as GetDelCommand, L as GetExCommand, M as GetRangeCommand, N as GetSetCommand, O as HDelCommand, Q as HExistsCommand, T as HExpireAtCommand, S as HExpireCommand, V as HExpireTimeCommand, a1 as HGetAllCommand, a0 as HGetCommand, a2 as HIncrByCommand, a3 as HIncrByFloatCommand, a4 as HKeysCommand, a5 as HLenCommand, a6 as HMGetCommand, a7 as HMSetCommand, Y as HPExpireAtCommand, X as HPExpireCommand, Z as HPExpireTimeCommand, _ as HPTtlCommand, $ as HPersistCommand, a8 as HRandFieldCommand, a9 as HScanCommand, aa as HSetCommand, ab as HSetNXCommand, ac as HStrLenCommand, W as HTtlCommand, ad as HValsCommand, af as IncrByCommand, ag as IncrByFloatCommand, ae as IncrCommand, ah as JsonArrAppendCommand, ai as JsonArrIndexCommand, aj as JsonArrInsertCommand, ak as JsonArrLenCommand, al as JsonArrPopCommand, am as JsonArrTrimCommand, an as JsonClearCommand, ao as JsonDelCommand, ap as JsonForgetCommand, aq as JsonGetCommand, as as JsonMGetCommand, ar as JsonMergeCommand, at as JsonNumIncrByCommand, au as JsonNumMultByCommand, av as JsonObjKeysCommand, aw as JsonObjLenCommand, ax as JsonRespCommand, ay as JsonSetCommand, az as JsonStrAppendCommand, aA as JsonStrLenCommand, aB as JsonToggleCommand, aC as JsonTypeCommand, aD as KeysCommand, aE as LIndexCommand, aF as LInsertCommand, aG as LLenCommand, aH as LMoveCommand, aI as LPopCommand, aJ as LPushCommand, aK as LPushXCommand, aL as LRangeCommand, aM as LRemCommand, aN as LSetCommand, aO as LTrimCommand, aP as MGetCommand, aQ as MSetCommand, aR as MSetNXCommand, aU as PExpireAtCommand, aT as PExpireCommand, aW as PSetEXCommand, aX as PTtlCommand, aS as PersistCommand, aV as PingCommand, P as Pipeline, aY as PublishCommand, b0 as RPopCommand, b1 as RPushCommand, b2 as RPushXCommand, aZ as RandomKeyCommand, a_ as RenameCommand, a$ as RenameNXCommand, c as Requester, b3 as SAddCommand, b6 as SCardCommand, ba as SDiffCommand, bb as SDiffStoreCommand, bi as SInterCommand, bj as SInterStoreCommand, bk as SIsMemberCommand, bm as SMIsMemberCommand, bl as SMembersCommand, bn as SMoveCommand, bo as SPopCommand, bp as SRandMemberCommand, bq as SRemCommand, br as SScanCommand, bt as SUnionCommand, bu as SUnionStoreCommand, b4 as ScanCommand, b5 as ScanCommandOptions, bD as ScoreMember, b7 as ScriptExistsCommand, b8 as ScriptFlushCommand, b9 as ScriptLoadCommand, be as SetBitCommand, bc as SetCommand, bd as SetCommandOptions, bf as SetExCommand, bg as SetNxCommand, bh as SetRangeCommand, bs as StrLenCommand, bv as TimeCommand, bw as TouchCommand, bx as TtlCommand, by as Type, bz as TypeCommand, bA as UnlinkCommand, U as UpstashRequest, d as UpstashResponse, bB as XAddCommand, bC as XRangeCommand, bF as ZAddCommand, bE as ZAddCommandOptions, bG as ZCardCommand, bH as ZCountCommand, bI as ZDiffStoreCommand, bJ as ZIncrByCommand, bK as ZInterStoreCommand, bL as ZInterStoreCommandOptions, bM as ZLexCountCommand, bN as ZMScoreCommand, bO as ZPopMaxCommand, bP as ZPopMinCommand, bQ as ZRangeCommand, bR as ZRangeCommandOptions, bS as ZRankCommand, bT as ZRemCommand, bU as ZRemRangeByLexCommand, bV as ZRemRangeByRankCommand, bW as ZRemRangeByScoreCommand, bX as ZRevRankCommand, bY as ZScanCommand, bZ as ZScoreCommand, b_ as ZUnionCommand, b$ as ZUnionCommandOptions, c0 as ZUnionStoreCommand, c1 as ZUnionStoreCommandOptions, e as errors } from './zmscore-0SAuWM0q.mjs';
1
+ import { H as HttpClientConfig, R as RedisOptions, a as RequesterConfig, b as Redis$1 } from './zmscore-BjNXmrug.mjs';
2
+ export { A as AppendCommand, B as BitCountCommand, f as BitOpCommand, g as BitPosCommand, h as ClientSetInfoAttribute, C as ClientSetInfoCommand, i as CopyCommand, D as DBSizeCommand, k as DecrByCommand, j as DecrCommand, l as DelCommand, E as EchoCommand, n as EvalCommand, m as EvalROCommand, p as EvalshaCommand, o as EvalshaROCommand, q as ExistsCommand, t as ExpireAtCommand, r as ExpireCommand, s as ExpireOption, F as FlushAllCommand, u as FlushDBCommand, G as GeoAddCommand, v as GeoAddCommandOptions, x as GeoDistCommand, y as GeoHashCommand, w as GeoMember, z as GeoPosCommand, I as GeoSearchCommand, J as GeoSearchStoreCommand, L as GetBitCommand, K as GetCommand, M as GetDelCommand, N as GetExCommand, O as GetRangeCommand, Q as GetSetCommand, S as HDelCommand, T as HExistsCommand, W as HExpireAtCommand, V as HExpireCommand, X as HExpireTimeCommand, a3 as HGetAllCommand, a2 as HGetCommand, a4 as HGetDelCommand, a5 as HGetExCommand, a6 as HIncrByCommand, a7 as HIncrByFloatCommand, a8 as HKeysCommand, a9 as HLenCommand, aa as HMGetCommand, ab as HMSetCommand, _ as HPExpireAtCommand, Z as HPExpireCommand, $ as HPExpireTimeCommand, a0 as HPTtlCommand, a1 as HPersistCommand, ac as HRandFieldCommand, ad as HScanCommand, ae as HSetCommand, af as HSetExCommand, ag as HSetNXCommand, ah as HStrLenCommand, Y as HTtlCommand, ai as HValsCommand, ak as IncrByCommand, al as IncrByFloatCommand, aj as IncrCommand, am as JsonArrAppendCommand, an as JsonArrIndexCommand, ao as JsonArrInsertCommand, ap as JsonArrLenCommand, aq as JsonArrPopCommand, ar as JsonArrTrimCommand, as as JsonClearCommand, at as JsonDelCommand, au as JsonForgetCommand, av as JsonGetCommand, ax as JsonMGetCommand, aw as JsonMergeCommand, ay as JsonNumIncrByCommand, az as JsonNumMultByCommand, aA as JsonObjKeysCommand, aB as JsonObjLenCommand, aC as JsonRespCommand, aD as JsonSetCommand, aE as JsonStrAppendCommand, aF as JsonStrLenCommand, aG as JsonToggleCommand, aH as JsonTypeCommand, aI as KeysCommand, aJ as LIndexCommand, aK as LInsertCommand, aL as LLenCommand, aM as LMoveCommand, aN as LPopCommand, aO as LPushCommand, aP as LPushXCommand, aQ as LRangeCommand, aR as LRemCommand, aS as LSetCommand, aT as LTrimCommand, aU as MGetCommand, aV as MSetCommand, aW as MSetNXCommand, aZ as PExpireAtCommand, aY as PExpireCommand, a$ as PSetEXCommand, b0 as PTtlCommand, aX as PersistCommand, a_ as PingCommand, P as Pipeline, b1 as PublishCommand, b5 as RPopCommand, b6 as RPushCommand, b7 as RPushXCommand, b2 as RandomKeyCommand, b3 as RenameCommand, b4 as RenameNXCommand, c as Requester, b8 as SAddCommand, bb as SCardCommand, bf as SDiffCommand, bg as SDiffStoreCommand, bn as SInterCommand, bo as SInterStoreCommand, bp as SIsMemberCommand, br as SMIsMemberCommand, bq as SMembersCommand, bs as SMoveCommand, bt as SPopCommand, bu as SRandMemberCommand, bv as SRemCommand, bw as SScanCommand, by as SUnionCommand, bz as SUnionStoreCommand, b9 as ScanCommand, ba as ScanCommandOptions, bK as ScoreMember, bc as ScriptExistsCommand, bd as ScriptFlushCommand, be as ScriptLoadCommand, bj as SetBitCommand, bh as SetCommand, bi as SetCommandOptions, bk as SetExCommand, bl as SetNxCommand, bm as SetRangeCommand, bx as StrLenCommand, bA as TimeCommand, bB as TouchCommand, bC as TtlCommand, bD as Type, bE as TypeCommand, bF as UnlinkCommand, U as UpstashRequest, d as UpstashResponse, bH as XAckDelCommand, bG as XAddCommand, bI as XDelExCommand, bJ as XRangeCommand, bM as ZAddCommand, bL as ZAddCommandOptions, bN as ZCardCommand, bO as ZCountCommand, bP as ZDiffStoreCommand, bQ as ZIncrByCommand, bR as ZInterStoreCommand, bS as ZInterStoreCommandOptions, bT as ZLexCountCommand, bU as ZMScoreCommand, bV as ZPopMaxCommand, bW as ZPopMinCommand, bX as ZRangeCommand, bY as ZRangeCommandOptions, bZ as ZRankCommand, b_ as ZRemCommand, b$ as ZRemRangeByLexCommand, c0 as ZRemRangeByRankCommand, c1 as ZRemRangeByScoreCommand, c2 as ZRevRankCommand, c3 as ZScanCommand, c4 as ZScoreCommand, c5 as ZUnionCommand, c6 as ZUnionCommandOptions, c7 as ZUnionStoreCommand, c8 as ZUnionStoreCommandOptions, e as errors } from './zmscore-BjNXmrug.mjs';
3
3
 
4
4
  type Env = {
5
5
  UPSTASH_DISABLE_TELEMETRY?: string;
package/cloudflare.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { H as HttpClientConfig, R as RedisOptions, a as RequesterConfig, b as Redis$1 } from './zmscore-0SAuWM0q.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, r as ExpireAtCommand, p as ExpireCommand, q as ExpireOption, F as FlushAllCommand, s as FlushDBCommand, G as GeoAddCommand, t as GeoAddCommandOptions, v as GeoDistCommand, w as GeoHashCommand, u as GeoMember, x as GeoPosCommand, y as GeoSearchCommand, z as GeoSearchStoreCommand, J as GetBitCommand, I as GetCommand, K as GetDelCommand, L as GetExCommand, M as GetRangeCommand, N as GetSetCommand, O as HDelCommand, Q as HExistsCommand, T as HExpireAtCommand, S as HExpireCommand, V as HExpireTimeCommand, a1 as HGetAllCommand, a0 as HGetCommand, a2 as HIncrByCommand, a3 as HIncrByFloatCommand, a4 as HKeysCommand, a5 as HLenCommand, a6 as HMGetCommand, a7 as HMSetCommand, Y as HPExpireAtCommand, X as HPExpireCommand, Z as HPExpireTimeCommand, _ as HPTtlCommand, $ as HPersistCommand, a8 as HRandFieldCommand, a9 as HScanCommand, aa as HSetCommand, ab as HSetNXCommand, ac as HStrLenCommand, W as HTtlCommand, ad as HValsCommand, af as IncrByCommand, ag as IncrByFloatCommand, ae as IncrCommand, ah as JsonArrAppendCommand, ai as JsonArrIndexCommand, aj as JsonArrInsertCommand, ak as JsonArrLenCommand, al as JsonArrPopCommand, am as JsonArrTrimCommand, an as JsonClearCommand, ao as JsonDelCommand, ap as JsonForgetCommand, aq as JsonGetCommand, as as JsonMGetCommand, ar as JsonMergeCommand, at as JsonNumIncrByCommand, au as JsonNumMultByCommand, av as JsonObjKeysCommand, aw as JsonObjLenCommand, ax as JsonRespCommand, ay as JsonSetCommand, az as JsonStrAppendCommand, aA as JsonStrLenCommand, aB as JsonToggleCommand, aC as JsonTypeCommand, aD as KeysCommand, aE as LIndexCommand, aF as LInsertCommand, aG as LLenCommand, aH as LMoveCommand, aI as LPopCommand, aJ as LPushCommand, aK as LPushXCommand, aL as LRangeCommand, aM as LRemCommand, aN as LSetCommand, aO as LTrimCommand, aP as MGetCommand, aQ as MSetCommand, aR as MSetNXCommand, aU as PExpireAtCommand, aT as PExpireCommand, aW as PSetEXCommand, aX as PTtlCommand, aS as PersistCommand, aV as PingCommand, P as Pipeline, aY as PublishCommand, b0 as RPopCommand, b1 as RPushCommand, b2 as RPushXCommand, aZ as RandomKeyCommand, a_ as RenameCommand, a$ as RenameNXCommand, c as Requester, b3 as SAddCommand, b6 as SCardCommand, ba as SDiffCommand, bb as SDiffStoreCommand, bi as SInterCommand, bj as SInterStoreCommand, bk as SIsMemberCommand, bm as SMIsMemberCommand, bl as SMembersCommand, bn as SMoveCommand, bo as SPopCommand, bp as SRandMemberCommand, bq as SRemCommand, br as SScanCommand, bt as SUnionCommand, bu as SUnionStoreCommand, b4 as ScanCommand, b5 as ScanCommandOptions, bD as ScoreMember, b7 as ScriptExistsCommand, b8 as ScriptFlushCommand, b9 as ScriptLoadCommand, be as SetBitCommand, bc as SetCommand, bd as SetCommandOptions, bf as SetExCommand, bg as SetNxCommand, bh as SetRangeCommand, bs as StrLenCommand, bv as TimeCommand, bw as TouchCommand, bx as TtlCommand, by as Type, bz as TypeCommand, bA as UnlinkCommand, U as UpstashRequest, d as UpstashResponse, bB as XAddCommand, bC as XRangeCommand, bF as ZAddCommand, bE as ZAddCommandOptions, bG as ZCardCommand, bH as ZCountCommand, bI as ZDiffStoreCommand, bJ as ZIncrByCommand, bK as ZInterStoreCommand, bL as ZInterStoreCommandOptions, bM as ZLexCountCommand, bN as ZMScoreCommand, bO as ZPopMaxCommand, bP as ZPopMinCommand, bQ as ZRangeCommand, bR as ZRangeCommandOptions, bS as ZRankCommand, bT as ZRemCommand, bU as ZRemRangeByLexCommand, bV as ZRemRangeByRankCommand, bW as ZRemRangeByScoreCommand, bX as ZRevRankCommand, bY as ZScanCommand, bZ as ZScoreCommand, b_ as ZUnionCommand, b$ as ZUnionCommandOptions, c0 as ZUnionStoreCommand, c1 as ZUnionStoreCommandOptions, e as errors } from './zmscore-0SAuWM0q.js';
1
+ import { H as HttpClientConfig, R as RedisOptions, a as RequesterConfig, b as Redis$1 } from './zmscore-BjNXmrug.js';
2
+ export { A as AppendCommand, B as BitCountCommand, f as BitOpCommand, g as BitPosCommand, h as ClientSetInfoAttribute, C as ClientSetInfoCommand, i as CopyCommand, D as DBSizeCommand, k as DecrByCommand, j as DecrCommand, l as DelCommand, E as EchoCommand, n as EvalCommand, m as EvalROCommand, p as EvalshaCommand, o as EvalshaROCommand, q as ExistsCommand, t as ExpireAtCommand, r as ExpireCommand, s as ExpireOption, F as FlushAllCommand, u as FlushDBCommand, G as GeoAddCommand, v as GeoAddCommandOptions, x as GeoDistCommand, y as GeoHashCommand, w as GeoMember, z as GeoPosCommand, I as GeoSearchCommand, J as GeoSearchStoreCommand, L as GetBitCommand, K as GetCommand, M as GetDelCommand, N as GetExCommand, O as GetRangeCommand, Q as GetSetCommand, S as HDelCommand, T as HExistsCommand, W as HExpireAtCommand, V as HExpireCommand, X as HExpireTimeCommand, a3 as HGetAllCommand, a2 as HGetCommand, a4 as HGetDelCommand, a5 as HGetExCommand, a6 as HIncrByCommand, a7 as HIncrByFloatCommand, a8 as HKeysCommand, a9 as HLenCommand, aa as HMGetCommand, ab as HMSetCommand, _ as HPExpireAtCommand, Z as HPExpireCommand, $ as HPExpireTimeCommand, a0 as HPTtlCommand, a1 as HPersistCommand, ac as HRandFieldCommand, ad as HScanCommand, ae as HSetCommand, af as HSetExCommand, ag as HSetNXCommand, ah as HStrLenCommand, Y as HTtlCommand, ai as HValsCommand, ak as IncrByCommand, al as IncrByFloatCommand, aj as IncrCommand, am as JsonArrAppendCommand, an as JsonArrIndexCommand, ao as JsonArrInsertCommand, ap as JsonArrLenCommand, aq as JsonArrPopCommand, ar as JsonArrTrimCommand, as as JsonClearCommand, at as JsonDelCommand, au as JsonForgetCommand, av as JsonGetCommand, ax as JsonMGetCommand, aw as JsonMergeCommand, ay as JsonNumIncrByCommand, az as JsonNumMultByCommand, aA as JsonObjKeysCommand, aB as JsonObjLenCommand, aC as JsonRespCommand, aD as JsonSetCommand, aE as JsonStrAppendCommand, aF as JsonStrLenCommand, aG as JsonToggleCommand, aH as JsonTypeCommand, aI as KeysCommand, aJ as LIndexCommand, aK as LInsertCommand, aL as LLenCommand, aM as LMoveCommand, aN as LPopCommand, aO as LPushCommand, aP as LPushXCommand, aQ as LRangeCommand, aR as LRemCommand, aS as LSetCommand, aT as LTrimCommand, aU as MGetCommand, aV as MSetCommand, aW as MSetNXCommand, aZ as PExpireAtCommand, aY as PExpireCommand, a$ as PSetEXCommand, b0 as PTtlCommand, aX as PersistCommand, a_ as PingCommand, P as Pipeline, b1 as PublishCommand, b5 as RPopCommand, b6 as RPushCommand, b7 as RPushXCommand, b2 as RandomKeyCommand, b3 as RenameCommand, b4 as RenameNXCommand, c as Requester, b8 as SAddCommand, bb as SCardCommand, bf as SDiffCommand, bg as SDiffStoreCommand, bn as SInterCommand, bo as SInterStoreCommand, bp as SIsMemberCommand, br as SMIsMemberCommand, bq as SMembersCommand, bs as SMoveCommand, bt as SPopCommand, bu as SRandMemberCommand, bv as SRemCommand, bw as SScanCommand, by as SUnionCommand, bz as SUnionStoreCommand, b9 as ScanCommand, ba as ScanCommandOptions, bK as ScoreMember, bc as ScriptExistsCommand, bd as ScriptFlushCommand, be as ScriptLoadCommand, bj as SetBitCommand, bh as SetCommand, bi as SetCommandOptions, bk as SetExCommand, bl as SetNxCommand, bm as SetRangeCommand, bx as StrLenCommand, bA as TimeCommand, bB as TouchCommand, bC as TtlCommand, bD as Type, bE as TypeCommand, bF as UnlinkCommand, U as UpstashRequest, d as UpstashResponse, bH as XAckDelCommand, bG as XAddCommand, bI as XDelExCommand, bJ as XRangeCommand, bM as ZAddCommand, bL as ZAddCommandOptions, bN as ZCardCommand, bO as ZCountCommand, bP as ZDiffStoreCommand, bQ as ZIncrByCommand, bR as ZInterStoreCommand, bS as ZInterStoreCommandOptions, bT as ZLexCountCommand, bU as ZMScoreCommand, bV as ZPopMaxCommand, bW as ZPopMinCommand, bX as ZRangeCommand, bY as ZRangeCommandOptions, bZ as ZRankCommand, b_ as ZRemCommand, b$ as ZRemRangeByLexCommand, c0 as ZRemRangeByRankCommand, c1 as ZRemRangeByScoreCommand, c2 as ZRevRankCommand, c3 as ZScanCommand, c4 as ZScoreCommand, c5 as ZUnionCommand, c6 as ZUnionCommandOptions, c7 as ZUnionStoreCommand, c8 as ZUnionStoreCommandOptions, e as errors } from './zmscore-BjNXmrug.js';
3
3
 
4
4
  type Env = {
5
5
  UPSTASH_DISABLE_TELEMETRY?: string;