@sentio/runtime 2.35.0-rc.2 → 2.35.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/gen/processor/protos/processor.d.ts +16 -0
- package/lib/gen/processor/protos/processor.d.ts.map +1 -1
- package/lib/gen/processor/protos/processor.js +89 -0
- package/lib/gen/processor/protos/processor.js.map +1 -1
- package/package.json +3 -3
- package/src/gen/processor/protos/processor.ts +104 -0
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@sentio/runtime",
|
3
|
-
"version": "2.35.
|
3
|
+
"version": "2.35.1-rc.1",
|
4
4
|
"license": "Apache-2.0",
|
5
5
|
"type": "module",
|
6
6
|
"exports": {
|
@@ -30,10 +30,10 @@
|
|
30
30
|
"protobufjs": "^7.2.6",
|
31
31
|
"utility-types": "^3.11.0",
|
32
32
|
"winston": "^3.11.0",
|
33
|
-
"@sentio/protos": "2.35.
|
33
|
+
"@sentio/protos": "2.35.1-rc.1"
|
34
34
|
},
|
35
35
|
"peerDependencies": {
|
36
|
-
"@sentio/sdk": "^2.35.
|
36
|
+
"@sentio/sdk": "^2.35.1-rc.1"
|
37
37
|
},
|
38
38
|
"devDependencies": {
|
39
39
|
"@types/command-line-args": "^5.2.3",
|
@@ -201,6 +201,7 @@ export enum HandlerType {
|
|
201
201
|
SUI_CALL = 9,
|
202
202
|
SUI_OBJECT = 10,
|
203
203
|
SUI_OBJECT_CHANGE = 12,
|
204
|
+
FUEL_CALL = 13,
|
204
205
|
UNRECOGNIZED = -1,
|
205
206
|
}
|
206
207
|
|
@@ -245,6 +246,9 @@ export function handlerTypeFromJSON(object: any): HandlerType {
|
|
245
246
|
case 12:
|
246
247
|
case "SUI_OBJECT_CHANGE":
|
247
248
|
return HandlerType.SUI_OBJECT_CHANGE;
|
249
|
+
case 13:
|
250
|
+
case "FUEL_CALL":
|
251
|
+
return HandlerType.FUEL_CALL;
|
248
252
|
case -1:
|
249
253
|
case "UNRECOGNIZED":
|
250
254
|
default:
|
@@ -280,6 +284,8 @@ export function handlerTypeToJSON(object: HandlerType): string {
|
|
280
284
|
return "SUI_OBJECT";
|
281
285
|
case HandlerType.SUI_OBJECT_CHANGE:
|
282
286
|
return "SUI_OBJECT_CHANGE";
|
287
|
+
case HandlerType.FUEL_CALL:
|
288
|
+
return "FUEL_CALL";
|
283
289
|
case HandlerType.UNRECOGNIZED:
|
284
290
|
default:
|
285
291
|
return "UNRECOGNIZED";
|
@@ -712,6 +718,7 @@ export interface Data {
|
|
712
718
|
suiCall?: Data_SuiCall | undefined;
|
713
719
|
suiObject?: Data_SuiObject | undefined;
|
714
720
|
suiObjectChange?: Data_SuiObjectChange | undefined;
|
721
|
+
fuelCall?: Data_FuelCall | undefined;
|
715
722
|
}
|
716
723
|
|
717
724
|
export interface Data_EthLog {
|
@@ -790,6 +797,11 @@ export interface Data_SuiObjectChange {
|
|
790
797
|
slot: bigint;
|
791
798
|
}
|
792
799
|
|
800
|
+
export interface Data_FuelCall {
|
801
|
+
transaction: { [key: string]: any } | undefined;
|
802
|
+
timestamp: Date | undefined;
|
803
|
+
}
|
804
|
+
|
793
805
|
export interface DataBinding {
|
794
806
|
data: Data | undefined;
|
795
807
|
handlerType: HandlerType;
|
@@ -5070,6 +5082,7 @@ function createBaseData(): Data {
|
|
5070
5082
|
suiCall: undefined,
|
5071
5083
|
suiObject: undefined,
|
5072
5084
|
suiObjectChange: undefined,
|
5085
|
+
fuelCall: undefined,
|
5073
5086
|
};
|
5074
5087
|
}
|
5075
5088
|
|
@@ -5114,6 +5127,9 @@ export const Data = {
|
|
5114
5127
|
if (message.suiObjectChange !== undefined) {
|
5115
5128
|
Data_SuiObjectChange.encode(message.suiObjectChange, writer.uint32(106).fork()).ldelim();
|
5116
5129
|
}
|
5130
|
+
if (message.fuelCall !== undefined) {
|
5131
|
+
Data_FuelCall.encode(message.fuelCall, writer.uint32(114).fork()).ldelim();
|
5132
|
+
}
|
5117
5133
|
return writer;
|
5118
5134
|
},
|
5119
5135
|
|
@@ -5215,6 +5231,13 @@ export const Data = {
|
|
5215
5231
|
|
5216
5232
|
message.suiObjectChange = Data_SuiObjectChange.decode(reader, reader.uint32());
|
5217
5233
|
continue;
|
5234
|
+
case 14:
|
5235
|
+
if (tag !== 114) {
|
5236
|
+
break;
|
5237
|
+
}
|
5238
|
+
|
5239
|
+
message.fuelCall = Data_FuelCall.decode(reader, reader.uint32());
|
5240
|
+
continue;
|
5218
5241
|
}
|
5219
5242
|
if ((tag & 7) === 4 || tag === 0) {
|
5220
5243
|
break;
|
@@ -5241,6 +5264,7 @@ export const Data = {
|
|
5241
5264
|
suiObjectChange: isSet(object.suiObjectChange)
|
5242
5265
|
? Data_SuiObjectChange.fromJSON(object.suiObjectChange)
|
5243
5266
|
: undefined,
|
5267
|
+
fuelCall: isSet(object.fuelCall) ? Data_FuelCall.fromJSON(object.fuelCall) : undefined,
|
5244
5268
|
};
|
5245
5269
|
},
|
5246
5270
|
|
@@ -5285,6 +5309,9 @@ export const Data = {
|
|
5285
5309
|
if (message.suiObjectChange !== undefined) {
|
5286
5310
|
obj.suiObjectChange = Data_SuiObjectChange.toJSON(message.suiObjectChange);
|
5287
5311
|
}
|
5312
|
+
if (message.fuelCall !== undefined) {
|
5313
|
+
obj.fuelCall = Data_FuelCall.toJSON(message.fuelCall);
|
5314
|
+
}
|
5288
5315
|
return obj;
|
5289
5316
|
},
|
5290
5317
|
|
@@ -5330,6 +5357,9 @@ export const Data = {
|
|
5330
5357
|
message.suiObjectChange = (object.suiObjectChange !== undefined && object.suiObjectChange !== null)
|
5331
5358
|
? Data_SuiObjectChange.fromPartial(object.suiObjectChange)
|
5332
5359
|
: undefined;
|
5360
|
+
message.fuelCall = (object.fuelCall !== undefined && object.fuelCall !== null)
|
5361
|
+
? Data_FuelCall.fromPartial(object.fuelCall)
|
5362
|
+
: undefined;
|
5333
5363
|
return message;
|
5334
5364
|
},
|
5335
5365
|
};
|
@@ -6495,6 +6525,80 @@ export const Data_SuiObjectChange = {
|
|
6495
6525
|
},
|
6496
6526
|
};
|
6497
6527
|
|
6528
|
+
function createBaseData_FuelCall(): Data_FuelCall {
|
6529
|
+
return { transaction: undefined, timestamp: undefined };
|
6530
|
+
}
|
6531
|
+
|
6532
|
+
export const Data_FuelCall = {
|
6533
|
+
encode(message: Data_FuelCall, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
6534
|
+
if (message.transaction !== undefined) {
|
6535
|
+
Struct.encode(Struct.wrap(message.transaction), writer.uint32(10).fork()).ldelim();
|
6536
|
+
}
|
6537
|
+
if (message.timestamp !== undefined) {
|
6538
|
+
Timestamp.encode(toTimestamp(message.timestamp), writer.uint32(18).fork()).ldelim();
|
6539
|
+
}
|
6540
|
+
return writer;
|
6541
|
+
},
|
6542
|
+
|
6543
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): Data_FuelCall {
|
6544
|
+
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
6545
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
6546
|
+
const message = createBaseData_FuelCall();
|
6547
|
+
while (reader.pos < end) {
|
6548
|
+
const tag = reader.uint32();
|
6549
|
+
switch (tag >>> 3) {
|
6550
|
+
case 1:
|
6551
|
+
if (tag !== 10) {
|
6552
|
+
break;
|
6553
|
+
}
|
6554
|
+
|
6555
|
+
message.transaction = Struct.unwrap(Struct.decode(reader, reader.uint32()));
|
6556
|
+
continue;
|
6557
|
+
case 2:
|
6558
|
+
if (tag !== 18) {
|
6559
|
+
break;
|
6560
|
+
}
|
6561
|
+
|
6562
|
+
message.timestamp = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
|
6563
|
+
continue;
|
6564
|
+
}
|
6565
|
+
if ((tag & 7) === 4 || tag === 0) {
|
6566
|
+
break;
|
6567
|
+
}
|
6568
|
+
reader.skipType(tag & 7);
|
6569
|
+
}
|
6570
|
+
return message;
|
6571
|
+
},
|
6572
|
+
|
6573
|
+
fromJSON(object: any): Data_FuelCall {
|
6574
|
+
return {
|
6575
|
+
transaction: isObject(object.transaction) ? object.transaction : undefined,
|
6576
|
+
timestamp: isSet(object.timestamp) ? fromJsonTimestamp(object.timestamp) : undefined,
|
6577
|
+
};
|
6578
|
+
},
|
6579
|
+
|
6580
|
+
toJSON(message: Data_FuelCall): unknown {
|
6581
|
+
const obj: any = {};
|
6582
|
+
if (message.transaction !== undefined) {
|
6583
|
+
obj.transaction = message.transaction;
|
6584
|
+
}
|
6585
|
+
if (message.timestamp !== undefined) {
|
6586
|
+
obj.timestamp = message.timestamp.toISOString();
|
6587
|
+
}
|
6588
|
+
return obj;
|
6589
|
+
},
|
6590
|
+
|
6591
|
+
create(base?: DeepPartial<Data_FuelCall>): Data_FuelCall {
|
6592
|
+
return Data_FuelCall.fromPartial(base ?? {});
|
6593
|
+
},
|
6594
|
+
fromPartial(object: DeepPartial<Data_FuelCall>): Data_FuelCall {
|
6595
|
+
const message = createBaseData_FuelCall();
|
6596
|
+
message.transaction = object.transaction ?? undefined;
|
6597
|
+
message.timestamp = object.timestamp ?? undefined;
|
6598
|
+
return message;
|
6599
|
+
},
|
6600
|
+
};
|
6601
|
+
|
6498
6602
|
function createBaseDataBinding(): DataBinding {
|
6499
6603
|
return { data: undefined, handlerType: 0, handlerIds: [] };
|
6500
6604
|
}
|