@sentio/protos 2.0.0-rc.5 → 2.0.0-rc.6
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.
|
@@ -3038,13 +3038,10 @@ export const Data_SolInstruction = {
|
|
|
3038
3038
|
},
|
|
3039
3039
|
};
|
|
3040
3040
|
function createBaseData_AptEvent() {
|
|
3041
|
-
return {
|
|
3041
|
+
return { transaction: undefined };
|
|
3042
3042
|
}
|
|
3043
3043
|
export const Data_AptEvent = {
|
|
3044
3044
|
encode(message, writer = _m0.Writer.create()) {
|
|
3045
|
-
if (message.event !== undefined) {
|
|
3046
|
-
Struct.encode(Struct.wrap(message.event), writer.uint32(10).fork()).ldelim();
|
|
3047
|
-
}
|
|
3048
3045
|
if (message.transaction !== undefined) {
|
|
3049
3046
|
Struct.encode(Struct.wrap(message.transaction), writer.uint32(18).fork()).ldelim();
|
|
3050
3047
|
}
|
|
@@ -3057,9 +3054,6 @@ export const Data_AptEvent = {
|
|
|
3057
3054
|
while (reader.pos < end) {
|
|
3058
3055
|
const tag = reader.uint32();
|
|
3059
3056
|
switch (tag >>> 3) {
|
|
3060
|
-
case 1:
|
|
3061
|
-
message.event = Struct.unwrap(Struct.decode(reader, reader.uint32()));
|
|
3062
|
-
break;
|
|
3063
3057
|
case 2:
|
|
3064
3058
|
message.transaction = Struct.unwrap(Struct.decode(reader, reader.uint32()));
|
|
3065
3059
|
break;
|
|
@@ -3071,20 +3065,15 @@ export const Data_AptEvent = {
|
|
|
3071
3065
|
return message;
|
|
3072
3066
|
},
|
|
3073
3067
|
fromJSON(object) {
|
|
3074
|
-
return {
|
|
3075
|
-
event: isObject(object.event) ? object.event : undefined,
|
|
3076
|
-
transaction: isObject(object.transaction) ? object.transaction : undefined,
|
|
3077
|
-
};
|
|
3068
|
+
return { transaction: isObject(object.transaction) ? object.transaction : undefined };
|
|
3078
3069
|
},
|
|
3079
3070
|
toJSON(message) {
|
|
3080
3071
|
const obj = {};
|
|
3081
|
-
message.event !== undefined && (obj.event = message.event);
|
|
3082
3072
|
message.transaction !== undefined && (obj.transaction = message.transaction);
|
|
3083
3073
|
return obj;
|
|
3084
3074
|
},
|
|
3085
3075
|
fromPartial(object) {
|
|
3086
3076
|
const message = createBaseData_AptEvent();
|
|
3087
|
-
message.event = object.event ?? undefined;
|
|
3088
3077
|
message.transaction = object.transaction ?? undefined;
|
|
3089
3078
|
return message;
|
|
3090
3079
|
},
|