@sentio/runtime 2.13.0-rc.9 → 2.13.1-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/lib/full-service.d.ts
CHANGED
@@ -29,6 +29,12 @@ export declare class FullProcessorServiceImpl implements ProcessorServiceImpleme
|
|
29
29
|
recentInterval?: number | undefined;
|
30
30
|
backfillInterval?: number | undefined;
|
31
31
|
} | undefined;
|
32
|
+
fetchConfig?: {
|
33
|
+
transaction?: boolean | undefined;
|
34
|
+
transactionReceipt?: boolean | undefined;
|
35
|
+
block?: boolean | undefined;
|
36
|
+
trace?: boolean | undefined;
|
37
|
+
} | undefined;
|
32
38
|
}[] | undefined;
|
33
39
|
logConfigs?: {
|
34
40
|
filters?: {
|
@@ -125,6 +131,12 @@ export declare class FullProcessorServiceImpl implements ProcessorServiceImpleme
|
|
125
131
|
recentInterval?: number | undefined;
|
126
132
|
backfillInterval?: number | undefined;
|
127
133
|
} | undefined;
|
134
|
+
fetchConfig?: {
|
135
|
+
transaction?: boolean | undefined;
|
136
|
+
transactionReceipt?: boolean | undefined;
|
137
|
+
block?: boolean | undefined;
|
138
|
+
trace?: boolean | undefined;
|
139
|
+
} | undefined;
|
128
140
|
}[] | undefined;
|
129
141
|
aptosIntervalConfigs?: {
|
130
142
|
intervalConfig?: {
|
@@ -139,6 +151,12 @@ export declare class FullProcessorServiceImpl implements ProcessorServiceImpleme
|
|
139
151
|
recentInterval?: number | undefined;
|
140
152
|
backfillInterval?: number | undefined;
|
141
153
|
} | undefined;
|
154
|
+
fetchConfig?: {
|
155
|
+
transaction?: boolean | undefined;
|
156
|
+
transactionReceipt?: boolean | undefined;
|
157
|
+
block?: boolean | undefined;
|
158
|
+
trace?: boolean | undefined;
|
159
|
+
} | undefined;
|
142
160
|
} | undefined;
|
143
161
|
type?: string | undefined;
|
144
162
|
}[] | undefined;
|
@@ -155,6 +173,12 @@ export declare class FullProcessorServiceImpl implements ProcessorServiceImpleme
|
|
155
173
|
recentInterval?: number | undefined;
|
156
174
|
backfillInterval?: number | undefined;
|
157
175
|
} | undefined;
|
176
|
+
fetchConfig?: {
|
177
|
+
transaction?: boolean | undefined;
|
178
|
+
transactionReceipt?: boolean | undefined;
|
179
|
+
block?: boolean | undefined;
|
180
|
+
trace?: boolean | undefined;
|
181
|
+
} | undefined;
|
158
182
|
} | undefined;
|
159
183
|
type?: string | undefined;
|
160
184
|
ownerType?: import("./gen/processor/protos/processor.js").MoveOnIntervalConfig_OwnerType | undefined;
|
@@ -138,6 +138,7 @@ export interface OnIntervalConfig {
|
|
138
138
|
minutesInterval?: HandleInterval | undefined;
|
139
139
|
slot: number;
|
140
140
|
slotInterval?: HandleInterval | undefined;
|
141
|
+
fetchConfig: EthFetchConfig | undefined;
|
141
142
|
}
|
142
143
|
export interface AptosOnIntervalConfig {
|
143
144
|
intervalConfig: OnIntervalConfig | undefined;
|
@@ -1433,7 +1433,14 @@ export const HandleInterval = {
|
|
1433
1433
|
},
|
1434
1434
|
};
|
1435
1435
|
function createBaseOnIntervalConfig() {
|
1436
|
-
return {
|
1436
|
+
return {
|
1437
|
+
handlerId: 0,
|
1438
|
+
minutes: 0,
|
1439
|
+
minutesInterval: undefined,
|
1440
|
+
slot: 0,
|
1441
|
+
slotInterval: undefined,
|
1442
|
+
fetchConfig: undefined,
|
1443
|
+
};
|
1437
1444
|
}
|
1438
1445
|
export const OnIntervalConfig = {
|
1439
1446
|
encode(message, writer = _m0.Writer.create()) {
|
@@ -1452,6 +1459,9 @@ export const OnIntervalConfig = {
|
|
1452
1459
|
if (message.slotInterval !== undefined) {
|
1453
1460
|
HandleInterval.encode(message.slotInterval, writer.uint32(42).fork()).ldelim();
|
1454
1461
|
}
|
1462
|
+
if (message.fetchConfig !== undefined) {
|
1463
|
+
EthFetchConfig.encode(message.fetchConfig, writer.uint32(50).fork()).ldelim();
|
1464
|
+
}
|
1455
1465
|
return writer;
|
1456
1466
|
},
|
1457
1467
|
decode(input, length) {
|
@@ -1476,6 +1486,9 @@ export const OnIntervalConfig = {
|
|
1476
1486
|
case 5:
|
1477
1487
|
message.slotInterval = HandleInterval.decode(reader, reader.uint32());
|
1478
1488
|
break;
|
1489
|
+
case 6:
|
1490
|
+
message.fetchConfig = EthFetchConfig.decode(reader, reader.uint32());
|
1491
|
+
break;
|
1479
1492
|
default:
|
1480
1493
|
reader.skipType(tag & 7);
|
1481
1494
|
break;
|
@@ -1490,6 +1503,7 @@ export const OnIntervalConfig = {
|
|
1490
1503
|
minutesInterval: isSet(object.minutesInterval) ? HandleInterval.fromJSON(object.minutesInterval) : undefined,
|
1491
1504
|
slot: isSet(object.slot) ? Number(object.slot) : 0,
|
1492
1505
|
slotInterval: isSet(object.slotInterval) ? HandleInterval.fromJSON(object.slotInterval) : undefined,
|
1506
|
+
fetchConfig: isSet(object.fetchConfig) ? EthFetchConfig.fromJSON(object.fetchConfig) : undefined,
|
1493
1507
|
};
|
1494
1508
|
},
|
1495
1509
|
toJSON(message) {
|
@@ -1501,6 +1515,8 @@ export const OnIntervalConfig = {
|
|
1501
1515
|
message.slot !== undefined && (obj.slot = Math.round(message.slot));
|
1502
1516
|
message.slotInterval !== undefined &&
|
1503
1517
|
(obj.slotInterval = message.slotInterval ? HandleInterval.toJSON(message.slotInterval) : undefined);
|
1518
|
+
message.fetchConfig !== undefined &&
|
1519
|
+
(obj.fetchConfig = message.fetchConfig ? EthFetchConfig.toJSON(message.fetchConfig) : undefined);
|
1504
1520
|
return obj;
|
1505
1521
|
},
|
1506
1522
|
create(base) {
|
@@ -1517,6 +1533,9 @@ export const OnIntervalConfig = {
|
|
1517
1533
|
message.slotInterval = (object.slotInterval !== undefined && object.slotInterval !== null)
|
1518
1534
|
? HandleInterval.fromPartial(object.slotInterval)
|
1519
1535
|
: undefined;
|
1536
|
+
message.fetchConfig = (object.fetchConfig !== undefined && object.fetchConfig !== null)
|
1537
|
+
? EthFetchConfig.fromPartial(object.fetchConfig)
|
1538
|
+
: undefined;
|
1520
1539
|
return message;
|
1521
1540
|
},
|
1522
1541
|
};
|