@valkey/valkey-glide 2.4.0-rc3 → 2.4.1-rc1

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.
@@ -2433,6 +2433,9 @@ export namespace connection_request {
2433
2433
 
2434
2434
  /** ConnectionRequest nodeDiscoveryMode */
2435
2435
  nodeDiscoveryMode?: (connection_request.NodeDiscoveryMode|null);
2436
+
2437
+ /** ConnectionRequest addressResolverKey */
2438
+ addressResolverKey?: (string|null);
2436
2439
  }
2437
2440
 
2438
2441
  /** Represents a ConnectionRequest. */
@@ -2528,6 +2531,9 @@ export namespace connection_request {
2528
2531
  /** ConnectionRequest nodeDiscoveryMode. */
2529
2532
  public nodeDiscoveryMode: connection_request.NodeDiscoveryMode;
2530
2533
 
2534
+ /** ConnectionRequest addressResolverKey. */
2535
+ public addressResolverKey?: (string|null);
2536
+
2531
2537
  /** ConnectionRequest periodicChecks. */
2532
2538
  public periodicChecks?: ("periodicChecksManualInterval"|"periodicChecksDisabled");
2533
2539
 
@@ -110,9 +110,13 @@ $root.command_request = (function() {
110
110
  * @param {$protobuf.Writer} [writer] Writer to encode to
111
111
  * @returns {$protobuf.Writer} Writer
112
112
  */
113
- SlotIdRoute.encode = function encode(message, writer) {
113
+ SlotIdRoute.encode = function encode(message, writer, q) {
114
114
  if (!writer)
115
115
  writer = $Writer.create();
116
+ if (q === undefined)
117
+ q = 0;
118
+ if (q > $util.recursionLimit)
119
+ throw Error("max depth exceeded");
116
120
  if (message.slotType != null && Object.hasOwnProperty.call(message, "slotType"))
117
121
  writer.uint32(/* id 1, wireType 0 =*/8).int32(message.slotType);
118
122
  if (message.slotId != null && Object.hasOwnProperty.call(message, "slotId"))
@@ -269,9 +273,13 @@ $root.command_request = (function() {
269
273
  * @param {$protobuf.Writer} [writer] Writer to encode to
270
274
  * @returns {$protobuf.Writer} Writer
271
275
  */
272
- SlotKeyRoute.encode = function encode(message, writer) {
276
+ SlotKeyRoute.encode = function encode(message, writer, q) {
273
277
  if (!writer)
274
278
  writer = $Writer.create();
279
+ if (q === undefined)
280
+ q = 0;
281
+ if (q > $util.recursionLimit)
282
+ throw Error("max depth exceeded");
275
283
  if (message.slotType != null && Object.hasOwnProperty.call(message, "slotType"))
276
284
  writer.uint32(/* id 1, wireType 0 =*/8).int32(message.slotType);
277
285
  if (message.slotKey != null && Object.hasOwnProperty.call(message, "slotKey"))
@@ -428,9 +436,13 @@ $root.command_request = (function() {
428
436
  * @param {$protobuf.Writer} [writer] Writer to encode to
429
437
  * @returns {$protobuf.Writer} Writer
430
438
  */
431
- ByAddressRoute.encode = function encode(message, writer) {
439
+ ByAddressRoute.encode = function encode(message, writer, q) {
432
440
  if (!writer)
433
441
  writer = $Writer.create();
442
+ if (q === undefined)
443
+ q = 0;
444
+ if (q > $util.recursionLimit)
445
+ throw Error("max depth exceeded");
434
446
  if (message.host != null && Object.hasOwnProperty.call(message, "host"))
435
447
  writer.uint32(/* id 1, wireType 2 =*/10).string(message.host);
436
448
  if (message.port != null && Object.hasOwnProperty.call(message, "port"))
@@ -619,17 +631,21 @@ $root.command_request = (function() {
619
631
  * @param {$protobuf.Writer} [writer] Writer to encode to
620
632
  * @returns {$protobuf.Writer} Writer
621
633
  */
622
- Routes.encode = function encode(message, writer) {
634
+ Routes.encode = function encode(message, writer, q) {
623
635
  if (!writer)
624
636
  writer = $Writer.create();
637
+ if (q === undefined)
638
+ q = 0;
639
+ if (q > $util.recursionLimit)
640
+ throw Error("max depth exceeded");
625
641
  if (message.simpleRoutes != null && Object.hasOwnProperty.call(message, "simpleRoutes"))
626
642
  writer.uint32(/* id 1, wireType 0 =*/8).int32(message.simpleRoutes);
627
643
  if (message.slotKeyRoute != null && Object.hasOwnProperty.call(message, "slotKeyRoute"))
628
- $root.command_request.SlotKeyRoute.encode(message.slotKeyRoute, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
644
+ $root.command_request.SlotKeyRoute.encode(message.slotKeyRoute, writer.uint32(/* id 2, wireType 2 =*/18).fork(), q + 1).ldelim();
629
645
  if (message.slotIdRoute != null && Object.hasOwnProperty.call(message, "slotIdRoute"))
630
- $root.command_request.SlotIdRoute.encode(message.slotIdRoute, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim();
646
+ $root.command_request.SlotIdRoute.encode(message.slotIdRoute, writer.uint32(/* id 3, wireType 2 =*/26).fork(), q + 1).ldelim();
631
647
  if (message.byAddressRoute != null && Object.hasOwnProperty.call(message, "byAddressRoute"))
632
- $root.command_request.ByAddressRoute.encode(message.byAddressRoute, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim();
648
+ $root.command_request.ByAddressRoute.encode(message.byAddressRoute, writer.uint32(/* id 4, wireType 2 =*/34).fork(), q + 1).ldelim();
633
649
  return writer;
634
650
  };
635
651
 
@@ -1613,13 +1629,17 @@ $root.command_request = (function() {
1613
1629
  * @param {$protobuf.Writer} [writer] Writer to encode to
1614
1630
  * @returns {$protobuf.Writer} Writer
1615
1631
  */
1616
- Command.encode = function encode(message, writer) {
1632
+ Command.encode = function encode(message, writer, q) {
1617
1633
  if (!writer)
1618
1634
  writer = $Writer.create();
1635
+ if (q === undefined)
1636
+ q = 0;
1637
+ if (q > $util.recursionLimit)
1638
+ throw Error("max depth exceeded");
1619
1639
  if (message.requestType != null && Object.hasOwnProperty.call(message, "requestType"))
1620
1640
  writer.uint32(/* id 1, wireType 0 =*/8).int32(message.requestType);
1621
1641
  if (message.argsArray != null && Object.hasOwnProperty.call(message, "argsArray"))
1622
- $root.command_request.Command.ArgsArray.encode(message.argsArray, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
1642
+ $root.command_request.Command.ArgsArray.encode(message.argsArray, writer.uint32(/* id 2, wireType 2 =*/18).fork(), q + 1).ldelim();
1623
1643
  if (message.argsVecPointer != null && Object.hasOwnProperty.call(message, "argsVecPointer"))
1624
1644
  writer.uint32(/* id 3, wireType 0 =*/24).uint64(message.argsVecPointer);
1625
1645
  return writer;
@@ -1767,9 +1787,13 @@ $root.command_request = (function() {
1767
1787
  * @param {$protobuf.Writer} [writer] Writer to encode to
1768
1788
  * @returns {$protobuf.Writer} Writer
1769
1789
  */
1770
- ArgsArray.encode = function encode(message, writer) {
1790
+ ArgsArray.encode = function encode(message, writer, q) {
1771
1791
  if (!writer)
1772
1792
  writer = $Writer.create();
1793
+ if (q === undefined)
1794
+ q = 0;
1795
+ if (q > $util.recursionLimit)
1796
+ throw Error("max depth exceeded");
1773
1797
  if (message.args != null && message.args.length)
1774
1798
  for (var i = 0; i < message.args.length; ++i)
1775
1799
  writer.uint32(/* id 1, wireType 2 =*/10).bytes(message.args[i]);
@@ -1950,9 +1974,13 @@ $root.command_request = (function() {
1950
1974
  * @param {$protobuf.Writer} [writer] Writer to encode to
1951
1975
  * @returns {$protobuf.Writer} Writer
1952
1976
  */
1953
- ScriptInvocationPointers.encode = function encode(message, writer) {
1977
+ ScriptInvocationPointers.encode = function encode(message, writer, q) {
1954
1978
  if (!writer)
1955
1979
  writer = $Writer.create();
1980
+ if (q === undefined)
1981
+ q = 0;
1982
+ if (q > $util.recursionLimit)
1983
+ throw Error("max depth exceeded");
1956
1984
  if (message.hash != null && Object.hasOwnProperty.call(message, "hash"))
1957
1985
  writer.uint32(/* id 1, wireType 2 =*/10).string(message.hash);
1958
1986
  if (message.keysPointer != null && Object.hasOwnProperty.call(message, "keysPointer"))
@@ -2126,9 +2154,13 @@ $root.command_request = (function() {
2126
2154
  * @param {$protobuf.Writer} [writer] Writer to encode to
2127
2155
  * @returns {$protobuf.Writer} Writer
2128
2156
  */
2129
- ScriptInvocation.encode = function encode(message, writer) {
2157
+ ScriptInvocation.encode = function encode(message, writer, q) {
2130
2158
  if (!writer)
2131
2159
  writer = $Writer.create();
2160
+ if (q === undefined)
2161
+ q = 0;
2162
+ if (q > $util.recursionLimit)
2163
+ throw Error("max depth exceeded");
2132
2164
  if (message.hash != null && Object.hasOwnProperty.call(message, "hash"))
2133
2165
  writer.uint32(/* id 1, wireType 2 =*/10).string(message.hash);
2134
2166
  if (message.keys != null && message.keys.length)
@@ -2361,14 +2393,18 @@ $root.command_request = (function() {
2361
2393
  * @param {$protobuf.Writer} [writer] Writer to encode to
2362
2394
  * @returns {$protobuf.Writer} Writer
2363
2395
  */
2364
- Batch.encode = function encode(message, writer) {
2396
+ Batch.encode = function encode(message, writer, q) {
2365
2397
  if (!writer)
2366
2398
  writer = $Writer.create();
2399
+ if (q === undefined)
2400
+ q = 0;
2401
+ if (q > $util.recursionLimit)
2402
+ throw Error("max depth exceeded");
2367
2403
  if (message.isAtomic != null && Object.hasOwnProperty.call(message, "isAtomic"))
2368
2404
  writer.uint32(/* id 1, wireType 0 =*/8).bool(message.isAtomic);
2369
2405
  if (message.commands != null && message.commands.length)
2370
2406
  for (var i = 0; i < message.commands.length; ++i)
2371
- $root.command_request.Command.encode(message.commands[i], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
2407
+ $root.command_request.Command.encode(message.commands[i], writer.uint32(/* id 2, wireType 2 =*/18).fork(), q + 1).ldelim();
2372
2408
  if (message.raiseOnError != null && Object.hasOwnProperty.call(message, "raiseOnError"))
2373
2409
  writer.uint32(/* id 3, wireType 0 =*/24).bool(message.raiseOnError);
2374
2410
  if (message.timeout != null && Object.hasOwnProperty.call(message, "timeout"))
@@ -2595,9 +2631,13 @@ $root.command_request = (function() {
2595
2631
  * @param {$protobuf.Writer} [writer] Writer to encode to
2596
2632
  * @returns {$protobuf.Writer} Writer
2597
2633
  */
2598
- ClusterScan.encode = function encode(message, writer) {
2634
+ ClusterScan.encode = function encode(message, writer, q) {
2599
2635
  if (!writer)
2600
2636
  writer = $Writer.create();
2637
+ if (q === undefined)
2638
+ q = 0;
2639
+ if (q > $util.recursionLimit)
2640
+ throw Error("max depth exceeded");
2601
2641
  if (message.cursor != null && Object.hasOwnProperty.call(message, "cursor"))
2602
2642
  writer.uint32(/* id 1, wireType 2 =*/10).string(message.cursor);
2603
2643
  if (message.matchPattern != null && Object.hasOwnProperty.call(message, "matchPattern"))
@@ -2781,9 +2821,13 @@ $root.command_request = (function() {
2781
2821
  * @param {$protobuf.Writer} [writer] Writer to encode to
2782
2822
  * @returns {$protobuf.Writer} Writer
2783
2823
  */
2784
- UpdateConnectionPassword.encode = function encode(message, writer) {
2824
+ UpdateConnectionPassword.encode = function encode(message, writer, q) {
2785
2825
  if (!writer)
2786
2826
  writer = $Writer.create();
2827
+ if (q === undefined)
2828
+ q = 0;
2829
+ if (q > $util.recursionLimit)
2830
+ throw Error("max depth exceeded");
2787
2831
  if (message.password != null && Object.hasOwnProperty.call(message, "password"))
2788
2832
  writer.uint32(/* id 1, wireType 2 =*/10).string(message.password);
2789
2833
  if (message.immediateAuth != null && Object.hasOwnProperty.call(message, "immediateAuth"))
@@ -2922,9 +2966,13 @@ $root.command_request = (function() {
2922
2966
  * @param {$protobuf.Writer} [writer] Writer to encode to
2923
2967
  * @returns {$protobuf.Writer} Writer
2924
2968
  */
2925
- RefreshIamToken.encode = function encode(message, writer) {
2969
+ RefreshIamToken.encode = function encode(message, writer, q) {
2926
2970
  if (!writer)
2927
2971
  writer = $Writer.create();
2972
+ if (q === undefined)
2973
+ q = 0;
2974
+ if (q > $util.recursionLimit)
2975
+ throw Error("max depth exceeded");
2928
2976
  return writer;
2929
2977
  };
2930
2978
 
@@ -3060,9 +3108,13 @@ $root.command_request = (function() {
3060
3108
  * @param {$protobuf.Writer} [writer] Writer to encode to
3061
3109
  * @returns {$protobuf.Writer} Writer
3062
3110
  */
3063
- GetCacheMetrics.encode = function encode(message, writer) {
3111
+ GetCacheMetrics.encode = function encode(message, writer, q) {
3064
3112
  if (!writer)
3065
3113
  writer = $Writer.create();
3114
+ if (q === undefined)
3115
+ q = 0;
3116
+ if (q > $util.recursionLimit)
3117
+ throw Error("max depth exceeded");
3066
3118
  if (message.metricsTypes != null && Object.hasOwnProperty.call(message, "metricsTypes"))
3067
3119
  writer.uint32(/* id 1, wireType 0 =*/8).int32(message.metricsTypes);
3068
3120
  return writer;
@@ -3336,29 +3388,33 @@ $root.command_request = (function() {
3336
3388
  * @param {$protobuf.Writer} [writer] Writer to encode to
3337
3389
  * @returns {$protobuf.Writer} Writer
3338
3390
  */
3339
- CommandRequest.encode = function encode(message, writer) {
3391
+ CommandRequest.encode = function encode(message, writer, q) {
3340
3392
  if (!writer)
3341
3393
  writer = $Writer.create();
3394
+ if (q === undefined)
3395
+ q = 0;
3396
+ if (q > $util.recursionLimit)
3397
+ throw Error("max depth exceeded");
3342
3398
  if (message.callbackIdx != null && Object.hasOwnProperty.call(message, "callbackIdx"))
3343
3399
  writer.uint32(/* id 1, wireType 0 =*/8).uint32(message.callbackIdx);
3344
3400
  if (message.singleCommand != null && Object.hasOwnProperty.call(message, "singleCommand"))
3345
- $root.command_request.Command.encode(message.singleCommand, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
3401
+ $root.command_request.Command.encode(message.singleCommand, writer.uint32(/* id 2, wireType 2 =*/18).fork(), q + 1).ldelim();
3346
3402
  if (message.batch != null && Object.hasOwnProperty.call(message, "batch"))
3347
- $root.command_request.Batch.encode(message.batch, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim();
3403
+ $root.command_request.Batch.encode(message.batch, writer.uint32(/* id 3, wireType 2 =*/26).fork(), q + 1).ldelim();
3348
3404
  if (message.scriptInvocation != null && Object.hasOwnProperty.call(message, "scriptInvocation"))
3349
- $root.command_request.ScriptInvocation.encode(message.scriptInvocation, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim();
3405
+ $root.command_request.ScriptInvocation.encode(message.scriptInvocation, writer.uint32(/* id 4, wireType 2 =*/34).fork(), q + 1).ldelim();
3350
3406
  if (message.scriptInvocationPointers != null && Object.hasOwnProperty.call(message, "scriptInvocationPointers"))
3351
- $root.command_request.ScriptInvocationPointers.encode(message.scriptInvocationPointers, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim();
3407
+ $root.command_request.ScriptInvocationPointers.encode(message.scriptInvocationPointers, writer.uint32(/* id 5, wireType 2 =*/42).fork(), q + 1).ldelim();
3352
3408
  if (message.clusterScan != null && Object.hasOwnProperty.call(message, "clusterScan"))
3353
- $root.command_request.ClusterScan.encode(message.clusterScan, writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim();
3409
+ $root.command_request.ClusterScan.encode(message.clusterScan, writer.uint32(/* id 6, wireType 2 =*/50).fork(), q + 1).ldelim();
3354
3410
  if (message.updateConnectionPassword != null && Object.hasOwnProperty.call(message, "updateConnectionPassword"))
3355
- $root.command_request.UpdateConnectionPassword.encode(message.updateConnectionPassword, writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim();
3411
+ $root.command_request.UpdateConnectionPassword.encode(message.updateConnectionPassword, writer.uint32(/* id 7, wireType 2 =*/58).fork(), q + 1).ldelim();
3356
3412
  if (message.refreshIamToken != null && Object.hasOwnProperty.call(message, "refreshIamToken"))
3357
- $root.command_request.RefreshIamToken.encode(message.refreshIamToken, writer.uint32(/* id 8, wireType 2 =*/66).fork()).ldelim();
3413
+ $root.command_request.RefreshIamToken.encode(message.refreshIamToken, writer.uint32(/* id 8, wireType 2 =*/66).fork(), q + 1).ldelim();
3358
3414
  if (message.getCacheMetrics != null && Object.hasOwnProperty.call(message, "getCacheMetrics"))
3359
- $root.command_request.GetCacheMetrics.encode(message.getCacheMetrics, writer.uint32(/* id 9, wireType 2 =*/74).fork()).ldelim();
3415
+ $root.command_request.GetCacheMetrics.encode(message.getCacheMetrics, writer.uint32(/* id 9, wireType 2 =*/74).fork(), q + 1).ldelim();
3360
3416
  if (message.route != null && Object.hasOwnProperty.call(message, "route"))
3361
- $root.command_request.Routes.encode(message.route, writer.uint32(/* id 10, wireType 2 =*/82).fork()).ldelim();
3417
+ $root.command_request.Routes.encode(message.route, writer.uint32(/* id 10, wireType 2 =*/82).fork(), q + 1).ldelim();
3362
3418
  if (message.rootSpanPtr != null && Object.hasOwnProperty.call(message, "rootSpanPtr"))
3363
3419
  writer.uint32(/* id 11, wireType 0 =*/88).uint64(message.rootSpanPtr);
3364
3420
  return writer;
@@ -3561,9 +3617,13 @@ $root.connection_request = (function() {
3561
3617
  * @param {$protobuf.Writer} [writer] Writer to encode to
3562
3618
  * @returns {$protobuf.Writer} Writer
3563
3619
  */
3564
- NodeAddress.encode = function encode(message, writer) {
3620
+ NodeAddress.encode = function encode(message, writer, q) {
3565
3621
  if (!writer)
3566
3622
  writer = $Writer.create();
3623
+ if (q === undefined)
3624
+ q = 0;
3625
+ if (q > $util.recursionLimit)
3626
+ throw Error("max depth exceeded");
3567
3627
  if (message.host != null && Object.hasOwnProperty.call(message, "host"))
3568
3628
  writer.uint32(/* id 1, wireType 2 =*/10).string(message.host);
3569
3629
  if (message.port != null && Object.hasOwnProperty.call(message, "port"))
@@ -3776,15 +3836,19 @@ $root.connection_request = (function() {
3776
3836
  * @param {$protobuf.Writer} [writer] Writer to encode to
3777
3837
  * @returns {$protobuf.Writer} Writer
3778
3838
  */
3779
- AuthenticationInfo.encode = function encode(message, writer) {
3839
+ AuthenticationInfo.encode = function encode(message, writer, q) {
3780
3840
  if (!writer)
3781
3841
  writer = $Writer.create();
3842
+ if (q === undefined)
3843
+ q = 0;
3844
+ if (q > $util.recursionLimit)
3845
+ throw Error("max depth exceeded");
3782
3846
  if (message.password != null && Object.hasOwnProperty.call(message, "password"))
3783
3847
  writer.uint32(/* id 1, wireType 2 =*/10).string(message.password);
3784
3848
  if (message.username != null && Object.hasOwnProperty.call(message, "username"))
3785
3849
  writer.uint32(/* id 2, wireType 2 =*/18).string(message.username);
3786
3850
  if (message.iamCredentials != null && Object.hasOwnProperty.call(message, "iamCredentials"))
3787
- $root.connection_request.IamCredentials.encode(message.iamCredentials, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim();
3851
+ $root.connection_request.IamCredentials.encode(message.iamCredentials, writer.uint32(/* id 3, wireType 2 =*/26).fork(), q + 1).ldelim();
3788
3852
  return writer;
3789
3853
  };
3790
3854
 
@@ -3982,9 +4046,13 @@ $root.connection_request = (function() {
3982
4046
  * @param {$protobuf.Writer} [writer] Writer to encode to
3983
4047
  * @returns {$protobuf.Writer} Writer
3984
4048
  */
3985
- IamCredentials.encode = function encode(message, writer) {
4049
+ IamCredentials.encode = function encode(message, writer, q) {
3986
4050
  if (!writer)
3987
4051
  writer = $Writer.create();
4052
+ if (q === undefined)
4053
+ q = 0;
4054
+ if (q > $util.recursionLimit)
4055
+ throw Error("max depth exceeded");
3988
4056
  if (message.clusterName != null && Object.hasOwnProperty.call(message, "clusterName"))
3989
4057
  writer.uint32(/* id 1, wireType 2 =*/10).string(message.clusterName);
3990
4058
  if (message.region != null && Object.hasOwnProperty.call(message, "region"))
@@ -4158,9 +4226,13 @@ $root.connection_request = (function() {
4158
4226
  * @param {$protobuf.Writer} [writer] Writer to encode to
4159
4227
  * @returns {$protobuf.Writer} Writer
4160
4228
  */
4161
- PeriodicChecksManualInterval.encode = function encode(message, writer) {
4229
+ PeriodicChecksManualInterval.encode = function encode(message, writer, q) {
4162
4230
  if (!writer)
4163
4231
  writer = $Writer.create();
4232
+ if (q === undefined)
4233
+ q = 0;
4234
+ if (q > $util.recursionLimit)
4235
+ throw Error("max depth exceeded");
4164
4236
  if (message.durationInSec != null && Object.hasOwnProperty.call(message, "durationInSec"))
4165
4237
  writer.uint32(/* id 1, wireType 0 =*/8).uint32(message.durationInSec);
4166
4238
  return writer;
@@ -4293,9 +4365,13 @@ $root.connection_request = (function() {
4293
4365
  * @param {$protobuf.Writer} [writer] Writer to encode to
4294
4366
  * @returns {$protobuf.Writer} Writer
4295
4367
  */
4296
- PeriodicChecksDisabled.encode = function encode(message, writer) {
4368
+ PeriodicChecksDisabled.encode = function encode(message, writer, q) {
4297
4369
  if (!writer)
4298
4370
  writer = $Writer.create();
4371
+ if (q === undefined)
4372
+ q = 0;
4373
+ if (q > $util.recursionLimit)
4374
+ throw Error("max depth exceeded");
4299
4375
  return writer;
4300
4376
  };
4301
4377
 
@@ -4528,9 +4604,13 @@ $root.connection_request = (function() {
4528
4604
  * @param {$protobuf.Writer} [writer] Writer to encode to
4529
4605
  * @returns {$protobuf.Writer} Writer
4530
4606
  */
4531
- CompressionConfig.encode = function encode(message, writer) {
4607
+ CompressionConfig.encode = function encode(message, writer, q) {
4532
4608
  if (!writer)
4533
4609
  writer = $Writer.create();
4610
+ if (q === undefined)
4611
+ q = 0;
4612
+ if (q > $util.recursionLimit)
4613
+ throw Error("max depth exceeded");
4534
4614
  if (message.enabled != null && Object.hasOwnProperty.call(message, "enabled"))
4535
4615
  writer.uint32(/* id 1, wireType 0 =*/8).bool(message.enabled);
4536
4616
  if (message.backend != null && Object.hasOwnProperty.call(message, "backend"))
@@ -4697,9 +4777,13 @@ $root.connection_request = (function() {
4697
4777
  * @param {$protobuf.Writer} [writer] Writer to encode to
4698
4778
  * @returns {$protobuf.Writer} Writer
4699
4779
  */
4700
- PubSubChannelsOrPatterns.encode = function encode(message, writer) {
4780
+ PubSubChannelsOrPatterns.encode = function encode(message, writer, q) {
4701
4781
  if (!writer)
4702
4782
  writer = $Writer.create();
4783
+ if (q === undefined)
4784
+ q = 0;
4785
+ if (q > $util.recursionLimit)
4786
+ throw Error("max depth exceeded");
4703
4787
  if (message.channelsOrPatterns != null && message.channelsOrPatterns.length)
4704
4788
  for (var i = 0; i < message.channelsOrPatterns.length; ++i)
4705
4789
  writer.uint32(/* id 1, wireType 2 =*/10).bytes(message.channelsOrPatterns[i]);
@@ -4845,13 +4929,17 @@ $root.connection_request = (function() {
4845
4929
  * @param {$protobuf.Writer} [writer] Writer to encode to
4846
4930
  * @returns {$protobuf.Writer} Writer
4847
4931
  */
4848
- PubSubSubscriptions.encode = function encode(message, writer) {
4932
+ PubSubSubscriptions.encode = function encode(message, writer, q) {
4849
4933
  if (!writer)
4850
4934
  writer = $Writer.create();
4935
+ if (q === undefined)
4936
+ q = 0;
4937
+ if (q > $util.recursionLimit)
4938
+ throw Error("max depth exceeded");
4851
4939
  if (message.channelsOrPatternsByType != null && Object.hasOwnProperty.call(message, "channelsOrPatternsByType"))
4852
4940
  for (var keys = Object.keys(message.channelsOrPatternsByType), i = 0; i < keys.length; ++i) {
4853
4941
  writer.uint32(/* id 1, wireType 2 =*/10).fork().uint32(/* id 1, wireType 0 =*/8).uint32(keys[i]);
4854
- $root.connection_request.PubSubChannelsOrPatterns.encode(message.channelsOrPatternsByType[keys[i]], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim().ldelim();
4942
+ $root.connection_request.PubSubChannelsOrPatterns.encode(message.channelsOrPatternsByType[keys[i]], writer.uint32(/* id 2, wireType 2 =*/18).fork(), q + 1).ldelim().ldelim();
4855
4943
  }
4856
4944
  return writer;
4857
4945
  };
@@ -5056,9 +5144,13 @@ $root.connection_request = (function() {
5056
5144
  * @param {$protobuf.Writer} [writer] Writer to encode to
5057
5145
  * @returns {$protobuf.Writer} Writer
5058
5146
  */
5059
- ClientSideCache.encode = function encode(message, writer) {
5147
+ ClientSideCache.encode = function encode(message, writer, q) {
5060
5148
  if (!writer)
5061
5149
  writer = $Writer.create();
5150
+ if (q === undefined)
5151
+ q = 0;
5152
+ if (q > $util.recursionLimit)
5153
+ throw Error("max depth exceeded");
5062
5154
  if (message.cacheId != null && Object.hasOwnProperty.call(message, "cacheId"))
5063
5155
  writer.uint32(/* id 1, wireType 2 =*/10).string(message.cacheId);
5064
5156
  if (message.maxCacheKb != null && Object.hasOwnProperty.call(message, "maxCacheKb"))
@@ -5219,6 +5311,7 @@ $root.connection_request = (function() {
5219
5311
  * @property {boolean|null} [readOnly] ConnectionRequest readOnly
5220
5312
  * @property {connection_request.IClientSideCache|null} [clientSideCache] ConnectionRequest clientSideCache
5221
5313
  * @property {connection_request.NodeDiscoveryMode|null} [nodeDiscoveryMode] ConnectionRequest nodeDiscoveryMode
5314
+ * @property {string|null} [addressResolverKey] ConnectionRequest addressResolverKey
5222
5315
  */
5223
5316
 
5224
5317
  /**
@@ -5462,6 +5555,14 @@ $root.connection_request = (function() {
5462
5555
  */
5463
5556
  ConnectionRequest.prototype.nodeDiscoveryMode = 0;
5464
5557
 
5558
+ /**
5559
+ * ConnectionRequest addressResolverKey.
5560
+ * @member {string|null|undefined} addressResolverKey
5561
+ * @memberof connection_request.ConnectionRequest
5562
+ * @instance
5563
+ */
5564
+ ConnectionRequest.prototype.addressResolverKey = null;
5565
+
5465
5566
  // OneOf field names bound to virtual getters and setters
5466
5567
  var $oneOfFields;
5467
5568
 
@@ -5506,6 +5607,12 @@ $root.connection_request = (function() {
5506
5607
  set: $util.oneOfSetter($oneOfFields)
5507
5608
  });
5508
5609
 
5610
+ // Virtual OneOf for proto3 optional field
5611
+ Object.defineProperty(ConnectionRequest.prototype, "_addressResolverKey", {
5612
+ get: $util.oneOfGetter($oneOfFields = ["addressResolverKey"]),
5613
+ set: $util.oneOfSetter($oneOfFields)
5614
+ });
5615
+
5509
5616
  /**
5510
5617
  * Creates a new ConnectionRequest instance using the specified properties.
5511
5618
  * @function create
@@ -5527,12 +5634,16 @@ $root.connection_request = (function() {
5527
5634
  * @param {$protobuf.Writer} [writer] Writer to encode to
5528
5635
  * @returns {$protobuf.Writer} Writer
5529
5636
  */
5530
- ConnectionRequest.encode = function encode(message, writer) {
5637
+ ConnectionRequest.encode = function encode(message, writer, q) {
5531
5638
  if (!writer)
5532
5639
  writer = $Writer.create();
5640
+ if (q === undefined)
5641
+ q = 0;
5642
+ if (q > $util.recursionLimit)
5643
+ throw Error("max depth exceeded");
5533
5644
  if (message.addresses != null && message.addresses.length)
5534
5645
  for (var i = 0; i < message.addresses.length; ++i)
5535
- $root.connection_request.NodeAddress.encode(message.addresses[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
5646
+ $root.connection_request.NodeAddress.encode(message.addresses[i], writer.uint32(/* id 1, wireType 2 =*/10).fork(), q + 1).ldelim();
5536
5647
  if (message.tlsMode != null && Object.hasOwnProperty.call(message, "tlsMode"))
5537
5648
  writer.uint32(/* id 2, wireType 0 =*/16).int32(message.tlsMode);
5538
5649
  if (message.clusterModeEnabled != null && Object.hasOwnProperty.call(message, "clusterModeEnabled"))
@@ -5542,9 +5653,9 @@ $root.connection_request = (function() {
5542
5653
  if (message.readFrom != null && Object.hasOwnProperty.call(message, "readFrom"))
5543
5654
  writer.uint32(/* id 5, wireType 0 =*/40).int32(message.readFrom);
5544
5655
  if (message.connectionRetryStrategy != null && Object.hasOwnProperty.call(message, "connectionRetryStrategy"))
5545
- $root.connection_request.ConnectionRetryStrategy.encode(message.connectionRetryStrategy, writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim();
5656
+ $root.connection_request.ConnectionRetryStrategy.encode(message.connectionRetryStrategy, writer.uint32(/* id 6, wireType 2 =*/50).fork(), q + 1).ldelim();
5546
5657
  if (message.authenticationInfo != null && Object.hasOwnProperty.call(message, "authenticationInfo"))
5547
- $root.connection_request.AuthenticationInfo.encode(message.authenticationInfo, writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim();
5658
+ $root.connection_request.AuthenticationInfo.encode(message.authenticationInfo, writer.uint32(/* id 7, wireType 2 =*/58).fork(), q + 1).ldelim();
5548
5659
  if (message.databaseId != null && Object.hasOwnProperty.call(message, "databaseId"))
5549
5660
  writer.uint32(/* id 8, wireType 0 =*/64).uint32(message.databaseId);
5550
5661
  if (message.protocol != null && Object.hasOwnProperty.call(message, "protocol"))
@@ -5552,11 +5663,11 @@ $root.connection_request = (function() {
5552
5663
  if (message.clientName != null && Object.hasOwnProperty.call(message, "clientName"))
5553
5664
  writer.uint32(/* id 10, wireType 2 =*/82).string(message.clientName);
5554
5665
  if (message.periodicChecksManualInterval != null && Object.hasOwnProperty.call(message, "periodicChecksManualInterval"))
5555
- $root.connection_request.PeriodicChecksManualInterval.encode(message.periodicChecksManualInterval, writer.uint32(/* id 11, wireType 2 =*/90).fork()).ldelim();
5666
+ $root.connection_request.PeriodicChecksManualInterval.encode(message.periodicChecksManualInterval, writer.uint32(/* id 11, wireType 2 =*/90).fork(), q + 1).ldelim();
5556
5667
  if (message.periodicChecksDisabled != null && Object.hasOwnProperty.call(message, "periodicChecksDisabled"))
5557
- $root.connection_request.PeriodicChecksDisabled.encode(message.periodicChecksDisabled, writer.uint32(/* id 12, wireType 2 =*/98).fork()).ldelim();
5668
+ $root.connection_request.PeriodicChecksDisabled.encode(message.periodicChecksDisabled, writer.uint32(/* id 12, wireType 2 =*/98).fork(), q + 1).ldelim();
5558
5669
  if (message.pubsubSubscriptions != null && Object.hasOwnProperty.call(message, "pubsubSubscriptions"))
5559
- $root.connection_request.PubSubSubscriptions.encode(message.pubsubSubscriptions, writer.uint32(/* id 13, wireType 2 =*/106).fork()).ldelim();
5670
+ $root.connection_request.PubSubSubscriptions.encode(message.pubsubSubscriptions, writer.uint32(/* id 13, wireType 2 =*/106).fork(), q + 1).ldelim();
5560
5671
  if (message.inflightRequestsLimit != null && Object.hasOwnProperty.call(message, "inflightRequestsLimit"))
5561
5672
  writer.uint32(/* id 14, wireType 0 =*/112).uint32(message.inflightRequestsLimit);
5562
5673
  if (message.clientAz != null && Object.hasOwnProperty.call(message, "clientAz"))
@@ -5573,7 +5684,7 @@ $root.connection_request = (function() {
5573
5684
  for (var i = 0; i < message.rootCerts.length; ++i)
5574
5685
  writer.uint32(/* id 20, wireType 2 =*/162).bytes(message.rootCerts[i]);
5575
5686
  if (message.compressionConfig != null && Object.hasOwnProperty.call(message, "compressionConfig"))
5576
- $root.connection_request.CompressionConfig.encode(message.compressionConfig, writer.uint32(/* id 21, wireType 2 =*/170).fork()).ldelim();
5687
+ $root.connection_request.CompressionConfig.encode(message.compressionConfig, writer.uint32(/* id 21, wireType 2 =*/170).fork(), q + 1).ldelim();
5577
5688
  if (message.clientCert != null && Object.hasOwnProperty.call(message, "clientCert"))
5578
5689
  writer.uint32(/* id 22, wireType 2 =*/178).bytes(message.clientCert);
5579
5690
  if (message.clientKey != null && Object.hasOwnProperty.call(message, "clientKey"))
@@ -5585,9 +5696,11 @@ $root.connection_request = (function() {
5585
5696
  if (message.readOnly != null && Object.hasOwnProperty.call(message, "readOnly"))
5586
5697
  writer.uint32(/* id 26, wireType 0 =*/208).bool(message.readOnly);
5587
5698
  if (message.clientSideCache != null && Object.hasOwnProperty.call(message, "clientSideCache"))
5588
- $root.connection_request.ClientSideCache.encode(message.clientSideCache, writer.uint32(/* id 27, wireType 2 =*/218).fork()).ldelim();
5699
+ $root.connection_request.ClientSideCache.encode(message.clientSideCache, writer.uint32(/* id 27, wireType 2 =*/218).fork(), q + 1).ldelim();
5589
5700
  if (message.nodeDiscoveryMode != null && Object.hasOwnProperty.call(message, "nodeDiscoveryMode"))
5590
5701
  writer.uint32(/* id 28, wireType 0 =*/224).int32(message.nodeDiscoveryMode);
5702
+ if (message.addressResolverKey != null && Object.hasOwnProperty.call(message, "addressResolverKey"))
5703
+ writer.uint32(/* id 29, wireType 2 =*/234).string(message.addressResolverKey);
5591
5704
  return writer;
5592
5705
  };
5593
5706
 
@@ -5744,6 +5857,10 @@ $root.connection_request = (function() {
5744
5857
  message.nodeDiscoveryMode = reader.int32();
5745
5858
  break;
5746
5859
  }
5860
+ case 29: {
5861
+ message.addressResolverKey = reader.string();
5862
+ break;
5863
+ }
5747
5864
  default:
5748
5865
  reader.skipType(tag & 7, long);
5749
5866
  break;
@@ -5875,9 +5992,13 @@ $root.connection_request = (function() {
5875
5992
  * @param {$protobuf.Writer} [writer] Writer to encode to
5876
5993
  * @returns {$protobuf.Writer} Writer
5877
5994
  */
5878
- ConnectionRetryStrategy.encode = function encode(message, writer) {
5995
+ ConnectionRetryStrategy.encode = function encode(message, writer, q) {
5879
5996
  if (!writer)
5880
5997
  writer = $Writer.create();
5998
+ if (q === undefined)
5999
+ q = 0;
6000
+ if (q > $util.recursionLimit)
6001
+ throw Error("max depth exceeded");
5881
6002
  if (message.numberOfRetries != null && Object.hasOwnProperty.call(message, "numberOfRetries"))
5882
6003
  writer.uint32(/* id 1, wireType 0 =*/8).uint32(message.numberOfRetries);
5883
6004
  if (message.factor != null && Object.hasOwnProperty.call(message, "factor"))
@@ -6076,9 +6197,13 @@ $root.response = (function() {
6076
6197
  * @param {$protobuf.Writer} [writer] Writer to encode to
6077
6198
  * @returns {$protobuf.Writer} Writer
6078
6199
  */
6079
- RequestError.encode = function encode(message, writer) {
6200
+ RequestError.encode = function encode(message, writer, q) {
6080
6201
  if (!writer)
6081
6202
  writer = $Writer.create();
6203
+ if (q === undefined)
6204
+ q = 0;
6205
+ if (q > $util.recursionLimit)
6206
+ throw Error("max depth exceeded");
6082
6207
  if (message.type != null && Object.hasOwnProperty.call(message, "type"))
6083
6208
  writer.uint32(/* id 1, wireType 0 =*/8).int32(message.type);
6084
6209
  if (message.message != null && Object.hasOwnProperty.call(message, "message"))
@@ -6300,9 +6425,13 @@ $root.response = (function() {
6300
6425
  * @param {$protobuf.Writer} [writer] Writer to encode to
6301
6426
  * @returns {$protobuf.Writer} Writer
6302
6427
  */
6303
- Response.encode = function encode(message, writer) {
6428
+ Response.encode = function encode(message, writer, q) {
6304
6429
  if (!writer)
6305
6430
  writer = $Writer.create();
6431
+ if (q === undefined)
6432
+ q = 0;
6433
+ if (q > $util.recursionLimit)
6434
+ throw Error("max depth exceeded");
6306
6435
  if (message.callbackIdx != null && Object.hasOwnProperty.call(message, "callbackIdx"))
6307
6436
  writer.uint32(/* id 1, wireType 0 =*/8).uint32(message.callbackIdx);
6308
6437
  if (message.respPointer != null && Object.hasOwnProperty.call(message, "respPointer"))
@@ -6310,7 +6439,7 @@ $root.response = (function() {
6310
6439
  if (message.constantResponse != null && Object.hasOwnProperty.call(message, "constantResponse"))
6311
6440
  writer.uint32(/* id 3, wireType 0 =*/24).int32(message.constantResponse);
6312
6441
  if (message.requestError != null && Object.hasOwnProperty.call(message, "requestError"))
6313
- $root.response.RequestError.encode(message.requestError, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim();
6442
+ $root.response.RequestError.encode(message.requestError, writer.uint32(/* id 4, wireType 2 =*/34).fork(), q + 1).ldelim();
6314
6443
  if (message.closingError != null && Object.hasOwnProperty.call(message, "closingError"))
6315
6444
  writer.uint32(/* id 5, wireType 2 =*/42).string(message.closingError);
6316
6445
  if (message.isPush != null && Object.hasOwnProperty.call(message, "isPush"))
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "main": "build-ts/index.js",
5
5
  "module": "build-ts/index.js",
6
6
  "types": "build-ts/index.d.ts",
7
- "version": "2.4.0-rc3",
7
+ "version": "2.4.1-rc1",
8
8
  "exports": {
9
9
  ".": {
10
10
  "import": {
@@ -135,11 +135,11 @@
135
135
  }
136
136
  },
137
137
  "optionalDependencies": {
138
- "@valkey/valkey-glide-darwin-x64": "2.4.0-rc3",
139
- "@valkey/valkey-glide-darwin-arm64": "2.4.0-rc3",
140
- "@valkey/valkey-glide-linux-x64-gnu": "2.4.0-rc3",
141
- "@valkey/valkey-glide-linux-arm64-gnu": "2.4.0-rc3",
142
- "@valkey/valkey-glide-linux-x64-musl": "2.4.0-rc3",
143
- "@valkey/valkey-glide-linux-arm64-musl": "2.4.0-rc3"
138
+ "@valkey/valkey-glide-darwin-x64": "2.4.1-rc1",
139
+ "@valkey/valkey-glide-darwin-arm64": "2.4.1-rc1",
140
+ "@valkey/valkey-glide-linux-x64-gnu": "2.4.1-rc1",
141
+ "@valkey/valkey-glide-linux-arm64-gnu": "2.4.1-rc1",
142
+ "@valkey/valkey-glide-linux-x64-musl": "2.4.1-rc1",
143
+ "@valkey/valkey-glide-linux-arm64-musl": "2.4.1-rc1"
144
144
  }
145
145
  }