@sentio/protos 2.53.2 → 2.53.3-rc.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/package.json
CHANGED
|
@@ -608,6 +608,7 @@ export interface OnIntervalConfig {
|
|
|
608
608
|
slot: number;
|
|
609
609
|
slotInterval?: HandleInterval | undefined;
|
|
610
610
|
fetchConfig: EthFetchConfig | undefined;
|
|
611
|
+
handlerName: string;
|
|
611
612
|
}
|
|
612
613
|
|
|
613
614
|
export interface AptosOnIntervalConfig {
|
|
@@ -664,6 +665,7 @@ export interface TraceHandlerConfig {
|
|
|
664
665
|
export interface TransactionHandlerConfig {
|
|
665
666
|
handlerId: number;
|
|
666
667
|
fetchConfig: EthFetchConfig | undefined;
|
|
668
|
+
handlerName: string;
|
|
667
669
|
}
|
|
668
670
|
|
|
669
671
|
export interface LogHandlerConfig {
|
|
@@ -3318,6 +3320,7 @@ function createBaseOnIntervalConfig(): OnIntervalConfig {
|
|
|
3318
3320
|
slot: 0,
|
|
3319
3321
|
slotInterval: undefined,
|
|
3320
3322
|
fetchConfig: undefined,
|
|
3323
|
+
handlerName: "",
|
|
3321
3324
|
};
|
|
3322
3325
|
}
|
|
3323
3326
|
|
|
@@ -3341,6 +3344,9 @@ export const OnIntervalConfig = {
|
|
|
3341
3344
|
if (message.fetchConfig !== undefined) {
|
|
3342
3345
|
EthFetchConfig.encode(message.fetchConfig, writer.uint32(50).fork()).ldelim();
|
|
3343
3346
|
}
|
|
3347
|
+
if (message.handlerName !== "") {
|
|
3348
|
+
writer.uint32(58).string(message.handlerName);
|
|
3349
|
+
}
|
|
3344
3350
|
return writer;
|
|
3345
3351
|
},
|
|
3346
3352
|
|
|
@@ -3393,6 +3399,13 @@ export const OnIntervalConfig = {
|
|
|
3393
3399
|
|
|
3394
3400
|
message.fetchConfig = EthFetchConfig.decode(reader, reader.uint32());
|
|
3395
3401
|
continue;
|
|
3402
|
+
case 7:
|
|
3403
|
+
if (tag !== 58) {
|
|
3404
|
+
break;
|
|
3405
|
+
}
|
|
3406
|
+
|
|
3407
|
+
message.handlerName = reader.string();
|
|
3408
|
+
continue;
|
|
3396
3409
|
}
|
|
3397
3410
|
if ((tag & 7) === 4 || tag === 0) {
|
|
3398
3411
|
break;
|
|
@@ -3410,6 +3423,7 @@ export const OnIntervalConfig = {
|
|
|
3410
3423
|
slot: isSet(object.slot) ? globalThis.Number(object.slot) : 0,
|
|
3411
3424
|
slotInterval: isSet(object.slotInterval) ? HandleInterval.fromJSON(object.slotInterval) : undefined,
|
|
3412
3425
|
fetchConfig: isSet(object.fetchConfig) ? EthFetchConfig.fromJSON(object.fetchConfig) : undefined,
|
|
3426
|
+
handlerName: isSet(object.handlerName) ? globalThis.String(object.handlerName) : "",
|
|
3413
3427
|
};
|
|
3414
3428
|
},
|
|
3415
3429
|
|
|
@@ -3433,6 +3447,9 @@ export const OnIntervalConfig = {
|
|
|
3433
3447
|
if (message.fetchConfig !== undefined) {
|
|
3434
3448
|
obj.fetchConfig = EthFetchConfig.toJSON(message.fetchConfig);
|
|
3435
3449
|
}
|
|
3450
|
+
if (message.handlerName !== "") {
|
|
3451
|
+
obj.handlerName = message.handlerName;
|
|
3452
|
+
}
|
|
3436
3453
|
return obj;
|
|
3437
3454
|
},
|
|
3438
3455
|
|
|
@@ -3453,6 +3470,7 @@ export const OnIntervalConfig = {
|
|
|
3453
3470
|
message.fetchConfig = (object.fetchConfig !== undefined && object.fetchConfig !== null)
|
|
3454
3471
|
? EthFetchConfig.fromPartial(object.fetchConfig)
|
|
3455
3472
|
: undefined;
|
|
3473
|
+
message.handlerName = object.handlerName ?? "";
|
|
3456
3474
|
return message;
|
|
3457
3475
|
},
|
|
3458
3476
|
};
|
|
@@ -4237,7 +4255,7 @@ export const TraceHandlerConfig = {
|
|
|
4237
4255
|
};
|
|
4238
4256
|
|
|
4239
4257
|
function createBaseTransactionHandlerConfig(): TransactionHandlerConfig {
|
|
4240
|
-
return { handlerId: 0, fetchConfig: undefined };
|
|
4258
|
+
return { handlerId: 0, fetchConfig: undefined, handlerName: "" };
|
|
4241
4259
|
}
|
|
4242
4260
|
|
|
4243
4261
|
export const TransactionHandlerConfig = {
|
|
@@ -4248,6 +4266,9 @@ export const TransactionHandlerConfig = {
|
|
|
4248
4266
|
if (message.fetchConfig !== undefined) {
|
|
4249
4267
|
EthFetchConfig.encode(message.fetchConfig, writer.uint32(26).fork()).ldelim();
|
|
4250
4268
|
}
|
|
4269
|
+
if (message.handlerName !== "") {
|
|
4270
|
+
writer.uint32(34).string(message.handlerName);
|
|
4271
|
+
}
|
|
4251
4272
|
return writer;
|
|
4252
4273
|
},
|
|
4253
4274
|
|
|
@@ -4272,6 +4293,13 @@ export const TransactionHandlerConfig = {
|
|
|
4272
4293
|
|
|
4273
4294
|
message.fetchConfig = EthFetchConfig.decode(reader, reader.uint32());
|
|
4274
4295
|
continue;
|
|
4296
|
+
case 4:
|
|
4297
|
+
if (tag !== 34) {
|
|
4298
|
+
break;
|
|
4299
|
+
}
|
|
4300
|
+
|
|
4301
|
+
message.handlerName = reader.string();
|
|
4302
|
+
continue;
|
|
4275
4303
|
}
|
|
4276
4304
|
if ((tag & 7) === 4 || tag === 0) {
|
|
4277
4305
|
break;
|
|
@@ -4285,6 +4313,7 @@ export const TransactionHandlerConfig = {
|
|
|
4285
4313
|
return {
|
|
4286
4314
|
handlerId: isSet(object.handlerId) ? globalThis.Number(object.handlerId) : 0,
|
|
4287
4315
|
fetchConfig: isSet(object.fetchConfig) ? EthFetchConfig.fromJSON(object.fetchConfig) : undefined,
|
|
4316
|
+
handlerName: isSet(object.handlerName) ? globalThis.String(object.handlerName) : "",
|
|
4288
4317
|
};
|
|
4289
4318
|
},
|
|
4290
4319
|
|
|
@@ -4296,6 +4325,9 @@ export const TransactionHandlerConfig = {
|
|
|
4296
4325
|
if (message.fetchConfig !== undefined) {
|
|
4297
4326
|
obj.fetchConfig = EthFetchConfig.toJSON(message.fetchConfig);
|
|
4298
4327
|
}
|
|
4328
|
+
if (message.handlerName !== "") {
|
|
4329
|
+
obj.handlerName = message.handlerName;
|
|
4330
|
+
}
|
|
4299
4331
|
return obj;
|
|
4300
4332
|
},
|
|
4301
4333
|
|
|
@@ -4308,6 +4340,7 @@ export const TransactionHandlerConfig = {
|
|
|
4308
4340
|
message.fetchConfig = (object.fetchConfig !== undefined && object.fetchConfig !== null)
|
|
4309
4341
|
? EthFetchConfig.fromPartial(object.fetchConfig)
|
|
4310
4342
|
: undefined;
|
|
4343
|
+
message.handlerName = object.handlerName ?? "";
|
|
4311
4344
|
return message;
|
|
4312
4345
|
},
|
|
4313
4346
|
};
|