@upstash/redis 1.36.1 → 1.36.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.
@@ -493,6 +493,13 @@ var BitPosCommand = class extends Command {
493
493
  }
494
494
  };
495
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
+
496
503
  // pkg/commands/copy.ts
497
504
  var CopyCommand = class extends Command {
498
505
  constructor([key, destinationKey, opts], commandOptions) {
@@ -1090,6 +1097,63 @@ var HGetAllCommand = class extends Command {
1090
1097
  }
1091
1098
  };
1092
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
+
1093
1157
  // pkg/commands/hincrby.ts
1094
1158
  var HIncrByCommand = class extends Command {
1095
1159
  constructor(cmd, opts) {
@@ -1118,30 +1182,6 @@ var HLenCommand = class extends Command {
1118
1182
  }
1119
1183
  };
1120
1184
 
1121
- // pkg/commands/hmget.ts
1122
- function deserialize5(fields, result) {
1123
- if (result.every((field) => field === null)) {
1124
- return null;
1125
- }
1126
- const obj = {};
1127
- for (const [i, field] of fields.entries()) {
1128
- try {
1129
- obj[field] = JSON.parse(result[i]);
1130
- } catch {
1131
- obj[field] = result[i];
1132
- }
1133
- }
1134
- return obj;
1135
- }
1136
- var HMGetCommand = class extends Command {
1137
- constructor([key, ...fields], opts) {
1138
- super(["hmget", key, ...fields], {
1139
- deserialize: (result) => deserialize5(fields, result),
1140
- ...opts
1141
- });
1142
- }
1143
- };
1144
-
1145
1185
  // pkg/commands/hmset.ts
1146
1186
  var HMSetCommand = class extends Command {
1147
1187
  constructor([key, kv], opts) {
@@ -1173,6 +1213,35 @@ var HSetCommand = class extends Command {
1173
1213
  }
1174
1214
  };
1175
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
+
1176
1245
  // pkg/commands/hsetnx.ts
1177
1246
  var HSetNXCommand = class extends Command {
1178
1247
  constructor(cmd, opts) {
@@ -1811,6 +1880,18 @@ var SInterCommand = class extends Command {
1811
1880
  }
1812
1881
  };
1813
1882
 
1883
+ // pkg/commands/sintercard.ts
1884
+ var SInterCardCommand = class extends Command {
1885
+ constructor(cmd, cmdOpts) {
1886
+ const [keys, opts] = cmd;
1887
+ const command = ["sintercard", keys.length, ...keys];
1888
+ if (opts?.limit !== void 0) {
1889
+ command.push("LIMIT", opts.limit);
1890
+ }
1891
+ super(command, cmdOpts);
1892
+ }
1893
+ };
1894
+
1814
1895
  // pkg/commands/sinterstore.ts
1815
1896
  var SInterStoreCommand = class extends Command {
1816
1897
  constructor(cmd, opts) {
@@ -1956,6 +2037,16 @@ var XAckCommand = class extends Command {
1956
2037
  }
1957
2038
  };
1958
2039
 
2040
+ // pkg/commands/xackdel.ts
2041
+ var XAckDelCommand = class extends Command {
2042
+ constructor([key, group, opts, ...ids], cmdOpts) {
2043
+ const command = ["XACKDEL", key, group];
2044
+ command.push(opts.toUpperCase());
2045
+ command.push("IDS", ids.length, ...ids);
2046
+ super(command, cmdOpts);
2047
+ }
2048
+ };
2049
+
1959
2050
  // pkg/commands/xadd.ts
1960
2051
  var XAddCommand = class extends Command {
1961
2052
  constructor([key, id, entries, opts], commandOptions) {
@@ -2028,6 +2119,18 @@ var XDelCommand = class extends Command {
2028
2119
  }
2029
2120
  };
2030
2121
 
2122
+ // pkg/commands/xdelex.ts
2123
+ var XDelExCommand = class extends Command {
2124
+ constructor([key, opts, ...ids], cmdOpts) {
2125
+ const command = ["XDELEX", key];
2126
+ if (opts) {
2127
+ command.push(opts.toUpperCase());
2128
+ }
2129
+ command.push("IDS", ids.length, ...ids);
2130
+ super(command, cmdOpts);
2131
+ }
2132
+ };
2133
+
2031
2134
  // pkg/commands/xgroup.ts
2032
2135
  var XGroupCommand = class extends Command {
2033
2136
  constructor([key, opts], commandOptions) {
@@ -2592,6 +2695,10 @@ var Pipeline = class {
2592
2695
  * @see https://redis.io/commands/bitpos
2593
2696
  */
2594
2697
  bitpos = (...args) => this.chain(new BitPosCommand(args, this.commandOptions));
2698
+ /**
2699
+ * @see https://redis.io/commands/client-setinfo
2700
+ */
2701
+ clientSetinfo = (...args) => this.chain(new ClientSetInfoCommand(args, this.commandOptions));
2595
2702
  /**
2596
2703
  * @see https://redis.io/commands/copy
2597
2704
  */
@@ -2756,6 +2863,14 @@ var Pipeline = class {
2756
2863
  * @see https://redis.io/commands/hgetall
2757
2864
  */
2758
2865
  hgetall = (...args) => this.chain(new HGetAllCommand(args, this.commandOptions));
2866
+ /**
2867
+ * @see https://redis.io/commands/hgetdel
2868
+ */
2869
+ hgetdel = (...args) => this.chain(new HGetDelCommand(args, this.commandOptions));
2870
+ /**
2871
+ * @see https://redis.io/commands/hgetex
2872
+ */
2873
+ hgetex = (...args) => this.chain(new HGetExCommand(args, this.commandOptions));
2759
2874
  /**
2760
2875
  * @see https://redis.io/commands/hincrby
2761
2876
  */
@@ -2792,6 +2907,10 @@ var Pipeline = class {
2792
2907
  * @see https://redis.io/commands/hset
2793
2908
  */
2794
2909
  hset = (key, kv) => this.chain(new HSetCommand([key, kv], this.commandOptions));
2910
+ /**
2911
+ * @see https://redis.io/commands/hsetex
2912
+ */
2913
+ hsetex = (...args) => this.chain(new HSetExCommand(args, this.commandOptions));
2795
2914
  /**
2796
2915
  * @see https://redis.io/commands/hsetnx
2797
2916
  */
@@ -3004,6 +3123,10 @@ var Pipeline = class {
3004
3123
  * @see https://redis.io/commands/sinter
3005
3124
  */
3006
3125
  sinter = (...args) => this.chain(new SInterCommand(args, this.commandOptions));
3126
+ /**
3127
+ * @see https://redis.io/commands/sintercard
3128
+ */
3129
+ sintercard = (...args) => this.chain(new SInterCardCommand(args, this.commandOptions));
3007
3130
  /**
3008
3131
  * @see https://redis.io/commands/sinterstore
3009
3132
  */
@@ -3096,10 +3219,18 @@ var Pipeline = class {
3096
3219
  * @see https://redis.io/commands/xack
3097
3220
  */
3098
3221
  xack = (...args) => this.chain(new XAckCommand(args, this.commandOptions));
3222
+ /**
3223
+ * @see https://redis.io/commands/xackdel
3224
+ */
3225
+ xackdel = (...args) => this.chain(new XAckDelCommand(args, this.commandOptions));
3099
3226
  /**
3100
3227
  * @see https://redis.io/commands/xdel
3101
3228
  */
3102
3229
  xdel = (...args) => this.chain(new XDelCommand(args, this.commandOptions));
3230
+ /**
3231
+ * @see https://redis.io/commands/xdelex
3232
+ */
3233
+ xdelex = (...args) => this.chain(new XDelExCommand(args, this.commandOptions));
3103
3234
  /**
3104
3235
  * @see https://redis.io/commands/xgroup
3105
3236
  */
@@ -4043,6 +4174,10 @@ var Redis = class {
4043
4174
  * @see https://redis.io/commands/bitpos
4044
4175
  */
4045
4176
  bitpos = (...args) => new BitPosCommand(args, this.opts).exec(this.client);
4177
+ /**
4178
+ * @see https://redis.io/commands/client-setinfo
4179
+ */
4180
+ clientSetinfo = (...args) => new ClientSetInfoCommand(args, this.opts).exec(this.client);
4046
4181
  /**
4047
4182
  * @see https://redis.io/commands/copy
4048
4183
  */
@@ -4207,6 +4342,14 @@ var Redis = class {
4207
4342
  * @see https://redis.io/commands/hgetall
4208
4343
  */
4209
4344
  hgetall = (...args) => new HGetAllCommand(args, this.opts).exec(this.client);
4345
+ /**
4346
+ * @see https://redis.io/commands/hgetdel
4347
+ */
4348
+ hgetdel = (...args) => new HGetDelCommand(args, this.opts).exec(this.client);
4349
+ /**
4350
+ * @see https://redis.io/commands/hgetex
4351
+ */
4352
+ hgetex = (...args) => new HGetExCommand(args, this.opts).exec(this.client);
4210
4353
  /**
4211
4354
  * @see https://redis.io/commands/hincrby
4212
4355
  */
@@ -4243,6 +4386,10 @@ var Redis = class {
4243
4386
  * @see https://redis.io/commands/hset
4244
4387
  */
4245
4388
  hset = (key, kv) => new HSetCommand([key, kv], this.opts).exec(this.client);
4389
+ /**
4390
+ * @see https://redis.io/commands/hsetex
4391
+ */
4392
+ hsetex = (...args) => new HSetExCommand(args, this.opts).exec(this.client);
4246
4393
  /**
4247
4394
  * @see https://redis.io/commands/hsetnx
4248
4395
  */
@@ -4461,6 +4608,10 @@ var Redis = class {
4461
4608
  * @see https://redis.io/commands/sinter
4462
4609
  */
4463
4610
  sinter = (...args) => new SInterCommand(args, this.opts).exec(this.client);
4611
+ /**
4612
+ * @see https://redis.io/commands/sintercard
4613
+ */
4614
+ sintercard = (...args) => new SInterCardCommand(args, this.opts).exec(this.client);
4464
4615
  /**
4465
4616
  * @see https://redis.io/commands/sinterstore
4466
4617
  */
@@ -4544,10 +4695,18 @@ var Redis = class {
4544
4695
  * @see https://redis.io/commands/xack
4545
4696
  */
4546
4697
  xack = (...args) => new XAckCommand(args, this.opts).exec(this.client);
4698
+ /**
4699
+ * @see https://redis.io/commands/xackdel
4700
+ */
4701
+ xackdel = (...args) => new XAckDelCommand(args, this.opts).exec(this.client);
4547
4702
  /**
4548
4703
  * @see https://redis.io/commands/xdel
4549
4704
  */
4550
4705
  xdel = (...args) => new XDelCommand(args, this.opts).exec(this.client);
4706
+ /**
4707
+ * @see https://redis.io/commands/xdelex
4708
+ */
4709
+ xdelex = (...args) => new XDelExCommand(args, this.opts).exec(this.client);
4551
4710
  /**
4552
4711
  * @see https://redis.io/commands/xgroup
4553
4712
  */
@@ -4689,7 +4848,7 @@ var Redis = class {
4689
4848
  };
4690
4849
 
4691
4850
  // version.ts
4692
- var VERSION = "v1.36.1";
4851
+ var VERSION = "v1.36.3";
4693
4852
 
4694
4853
  export {
4695
4854
  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-DcU8fVDf.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, bo as SInterCardCommand, bn as SInterCommand, bp as SInterStoreCommand, bq as SIsMemberCommand, bs as SMIsMemberCommand, br as SMembersCommand, bt as SMoveCommand, bu as SPopCommand, bv as SRandMemberCommand, bw as SRemCommand, bx as SScanCommand, bz as SUnionCommand, bA as SUnionStoreCommand, b9 as ScanCommand, ba as ScanCommandOptions, bL 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, by as StrLenCommand, bB as TimeCommand, bC as TouchCommand, bD as TtlCommand, bE as Type, bF as TypeCommand, bG as UnlinkCommand, U as UpstashRequest, d as UpstashResponse, bI as XAckDelCommand, bH as XAddCommand, bJ as XDelExCommand, bK as XRangeCommand, bN as ZAddCommand, bM as ZAddCommandOptions, bO as ZCardCommand, bP as ZCountCommand, bQ as ZDiffStoreCommand, bR as ZIncrByCommand, bS as ZInterStoreCommand, bT as ZInterStoreCommandOptions, bU as ZLexCountCommand, bV as ZMScoreCommand, bW as ZPopMaxCommand, bX as ZPopMinCommand, bY as ZRangeCommand, bZ as ZRangeCommandOptions, b_ as ZRankCommand, b$ as ZRemCommand, c0 as ZRemRangeByLexCommand, c1 as ZRemRangeByRankCommand, c2 as ZRemRangeByScoreCommand, c3 as ZRevRankCommand, c4 as ZScanCommand, c5 as ZScoreCommand, c6 as ZUnionCommand, c7 as ZUnionCommandOptions, c8 as ZUnionStoreCommand, c9 as ZUnionStoreCommandOptions, e as errors } from './zmscore-DcU8fVDf.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-DcU8fVDf.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, bo as SInterCardCommand, bn as SInterCommand, bp as SInterStoreCommand, bq as SIsMemberCommand, bs as SMIsMemberCommand, br as SMembersCommand, bt as SMoveCommand, bu as SPopCommand, bv as SRandMemberCommand, bw as SRemCommand, bx as SScanCommand, bz as SUnionCommand, bA as SUnionStoreCommand, b9 as ScanCommand, ba as ScanCommandOptions, bL 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, by as StrLenCommand, bB as TimeCommand, bC as TouchCommand, bD as TtlCommand, bE as Type, bF as TypeCommand, bG as UnlinkCommand, U as UpstashRequest, d as UpstashResponse, bI as XAckDelCommand, bH as XAddCommand, bJ as XDelExCommand, bK as XRangeCommand, bN as ZAddCommand, bM as ZAddCommandOptions, bO as ZCardCommand, bP as ZCountCommand, bQ as ZDiffStoreCommand, bR as ZIncrByCommand, bS as ZInterStoreCommand, bT as ZInterStoreCommandOptions, bU as ZLexCountCommand, bV as ZMScoreCommand, bW as ZPopMaxCommand, bX as ZPopMinCommand, bY as ZRangeCommand, bZ as ZRangeCommandOptions, b_ as ZRankCommand, b$ as ZRemCommand, c0 as ZRemRangeByLexCommand, c1 as ZRemRangeByRankCommand, c2 as ZRemRangeByScoreCommand, c3 as ZRevRankCommand, c4 as ZScanCommand, c5 as ZScoreCommand, c6 as ZUnionCommand, c7 as ZUnionCommandOptions, c8 as ZUnionStoreCommand, c9 as ZUnionStoreCommandOptions, e as errors } from './zmscore-DcU8fVDf.js';
3
3
 
4
4
  type Env = {
5
5
  UPSTASH_DISABLE_TELEMETRY?: string;