@terra-money/terra.proto
Advanced tools
Comparing version 4.0.10 to 5.0.0
@@ -15,2 +15,3 @@ import Long from "long"; | ||
index: string; | ||
alliance: string; | ||
} | ||
@@ -17,0 +18,0 @@ export declare const Params: { |
@@ -107,3 +107,3 @@ "use strict"; | ||
}; | ||
const baseRewardHistory = { denom: "", index: "" }; | ||
const baseRewardHistory = { denom: "", index: "", alliance: "" }; | ||
exports.RewardHistory = { | ||
@@ -117,2 +117,5 @@ encode(message, writer = minimal_1.default.Writer.create()) { | ||
} | ||
if (message.alliance !== "") { | ||
writer.uint32(26).string(message.alliance); | ||
} | ||
return writer; | ||
@@ -133,2 +136,5 @@ }, | ||
break; | ||
case 3: | ||
message.alliance = reader.string(); | ||
break; | ||
default: | ||
@@ -155,2 +161,8 @@ reader.skipType(tag & 7); | ||
} | ||
if (object.alliance !== undefined && object.alliance !== null) { | ||
message.alliance = String(object.alliance); | ||
} | ||
else { | ||
message.alliance = ""; | ||
} | ||
return message; | ||
@@ -162,2 +174,3 @@ }, | ||
message.index !== undefined && (obj.index = message.index); | ||
message.alliance !== undefined && (obj.alliance = message.alliance); | ||
return obj; | ||
@@ -179,2 +192,8 @@ }, | ||
} | ||
if (object.alliance !== undefined && object.alliance !== null) { | ||
message.alliance = object.alliance; | ||
} | ||
else { | ||
message.alliance = ""; | ||
} | ||
return message; | ||
@@ -181,0 +200,0 @@ }, |
{ | ||
"name": "@terra-money/terra.proto", | ||
"version": "4.0.10", | ||
"version": "5.0.0", | ||
"description": "JS and TS types relating to Protocol Buffers used by Terra project", | ||
@@ -5,0 +5,0 @@ "contributors": [ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
11213333
166931