@orbitflare/sdk 0.4.0 → 0.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +52 -1
- package/dist/address.d.ts +2 -1
- package/dist/address.d.ts.map +1 -1
- package/dist/address.js +13 -1
- package/dist/address.js.map +1 -1
- package/dist/apex.d.ts.map +1 -1
- package/dist/apex.js.map +1 -1
- package/dist/das.d.ts +413 -0
- package/dist/das.d.ts.map +1 -0
- package/dist/das.js +113 -0
- package/dist/das.js.map +1 -0
- package/dist/grpc.d.ts +3 -0
- package/dist/grpc.d.ts.map +1 -1
- package/dist/grpc.js +8 -1
- package/dist/grpc.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/jetstream/index.d.ts +3 -0
- package/dist/jetstream/index.d.ts.map +1 -1
- package/dist/jetstream/index.js +8 -1
- package/dist/jetstream/index.js.map +1 -1
- package/dist/jetstream/v2.d.ts +3 -0
- package/dist/jetstream/v2.d.ts.map +1 -1
- package/dist/jetstream/v2.js +8 -1
- package/dist/jetstream/v2.js.map +1 -1
- package/dist/proto/geyser.d.ts +2 -1
- package/dist/proto/geyser.d.ts.map +1 -1
- package/dist/proto/geyser.js +2281 -1681
- package/dist/proto/geyser.js.map +1 -1
- package/dist/proto/google/protobuf/timestamp.d.ts +2 -1
- package/dist/proto/google/protobuf/timestamp.d.ts.map +1 -1
- package/dist/proto/google/protobuf/timestamp.js +61 -31
- package/dist/proto/google/protobuf/timestamp.js.map +1 -1
- package/dist/proto/jetstream.d.ts +2 -1
- package/dist/proto/jetstream.d.ts.map +1 -1
- package/dist/proto/jetstream.js +1328 -976
- package/dist/proto/jetstream.js.map +1 -1
- package/dist/proto/jetstream_v2.d.ts +2 -1
- package/dist/proto/jetstream_v2.d.ts.map +1 -1
- package/dist/proto/jetstream_v2.js +910 -689
- package/dist/proto/jetstream_v2.js.map +1 -1
- package/dist/proto/solana-storage.d.ts +2 -1
- package/dist/proto/solana-storage.d.ts.map +1 -1
- package/dist/proto/solana-storage.js +903 -681
- package/dist/proto/solana-storage.js.map +1 -1
- package/dist/rpc.d.ts +31 -0
- package/dist/rpc.d.ts.map +1 -1
- package/dist/rpc.js +84 -0
- package/dist/rpc.js.map +1 -1
- package/package.json +10 -5
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
2
2
|
// versions:
|
|
3
|
-
// protoc-gen-ts_proto v2.
|
|
3
|
+
// protoc-gen-ts_proto v2.18.0
|
|
4
4
|
// protoc v4.23.4
|
|
5
5
|
// source: jetstream_v2.proto
|
|
6
6
|
/* eslint-disable */
|
|
@@ -8,6 +8,7 @@ import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
|
|
|
8
8
|
import { makeGenericClientConstructor, } from "@grpc/grpc-js";
|
|
9
9
|
import { Timestamp } from "./google/protobuf/timestamp.js";
|
|
10
10
|
export const protobufPackage = "jetstream.v2";
|
|
11
|
+
export const protobufFileName = "jetstream_v2.proto";
|
|
11
12
|
export var SlotStatus;
|
|
12
13
|
(function (SlotStatus) {
|
|
13
14
|
SlotStatus[SlotStatus["SLOT_STATUS_UNSPECIFIED"] = 0] = "SLOT_STATUS_UNSPECIFIED";
|
|
@@ -72,39 +73,49 @@ export const SubscribeTransactionsRequest = {
|
|
|
72
73
|
},
|
|
73
74
|
decode(input, length) {
|
|
74
75
|
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
75
|
-
const
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
76
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
77
|
+
if (previousRecursionDepth >= 100) {
|
|
78
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
79
|
+
}
|
|
80
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
81
|
+
try {
|
|
82
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
83
|
+
const message = createBaseSubscribeTransactionsRequest();
|
|
84
|
+
while (reader.pos < end) {
|
|
85
|
+
const tag = reader.uint32();
|
|
86
|
+
switch (tag >>> 3) {
|
|
87
|
+
case 1: {
|
|
88
|
+
if (tag !== 10) {
|
|
89
|
+
break;
|
|
90
|
+
}
|
|
91
|
+
message.ping = Ping.decode(reader, reader.uint32());
|
|
92
|
+
continue;
|
|
93
|
+
}
|
|
94
|
+
case 2: {
|
|
95
|
+
if (tag !== 18) {
|
|
96
|
+
break;
|
|
97
|
+
}
|
|
98
|
+
message.addFilters = AddFilters.decode(reader, reader.uint32());
|
|
99
|
+
continue;
|
|
100
|
+
}
|
|
101
|
+
case 3: {
|
|
102
|
+
if (tag !== 26) {
|
|
103
|
+
break;
|
|
104
|
+
}
|
|
105
|
+
message.removeFilters = RemoveFilters.decode(reader, reader.uint32());
|
|
106
|
+
continue;
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
110
|
+
break;
|
|
111
|
+
}
|
|
112
|
+
reader.skip(tag & 7);
|
|
104
113
|
}
|
|
105
|
-
|
|
114
|
+
return message;
|
|
115
|
+
}
|
|
116
|
+
finally {
|
|
117
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
106
118
|
}
|
|
107
|
-
return message;
|
|
108
119
|
},
|
|
109
120
|
fromJSON(object) {
|
|
110
121
|
return {
|
|
@@ -161,25 +172,35 @@ export const Ping = {
|
|
|
161
172
|
},
|
|
162
173
|
decode(input, length) {
|
|
163
174
|
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
164
|
-
const
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
175
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
176
|
+
if (previousRecursionDepth >= 100) {
|
|
177
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
178
|
+
}
|
|
179
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
180
|
+
try {
|
|
181
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
182
|
+
const message = createBasePing();
|
|
183
|
+
while (reader.pos < end) {
|
|
184
|
+
const tag = reader.uint32();
|
|
185
|
+
switch (tag >>> 3) {
|
|
186
|
+
case 1: {
|
|
187
|
+
if (tag !== 8) {
|
|
188
|
+
break;
|
|
189
|
+
}
|
|
190
|
+
message.pingId = reader.int32();
|
|
191
|
+
continue;
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
195
|
+
break;
|
|
196
|
+
}
|
|
197
|
+
reader.skip(tag & 7);
|
|
179
198
|
}
|
|
180
|
-
|
|
199
|
+
return message;
|
|
200
|
+
}
|
|
201
|
+
finally {
|
|
202
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
181
203
|
}
|
|
182
|
-
return message;
|
|
183
204
|
},
|
|
184
205
|
fromJSON(object) {
|
|
185
206
|
return {
|
|
@@ -218,25 +239,35 @@ export const AddFilters = {
|
|
|
218
239
|
},
|
|
219
240
|
decode(input, length) {
|
|
220
241
|
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
221
|
-
const
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
242
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
243
|
+
if (previousRecursionDepth >= 100) {
|
|
244
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
245
|
+
}
|
|
246
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
247
|
+
try {
|
|
248
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
249
|
+
const message = createBaseAddFilters();
|
|
250
|
+
while (reader.pos < end) {
|
|
251
|
+
const tag = reader.uint32();
|
|
252
|
+
switch (tag >>> 3) {
|
|
253
|
+
case 1: {
|
|
254
|
+
if (tag !== 10) {
|
|
255
|
+
break;
|
|
256
|
+
}
|
|
257
|
+
message.filters.push(TxFilter.decode(reader, reader.uint32()));
|
|
258
|
+
continue;
|
|
259
|
+
}
|
|
260
|
+
}
|
|
261
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
262
|
+
break;
|
|
263
|
+
}
|
|
264
|
+
reader.skip(tag & 7);
|
|
236
265
|
}
|
|
237
|
-
|
|
266
|
+
return message;
|
|
267
|
+
}
|
|
268
|
+
finally {
|
|
269
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
238
270
|
}
|
|
239
|
-
return message;
|
|
240
271
|
},
|
|
241
272
|
fromJSON(object) {
|
|
242
273
|
return {
|
|
@@ -274,32 +305,42 @@ export const TxFilter = {
|
|
|
274
305
|
},
|
|
275
306
|
decode(input, length) {
|
|
276
307
|
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
277
|
-
const
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
308
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
309
|
+
if (previousRecursionDepth >= 100) {
|
|
310
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
311
|
+
}
|
|
312
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
313
|
+
try {
|
|
314
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
315
|
+
const message = createBaseTxFilter();
|
|
316
|
+
while (reader.pos < end) {
|
|
317
|
+
const tag = reader.uint32();
|
|
318
|
+
switch (tag >>> 3) {
|
|
319
|
+
case 1: {
|
|
320
|
+
if (tag !== 10) {
|
|
321
|
+
break;
|
|
322
|
+
}
|
|
323
|
+
message.filterId = reader.string();
|
|
324
|
+
continue;
|
|
325
|
+
}
|
|
326
|
+
case 2: {
|
|
327
|
+
if (tag !== 18) {
|
|
328
|
+
break;
|
|
329
|
+
}
|
|
330
|
+
message.filter = SubscribeRequestFilterTransactions.decode(reader, reader.uint32());
|
|
331
|
+
continue;
|
|
332
|
+
}
|
|
333
|
+
}
|
|
334
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
335
|
+
break;
|
|
336
|
+
}
|
|
337
|
+
reader.skip(tag & 7);
|
|
296
338
|
}
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
reader.
|
|
339
|
+
return message;
|
|
340
|
+
}
|
|
341
|
+
finally {
|
|
342
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
301
343
|
}
|
|
302
|
-
return message;
|
|
303
344
|
},
|
|
304
345
|
fromJSON(object) {
|
|
305
346
|
return {
|
|
@@ -354,46 +395,56 @@ export const SubscribeRequestFilterTransactions = {
|
|
|
354
395
|
},
|
|
355
396
|
decode(input, length) {
|
|
356
397
|
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
357
|
-
const
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
398
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
399
|
+
if (previousRecursionDepth >= 100) {
|
|
400
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
401
|
+
}
|
|
402
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
403
|
+
try {
|
|
404
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
405
|
+
const message = createBaseSubscribeRequestFilterTransactions();
|
|
406
|
+
while (reader.pos < end) {
|
|
407
|
+
const tag = reader.uint32();
|
|
408
|
+
switch (tag >>> 3) {
|
|
409
|
+
case 1: {
|
|
410
|
+
if (tag !== 10) {
|
|
411
|
+
break;
|
|
412
|
+
}
|
|
413
|
+
message.accountInclude.push(reader.string());
|
|
414
|
+
continue;
|
|
415
|
+
}
|
|
416
|
+
case 2: {
|
|
417
|
+
if (tag !== 18) {
|
|
418
|
+
break;
|
|
419
|
+
}
|
|
420
|
+
message.accountExclude.push(reader.string());
|
|
421
|
+
continue;
|
|
422
|
+
}
|
|
423
|
+
case 3: {
|
|
424
|
+
if (tag !== 26) {
|
|
425
|
+
break;
|
|
426
|
+
}
|
|
427
|
+
message.accountRequired.push(reader.string());
|
|
428
|
+
continue;
|
|
429
|
+
}
|
|
430
|
+
case 4: {
|
|
431
|
+
if (tag !== 32) {
|
|
432
|
+
break;
|
|
433
|
+
}
|
|
434
|
+
message.includeEnrichment = reader.bool();
|
|
435
|
+
continue;
|
|
436
|
+
}
|
|
437
|
+
}
|
|
438
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
439
|
+
break;
|
|
440
|
+
}
|
|
441
|
+
reader.skip(tag & 7);
|
|
393
442
|
}
|
|
394
|
-
|
|
443
|
+
return message;
|
|
444
|
+
}
|
|
445
|
+
finally {
|
|
446
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
395
447
|
}
|
|
396
|
-
return message;
|
|
397
448
|
},
|
|
398
449
|
fromJSON(object) {
|
|
399
450
|
return {
|
|
@@ -459,25 +510,35 @@ export const RemoveFilters = {
|
|
|
459
510
|
},
|
|
460
511
|
decode(input, length) {
|
|
461
512
|
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
462
|
-
const
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
513
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
514
|
+
if (previousRecursionDepth >= 100) {
|
|
515
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
516
|
+
}
|
|
517
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
518
|
+
try {
|
|
519
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
520
|
+
const message = createBaseRemoveFilters();
|
|
521
|
+
while (reader.pos < end) {
|
|
522
|
+
const tag = reader.uint32();
|
|
523
|
+
switch (tag >>> 3) {
|
|
524
|
+
case 1: {
|
|
525
|
+
if (tag !== 10) {
|
|
526
|
+
break;
|
|
527
|
+
}
|
|
528
|
+
message.filterIds.push(reader.string());
|
|
529
|
+
continue;
|
|
530
|
+
}
|
|
531
|
+
}
|
|
532
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
533
|
+
break;
|
|
534
|
+
}
|
|
535
|
+
reader.skip(tag & 7);
|
|
474
536
|
}
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
reader.
|
|
537
|
+
return message;
|
|
538
|
+
}
|
|
539
|
+
finally {
|
|
540
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
479
541
|
}
|
|
480
|
-
return message;
|
|
481
542
|
},
|
|
482
543
|
fromJSON(object) {
|
|
483
544
|
return {
|
|
@@ -541,60 +602,70 @@ export const SubscribeTransactionsResponse = {
|
|
|
541
602
|
},
|
|
542
603
|
decode(input, length) {
|
|
543
604
|
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
544
|
-
const
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
605
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
606
|
+
if (previousRecursionDepth >= 100) {
|
|
607
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
608
|
+
}
|
|
609
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
610
|
+
try {
|
|
611
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
612
|
+
const message = createBaseSubscribeTransactionsResponse();
|
|
613
|
+
while (reader.pos < end) {
|
|
614
|
+
const tag = reader.uint32();
|
|
615
|
+
switch (tag >>> 3) {
|
|
616
|
+
case 1: {
|
|
617
|
+
if (tag !== 10) {
|
|
618
|
+
break;
|
|
619
|
+
}
|
|
620
|
+
message.createdAt = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
|
|
621
|
+
continue;
|
|
622
|
+
}
|
|
623
|
+
case 2: {
|
|
624
|
+
if (tag !== 18) {
|
|
625
|
+
break;
|
|
626
|
+
}
|
|
627
|
+
message.transaction = FilteredTransaction.decode(reader, reader.uint32());
|
|
628
|
+
continue;
|
|
629
|
+
}
|
|
630
|
+
case 3: {
|
|
631
|
+
if (tag !== 26) {
|
|
632
|
+
break;
|
|
633
|
+
}
|
|
634
|
+
message.pong = Pong.decode(reader, reader.uint32());
|
|
635
|
+
continue;
|
|
636
|
+
}
|
|
637
|
+
case 5: {
|
|
638
|
+
if (tag !== 42) {
|
|
639
|
+
break;
|
|
640
|
+
}
|
|
641
|
+
message.filterValidation = FilterResult.decode(reader, reader.uint32());
|
|
642
|
+
continue;
|
|
643
|
+
}
|
|
644
|
+
case 6: {
|
|
645
|
+
if (tag !== 50) {
|
|
646
|
+
break;
|
|
647
|
+
}
|
|
648
|
+
message.heartbeat = Heartbeat.decode(reader, reader.uint32());
|
|
649
|
+
continue;
|
|
650
|
+
}
|
|
651
|
+
case 4: {
|
|
652
|
+
if (tag !== 32) {
|
|
653
|
+
break;
|
|
654
|
+
}
|
|
655
|
+
message.sequence = reader.uint64();
|
|
656
|
+
continue;
|
|
657
|
+
}
|
|
658
|
+
}
|
|
659
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
660
|
+
break;
|
|
661
|
+
}
|
|
662
|
+
reader.skip(tag & 7);
|
|
594
663
|
}
|
|
595
|
-
|
|
664
|
+
return message;
|
|
665
|
+
}
|
|
666
|
+
finally {
|
|
667
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
596
668
|
}
|
|
597
|
-
return message;
|
|
598
669
|
},
|
|
599
670
|
fromJSON(object) {
|
|
600
671
|
return {
|
|
@@ -652,7 +723,7 @@ export const SubscribeTransactionsResponse = {
|
|
|
652
723
|
message.heartbeat = (object.heartbeat !== undefined && object.heartbeat !== null)
|
|
653
724
|
? Heartbeat.fromPartial(object.heartbeat)
|
|
654
725
|
: undefined;
|
|
655
|
-
message.sequence = object.sequence
|
|
726
|
+
message.sequence = (object.sequence !== undefined && object.sequence !== null) ? BigInt(object.sequence) : 0n;
|
|
656
727
|
return message;
|
|
657
728
|
},
|
|
658
729
|
};
|
|
@@ -668,25 +739,35 @@ export const Pong = {
|
|
|
668
739
|
},
|
|
669
740
|
decode(input, length) {
|
|
670
741
|
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
671
|
-
const
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
742
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
743
|
+
if (previousRecursionDepth >= 100) {
|
|
744
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
745
|
+
}
|
|
746
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
747
|
+
try {
|
|
748
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
749
|
+
const message = createBasePong();
|
|
750
|
+
while (reader.pos < end) {
|
|
751
|
+
const tag = reader.uint32();
|
|
752
|
+
switch (tag >>> 3) {
|
|
753
|
+
case 1: {
|
|
754
|
+
if (tag !== 8) {
|
|
755
|
+
break;
|
|
756
|
+
}
|
|
757
|
+
message.pingId = reader.int32();
|
|
758
|
+
continue;
|
|
759
|
+
}
|
|
760
|
+
}
|
|
761
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
762
|
+
break;
|
|
763
|
+
}
|
|
764
|
+
reader.skip(tag & 7);
|
|
686
765
|
}
|
|
687
|
-
|
|
766
|
+
return message;
|
|
767
|
+
}
|
|
768
|
+
finally {
|
|
769
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
688
770
|
}
|
|
689
|
-
return message;
|
|
690
771
|
},
|
|
691
772
|
fromJSON(object) {
|
|
692
773
|
return {
|
|
@@ -731,39 +812,49 @@ export const FilterResult = {
|
|
|
731
812
|
},
|
|
732
813
|
decode(input, length) {
|
|
733
814
|
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
734
|
-
const
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
815
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
816
|
+
if (previousRecursionDepth >= 100) {
|
|
817
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
818
|
+
}
|
|
819
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
820
|
+
try {
|
|
821
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
822
|
+
const message = createBaseFilterResult();
|
|
823
|
+
while (reader.pos < end) {
|
|
824
|
+
const tag = reader.uint32();
|
|
825
|
+
switch (tag >>> 3) {
|
|
826
|
+
case 1: {
|
|
827
|
+
if (tag !== 10) {
|
|
828
|
+
break;
|
|
829
|
+
}
|
|
830
|
+
message.filterId = reader.string();
|
|
831
|
+
continue;
|
|
832
|
+
}
|
|
833
|
+
case 2: {
|
|
834
|
+
if (tag !== 16) {
|
|
835
|
+
break;
|
|
836
|
+
}
|
|
837
|
+
message.accepted = reader.bool();
|
|
838
|
+
continue;
|
|
839
|
+
}
|
|
840
|
+
case 3: {
|
|
841
|
+
if (tag !== 26) {
|
|
842
|
+
break;
|
|
843
|
+
}
|
|
844
|
+
message.rejectionReason = reader.string();
|
|
845
|
+
continue;
|
|
846
|
+
}
|
|
847
|
+
}
|
|
848
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
849
|
+
break;
|
|
850
|
+
}
|
|
851
|
+
reader.skip(tag & 7);
|
|
763
852
|
}
|
|
764
|
-
|
|
853
|
+
return message;
|
|
854
|
+
}
|
|
855
|
+
finally {
|
|
856
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
765
857
|
}
|
|
766
|
-
return message;
|
|
767
858
|
},
|
|
768
859
|
fromJSON(object) {
|
|
769
860
|
return {
|
|
@@ -819,25 +910,35 @@ export const Heartbeat = {
|
|
|
819
910
|
},
|
|
820
911
|
decode(input, length) {
|
|
821
912
|
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
822
|
-
const
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
913
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
914
|
+
if (previousRecursionDepth >= 100) {
|
|
915
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
916
|
+
}
|
|
917
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
918
|
+
try {
|
|
919
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
920
|
+
const message = createBaseHeartbeat();
|
|
921
|
+
while (reader.pos < end) {
|
|
922
|
+
const tag = reader.uint32();
|
|
923
|
+
switch (tag >>> 3) {
|
|
924
|
+
case 1: {
|
|
925
|
+
if (tag !== 8) {
|
|
926
|
+
break;
|
|
927
|
+
}
|
|
928
|
+
message.serverTsMs = reader.uint64();
|
|
929
|
+
continue;
|
|
930
|
+
}
|
|
931
|
+
}
|
|
932
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
933
|
+
break;
|
|
934
|
+
}
|
|
935
|
+
reader.skip(tag & 7);
|
|
834
936
|
}
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
reader.
|
|
937
|
+
return message;
|
|
938
|
+
}
|
|
939
|
+
finally {
|
|
940
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
839
941
|
}
|
|
840
|
-
return message;
|
|
841
942
|
},
|
|
842
943
|
fromJSON(object) {
|
|
843
944
|
return {
|
|
@@ -860,7 +961,9 @@ export const Heartbeat = {
|
|
|
860
961
|
},
|
|
861
962
|
fromPartial(object) {
|
|
862
963
|
const message = createBaseHeartbeat();
|
|
863
|
-
message.serverTsMs = object.serverTsMs
|
|
964
|
+
message.serverTsMs = (object.serverTsMs !== undefined && object.serverTsMs !== null)
|
|
965
|
+
? BigInt(object.serverTsMs)
|
|
966
|
+
: 0n;
|
|
864
967
|
return message;
|
|
865
968
|
},
|
|
866
969
|
};
|
|
@@ -879,32 +982,42 @@ export const FilteredTransaction = {
|
|
|
879
982
|
},
|
|
880
983
|
decode(input, length) {
|
|
881
984
|
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
882
|
-
const
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
985
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
986
|
+
if (previousRecursionDepth >= 100) {
|
|
987
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
988
|
+
}
|
|
989
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
990
|
+
try {
|
|
991
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
992
|
+
const message = createBaseFilteredTransaction();
|
|
993
|
+
while (reader.pos < end) {
|
|
994
|
+
const tag = reader.uint32();
|
|
995
|
+
switch (tag >>> 3) {
|
|
996
|
+
case 1: {
|
|
997
|
+
if (tag !== 10) {
|
|
998
|
+
break;
|
|
999
|
+
}
|
|
1000
|
+
message.filterIds.push(reader.string());
|
|
1001
|
+
continue;
|
|
1002
|
+
}
|
|
1003
|
+
case 2: {
|
|
1004
|
+
if (tag !== 18) {
|
|
1005
|
+
break;
|
|
1006
|
+
}
|
|
1007
|
+
message.transaction = TransactionMessage.decode(reader, reader.uint32());
|
|
1008
|
+
continue;
|
|
1009
|
+
}
|
|
1010
|
+
}
|
|
1011
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
1012
|
+
break;
|
|
1013
|
+
}
|
|
1014
|
+
reader.skip(tag & 7);
|
|
901
1015
|
}
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
reader.
|
|
1016
|
+
return message;
|
|
1017
|
+
}
|
|
1018
|
+
finally {
|
|
1019
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
906
1020
|
}
|
|
907
|
-
return message;
|
|
908
1021
|
},
|
|
909
1022
|
fromJSON(object) {
|
|
910
1023
|
return {
|
|
@@ -1053,186 +1166,196 @@ export const TransactionMessage = {
|
|
|
1053
1166
|
},
|
|
1054
1167
|
decode(input, length) {
|
|
1055
1168
|
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1056
|
-
const
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1169
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
1170
|
+
if (previousRecursionDepth >= 100) {
|
|
1171
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
1172
|
+
}
|
|
1173
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
1174
|
+
try {
|
|
1175
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
1176
|
+
const message = createBaseTransactionMessage();
|
|
1177
|
+
while (reader.pos < end) {
|
|
1178
|
+
const tag = reader.uint32();
|
|
1179
|
+
switch (tag >>> 3) {
|
|
1180
|
+
case 1: {
|
|
1181
|
+
if (tag !== 8) {
|
|
1182
|
+
break;
|
|
1183
|
+
}
|
|
1184
|
+
message.slot = reader.uint64();
|
|
1185
|
+
continue;
|
|
1186
|
+
}
|
|
1187
|
+
case 2: {
|
|
1188
|
+
if (tag !== 18) {
|
|
1189
|
+
break;
|
|
1190
|
+
}
|
|
1191
|
+
message.signature = reader.bytes();
|
|
1192
|
+
continue;
|
|
1193
|
+
}
|
|
1194
|
+
case 3: {
|
|
1195
|
+
if (tag !== 24) {
|
|
1196
|
+
break;
|
|
1197
|
+
}
|
|
1198
|
+
message.txIndex = reader.uint32();
|
|
1199
|
+
continue;
|
|
1200
|
+
}
|
|
1201
|
+
case 4: {
|
|
1202
|
+
if (tag !== 34) {
|
|
1203
|
+
break;
|
|
1204
|
+
}
|
|
1205
|
+
message.signatures.push(reader.bytes());
|
|
1206
|
+
continue;
|
|
1207
|
+
}
|
|
1208
|
+
case 5: {
|
|
1209
|
+
if (tag !== 40) {
|
|
1210
|
+
break;
|
|
1211
|
+
}
|
|
1212
|
+
message.isVote = reader.bool();
|
|
1213
|
+
continue;
|
|
1214
|
+
}
|
|
1215
|
+
case 6: {
|
|
1216
|
+
if (tag !== 48) {
|
|
1217
|
+
break;
|
|
1218
|
+
}
|
|
1219
|
+
message.numRequiredSignatures = reader.uint32();
|
|
1220
|
+
continue;
|
|
1221
|
+
}
|
|
1222
|
+
case 7: {
|
|
1223
|
+
if (tag !== 56) {
|
|
1224
|
+
break;
|
|
1225
|
+
}
|
|
1226
|
+
message.numReadonlySignedAccounts = reader.uint32();
|
|
1227
|
+
continue;
|
|
1228
|
+
}
|
|
1229
|
+
case 8: {
|
|
1230
|
+
if (tag !== 64) {
|
|
1231
|
+
break;
|
|
1232
|
+
}
|
|
1233
|
+
message.numReadonlyUnsignedAccounts = reader.uint32();
|
|
1234
|
+
continue;
|
|
1235
|
+
}
|
|
1236
|
+
case 9: {
|
|
1237
|
+
if (tag !== 74) {
|
|
1238
|
+
break;
|
|
1239
|
+
}
|
|
1240
|
+
message.recentBlockhash = reader.bytes();
|
|
1241
|
+
continue;
|
|
1242
|
+
}
|
|
1243
|
+
case 10: {
|
|
1244
|
+
if (tag !== 80) {
|
|
1245
|
+
break;
|
|
1246
|
+
}
|
|
1247
|
+
message.versioned = reader.bool();
|
|
1248
|
+
continue;
|
|
1249
|
+
}
|
|
1250
|
+
case 11: {
|
|
1251
|
+
if (tag !== 90) {
|
|
1252
|
+
break;
|
|
1253
|
+
}
|
|
1254
|
+
message.accountKeys.push(reader.bytes());
|
|
1255
|
+
continue;
|
|
1256
|
+
}
|
|
1257
|
+
case 12: {
|
|
1258
|
+
if (tag !== 98) {
|
|
1259
|
+
break;
|
|
1260
|
+
}
|
|
1261
|
+
message.instructions.push(CompiledInstruction.decode(reader, reader.uint32()));
|
|
1262
|
+
continue;
|
|
1263
|
+
}
|
|
1264
|
+
case 13: {
|
|
1265
|
+
if (tag !== 106) {
|
|
1266
|
+
break;
|
|
1267
|
+
}
|
|
1268
|
+
message.addressTableLookups.push(MessageAddressTableLookup.decode(reader, reader.uint32()));
|
|
1269
|
+
continue;
|
|
1270
|
+
}
|
|
1271
|
+
case 14: {
|
|
1272
|
+
if (tag !== 114) {
|
|
1273
|
+
break;
|
|
1274
|
+
}
|
|
1275
|
+
message.feePayer = reader.bytes();
|
|
1276
|
+
continue;
|
|
1277
|
+
}
|
|
1278
|
+
case 15: {
|
|
1279
|
+
if (tag !== 122) {
|
|
1280
|
+
break;
|
|
1281
|
+
}
|
|
1282
|
+
message.writableAccounts.push(reader.bytes());
|
|
1283
|
+
continue;
|
|
1284
|
+
}
|
|
1285
|
+
case 16: {
|
|
1286
|
+
if (tag !== 130) {
|
|
1287
|
+
break;
|
|
1288
|
+
}
|
|
1289
|
+
message.programIds.push(reader.bytes());
|
|
1290
|
+
continue;
|
|
1291
|
+
}
|
|
1292
|
+
case 17: {
|
|
1293
|
+
if (tag !== 136) {
|
|
1294
|
+
break;
|
|
1295
|
+
}
|
|
1296
|
+
message.computeUnitPrice = reader.uint64();
|
|
1297
|
+
continue;
|
|
1298
|
+
}
|
|
1299
|
+
case 18: {
|
|
1300
|
+
if (tag !== 144) {
|
|
1301
|
+
break;
|
|
1302
|
+
}
|
|
1303
|
+
message.computeLimit = reader.uint32();
|
|
1304
|
+
continue;
|
|
1305
|
+
}
|
|
1306
|
+
case 19: {
|
|
1307
|
+
if (tag !== 152) {
|
|
1308
|
+
break;
|
|
1309
|
+
}
|
|
1310
|
+
message.txSize = reader.uint32();
|
|
1311
|
+
continue;
|
|
1312
|
+
}
|
|
1313
|
+
case 20: {
|
|
1314
|
+
if (tag !== 162) {
|
|
1315
|
+
break;
|
|
1316
|
+
}
|
|
1317
|
+
message.loadedWritableAddresses.push(reader.bytes());
|
|
1318
|
+
continue;
|
|
1319
|
+
}
|
|
1320
|
+
case 21: {
|
|
1321
|
+
if (tag !== 170) {
|
|
1322
|
+
break;
|
|
1323
|
+
}
|
|
1324
|
+
message.loadedReadonlyAddresses.push(reader.bytes());
|
|
1325
|
+
continue;
|
|
1326
|
+
}
|
|
1327
|
+
case 22: {
|
|
1328
|
+
if (tag !== 176) {
|
|
1329
|
+
break;
|
|
1330
|
+
}
|
|
1331
|
+
message.altResolutionIncomplete = reader.bool();
|
|
1332
|
+
continue;
|
|
1333
|
+
}
|
|
1334
|
+
case 23: {
|
|
1335
|
+
if (tag !== 186) {
|
|
1336
|
+
break;
|
|
1337
|
+
}
|
|
1338
|
+
message.config = TransactionConfig.decode(reader, reader.uint32());
|
|
1339
|
+
continue;
|
|
1340
|
+
}
|
|
1341
|
+
case 24: {
|
|
1342
|
+
if (tag !== 192) {
|
|
1343
|
+
break;
|
|
1344
|
+
}
|
|
1345
|
+
message.priorityFeeLamports = reader.uint64();
|
|
1346
|
+
continue;
|
|
1347
|
+
}
|
|
1348
|
+
}
|
|
1349
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
1350
|
+
break;
|
|
1351
|
+
}
|
|
1352
|
+
reader.skip(tag & 7);
|
|
1232
1353
|
}
|
|
1233
|
-
|
|
1354
|
+
return message;
|
|
1355
|
+
}
|
|
1356
|
+
finally {
|
|
1357
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
1234
1358
|
}
|
|
1235
|
-
return message;
|
|
1236
1359
|
},
|
|
1237
1360
|
fromJSON(object) {
|
|
1238
1361
|
return {
|
|
@@ -1419,7 +1542,7 @@ export const TransactionMessage = {
|
|
|
1419
1542
|
},
|
|
1420
1543
|
fromPartial(object) {
|
|
1421
1544
|
const message = createBaseTransactionMessage();
|
|
1422
|
-
message.slot = object.slot
|
|
1545
|
+
message.slot = (object.slot !== undefined && object.slot !== null) ? BigInt(object.slot) : 0n;
|
|
1423
1546
|
message.signature = object.signature ?? new Uint8Array(0);
|
|
1424
1547
|
message.txIndex = object.txIndex ?? 0;
|
|
1425
1548
|
message.signatures = object.signatures?.map((e) => e) || [];
|
|
@@ -1436,7 +1559,9 @@ export const TransactionMessage = {
|
|
|
1436
1559
|
message.feePayer = object.feePayer ?? new Uint8Array(0);
|
|
1437
1560
|
message.writableAccounts = object.writableAccounts?.map((e) => e) || [];
|
|
1438
1561
|
message.programIds = object.programIds?.map((e) => e) || [];
|
|
1439
|
-
message.computeUnitPrice = object.computeUnitPrice
|
|
1562
|
+
message.computeUnitPrice = (object.computeUnitPrice !== undefined && object.computeUnitPrice !== null)
|
|
1563
|
+
? BigInt(object.computeUnitPrice)
|
|
1564
|
+
: 0n;
|
|
1440
1565
|
message.computeLimit = object.computeLimit ?? 0;
|
|
1441
1566
|
message.txSize = object.txSize ?? 0;
|
|
1442
1567
|
message.loadedWritableAddresses = object.loadedWritableAddresses?.map((e) => e) || [];
|
|
@@ -1445,7 +1570,9 @@ export const TransactionMessage = {
|
|
|
1445
1570
|
message.config = (object.config !== undefined && object.config !== null)
|
|
1446
1571
|
? TransactionConfig.fromPartial(object.config)
|
|
1447
1572
|
: undefined;
|
|
1448
|
-
message.priorityFeeLamports = object.priorityFeeLamports
|
|
1573
|
+
message.priorityFeeLamports = (object.priorityFeeLamports !== undefined && object.priorityFeeLamports !== null)
|
|
1574
|
+
? BigInt(object.priorityFeeLamports)
|
|
1575
|
+
: undefined;
|
|
1449
1576
|
return message;
|
|
1450
1577
|
},
|
|
1451
1578
|
};
|
|
@@ -1478,46 +1605,56 @@ export const TransactionConfig = {
|
|
|
1478
1605
|
},
|
|
1479
1606
|
decode(input, length) {
|
|
1480
1607
|
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1481
|
-
const
|
|
1482
|
-
|
|
1483
|
-
|
|
1484
|
-
|
|
1485
|
-
|
|
1486
|
-
|
|
1487
|
-
|
|
1488
|
-
|
|
1489
|
-
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
|
-
|
|
1493
|
-
|
|
1494
|
-
|
|
1495
|
-
|
|
1496
|
-
|
|
1497
|
-
|
|
1498
|
-
|
|
1499
|
-
|
|
1500
|
-
|
|
1501
|
-
|
|
1502
|
-
|
|
1503
|
-
|
|
1504
|
-
|
|
1505
|
-
|
|
1506
|
-
|
|
1507
|
-
|
|
1508
|
-
|
|
1509
|
-
|
|
1510
|
-
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
|
|
1516
|
-
|
|
1608
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
1609
|
+
if (previousRecursionDepth >= 100) {
|
|
1610
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
1611
|
+
}
|
|
1612
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
1613
|
+
try {
|
|
1614
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
1615
|
+
const message = createBaseTransactionConfig();
|
|
1616
|
+
while (reader.pos < end) {
|
|
1617
|
+
const tag = reader.uint32();
|
|
1618
|
+
switch (tag >>> 3) {
|
|
1619
|
+
case 1: {
|
|
1620
|
+
if (tag !== 8) {
|
|
1621
|
+
break;
|
|
1622
|
+
}
|
|
1623
|
+
message.priorityFee = reader.uint64();
|
|
1624
|
+
continue;
|
|
1625
|
+
}
|
|
1626
|
+
case 2: {
|
|
1627
|
+
if (tag !== 16) {
|
|
1628
|
+
break;
|
|
1629
|
+
}
|
|
1630
|
+
message.computeUnitLimit = reader.uint32();
|
|
1631
|
+
continue;
|
|
1632
|
+
}
|
|
1633
|
+
case 3: {
|
|
1634
|
+
if (tag !== 24) {
|
|
1635
|
+
break;
|
|
1636
|
+
}
|
|
1637
|
+
message.loadedAccountsDataSizeLimit = reader.uint32();
|
|
1638
|
+
continue;
|
|
1639
|
+
}
|
|
1640
|
+
case 4: {
|
|
1641
|
+
if (tag !== 32) {
|
|
1642
|
+
break;
|
|
1643
|
+
}
|
|
1644
|
+
message.heapSize = reader.uint32();
|
|
1645
|
+
continue;
|
|
1646
|
+
}
|
|
1647
|
+
}
|
|
1648
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
1649
|
+
break;
|
|
1650
|
+
}
|
|
1651
|
+
reader.skip(tag & 7);
|
|
1517
1652
|
}
|
|
1518
|
-
|
|
1653
|
+
return message;
|
|
1654
|
+
}
|
|
1655
|
+
finally {
|
|
1656
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
1519
1657
|
}
|
|
1520
|
-
return message;
|
|
1521
1658
|
},
|
|
1522
1659
|
fromJSON(object) {
|
|
1523
1660
|
return {
|
|
@@ -1564,7 +1701,9 @@ export const TransactionConfig = {
|
|
|
1564
1701
|
},
|
|
1565
1702
|
fromPartial(object) {
|
|
1566
1703
|
const message = createBaseTransactionConfig();
|
|
1567
|
-
message.priorityFee = object.priorityFee
|
|
1704
|
+
message.priorityFee = (object.priorityFee !== undefined && object.priorityFee !== null)
|
|
1705
|
+
? BigInt(object.priorityFee)
|
|
1706
|
+
: undefined;
|
|
1568
1707
|
message.computeUnitLimit = object.computeUnitLimit ?? undefined;
|
|
1569
1708
|
message.loadedAccountsDataSizeLimit = object.loadedAccountsDataSizeLimit ?? undefined;
|
|
1570
1709
|
message.heapSize = object.heapSize ?? undefined;
|
|
@@ -1589,39 +1728,49 @@ export const CompiledInstruction = {
|
|
|
1589
1728
|
},
|
|
1590
1729
|
decode(input, length) {
|
|
1591
1730
|
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1592
|
-
const
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
|
|
1611
|
-
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
|
|
1731
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
1732
|
+
if (previousRecursionDepth >= 100) {
|
|
1733
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
1734
|
+
}
|
|
1735
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
1736
|
+
try {
|
|
1737
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
1738
|
+
const message = createBaseCompiledInstruction();
|
|
1739
|
+
while (reader.pos < end) {
|
|
1740
|
+
const tag = reader.uint32();
|
|
1741
|
+
switch (tag >>> 3) {
|
|
1742
|
+
case 1: {
|
|
1743
|
+
if (tag !== 8) {
|
|
1744
|
+
break;
|
|
1745
|
+
}
|
|
1746
|
+
message.programIdIndex = reader.uint32();
|
|
1747
|
+
continue;
|
|
1748
|
+
}
|
|
1749
|
+
case 2: {
|
|
1750
|
+
if (tag !== 18) {
|
|
1751
|
+
break;
|
|
1752
|
+
}
|
|
1753
|
+
message.accounts = reader.bytes();
|
|
1754
|
+
continue;
|
|
1755
|
+
}
|
|
1756
|
+
case 3: {
|
|
1757
|
+
if (tag !== 26) {
|
|
1758
|
+
break;
|
|
1759
|
+
}
|
|
1760
|
+
message.data = reader.bytes();
|
|
1761
|
+
continue;
|
|
1762
|
+
}
|
|
1763
|
+
}
|
|
1764
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
1765
|
+
break;
|
|
1766
|
+
}
|
|
1767
|
+
reader.skip(tag & 7);
|
|
1618
1768
|
}
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
|
|
1622
|
-
reader.
|
|
1769
|
+
return message;
|
|
1770
|
+
}
|
|
1771
|
+
finally {
|
|
1772
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
1623
1773
|
}
|
|
1624
|
-
return message;
|
|
1625
1774
|
},
|
|
1626
1775
|
fromJSON(object) {
|
|
1627
1776
|
return {
|
|
@@ -1676,39 +1825,49 @@ export const MessageAddressTableLookup = {
|
|
|
1676
1825
|
},
|
|
1677
1826
|
decode(input, length) {
|
|
1678
1827
|
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1679
|
-
const
|
|
1680
|
-
|
|
1681
|
-
|
|
1682
|
-
|
|
1683
|
-
|
|
1684
|
-
|
|
1685
|
-
|
|
1686
|
-
|
|
1687
|
-
|
|
1688
|
-
|
|
1689
|
-
|
|
1690
|
-
|
|
1691
|
-
|
|
1692
|
-
|
|
1693
|
-
|
|
1694
|
-
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
|
|
1700
|
-
|
|
1701
|
-
|
|
1702
|
-
|
|
1703
|
-
|
|
1704
|
-
|
|
1705
|
-
|
|
1706
|
-
|
|
1707
|
-
|
|
1828
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
1829
|
+
if (previousRecursionDepth >= 100) {
|
|
1830
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
1831
|
+
}
|
|
1832
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
1833
|
+
try {
|
|
1834
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
1835
|
+
const message = createBaseMessageAddressTableLookup();
|
|
1836
|
+
while (reader.pos < end) {
|
|
1837
|
+
const tag = reader.uint32();
|
|
1838
|
+
switch (tag >>> 3) {
|
|
1839
|
+
case 1: {
|
|
1840
|
+
if (tag !== 10) {
|
|
1841
|
+
break;
|
|
1842
|
+
}
|
|
1843
|
+
message.accountKey = reader.bytes();
|
|
1844
|
+
continue;
|
|
1845
|
+
}
|
|
1846
|
+
case 2: {
|
|
1847
|
+
if (tag !== 18) {
|
|
1848
|
+
break;
|
|
1849
|
+
}
|
|
1850
|
+
message.writableIndexes = reader.bytes();
|
|
1851
|
+
continue;
|
|
1852
|
+
}
|
|
1853
|
+
case 3: {
|
|
1854
|
+
if (tag !== 26) {
|
|
1855
|
+
break;
|
|
1856
|
+
}
|
|
1857
|
+
message.readonlyIndexes = reader.bytes();
|
|
1858
|
+
continue;
|
|
1859
|
+
}
|
|
1860
|
+
}
|
|
1861
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
1862
|
+
break;
|
|
1863
|
+
}
|
|
1864
|
+
reader.skip(tag & 7);
|
|
1708
1865
|
}
|
|
1709
|
-
|
|
1866
|
+
return message;
|
|
1867
|
+
}
|
|
1868
|
+
finally {
|
|
1869
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
1710
1870
|
}
|
|
1711
|
-
return message;
|
|
1712
1871
|
},
|
|
1713
1872
|
fromJSON(object) {
|
|
1714
1873
|
return {
|
|
@@ -1762,18 +1921,28 @@ export const SubscribeSlotsRequest = {
|
|
|
1762
1921
|
},
|
|
1763
1922
|
decode(input, length) {
|
|
1764
1923
|
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1765
|
-
const
|
|
1766
|
-
|
|
1767
|
-
|
|
1768
|
-
|
|
1769
|
-
|
|
1770
|
-
|
|
1771
|
-
|
|
1772
|
-
|
|
1924
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
1925
|
+
if (previousRecursionDepth >= 100) {
|
|
1926
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
1927
|
+
}
|
|
1928
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
1929
|
+
try {
|
|
1930
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
1931
|
+
const message = createBaseSubscribeSlotsRequest();
|
|
1932
|
+
while (reader.pos < end) {
|
|
1933
|
+
const tag = reader.uint32();
|
|
1934
|
+
switch (tag >>> 3) {
|
|
1935
|
+
}
|
|
1936
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
1937
|
+
break;
|
|
1938
|
+
}
|
|
1939
|
+
reader.skip(tag & 7);
|
|
1773
1940
|
}
|
|
1774
|
-
|
|
1941
|
+
return message;
|
|
1942
|
+
}
|
|
1943
|
+
finally {
|
|
1944
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
1775
1945
|
}
|
|
1776
|
-
return message;
|
|
1777
1946
|
},
|
|
1778
1947
|
fromJSON(_) {
|
|
1779
1948
|
return {};
|
|
@@ -1823,53 +1992,63 @@ export const SlotEvent = {
|
|
|
1823
1992
|
},
|
|
1824
1993
|
decode(input, length) {
|
|
1825
1994
|
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1826
|
-
const
|
|
1827
|
-
|
|
1828
|
-
|
|
1829
|
-
|
|
1830
|
-
|
|
1831
|
-
|
|
1832
|
-
|
|
1833
|
-
|
|
1834
|
-
|
|
1835
|
-
|
|
1836
|
-
|
|
1837
|
-
|
|
1838
|
-
|
|
1839
|
-
|
|
1840
|
-
|
|
1841
|
-
|
|
1842
|
-
|
|
1843
|
-
|
|
1844
|
-
|
|
1845
|
-
|
|
1846
|
-
|
|
1847
|
-
|
|
1848
|
-
|
|
1849
|
-
|
|
1850
|
-
|
|
1851
|
-
|
|
1852
|
-
|
|
1853
|
-
|
|
1854
|
-
|
|
1855
|
-
|
|
1856
|
-
|
|
1857
|
-
|
|
1858
|
-
|
|
1859
|
-
|
|
1860
|
-
|
|
1861
|
-
|
|
1862
|
-
|
|
1863
|
-
|
|
1864
|
-
|
|
1865
|
-
|
|
1866
|
-
|
|
1867
|
-
|
|
1868
|
-
|
|
1995
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
1996
|
+
if (previousRecursionDepth >= 100) {
|
|
1997
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
1998
|
+
}
|
|
1999
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
2000
|
+
try {
|
|
2001
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2002
|
+
const message = createBaseSlotEvent();
|
|
2003
|
+
while (reader.pos < end) {
|
|
2004
|
+
const tag = reader.uint32();
|
|
2005
|
+
switch (tag >>> 3) {
|
|
2006
|
+
case 1: {
|
|
2007
|
+
if (tag !== 8) {
|
|
2008
|
+
break;
|
|
2009
|
+
}
|
|
2010
|
+
message.slot = reader.uint64();
|
|
2011
|
+
continue;
|
|
2012
|
+
}
|
|
2013
|
+
case 2: {
|
|
2014
|
+
if (tag !== 16) {
|
|
2015
|
+
break;
|
|
2016
|
+
}
|
|
2017
|
+
message.status = reader.int32();
|
|
2018
|
+
continue;
|
|
2019
|
+
}
|
|
2020
|
+
case 3: {
|
|
2021
|
+
if (tag !== 26) {
|
|
2022
|
+
break;
|
|
2023
|
+
}
|
|
2024
|
+
message.currentLeader = reader.bytes();
|
|
2025
|
+
continue;
|
|
2026
|
+
}
|
|
2027
|
+
case 4: {
|
|
2028
|
+
if (tag !== 32) {
|
|
2029
|
+
break;
|
|
2030
|
+
}
|
|
2031
|
+
message.parentSlot = reader.uint64();
|
|
2032
|
+
continue;
|
|
2033
|
+
}
|
|
2034
|
+
case 5: {
|
|
2035
|
+
if (tag !== 40) {
|
|
2036
|
+
break;
|
|
2037
|
+
}
|
|
2038
|
+
message.sequence = reader.uint64();
|
|
2039
|
+
continue;
|
|
2040
|
+
}
|
|
2041
|
+
}
|
|
2042
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
2043
|
+
break;
|
|
2044
|
+
}
|
|
2045
|
+
reader.skip(tag & 7);
|
|
1869
2046
|
}
|
|
1870
|
-
|
|
2047
|
+
return message;
|
|
2048
|
+
}
|
|
2049
|
+
finally {
|
|
2050
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
1871
2051
|
}
|
|
1872
|
-
return message;
|
|
1873
2052
|
},
|
|
1874
2053
|
fromJSON(object) {
|
|
1875
2054
|
return {
|
|
@@ -1912,11 +2091,13 @@ export const SlotEvent = {
|
|
|
1912
2091
|
},
|
|
1913
2092
|
fromPartial(object) {
|
|
1914
2093
|
const message = createBaseSlotEvent();
|
|
1915
|
-
message.slot = object.slot
|
|
2094
|
+
message.slot = (object.slot !== undefined && object.slot !== null) ? BigInt(object.slot) : 0n;
|
|
1916
2095
|
message.status = object.status ?? 0;
|
|
1917
2096
|
message.currentLeader = object.currentLeader ?? new Uint8Array(0);
|
|
1918
|
-
message.parentSlot = object.parentSlot
|
|
1919
|
-
|
|
2097
|
+
message.parentSlot = (object.parentSlot !== undefined && object.parentSlot !== null)
|
|
2098
|
+
? BigInt(object.parentSlot)
|
|
2099
|
+
: 0n;
|
|
2100
|
+
message.sequence = (object.sequence !== undefined && object.sequence !== null) ? BigInt(object.sequence) : 0n;
|
|
1920
2101
|
return message;
|
|
1921
2102
|
},
|
|
1922
2103
|
};
|
|
@@ -1932,25 +2113,35 @@ export const PingRequest = {
|
|
|
1932
2113
|
},
|
|
1933
2114
|
decode(input, length) {
|
|
1934
2115
|
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1935
|
-
const
|
|
1936
|
-
|
|
1937
|
-
|
|
1938
|
-
|
|
1939
|
-
|
|
1940
|
-
|
|
1941
|
-
|
|
1942
|
-
|
|
1943
|
-
|
|
1944
|
-
|
|
1945
|
-
|
|
1946
|
-
|
|
1947
|
-
|
|
1948
|
-
|
|
1949
|
-
|
|
2116
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
2117
|
+
if (previousRecursionDepth >= 100) {
|
|
2118
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
2119
|
+
}
|
|
2120
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
2121
|
+
try {
|
|
2122
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2123
|
+
const message = createBasePingRequest();
|
|
2124
|
+
while (reader.pos < end) {
|
|
2125
|
+
const tag = reader.uint32();
|
|
2126
|
+
switch (tag >>> 3) {
|
|
2127
|
+
case 1: {
|
|
2128
|
+
if (tag !== 8) {
|
|
2129
|
+
break;
|
|
2130
|
+
}
|
|
2131
|
+
message.count = reader.int32();
|
|
2132
|
+
continue;
|
|
2133
|
+
}
|
|
2134
|
+
}
|
|
2135
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
2136
|
+
break;
|
|
2137
|
+
}
|
|
2138
|
+
reader.skip(tag & 7);
|
|
1950
2139
|
}
|
|
1951
|
-
|
|
2140
|
+
return message;
|
|
2141
|
+
}
|
|
2142
|
+
finally {
|
|
2143
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
1952
2144
|
}
|
|
1953
|
-
return message;
|
|
1954
2145
|
},
|
|
1955
2146
|
fromJSON(object) {
|
|
1956
2147
|
return { count: isSet(object.count) ? globalThis.Number(object.count) : 0 };
|
|
@@ -1983,25 +2174,35 @@ export const PongResponse = {
|
|
|
1983
2174
|
},
|
|
1984
2175
|
decode(input, length) {
|
|
1985
2176
|
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
1986
|
-
const
|
|
1987
|
-
|
|
1988
|
-
|
|
1989
|
-
|
|
1990
|
-
|
|
1991
|
-
|
|
1992
|
-
|
|
1993
|
-
|
|
1994
|
-
|
|
1995
|
-
|
|
1996
|
-
|
|
1997
|
-
|
|
2177
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
2178
|
+
if (previousRecursionDepth >= 100) {
|
|
2179
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
2180
|
+
}
|
|
2181
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
2182
|
+
try {
|
|
2183
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2184
|
+
const message = createBasePongResponse();
|
|
2185
|
+
while (reader.pos < end) {
|
|
2186
|
+
const tag = reader.uint32();
|
|
2187
|
+
switch (tag >>> 3) {
|
|
2188
|
+
case 1: {
|
|
2189
|
+
if (tag !== 8) {
|
|
2190
|
+
break;
|
|
2191
|
+
}
|
|
2192
|
+
message.count = reader.int32();
|
|
2193
|
+
continue;
|
|
2194
|
+
}
|
|
2195
|
+
}
|
|
2196
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
2197
|
+
break;
|
|
2198
|
+
}
|
|
2199
|
+
reader.skip(tag & 7);
|
|
1998
2200
|
}
|
|
1999
|
-
|
|
2000
|
-
|
|
2001
|
-
|
|
2002
|
-
reader.
|
|
2201
|
+
return message;
|
|
2202
|
+
}
|
|
2203
|
+
finally {
|
|
2204
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
2003
2205
|
}
|
|
2004
|
-
return message;
|
|
2005
2206
|
},
|
|
2006
2207
|
fromJSON(object) {
|
|
2007
2208
|
return { count: isSet(object.count) ? globalThis.Number(object.count) : 0 };
|
|
@@ -2031,18 +2232,28 @@ export const GetVersionRequest = {
|
|
|
2031
2232
|
},
|
|
2032
2233
|
decode(input, length) {
|
|
2033
2234
|
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
2034
|
-
const
|
|
2035
|
-
|
|
2036
|
-
|
|
2037
|
-
|
|
2038
|
-
|
|
2039
|
-
|
|
2040
|
-
|
|
2041
|
-
|
|
2235
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
2236
|
+
if (previousRecursionDepth >= 100) {
|
|
2237
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
2238
|
+
}
|
|
2239
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
2240
|
+
try {
|
|
2241
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2242
|
+
const message = createBaseGetVersionRequest();
|
|
2243
|
+
while (reader.pos < end) {
|
|
2244
|
+
const tag = reader.uint32();
|
|
2245
|
+
switch (tag >>> 3) {
|
|
2246
|
+
}
|
|
2247
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
2248
|
+
break;
|
|
2249
|
+
}
|
|
2250
|
+
reader.skip(tag & 7);
|
|
2042
2251
|
}
|
|
2043
|
-
|
|
2252
|
+
return message;
|
|
2253
|
+
}
|
|
2254
|
+
finally {
|
|
2255
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
2044
2256
|
}
|
|
2045
|
-
return message;
|
|
2046
2257
|
},
|
|
2047
2258
|
fromJSON(_) {
|
|
2048
2259
|
return {};
|
|
@@ -2071,25 +2282,35 @@ export const GetVersionResponse = {
|
|
|
2071
2282
|
},
|
|
2072
2283
|
decode(input, length) {
|
|
2073
2284
|
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
2074
|
-
const
|
|
2075
|
-
|
|
2076
|
-
|
|
2077
|
-
|
|
2078
|
-
|
|
2079
|
-
|
|
2080
|
-
|
|
2081
|
-
|
|
2082
|
-
|
|
2083
|
-
|
|
2084
|
-
|
|
2085
|
-
|
|
2285
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
2286
|
+
if (previousRecursionDepth >= 100) {
|
|
2287
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
2288
|
+
}
|
|
2289
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
2290
|
+
try {
|
|
2291
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2292
|
+
const message = createBaseGetVersionResponse();
|
|
2293
|
+
while (reader.pos < end) {
|
|
2294
|
+
const tag = reader.uint32();
|
|
2295
|
+
switch (tag >>> 3) {
|
|
2296
|
+
case 1: {
|
|
2297
|
+
if (tag !== 10) {
|
|
2298
|
+
break;
|
|
2299
|
+
}
|
|
2300
|
+
message.version = reader.string();
|
|
2301
|
+
continue;
|
|
2302
|
+
}
|
|
2303
|
+
}
|
|
2304
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
2305
|
+
break;
|
|
2306
|
+
}
|
|
2307
|
+
reader.skip(tag & 7);
|
|
2086
2308
|
}
|
|
2087
|
-
|
|
2088
|
-
|
|
2089
|
-
|
|
2090
|
-
reader.
|
|
2309
|
+
return message;
|
|
2310
|
+
}
|
|
2311
|
+
finally {
|
|
2312
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
2091
2313
|
}
|
|
2092
|
-
return message;
|
|
2093
2314
|
},
|
|
2094
2315
|
fromJSON(object) {
|
|
2095
2316
|
return { version: isSet(object.version) ? globalThis.String(object.version) : "" };
|