@sentio/protos 2.43.2-rc.2 → 2.43.2-rc.3
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
|
@@ -579,6 +579,7 @@ export interface AccountConfig {
|
|
|
579
579
|
intervalConfigs: OnIntervalConfig[];
|
|
580
580
|
moveIntervalConfigs: MoveOnIntervalConfig[];
|
|
581
581
|
moveCallConfigs: MoveCallHandlerConfig[];
|
|
582
|
+
moveResourceChangeConfigs: MoveResourceChangeConfig[];
|
|
582
583
|
logConfigs: LogHandlerConfig[];
|
|
583
584
|
}
|
|
584
585
|
|
|
@@ -3007,6 +3008,7 @@ function createBaseAccountConfig(): AccountConfig {
|
|
|
3007
3008
|
intervalConfigs: [],
|
|
3008
3009
|
moveIntervalConfigs: [],
|
|
3009
3010
|
moveCallConfigs: [],
|
|
3011
|
+
moveResourceChangeConfigs: [],
|
|
3010
3012
|
logConfigs: [],
|
|
3011
3013
|
};
|
|
3012
3014
|
}
|
|
@@ -3034,6 +3036,9 @@ export const AccountConfig = {
|
|
|
3034
3036
|
for (const v of message.moveCallConfigs) {
|
|
3035
3037
|
MoveCallHandlerConfig.encode(v!, writer.uint32(66).fork()).ldelim();
|
|
3036
3038
|
}
|
|
3039
|
+
for (const v of message.moveResourceChangeConfigs) {
|
|
3040
|
+
MoveResourceChangeConfig.encode(v!, writer.uint32(74).fork()).ldelim();
|
|
3041
|
+
}
|
|
3037
3042
|
for (const v of message.logConfigs) {
|
|
3038
3043
|
LogHandlerConfig.encode(v!, writer.uint32(50).fork()).ldelim();
|
|
3039
3044
|
}
|
|
@@ -3089,6 +3094,13 @@ export const AccountConfig = {
|
|
|
3089
3094
|
|
|
3090
3095
|
message.moveCallConfigs.push(MoveCallHandlerConfig.decode(reader, reader.uint32()));
|
|
3091
3096
|
continue;
|
|
3097
|
+
case 9:
|
|
3098
|
+
if (tag !== 74) {
|
|
3099
|
+
break;
|
|
3100
|
+
}
|
|
3101
|
+
|
|
3102
|
+
message.moveResourceChangeConfigs.push(MoveResourceChangeConfig.decode(reader, reader.uint32()));
|
|
3103
|
+
continue;
|
|
3092
3104
|
case 6:
|
|
3093
3105
|
if (tag !== 50) {
|
|
3094
3106
|
break;
|
|
@@ -3119,6 +3131,9 @@ export const AccountConfig = {
|
|
|
3119
3131
|
moveCallConfigs: globalThis.Array.isArray(object?.moveCallConfigs)
|
|
3120
3132
|
? object.moveCallConfigs.map((e: any) => MoveCallHandlerConfig.fromJSON(e))
|
|
3121
3133
|
: [],
|
|
3134
|
+
moveResourceChangeConfigs: globalThis.Array.isArray(object?.moveResourceChangeConfigs)
|
|
3135
|
+
? object.moveResourceChangeConfigs.map((e: any) => MoveResourceChangeConfig.fromJSON(e))
|
|
3136
|
+
: [],
|
|
3122
3137
|
logConfigs: globalThis.Array.isArray(object?.logConfigs)
|
|
3123
3138
|
? object.logConfigs.map((e: any) => LogHandlerConfig.fromJSON(e))
|
|
3124
3139
|
: [],
|
|
@@ -3145,6 +3160,9 @@ export const AccountConfig = {
|
|
|
3145
3160
|
if (message.moveCallConfigs?.length) {
|
|
3146
3161
|
obj.moveCallConfigs = message.moveCallConfigs.map((e) => MoveCallHandlerConfig.toJSON(e));
|
|
3147
3162
|
}
|
|
3163
|
+
if (message.moveResourceChangeConfigs?.length) {
|
|
3164
|
+
obj.moveResourceChangeConfigs = message.moveResourceChangeConfigs.map((e) => MoveResourceChangeConfig.toJSON(e));
|
|
3165
|
+
}
|
|
3148
3166
|
if (message.logConfigs?.length) {
|
|
3149
3167
|
obj.logConfigs = message.logConfigs.map((e) => LogHandlerConfig.toJSON(e));
|
|
3150
3168
|
}
|
|
@@ -3162,6 +3180,8 @@ export const AccountConfig = {
|
|
|
3162
3180
|
message.intervalConfigs = object.intervalConfigs?.map((e) => OnIntervalConfig.fromPartial(e)) || [];
|
|
3163
3181
|
message.moveIntervalConfigs = object.moveIntervalConfigs?.map((e) => MoveOnIntervalConfig.fromPartial(e)) || [];
|
|
3164
3182
|
message.moveCallConfigs = object.moveCallConfigs?.map((e) => MoveCallHandlerConfig.fromPartial(e)) || [];
|
|
3183
|
+
message.moveResourceChangeConfigs =
|
|
3184
|
+
object.moveResourceChangeConfigs?.map((e) => MoveResourceChangeConfig.fromPartial(e)) || [];
|
|
3165
3185
|
message.logConfigs = object.logConfigs?.map((e) => LogHandlerConfig.fromPartial(e)) || [];
|
|
3166
3186
|
return message;
|
|
3167
3187
|
},
|