@valkey/valkey-glide 2.4.0 → 2.4.1-rc2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build-ts/ProtobufMessage.js +160 -52
- package/package.json +7 -7
|
@@ -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"))
|
|
@@ -5542,12 +5634,16 @@ $root.connection_request = (function() {
|
|
|
5542
5634
|
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
5543
5635
|
* @returns {$protobuf.Writer} Writer
|
|
5544
5636
|
*/
|
|
5545
|
-
ConnectionRequest.encode = function encode(message, writer) {
|
|
5637
|
+
ConnectionRequest.encode = function encode(message, writer, q) {
|
|
5546
5638
|
if (!writer)
|
|
5547
5639
|
writer = $Writer.create();
|
|
5640
|
+
if (q === undefined)
|
|
5641
|
+
q = 0;
|
|
5642
|
+
if (q > $util.recursionLimit)
|
|
5643
|
+
throw Error("max depth exceeded");
|
|
5548
5644
|
if (message.addresses != null && message.addresses.length)
|
|
5549
5645
|
for (var i = 0; i < message.addresses.length; ++i)
|
|
5550
|
-
$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();
|
|
5551
5647
|
if (message.tlsMode != null && Object.hasOwnProperty.call(message, "tlsMode"))
|
|
5552
5648
|
writer.uint32(/* id 2, wireType 0 =*/16).int32(message.tlsMode);
|
|
5553
5649
|
if (message.clusterModeEnabled != null && Object.hasOwnProperty.call(message, "clusterModeEnabled"))
|
|
@@ -5557,9 +5653,9 @@ $root.connection_request = (function() {
|
|
|
5557
5653
|
if (message.readFrom != null && Object.hasOwnProperty.call(message, "readFrom"))
|
|
5558
5654
|
writer.uint32(/* id 5, wireType 0 =*/40).int32(message.readFrom);
|
|
5559
5655
|
if (message.connectionRetryStrategy != null && Object.hasOwnProperty.call(message, "connectionRetryStrategy"))
|
|
5560
|
-
$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();
|
|
5561
5657
|
if (message.authenticationInfo != null && Object.hasOwnProperty.call(message, "authenticationInfo"))
|
|
5562
|
-
$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();
|
|
5563
5659
|
if (message.databaseId != null && Object.hasOwnProperty.call(message, "databaseId"))
|
|
5564
5660
|
writer.uint32(/* id 8, wireType 0 =*/64).uint32(message.databaseId);
|
|
5565
5661
|
if (message.protocol != null && Object.hasOwnProperty.call(message, "protocol"))
|
|
@@ -5567,11 +5663,11 @@ $root.connection_request = (function() {
|
|
|
5567
5663
|
if (message.clientName != null && Object.hasOwnProperty.call(message, "clientName"))
|
|
5568
5664
|
writer.uint32(/* id 10, wireType 2 =*/82).string(message.clientName);
|
|
5569
5665
|
if (message.periodicChecksManualInterval != null && Object.hasOwnProperty.call(message, "periodicChecksManualInterval"))
|
|
5570
|
-
$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();
|
|
5571
5667
|
if (message.periodicChecksDisabled != null && Object.hasOwnProperty.call(message, "periodicChecksDisabled"))
|
|
5572
|
-
$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();
|
|
5573
5669
|
if (message.pubsubSubscriptions != null && Object.hasOwnProperty.call(message, "pubsubSubscriptions"))
|
|
5574
|
-
$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();
|
|
5575
5671
|
if (message.inflightRequestsLimit != null && Object.hasOwnProperty.call(message, "inflightRequestsLimit"))
|
|
5576
5672
|
writer.uint32(/* id 14, wireType 0 =*/112).uint32(message.inflightRequestsLimit);
|
|
5577
5673
|
if (message.clientAz != null && Object.hasOwnProperty.call(message, "clientAz"))
|
|
@@ -5588,7 +5684,7 @@ $root.connection_request = (function() {
|
|
|
5588
5684
|
for (var i = 0; i < message.rootCerts.length; ++i)
|
|
5589
5685
|
writer.uint32(/* id 20, wireType 2 =*/162).bytes(message.rootCerts[i]);
|
|
5590
5686
|
if (message.compressionConfig != null && Object.hasOwnProperty.call(message, "compressionConfig"))
|
|
5591
|
-
$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();
|
|
5592
5688
|
if (message.clientCert != null && Object.hasOwnProperty.call(message, "clientCert"))
|
|
5593
5689
|
writer.uint32(/* id 22, wireType 2 =*/178).bytes(message.clientCert);
|
|
5594
5690
|
if (message.clientKey != null && Object.hasOwnProperty.call(message, "clientKey"))
|
|
@@ -5600,7 +5696,7 @@ $root.connection_request = (function() {
|
|
|
5600
5696
|
if (message.readOnly != null && Object.hasOwnProperty.call(message, "readOnly"))
|
|
5601
5697
|
writer.uint32(/* id 26, wireType 0 =*/208).bool(message.readOnly);
|
|
5602
5698
|
if (message.clientSideCache != null && Object.hasOwnProperty.call(message, "clientSideCache"))
|
|
5603
|
-
$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();
|
|
5604
5700
|
if (message.nodeDiscoveryMode != null && Object.hasOwnProperty.call(message, "nodeDiscoveryMode"))
|
|
5605
5701
|
writer.uint32(/* id 28, wireType 0 =*/224).int32(message.nodeDiscoveryMode);
|
|
5606
5702
|
if (message.addressResolverKey != null && Object.hasOwnProperty.call(message, "addressResolverKey"))
|
|
@@ -5896,9 +5992,13 @@ $root.connection_request = (function() {
|
|
|
5896
5992
|
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
5897
5993
|
* @returns {$protobuf.Writer} Writer
|
|
5898
5994
|
*/
|
|
5899
|
-
ConnectionRetryStrategy.encode = function encode(message, writer) {
|
|
5995
|
+
ConnectionRetryStrategy.encode = function encode(message, writer, q) {
|
|
5900
5996
|
if (!writer)
|
|
5901
5997
|
writer = $Writer.create();
|
|
5998
|
+
if (q === undefined)
|
|
5999
|
+
q = 0;
|
|
6000
|
+
if (q > $util.recursionLimit)
|
|
6001
|
+
throw Error("max depth exceeded");
|
|
5902
6002
|
if (message.numberOfRetries != null && Object.hasOwnProperty.call(message, "numberOfRetries"))
|
|
5903
6003
|
writer.uint32(/* id 1, wireType 0 =*/8).uint32(message.numberOfRetries);
|
|
5904
6004
|
if (message.factor != null && Object.hasOwnProperty.call(message, "factor"))
|
|
@@ -6097,9 +6197,13 @@ $root.response = (function() {
|
|
|
6097
6197
|
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
6098
6198
|
* @returns {$protobuf.Writer} Writer
|
|
6099
6199
|
*/
|
|
6100
|
-
RequestError.encode = function encode(message, writer) {
|
|
6200
|
+
RequestError.encode = function encode(message, writer, q) {
|
|
6101
6201
|
if (!writer)
|
|
6102
6202
|
writer = $Writer.create();
|
|
6203
|
+
if (q === undefined)
|
|
6204
|
+
q = 0;
|
|
6205
|
+
if (q > $util.recursionLimit)
|
|
6206
|
+
throw Error("max depth exceeded");
|
|
6103
6207
|
if (message.type != null && Object.hasOwnProperty.call(message, "type"))
|
|
6104
6208
|
writer.uint32(/* id 1, wireType 0 =*/8).int32(message.type);
|
|
6105
6209
|
if (message.message != null && Object.hasOwnProperty.call(message, "message"))
|
|
@@ -6321,9 +6425,13 @@ $root.response = (function() {
|
|
|
6321
6425
|
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
6322
6426
|
* @returns {$protobuf.Writer} Writer
|
|
6323
6427
|
*/
|
|
6324
|
-
Response.encode = function encode(message, writer) {
|
|
6428
|
+
Response.encode = function encode(message, writer, q) {
|
|
6325
6429
|
if (!writer)
|
|
6326
6430
|
writer = $Writer.create();
|
|
6431
|
+
if (q === undefined)
|
|
6432
|
+
q = 0;
|
|
6433
|
+
if (q > $util.recursionLimit)
|
|
6434
|
+
throw Error("max depth exceeded");
|
|
6327
6435
|
if (message.callbackIdx != null && Object.hasOwnProperty.call(message, "callbackIdx"))
|
|
6328
6436
|
writer.uint32(/* id 1, wireType 0 =*/8).uint32(message.callbackIdx);
|
|
6329
6437
|
if (message.respPointer != null && Object.hasOwnProperty.call(message, "respPointer"))
|
|
@@ -6331,7 +6439,7 @@ $root.response = (function() {
|
|
|
6331
6439
|
if (message.constantResponse != null && Object.hasOwnProperty.call(message, "constantResponse"))
|
|
6332
6440
|
writer.uint32(/* id 3, wireType 0 =*/24).int32(message.constantResponse);
|
|
6333
6441
|
if (message.requestError != null && Object.hasOwnProperty.call(message, "requestError"))
|
|
6334
|
-
$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();
|
|
6335
6443
|
if (message.closingError != null && Object.hasOwnProperty.call(message, "closingError"))
|
|
6336
6444
|
writer.uint32(/* id 5, wireType 2 =*/42).string(message.closingError);
|
|
6337
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.
|
|
7
|
+
"version": "2.4.1-rc2",
|
|
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.
|
|
139
|
-
"@valkey/valkey-glide-darwin-arm64": "2.4.
|
|
140
|
-
"@valkey/valkey-glide-linux-x64-gnu": "2.4.
|
|
141
|
-
"@valkey/valkey-glide-linux-arm64-gnu": "2.4.
|
|
142
|
-
"@valkey/valkey-glide-linux-x64-musl": "2.4.
|
|
143
|
-
"@valkey/valkey-glide-linux-arm64-musl": "2.4.
|
|
138
|
+
"@valkey/valkey-glide-darwin-x64": "2.4.1-rc2",
|
|
139
|
+
"@valkey/valkey-glide-darwin-arm64": "2.4.1-rc2",
|
|
140
|
+
"@valkey/valkey-glide-linux-x64-gnu": "2.4.1-rc2",
|
|
141
|
+
"@valkey/valkey-glide-linux-arm64-gnu": "2.4.1-rc2",
|
|
142
|
+
"@valkey/valkey-glide-linux-x64-musl": "2.4.1-rc2",
|
|
143
|
+
"@valkey/valkey-glide-linux-arm64-musl": "2.4.1-rc2"
|
|
144
144
|
}
|
|
145
145
|
}
|