@keepkey/device-protocol 7.13.1 → 7.13.2-alpha.0
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.
@@ -195,6 +195,11 @@ export class MayachainMsgSend extends jspb.Message {
|
|
195
195
|
getAddressType(): types_pb.OutputAddressTypeMap[keyof types_pb.OutputAddressTypeMap] | undefined;
|
196
196
|
setAddressType(value: types_pb.OutputAddressTypeMap[keyof types_pb.OutputAddressTypeMap]): void;
|
197
197
|
|
198
|
+
hasDenom(): boolean;
|
199
|
+
clearDenom(): void;
|
200
|
+
getDenom(): string | undefined;
|
201
|
+
setDenom(value: string): void;
|
202
|
+
|
198
203
|
serializeBinary(): Uint8Array;
|
199
204
|
toObject(includeInstance?: boolean): MayachainMsgSend.AsObject;
|
200
205
|
static toObject(includeInstance: boolean, msg: MayachainMsgSend): MayachainMsgSend.AsObject;
|
@@ -211,6 +216,7 @@ export namespace MayachainMsgSend {
|
|
211
216
|
toAddress?: string,
|
212
217
|
amount?: string,
|
213
218
|
addressType?: types_pb.OutputAddressTypeMap[keyof types_pb.OutputAddressTypeMap],
|
219
|
+
denom?: string,
|
214
220
|
}
|
215
221
|
}
|
216
222
|
|
@@ -1475,7 +1475,8 @@ proto.MayachainMsgSend.toObject = function(includeInstance, msg) {
|
|
1475
1475
|
fromAddress: (f = jspb.Message.getField(msg, 6)) == null ? undefined : f,
|
1476
1476
|
toAddress: (f = jspb.Message.getField(msg, 7)) == null ? undefined : f,
|
1477
1477
|
amount: (f = jspb.Message.getField(msg, 8)) == null ? undefined : f,
|
1478
|
-
addressType: (f = jspb.Message.getField(msg, 9)) == null ? undefined : f
|
1478
|
+
addressType: (f = jspb.Message.getField(msg, 9)) == null ? undefined : f,
|
1479
|
+
denom: (f = jspb.Message.getField(msg, 11)) == null ? undefined : f
|
1479
1480
|
};
|
1480
1481
|
|
1481
1482
|
if (includeInstance) {
|
@@ -1528,6 +1529,10 @@ proto.MayachainMsgSend.deserializeBinaryFromReader = function(msg, reader) {
|
|
1528
1529
|
var value = /** @type {!proto.OutputAddressType} */ (reader.readEnum());
|
1529
1530
|
msg.setAddressType(value);
|
1530
1531
|
break;
|
1532
|
+
case 11:
|
1533
|
+
var value = /** @type {string} */ (reader.readString());
|
1534
|
+
msg.setDenom(value);
|
1535
|
+
break;
|
1531
1536
|
default:
|
1532
1537
|
reader.skipField();
|
1533
1538
|
break;
|
@@ -1585,6 +1590,13 @@ proto.MayachainMsgSend.serializeBinaryToWriter = function(message, writer) {
|
|
1585
1590
|
f
|
1586
1591
|
);
|
1587
1592
|
}
|
1593
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 11));
|
1594
|
+
if (f != null) {
|
1595
|
+
writer.writeString(
|
1596
|
+
11,
|
1597
|
+
f
|
1598
|
+
);
|
1599
|
+
}
|
1588
1600
|
};
|
1589
1601
|
|
1590
1602
|
|
@@ -1732,6 +1744,42 @@ proto.MayachainMsgSend.prototype.hasAddressType = function() {
|
|
1732
1744
|
};
|
1733
1745
|
|
1734
1746
|
|
1747
|
+
/**
|
1748
|
+
* optional string denom = 11;
|
1749
|
+
* @return {string}
|
1750
|
+
*/
|
1751
|
+
proto.MayachainMsgSend.prototype.getDenom = function() {
|
1752
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
|
1753
|
+
};
|
1754
|
+
|
1755
|
+
|
1756
|
+
/**
|
1757
|
+
* @param {string} value
|
1758
|
+
* @return {!proto.MayachainMsgSend} returns this
|
1759
|
+
*/
|
1760
|
+
proto.MayachainMsgSend.prototype.setDenom = function(value) {
|
1761
|
+
return jspb.Message.setField(this, 11, value);
|
1762
|
+
};
|
1763
|
+
|
1764
|
+
|
1765
|
+
/**
|
1766
|
+
* Clears the field making it undefined.
|
1767
|
+
* @return {!proto.MayachainMsgSend} returns this
|
1768
|
+
*/
|
1769
|
+
proto.MayachainMsgSend.prototype.clearDenom = function() {
|
1770
|
+
return jspb.Message.setField(this, 11, undefined);
|
1771
|
+
};
|
1772
|
+
|
1773
|
+
|
1774
|
+
/**
|
1775
|
+
* Returns whether this field is set.
|
1776
|
+
* @return {boolean}
|
1777
|
+
*/
|
1778
|
+
proto.MayachainMsgSend.prototype.hasDenom = function() {
|
1779
|
+
return jspb.Message.getField(this, 11) != null;
|
1780
|
+
};
|
1781
|
+
|
1782
|
+
|
1735
1783
|
|
1736
1784
|
|
1737
1785
|
|
package/lib/proto.json
CHANGED