Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@keepkey/device-protocol

Package Overview
Dependencies
Maintainers
7
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@keepkey/device-protocol - npm Package Compare versions

Comparing version 6.4.1 to 7.0.0

lib/messages-thorchain_pb.d.ts

375

lib/exchange_pb.js

@@ -0,1 +1,2 @@

// source: exchange.proto
/**

@@ -9,2 +10,4 @@ * @fileoverview

// GENERATED CODE -- DO NOT EDIT!
/* eslint-disable */
// @ts-nocheck

@@ -19,3 +22,2 @@ var jspb = require('google-protobuf');

goog.exportSymbol('proto.SignedExchangeResponse', null, global);
/**

@@ -36,15 +38,64 @@ * Generated by JsPbCodeGenerator.

if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ExchangeAddress.displayName = 'proto.ExchangeAddress';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ExchangeResponseV2 = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.ExchangeResponseV2, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.ExchangeResponseV2.displayName = 'proto.ExchangeResponseV2';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.SignedExchangeResponse = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.SignedExchangeResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.SignedExchangeResponse.displayName = 'proto.SignedExchangeResponse';
}
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto suitable for use in Soy templates.
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
* for transitional soy proto support: http://goto/soy-param-migration
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}

@@ -59,4 +110,4 @@ */

* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Whether to include the JSPB
* instance for transitional soy proto support:
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration

@@ -69,5 +120,5 @@ * @param {!proto.ExchangeAddress} msg The msg instance to transform.

var f, obj = {
coinType: jspb.Message.getField(msg, 1),
address: jspb.Message.getField(msg, 2),
destTag: jspb.Message.getField(msg, 3)
coinType: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f,
address: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f,
destTag: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f
};

@@ -183,10 +234,17 @@

/** @param {string} value */
/**
* @param {string} value
* @return {!proto.ExchangeAddress} returns this
*/
proto.ExchangeAddress.prototype.setCoinType = function(value) {
jspb.Message.setField(this, 1, value);
return jspb.Message.setField(this, 1, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ExchangeAddress} returns this
*/
proto.ExchangeAddress.prototype.clearCoinType = function() {
jspb.Message.setField(this, 1, undefined);
return jspb.Message.setField(this, 1, undefined);
};

@@ -197,3 +255,3 @@

* Returns whether this field is set.
* @return {!boolean}
* @return {boolean}
*/

@@ -214,10 +272,17 @@ proto.ExchangeAddress.prototype.hasCoinType = function() {

/** @param {string} value */
/**
* @param {string} value
* @return {!proto.ExchangeAddress} returns this
*/
proto.ExchangeAddress.prototype.setAddress = function(value) {
jspb.Message.setField(this, 2, value);
return jspb.Message.setField(this, 2, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ExchangeAddress} returns this
*/
proto.ExchangeAddress.prototype.clearAddress = function() {
jspb.Message.setField(this, 2, undefined);
return jspb.Message.setField(this, 2, undefined);
};

@@ -228,3 +293,3 @@

* Returns whether this field is set.
* @return {!boolean}
* @return {boolean}
*/

@@ -245,10 +310,17 @@ proto.ExchangeAddress.prototype.hasAddress = function() {

/** @param {string} value */
/**
* @param {string} value
* @return {!proto.ExchangeAddress} returns this
*/
proto.ExchangeAddress.prototype.setDestTag = function(value) {
jspb.Message.setField(this, 3, value);
return jspb.Message.setField(this, 3, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ExchangeAddress} returns this
*/
proto.ExchangeAddress.prototype.clearDestTag = function() {
jspb.Message.setField(this, 3, undefined);
return jspb.Message.setField(this, 3, undefined);
};

@@ -259,3 +331,3 @@

* Returns whether this field is set.
* @return {!boolean}
* @return {boolean}
*/

@@ -268,19 +340,2 @@ proto.ExchangeAddress.prototype.hasDestTag = function() {

/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.ExchangeResponseV2 = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.ExchangeResponseV2, jspb.Message);
if (goog.DEBUG && !COMPILED) {
proto.ExchangeResponseV2.displayName = 'proto.ExchangeResponseV2';
}

@@ -290,9 +345,11 @@

/**
* Creates an object representation of this proto suitable for use in Soy templates.
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
* for transitional soy proto support: http://goto/soy-param-migration
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}

@@ -307,4 +364,4 @@ */

* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Whether to include the JSPB
* instance for transitional soy proto support:
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration

@@ -319,3 +376,3 @@ * @param {!proto.ExchangeResponseV2} msg The msg instance to transform.

depositAmount: msg.getDepositAmount_asB64(),
expiration: jspb.Message.getField(msg, 3),
expiration: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f,
quotedRate: msg.getQuotedRate_asB64(),

@@ -534,10 +591,17 @@ withdrawalAddress: (f = msg.getWithdrawalAddress()) && proto.ExchangeAddress.toObject(includeInstance, f),

/** @param {?proto.ExchangeAddress|undefined} value */
/**
* @param {?proto.ExchangeAddress|undefined} value
* @return {!proto.ExchangeResponseV2} returns this
*/
proto.ExchangeResponseV2.prototype.setDepositAddress = function(value) {
jspb.Message.setWrapperField(this, 1, value);
return jspb.Message.setWrapperField(this, 1, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ExchangeResponseV2} returns this
*/
proto.ExchangeResponseV2.prototype.clearDepositAddress = function() {
this.setDepositAddress(undefined);
return this.setDepositAddress(undefined);
};

@@ -548,3 +612,3 @@

* Returns whether this field is set.
* @return {!boolean}
* @return {boolean}
*/

@@ -589,10 +653,17 @@ proto.ExchangeResponseV2.prototype.hasDepositAddress = function() {

/** @param {!(string|Uint8Array)} value */
/**
* @param {!(string|Uint8Array)} value
* @return {!proto.ExchangeResponseV2} returns this
*/
proto.ExchangeResponseV2.prototype.setDepositAmount = function(value) {
jspb.Message.setField(this, 2, value);
return jspb.Message.setField(this, 2, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ExchangeResponseV2} returns this
*/
proto.ExchangeResponseV2.prototype.clearDepositAmount = function() {
jspb.Message.setField(this, 2, undefined);
return jspb.Message.setField(this, 2, undefined);
};

@@ -603,3 +674,3 @@

* Returns whether this field is set.
* @return {!boolean}
* @return {boolean}
*/

@@ -620,10 +691,17 @@ proto.ExchangeResponseV2.prototype.hasDepositAmount = function() {

/** @param {number} value */
/**
* @param {number} value
* @return {!proto.ExchangeResponseV2} returns this
*/
proto.ExchangeResponseV2.prototype.setExpiration = function(value) {
jspb.Message.setField(this, 3, value);
return jspb.Message.setField(this, 3, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ExchangeResponseV2} returns this
*/
proto.ExchangeResponseV2.prototype.clearExpiration = function() {
jspb.Message.setField(this, 3, undefined);
return jspb.Message.setField(this, 3, undefined);
};

@@ -634,3 +712,3 @@

* Returns whether this field is set.
* @return {!boolean}
* @return {boolean}
*/

@@ -675,10 +753,17 @@ proto.ExchangeResponseV2.prototype.hasExpiration = function() {

/** @param {!(string|Uint8Array)} value */
/**
* @param {!(string|Uint8Array)} value
* @return {!proto.ExchangeResponseV2} returns this
*/
proto.ExchangeResponseV2.prototype.setQuotedRate = function(value) {
jspb.Message.setField(this, 4, value);
return jspb.Message.setField(this, 4, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ExchangeResponseV2} returns this
*/
proto.ExchangeResponseV2.prototype.clearQuotedRate = function() {
jspb.Message.setField(this, 4, undefined);
return jspb.Message.setField(this, 4, undefined);
};

@@ -689,3 +774,3 @@

* Returns whether this field is set.
* @return {!boolean}
* @return {boolean}
*/

@@ -707,10 +792,17 @@ proto.ExchangeResponseV2.prototype.hasQuotedRate = function() {

/** @param {?proto.ExchangeAddress|undefined} value */
/**
* @param {?proto.ExchangeAddress|undefined} value
* @return {!proto.ExchangeResponseV2} returns this
*/
proto.ExchangeResponseV2.prototype.setWithdrawalAddress = function(value) {
jspb.Message.setWrapperField(this, 5, value);
return jspb.Message.setWrapperField(this, 5, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ExchangeResponseV2} returns this
*/
proto.ExchangeResponseV2.prototype.clearWithdrawalAddress = function() {
this.setWithdrawalAddress(undefined);
return this.setWithdrawalAddress(undefined);
};

@@ -721,3 +813,3 @@

* Returns whether this field is set.
* @return {!boolean}
* @return {boolean}
*/

@@ -762,10 +854,17 @@ proto.ExchangeResponseV2.prototype.hasWithdrawalAddress = function() {

/** @param {!(string|Uint8Array)} value */
/**
* @param {!(string|Uint8Array)} value
* @return {!proto.ExchangeResponseV2} returns this
*/
proto.ExchangeResponseV2.prototype.setWithdrawalAmount = function(value) {
jspb.Message.setField(this, 6, value);
return jspb.Message.setField(this, 6, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ExchangeResponseV2} returns this
*/
proto.ExchangeResponseV2.prototype.clearWithdrawalAmount = function() {
jspb.Message.setField(this, 6, undefined);
return jspb.Message.setField(this, 6, undefined);
};

@@ -776,3 +875,3 @@

* Returns whether this field is set.
* @return {!boolean}
* @return {boolean}
*/

@@ -794,10 +893,17 @@ proto.ExchangeResponseV2.prototype.hasWithdrawalAmount = function() {

/** @param {?proto.ExchangeAddress|undefined} value */
/**
* @param {?proto.ExchangeAddress|undefined} value
* @return {!proto.ExchangeResponseV2} returns this
*/
proto.ExchangeResponseV2.prototype.setReturnAddress = function(value) {
jspb.Message.setWrapperField(this, 7, value);
return jspb.Message.setWrapperField(this, 7, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.ExchangeResponseV2} returns this
*/
proto.ExchangeResponseV2.prototype.clearReturnAddress = function() {
this.setReturnAddress(undefined);
return this.setReturnAddress(undefined);
};

@@ -808,3 +914,3 @@

* Returns whether this field is set.
* @return {!boolean}
* @return {boolean}
*/

@@ -849,10 +955,17 @@ proto.ExchangeResponseV2.prototype.hasReturnAddress = function() {

/** @param {!(string|Uint8Array)} value */
/**
* @param {!(string|Uint8Array)} value
* @return {!proto.ExchangeResponseV2} returns this
*/
proto.ExchangeResponseV2.prototype.setApiKey = function(value) {
jspb.Message.setField(this, 8, value);
return jspb.Message.setField(this, 8, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ExchangeResponseV2} returns this
*/
proto.ExchangeResponseV2.prototype.clearApiKey = function() {
jspb.Message.setField(this, 8, undefined);
return jspb.Message.setField(this, 8, undefined);
};

@@ -863,3 +976,3 @@

* Returns whether this field is set.
* @return {!boolean}
* @return {boolean}
*/

@@ -904,10 +1017,17 @@ proto.ExchangeResponseV2.prototype.hasApiKey = function() {

/** @param {!(string|Uint8Array)} value */
/**
* @param {!(string|Uint8Array)} value
* @return {!proto.ExchangeResponseV2} returns this
*/
proto.ExchangeResponseV2.prototype.setMinerFee = function(value) {
jspb.Message.setField(this, 9, value);
return jspb.Message.setField(this, 9, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ExchangeResponseV2} returns this
*/
proto.ExchangeResponseV2.prototype.clearMinerFee = function() {
jspb.Message.setField(this, 9, undefined);
return jspb.Message.setField(this, 9, undefined);
};

@@ -918,3 +1038,3 @@

* Returns whether this field is set.
* @return {!boolean}
* @return {boolean}
*/

@@ -959,10 +1079,17 @@ proto.ExchangeResponseV2.prototype.hasMinerFee = function() {

/** @param {!(string|Uint8Array)} value */
/**
* @param {!(string|Uint8Array)} value
* @return {!proto.ExchangeResponseV2} returns this
*/
proto.ExchangeResponseV2.prototype.setOrderId = function(value) {
jspb.Message.setField(this, 10, value);
return jspb.Message.setField(this, 10, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ExchangeResponseV2} returns this
*/
proto.ExchangeResponseV2.prototype.clearOrderId = function() {
jspb.Message.setField(this, 10, undefined);
return jspb.Message.setField(this, 10, undefined);
};

@@ -973,3 +1100,3 @@

* Returns whether this field is set.
* @return {!boolean}
* @return {boolean}
*/

@@ -990,10 +1117,17 @@ proto.ExchangeResponseV2.prototype.hasOrderId = function() {

/** @param {!proto.OrderType} value */
/**
* @param {!proto.OrderType} value
* @return {!proto.ExchangeResponseV2} returns this
*/
proto.ExchangeResponseV2.prototype.setType = function(value) {
jspb.Message.setField(this, 11, value);
return jspb.Message.setField(this, 11, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.ExchangeResponseV2} returns this
*/
proto.ExchangeResponseV2.prototype.clearType = function() {
jspb.Message.setField(this, 11, undefined);
return jspb.Message.setField(this, 11, undefined);
};

@@ -1004,3 +1138,3 @@

* Returns whether this field is set.
* @return {!boolean}
* @return {boolean}
*/

@@ -1013,19 +1147,2 @@ proto.ExchangeResponseV2.prototype.hasType = function() {

/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.SignedExchangeResponse = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.SignedExchangeResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
proto.SignedExchangeResponse.displayName = 'proto.SignedExchangeResponse';
}

@@ -1035,9 +1152,11 @@

/**
* Creates an object representation of this proto suitable for use in Soy templates.
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
* for transitional soy proto support: http://goto/soy-param-migration
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}

@@ -1052,4 +1171,4 @@ */

* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Whether to include the JSPB
* instance for transitional soy proto support:
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration

@@ -1189,10 +1308,17 @@ * @param {!proto.SignedExchangeResponse} msg The msg instance to transform.

/** @param {!(string|Uint8Array)} value */
/**
* @param {!(string|Uint8Array)} value
* @return {!proto.SignedExchangeResponse} returns this
*/
proto.SignedExchangeResponse.prototype.setSignature = function(value) {
jspb.Message.setField(this, 2, value);
return jspb.Message.setField(this, 2, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.SignedExchangeResponse} returns this
*/
proto.SignedExchangeResponse.prototype.clearSignature = function() {
jspb.Message.setField(this, 2, undefined);
return jspb.Message.setField(this, 2, undefined);
};

@@ -1203,3 +1329,3 @@

* Returns whether this field is set.
* @return {!boolean}
* @return {boolean}
*/

@@ -1221,10 +1347,17 @@ proto.SignedExchangeResponse.prototype.hasSignature = function() {

/** @param {?proto.ExchangeResponseV2|undefined} value */
/**
* @param {?proto.ExchangeResponseV2|undefined} value
* @return {!proto.SignedExchangeResponse} returns this
*/
proto.SignedExchangeResponse.prototype.setResponsev2 = function(value) {
jspb.Message.setWrapperField(this, 3, value);
return jspb.Message.setWrapperField(this, 3, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.SignedExchangeResponse} returns this
*/
proto.SignedExchangeResponse.prototype.clearResponsev2 = function() {
this.setResponsev2(undefined);
return this.setResponsev2(undefined);
};

@@ -1235,3 +1368,3 @@

* Returns whether this field is set.
* @return {!boolean}
* @return {boolean}
*/

@@ -1238,0 +1371,0 @@ proto.SignedExchangeResponse.prototype.hasResponsev2 = function() {

@@ -0,1 +1,2 @@

// source: messages-cosmos.proto
/**

@@ -9,2 +10,4 @@ * @fileoverview

// GENERATED CODE -- DO NOT EDIT!
/* eslint-disable */
// @ts-nocheck

@@ -16,2 +19,3 @@ var jspb = require('google-protobuf');

var types_pb = require('./types_pb.js');
goog.object.extend(proto, types_pb);
goog.exportSymbol('proto.CosmosAddress', null, global);

@@ -24,3 +28,2 @@ goog.exportSymbol('proto.CosmosGetAddress', null, global);

goog.exportSymbol('proto.CosmosSignedTx', null, global);
/**

@@ -41,5 +44,136 @@ * Generated by JsPbCodeGenerator.

if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.CosmosGetAddress.displayName = 'proto.CosmosGetAddress';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.CosmosAddress = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.CosmosAddress, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.CosmosAddress.displayName = 'proto.CosmosAddress';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.CosmosSignTx = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.CosmosSignTx.repeatedFields_, null);
};
goog.inherits(proto.CosmosSignTx, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.CosmosSignTx.displayName = 'proto.CosmosSignTx';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.CosmosMsgRequest = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.CosmosMsgRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.CosmosMsgRequest.displayName = 'proto.CosmosMsgRequest';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.CosmosMsgAck = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.CosmosMsgAck, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.CosmosMsgAck.displayName = 'proto.CosmosMsgAck';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.CosmosMsgSend = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.CosmosMsgSend, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.CosmosMsgSend.displayName = 'proto.CosmosMsgSend';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.CosmosSignedTx = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.CosmosSignedTx, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.CosmosSignedTx.displayName = 'proto.CosmosSignedTx';
}
/**
* List of repeated fields within this message type.

@@ -55,9 +189,11 @@ * @private {!Array<number>}

/**
* Creates an object representation of this proto suitable for use in Soy templates.
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
* for transitional soy proto support: http://goto/soy-param-migration
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}

@@ -72,4 +208,4 @@ */

* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Whether to include the JSPB
* instance for transitional soy proto support:
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration

@@ -82,4 +218,4 @@ * @param {!proto.CosmosGetAddress} msg The msg instance to transform.

var f, obj = {
addressNList: jspb.Message.getRepeatedField(msg, 1),
showDisplay: jspb.Message.getField(msg, 2)
addressNList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
showDisplay: (f = jspb.Message.getBooleanField(msg, 2)) == null ? undefined : f
};

@@ -122,4 +258,6 @@

case 1:
var value = /** @type {number} */ (reader.readUint32());
msg.addAddressN(value);
var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedUint32() : [reader.readUint32()]);
for (var i = 0; i < values.length; i++) {
msg.addAddressN(values[i]);
}
break;

@@ -178,12 +316,15 @@ case 2:

* repeated uint32 address_n = 1;
* @return {!Array.<number>}
* @return {!Array<number>}
*/
proto.CosmosGetAddress.prototype.getAddressNList = function() {
return /** @type {!Array.<number>} */ (jspb.Message.getRepeatedField(this, 1));
return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 1));
};
/** @param {!Array.<number>} value */
/**
* @param {!Array<number>} value
* @return {!proto.CosmosGetAddress} returns this
*/
proto.CosmosGetAddress.prototype.setAddressNList = function(value) {
jspb.Message.setField(this, 1, value || []);
return jspb.Message.setField(this, 1, value || []);
};

@@ -193,12 +334,17 @@

/**
* @param {!number} value
* @param {number} value
* @param {number=} opt_index
* @return {!proto.CosmosGetAddress} returns this
*/
proto.CosmosGetAddress.prototype.addAddressN = function(value, opt_index) {
jspb.Message.addToRepeatedField(this, 1, value, opt_index);
return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
};
/**
* Clears the list making it empty but non-null.
* @return {!proto.CosmosGetAddress} returns this
*/
proto.CosmosGetAddress.prototype.clearAddressNList = function() {
this.setAddressNList([]);
return this.setAddressNList([]);
};

@@ -209,19 +355,24 @@

* optional bool show_display = 2;
* Note that Boolean fields may be set to 0/1 when serialized from a Java server.
* You should avoid comparisons like {@code val === true/false} in those cases.
* @return {boolean}
*/
proto.CosmosGetAddress.prototype.getShowDisplay = function() {
return /** @type {boolean} */ (jspb.Message.getFieldWithDefault(this, 2, false));
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false));
};
/** @param {boolean} value */
/**
* @param {boolean} value
* @return {!proto.CosmosGetAddress} returns this
*/
proto.CosmosGetAddress.prototype.setShowDisplay = function(value) {
jspb.Message.setField(this, 2, value);
return jspb.Message.setField(this, 2, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.CosmosGetAddress} returns this
*/
proto.CosmosGetAddress.prototype.clearShowDisplay = function() {
jspb.Message.setField(this, 2, undefined);
return jspb.Message.setField(this, 2, undefined);
};

@@ -232,3 +383,3 @@

* Returns whether this field is set.
* @return {!boolean}
* @return {boolean}
*/

@@ -241,19 +392,2 @@ proto.CosmosGetAddress.prototype.hasShowDisplay = function() {

/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.CosmosAddress = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.CosmosAddress, jspb.Message);
if (goog.DEBUG && !COMPILED) {
proto.CosmosAddress.displayName = 'proto.CosmosAddress';
}

@@ -263,9 +397,11 @@

/**
* Creates an object representation of this proto suitable for use in Soy templates.
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
* for transitional soy proto support: http://goto/soy-param-migration
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}

@@ -280,4 +416,4 @@ */

* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Whether to include the JSPB
* instance for transitional soy proto support:
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration

@@ -290,3 +426,3 @@ * @param {!proto.CosmosAddress} msg The msg instance to transform.

var f, obj = {
address: jspb.Message.getField(msg, 1)
address: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f
};

@@ -380,10 +516,17 @@

/** @param {string} value */
/**
* @param {string} value
* @return {!proto.CosmosAddress} returns this
*/
proto.CosmosAddress.prototype.setAddress = function(value) {
jspb.Message.setField(this, 1, value);
return jspb.Message.setField(this, 1, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.CosmosAddress} returns this
*/
proto.CosmosAddress.prototype.clearAddress = function() {
jspb.Message.setField(this, 1, undefined);
return jspb.Message.setField(this, 1, undefined);
};

@@ -394,3 +537,3 @@

* Returns whether this field is set.
* @return {!boolean}
* @return {boolean}
*/

@@ -404,19 +547,2 @@ proto.CosmosAddress.prototype.hasAddress = function() {

/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.CosmosSignTx = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.CosmosSignTx.repeatedFields_, null);
};
goog.inherits(proto.CosmosSignTx, jspb.Message);
if (goog.DEBUG && !COMPILED) {
proto.CosmosSignTx.displayName = 'proto.CosmosSignTx';
}
/**
* List of repeated fields within this message type.

@@ -432,9 +558,11 @@ * @private {!Array<number>}

/**
* Creates an object representation of this proto suitable for use in Soy templates.
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
* for transitional soy proto support: http://goto/soy-param-migration
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}

@@ -449,4 +577,4 @@ */

* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Whether to include the JSPB
* instance for transitional soy proto support:
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration

@@ -459,10 +587,10 @@ * @param {!proto.CosmosSignTx} msg The msg instance to transform.

var f, obj = {
addressNList: jspb.Message.getRepeatedField(msg, 1),
accountNumber: jspb.Message.getField(msg, 2),
chainId: jspb.Message.getField(msg, 3),
feeAmount: jspb.Message.getField(msg, 4),
gas: jspb.Message.getField(msg, 5),
memo: jspb.Message.getField(msg, 6),
sequence: jspb.Message.getField(msg, 7),
msgCount: jspb.Message.getField(msg, 8)
addressNList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
accountNumber: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f,
chainId: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f,
feeAmount: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f,
gas: (f = jspb.Message.getField(msg, 5)) == null ? undefined : f,
memo: (f = jspb.Message.getField(msg, 6)) == null ? undefined : f,
sequence: (f = jspb.Message.getField(msg, 7)) == null ? undefined : f,
msgCount: (f = jspb.Message.getField(msg, 8)) == null ? undefined : f
};

@@ -505,4 +633,6 @@

case 1:
var value = /** @type {number} */ (reader.readUint32());
msg.addAddressN(value);
var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedUint32() : [reader.readUint32()]);
for (var i = 0; i < values.length; i++) {
msg.addAddressN(values[i]);
}
break;

@@ -627,12 +757,15 @@ case 2:

* repeated uint32 address_n = 1;
* @return {!Array.<number>}
* @return {!Array<number>}
*/
proto.CosmosSignTx.prototype.getAddressNList = function() {
return /** @type {!Array.<number>} */ (jspb.Message.getRepeatedField(this, 1));
return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 1));
};
/** @param {!Array.<number>} value */
/**
* @param {!Array<number>} value
* @return {!proto.CosmosSignTx} returns this
*/
proto.CosmosSignTx.prototype.setAddressNList = function(value) {
jspb.Message.setField(this, 1, value || []);
return jspb.Message.setField(this, 1, value || []);
};

@@ -642,12 +775,17 @@

/**
* @param {!number} value
* @param {number} value
* @param {number=} opt_index
* @return {!proto.CosmosSignTx} returns this
*/
proto.CosmosSignTx.prototype.addAddressN = function(value, opt_index) {
jspb.Message.addToRepeatedField(this, 1, value, opt_index);
return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
};
/**
* Clears the list making it empty but non-null.
* @return {!proto.CosmosSignTx} returns this
*/
proto.CosmosSignTx.prototype.clearAddressNList = function() {
this.setAddressNList([]);
return this.setAddressNList([]);
};

@@ -665,10 +803,17 @@

/** @param {string} value */
/**
* @param {string} value
* @return {!proto.CosmosSignTx} returns this
*/
proto.CosmosSignTx.prototype.setAccountNumber = function(value) {
jspb.Message.setField(this, 2, value);
return jspb.Message.setField(this, 2, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.CosmosSignTx} returns this
*/
proto.CosmosSignTx.prototype.clearAccountNumber = function() {
jspb.Message.setField(this, 2, undefined);
return jspb.Message.setField(this, 2, undefined);
};

@@ -679,3 +824,3 @@

* Returns whether this field is set.
* @return {!boolean}
* @return {boolean}
*/

@@ -696,10 +841,17 @@ proto.CosmosSignTx.prototype.hasAccountNumber = function() {

/** @param {string} value */
/**
* @param {string} value
* @return {!proto.CosmosSignTx} returns this
*/
proto.CosmosSignTx.prototype.setChainId = function(value) {
jspb.Message.setField(this, 3, value);
return jspb.Message.setField(this, 3, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.CosmosSignTx} returns this
*/
proto.CosmosSignTx.prototype.clearChainId = function() {
jspb.Message.setField(this, 3, undefined);
return jspb.Message.setField(this, 3, undefined);
};

@@ -710,3 +862,3 @@

* Returns whether this field is set.
* @return {!boolean}
* @return {boolean}
*/

@@ -727,10 +879,17 @@ proto.CosmosSignTx.prototype.hasChainId = function() {

/** @param {number} value */
/**
* @param {number} value
* @return {!proto.CosmosSignTx} returns this
*/
proto.CosmosSignTx.prototype.setFeeAmount = function(value) {
jspb.Message.setField(this, 4, value);
return jspb.Message.setField(this, 4, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.CosmosSignTx} returns this
*/
proto.CosmosSignTx.prototype.clearFeeAmount = function() {
jspb.Message.setField(this, 4, undefined);
return jspb.Message.setField(this, 4, undefined);
};

@@ -741,3 +900,3 @@

* Returns whether this field is set.
* @return {!boolean}
* @return {boolean}
*/

@@ -758,10 +917,17 @@ proto.CosmosSignTx.prototype.hasFeeAmount = function() {

/** @param {number} value */
/**
* @param {number} value
* @return {!proto.CosmosSignTx} returns this
*/
proto.CosmosSignTx.prototype.setGas = function(value) {
jspb.Message.setField(this, 5, value);
return jspb.Message.setField(this, 5, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.CosmosSignTx} returns this
*/
proto.CosmosSignTx.prototype.clearGas = function() {
jspb.Message.setField(this, 5, undefined);
return jspb.Message.setField(this, 5, undefined);
};

@@ -772,3 +938,3 @@

* Returns whether this field is set.
* @return {!boolean}
* @return {boolean}
*/

@@ -789,10 +955,17 @@ proto.CosmosSignTx.prototype.hasGas = function() {

/** @param {string} value */
/**
* @param {string} value
* @return {!proto.CosmosSignTx} returns this
*/
proto.CosmosSignTx.prototype.setMemo = function(value) {
jspb.Message.setField(this, 6, value);
return jspb.Message.setField(this, 6, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.CosmosSignTx} returns this
*/
proto.CosmosSignTx.prototype.clearMemo = function() {
jspb.Message.setField(this, 6, undefined);
return jspb.Message.setField(this, 6, undefined);
};

@@ -803,3 +976,3 @@

* Returns whether this field is set.
* @return {!boolean}
* @return {boolean}
*/

@@ -820,10 +993,17 @@ proto.CosmosSignTx.prototype.hasMemo = function() {

/** @param {string} value */
/**
* @param {string} value
* @return {!proto.CosmosSignTx} returns this
*/
proto.CosmosSignTx.prototype.setSequence = function(value) {
jspb.Message.setField(this, 7, value);
return jspb.Message.setField(this, 7, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.CosmosSignTx} returns this
*/
proto.CosmosSignTx.prototype.clearSequence = function() {
jspb.Message.setField(this, 7, undefined);
return jspb.Message.setField(this, 7, undefined);
};

@@ -834,3 +1014,3 @@

* Returns whether this field is set.
* @return {!boolean}
* @return {boolean}
*/

@@ -851,10 +1031,17 @@ proto.CosmosSignTx.prototype.hasSequence = function() {

/** @param {number} value */
/**
* @param {number} value
* @return {!proto.CosmosSignTx} returns this
*/
proto.CosmosSignTx.prototype.setMsgCount = function(value) {
jspb.Message.setField(this, 8, value);
return jspb.Message.setField(this, 8, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.CosmosSignTx} returns this
*/
proto.CosmosSignTx.prototype.clearMsgCount = function() {
jspb.Message.setField(this, 8, undefined);
return jspb.Message.setField(this, 8, undefined);
};

@@ -865,3 +1052,3 @@

* Returns whether this field is set.
* @return {!boolean}
* @return {boolean}
*/

@@ -874,19 +1061,2 @@ proto.CosmosSignTx.prototype.hasMsgCount = function() {

/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.CosmosMsgRequest = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.CosmosMsgRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
proto.CosmosMsgRequest.displayName = 'proto.CosmosMsgRequest';
}

@@ -896,9 +1066,11 @@

/**
* Creates an object representation of this proto suitable for use in Soy templates.
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
* for transitional soy proto support: http://goto/soy-param-migration
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}

@@ -913,4 +1085,4 @@ */

* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Whether to include the JSPB
* instance for transitional soy proto support:
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration

@@ -993,19 +1165,2 @@ * @param {!proto.CosmosMsgRequest} msg The msg instance to transform.

/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.CosmosMsgAck = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.CosmosMsgAck, jspb.Message);
if (goog.DEBUG && !COMPILED) {
proto.CosmosMsgAck.displayName = 'proto.CosmosMsgAck';
}

@@ -1015,9 +1170,11 @@

/**
* Creates an object representation of this proto suitable for use in Soy templates.
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
* for transitional soy proto support: http://goto/soy-param-migration
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}

@@ -1032,4 +1189,4 @@ */

* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Whether to include the JSPB
* instance for transitional soy proto support:
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration

@@ -1134,10 +1291,17 @@ * @param {!proto.CosmosMsgAck} msg The msg instance to transform.

/** @param {?proto.CosmosMsgSend|undefined} value */
/**
* @param {?proto.CosmosMsgSend|undefined} value
* @return {!proto.CosmosMsgAck} returns this
*/
proto.CosmosMsgAck.prototype.setSend = function(value) {
jspb.Message.setWrapperField(this, 1, value);
return jspb.Message.setWrapperField(this, 1, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.CosmosMsgAck} returns this
*/
proto.CosmosMsgAck.prototype.clearSend = function() {
this.setSend(undefined);
return this.setSend(undefined);
};

@@ -1148,3 +1312,3 @@

* Returns whether this field is set.
* @return {!boolean}
* @return {boolean}
*/

@@ -1157,19 +1321,2 @@ proto.CosmosMsgAck.prototype.hasSend = function() {

/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.CosmosMsgSend = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.CosmosMsgSend, jspb.Message);
if (goog.DEBUG && !COMPILED) {
proto.CosmosMsgSend.displayName = 'proto.CosmosMsgSend';
}

@@ -1179,9 +1326,11 @@

/**
* Creates an object representation of this proto suitable for use in Soy templates.
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
* for transitional soy proto support: http://goto/soy-param-migration
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}

@@ -1196,4 +1345,4 @@ */

* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Whether to include the JSPB
* instance for transitional soy proto support:
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration

@@ -1206,6 +1355,6 @@ * @param {!proto.CosmosMsgSend} msg The msg instance to transform.

var f, obj = {
fromAddress: jspb.Message.getField(msg, 6),
toAddress: jspb.Message.getField(msg, 7),
amount: jspb.Message.getField(msg, 8),
addressType: jspb.Message.getField(msg, 9),
fromAddress: (f = jspb.Message.getField(msg, 6)) == null ? undefined : f,
toAddress: (f = jspb.Message.getField(msg, 7)) == null ? undefined : f,
amount: (f = jspb.Message.getField(msg, 8)) == null ? undefined : f,
addressType: (f = jspb.Message.getField(msg, 9)) == null ? undefined : f,
exchangeType: (f = msg.getExchangeType()) && types_pb.ExchangeType.toObject(includeInstance, f)

@@ -1346,10 +1495,17 @@ };

/** @param {string} value */
/**
* @param {string} value
* @return {!proto.CosmosMsgSend} returns this
*/
proto.CosmosMsgSend.prototype.setFromAddress = function(value) {
jspb.Message.setField(this, 6, value);
return jspb.Message.setField(this, 6, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.CosmosMsgSend} returns this
*/
proto.CosmosMsgSend.prototype.clearFromAddress = function() {
jspb.Message.setField(this, 6, undefined);
return jspb.Message.setField(this, 6, undefined);
};

@@ -1360,3 +1516,3 @@

* Returns whether this field is set.
* @return {!boolean}
* @return {boolean}
*/

@@ -1377,10 +1533,17 @@ proto.CosmosMsgSend.prototype.hasFromAddress = function() {

/** @param {string} value */
/**
* @param {string} value
* @return {!proto.CosmosMsgSend} returns this
*/
proto.CosmosMsgSend.prototype.setToAddress = function(value) {
jspb.Message.setField(this, 7, value);
return jspb.Message.setField(this, 7, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.CosmosMsgSend} returns this
*/
proto.CosmosMsgSend.prototype.clearToAddress = function() {
jspb.Message.setField(this, 7, undefined);
return jspb.Message.setField(this, 7, undefined);
};

@@ -1391,3 +1554,3 @@

* Returns whether this field is set.
* @return {!boolean}
* @return {boolean}
*/

@@ -1408,10 +1571,17 @@ proto.CosmosMsgSend.prototype.hasToAddress = function() {

/** @param {string} value */
/**
* @param {string} value
* @return {!proto.CosmosMsgSend} returns this
*/
proto.CosmosMsgSend.prototype.setAmount = function(value) {
jspb.Message.setField(this, 8, value);
return jspb.Message.setField(this, 8, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.CosmosMsgSend} returns this
*/
proto.CosmosMsgSend.prototype.clearAmount = function() {
jspb.Message.setField(this, 8, undefined);
return jspb.Message.setField(this, 8, undefined);
};

@@ -1422,3 +1592,3 @@

* Returns whether this field is set.
* @return {!boolean}
* @return {boolean}
*/

@@ -1439,10 +1609,17 @@ proto.CosmosMsgSend.prototype.hasAmount = function() {

/** @param {!proto.OutputAddressType} value */
/**
* @param {!proto.OutputAddressType} value
* @return {!proto.CosmosMsgSend} returns this
*/
proto.CosmosMsgSend.prototype.setAddressType = function(value) {
jspb.Message.setField(this, 9, value);
return jspb.Message.setField(this, 9, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.CosmosMsgSend} returns this
*/
proto.CosmosMsgSend.prototype.clearAddressType = function() {
jspb.Message.setField(this, 9, undefined);
return jspb.Message.setField(this, 9, undefined);
};

@@ -1453,3 +1630,3 @@

* Returns whether this field is set.
* @return {!boolean}
* @return {boolean}
*/

@@ -1471,10 +1648,17 @@ proto.CosmosMsgSend.prototype.hasAddressType = function() {

/** @param {?proto.ExchangeType|undefined} value */
/**
* @param {?proto.ExchangeType|undefined} value
* @return {!proto.CosmosMsgSend} returns this
*/
proto.CosmosMsgSend.prototype.setExchangeType = function(value) {
jspb.Message.setWrapperField(this, 10, value);
return jspb.Message.setWrapperField(this, 10, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.CosmosMsgSend} returns this
*/
proto.CosmosMsgSend.prototype.clearExchangeType = function() {
this.setExchangeType(undefined);
return this.setExchangeType(undefined);
};

@@ -1485,3 +1669,3 @@

* Returns whether this field is set.
* @return {!boolean}
* @return {boolean}
*/

@@ -1494,19 +1678,2 @@ proto.CosmosMsgSend.prototype.hasExchangeType = function() {

/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.CosmosSignedTx = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.CosmosSignedTx, jspb.Message);
if (goog.DEBUG && !COMPILED) {
proto.CosmosSignedTx.displayName = 'proto.CosmosSignedTx';
}

@@ -1516,9 +1683,11 @@

/**
* Creates an object representation of this proto suitable for use in Soy templates.
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
* for transitional soy proto support: http://goto/soy-param-migration
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}

@@ -1533,4 +1702,4 @@ */

* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Whether to include the JSPB
* instance for transitional soy proto support:
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration

@@ -1668,10 +1837,17 @@ * @param {!proto.CosmosSignedTx} msg The msg instance to transform.

/** @param {!(string|Uint8Array)} value */
/**
* @param {!(string|Uint8Array)} value
* @return {!proto.CosmosSignedTx} returns this
*/
proto.CosmosSignedTx.prototype.setPublicKey = function(value) {
jspb.Message.setField(this, 1, value);
return jspb.Message.setField(this, 1, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.CosmosSignedTx} returns this
*/
proto.CosmosSignedTx.prototype.clearPublicKey = function() {
jspb.Message.setField(this, 1, undefined);
return jspb.Message.setField(this, 1, undefined);
};

@@ -1682,3 +1858,3 @@

* Returns whether this field is set.
* @return {!boolean}
* @return {boolean}
*/

@@ -1723,10 +1899,17 @@ proto.CosmosSignedTx.prototype.hasPublicKey = function() {

/** @param {!(string|Uint8Array)} value */
/**
* @param {!(string|Uint8Array)} value
* @return {!proto.CosmosSignedTx} returns this
*/
proto.CosmosSignedTx.prototype.setSignature = function(value) {
jspb.Message.setField(this, 2, value);
return jspb.Message.setField(this, 2, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.CosmosSignedTx} returns this
*/
proto.CosmosSignedTx.prototype.clearSignature = function() {
jspb.Message.setField(this, 2, undefined);
return jspb.Message.setField(this, 2, undefined);
};

@@ -1737,3 +1920,3 @@

* Returns whether this field is set.
* @return {!boolean}
* @return {boolean}
*/

@@ -1740,0 +1923,0 @@ proto.CosmosSignedTx.prototype.hasSignature = function() {

@@ -0,1 +1,2 @@

// source: messages-nano.proto
/**

@@ -9,2 +10,4 @@ * @fileoverview

// GENERATED CODE -- DO NOT EDIT!
/* eslint-disable */
// @ts-nocheck

@@ -16,2 +19,3 @@ var jspb = require('google-protobuf');

var types_pb = require('./types_pb.js');
goog.object.extend(proto, types_pb);
goog.exportSymbol('proto.NanoAddress', null, global);

@@ -22,3 +26,2 @@ goog.exportSymbol('proto.NanoGetAddress', null, global);

goog.exportSymbol('proto.NanoSignedTx', null, global);
/**

@@ -39,5 +42,94 @@ * Generated by JsPbCodeGenerator.

if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.NanoGetAddress.displayName = 'proto.NanoGetAddress';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.NanoAddress = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.NanoAddress, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.NanoAddress.displayName = 'proto.NanoAddress';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.NanoSignTx = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.NanoSignTx.repeatedFields_, null);
};
goog.inherits(proto.NanoSignTx, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.NanoSignTx.displayName = 'proto.NanoSignTx';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.NanoSignTx.ParentBlock = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.NanoSignTx.ParentBlock, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.NanoSignTx.ParentBlock.displayName = 'proto.NanoSignTx.ParentBlock';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.NanoSignedTx = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.NanoSignedTx, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.NanoSignedTx.displayName = 'proto.NanoSignedTx';
}
/**
* List of repeated fields within this message type.

@@ -53,9 +145,11 @@ * @private {!Array<number>}

/**
* Creates an object representation of this proto suitable for use in Soy templates.
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
* for transitional soy proto support: http://goto/soy-param-migration
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}

@@ -70,4 +164,4 @@ */

* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Whether to include the JSPB
* instance for transitional soy proto support:
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration

@@ -80,5 +174,5 @@ * @param {!proto.NanoGetAddress} msg The msg instance to transform.

var f, obj = {
addressNList: jspb.Message.getRepeatedField(msg, 1),
addressNList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
coinName: jspb.Message.getFieldWithDefault(msg, 2, "Nano"),
showDisplay: jspb.Message.getField(msg, 3)
showDisplay: (f = jspb.Message.getBooleanField(msg, 3)) == null ? undefined : f
};

@@ -121,4 +215,6 @@

case 1:
var value = /** @type {number} */ (reader.readUint32());
msg.addAddressN(value);
var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedUint32() : [reader.readUint32()]);
for (var i = 0; i < values.length; i++) {
msg.addAddressN(values[i]);
}
break;

@@ -188,12 +284,15 @@ case 2:

* repeated uint32 address_n = 1;
* @return {!Array.<number>}
* @return {!Array<number>}
*/
proto.NanoGetAddress.prototype.getAddressNList = function() {
return /** @type {!Array.<number>} */ (jspb.Message.getRepeatedField(this, 1));
return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 1));
};
/** @param {!Array.<number>} value */
/**
* @param {!Array<number>} value
* @return {!proto.NanoGetAddress} returns this
*/
proto.NanoGetAddress.prototype.setAddressNList = function(value) {
jspb.Message.setField(this, 1, value || []);
return jspb.Message.setField(this, 1, value || []);
};

@@ -203,12 +302,17 @@

/**
* @param {!number} value
* @param {number} value
* @param {number=} opt_index
* @return {!proto.NanoGetAddress} returns this
*/
proto.NanoGetAddress.prototype.addAddressN = function(value, opt_index) {
jspb.Message.addToRepeatedField(this, 1, value, opt_index);
return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
};
/**
* Clears the list making it empty but non-null.
* @return {!proto.NanoGetAddress} returns this
*/
proto.NanoGetAddress.prototype.clearAddressNList = function() {
this.setAddressNList([]);
return this.setAddressNList([]);
};

@@ -226,10 +330,17 @@

/** @param {string} value */
/**
* @param {string} value
* @return {!proto.NanoGetAddress} returns this
*/
proto.NanoGetAddress.prototype.setCoinName = function(value) {
jspb.Message.setField(this, 2, value);
return jspb.Message.setField(this, 2, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.NanoGetAddress} returns this
*/
proto.NanoGetAddress.prototype.clearCoinName = function() {
jspb.Message.setField(this, 2, undefined);
return jspb.Message.setField(this, 2, undefined);
};

@@ -240,3 +351,3 @@

* Returns whether this field is set.
* @return {!boolean}
* @return {boolean}
*/

@@ -250,19 +361,24 @@ proto.NanoGetAddress.prototype.hasCoinName = function() {

* optional bool show_display = 3;
* Note that Boolean fields may be set to 0/1 when serialized from a Java server.
* You should avoid comparisons like {@code val === true/false} in those cases.
* @return {boolean}
*/
proto.NanoGetAddress.prototype.getShowDisplay = function() {
return /** @type {boolean} */ (jspb.Message.getFieldWithDefault(this, 3, false));
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false));
};
/** @param {boolean} value */
/**
* @param {boolean} value
* @return {!proto.NanoGetAddress} returns this
*/
proto.NanoGetAddress.prototype.setShowDisplay = function(value) {
jspb.Message.setField(this, 3, value);
return jspb.Message.setField(this, 3, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.NanoGetAddress} returns this
*/
proto.NanoGetAddress.prototype.clearShowDisplay = function() {
jspb.Message.setField(this, 3, undefined);
return jspb.Message.setField(this, 3, undefined);
};

@@ -273,3 +389,3 @@

* Returns whether this field is set.
* @return {!boolean}
* @return {boolean}
*/

@@ -282,19 +398,2 @@ proto.NanoGetAddress.prototype.hasShowDisplay = function() {

/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.NanoAddress = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.NanoAddress, jspb.Message);
if (goog.DEBUG && !COMPILED) {
proto.NanoAddress.displayName = 'proto.NanoAddress';
}

@@ -304,9 +403,11 @@

/**
* Creates an object representation of this proto suitable for use in Soy templates.
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
* for transitional soy proto support: http://goto/soy-param-migration
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}

@@ -321,4 +422,4 @@ */

* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Whether to include the JSPB
* instance for transitional soy proto support:
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration

@@ -331,3 +432,3 @@ * @param {!proto.NanoAddress} msg The msg instance to transform.

var f, obj = {
address: jspb.Message.getField(msg, 1)
address: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f
};

@@ -421,10 +522,17 @@

/** @param {string} value */
/**
* @param {string} value
* @return {!proto.NanoAddress} returns this
*/
proto.NanoAddress.prototype.setAddress = function(value) {
jspb.Message.setField(this, 1, value);
return jspb.Message.setField(this, 1, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.NanoAddress} returns this
*/
proto.NanoAddress.prototype.clearAddress = function() {
jspb.Message.setField(this, 1, undefined);
return jspb.Message.setField(this, 1, undefined);
};

@@ -435,3 +543,3 @@

* Returns whether this field is set.
* @return {!boolean}
* @return {boolean}
*/

@@ -445,19 +553,2 @@ proto.NanoAddress.prototype.hasAddress = function() {

/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.NanoSignTx = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.NanoSignTx.repeatedFields_, null);
};
goog.inherits(proto.NanoSignTx, jspb.Message);
if (goog.DEBUG && !COMPILED) {
proto.NanoSignTx.displayName = 'proto.NanoSignTx';
}
/**
* List of repeated fields within this message type.

@@ -473,9 +564,11 @@ * @private {!Array<number>}

/**
* Creates an object representation of this proto suitable for use in Soy templates.
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
* for transitional soy proto support: http://goto/soy-param-migration
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}

@@ -490,4 +583,4 @@ */

* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Whether to include the JSPB
* instance for transitional soy proto support:
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration

@@ -500,9 +593,9 @@ * @param {!proto.NanoSignTx} msg The msg instance to transform.

var f, obj = {
addressNList: jspb.Message.getRepeatedField(msg, 1),
addressNList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
coinName: jspb.Message.getFieldWithDefault(msg, 2, "Nano"),
parentBlock: (f = msg.getParentBlock()) && proto.NanoSignTx.ParentBlock.toObject(includeInstance, f),
linkHash: msg.getLinkHash_asB64(),
linkRecipient: jspb.Message.getField(msg, 5),
linkRecipientNList: jspb.Message.getRepeatedField(msg, 6),
representative: jspb.Message.getField(msg, 7),
linkRecipient: (f = jspb.Message.getField(msg, 5)) == null ? undefined : f,
linkRecipientNList: (f = jspb.Message.getRepeatedField(msg, 6)) == null ? undefined : f,
representative: (f = jspb.Message.getField(msg, 7)) == null ? undefined : f,
balance: msg.getBalance_asB64(),

@@ -547,4 +640,6 @@ exchangeType: (f = msg.getExchangeType()) && types_pb.ExchangeType.toObject(includeInstance, f)

case 1:
var value = /** @type {number} */ (reader.readUint32());
msg.addAddressN(value);
var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedUint32() : [reader.readUint32()]);
for (var i = 0; i < values.length; i++) {
msg.addAddressN(values[i]);
}
break;

@@ -569,4 +664,6 @@ case 2:

case 6:
var value = /** @type {number} */ (reader.readUint32());
msg.addLinkRecipientN(value);
var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedUint32() : [reader.readUint32()]);
for (var i = 0; i < values.length; i++) {
msg.addLinkRecipientN(values[i]);
}
break;

@@ -684,19 +781,2 @@ case 7:

/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.NanoSignTx.ParentBlock = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.NanoSignTx.ParentBlock, jspb.Message);
if (goog.DEBUG && !COMPILED) {
proto.NanoSignTx.ParentBlock.displayName = 'proto.NanoSignTx.ParentBlock';
}

@@ -706,9 +786,11 @@

/**
* Creates an object representation of this proto suitable for use in Soy templates.
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
* for transitional soy proto support: http://goto/soy-param-migration
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}

@@ -723,4 +805,4 @@ */

* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Whether to include the JSPB
* instance for transitional soy proto support:
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration

@@ -735,3 +817,3 @@ * @param {!proto.NanoSignTx.ParentBlock} msg The msg instance to transform.

link: msg.getLink_asB64(),
representative: jspb.Message.getField(msg, 4),
representative: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f,
balance: msg.getBalance_asB64()

@@ -883,10 +965,17 @@ };

/** @param {!(string|Uint8Array)} value */
/**
* @param {!(string|Uint8Array)} value
* @return {!proto.NanoSignTx.ParentBlock} returns this
*/
proto.NanoSignTx.ParentBlock.prototype.setParentHash = function(value) {
jspb.Message.setField(this, 1, value);
return jspb.Message.setField(this, 1, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.NanoSignTx.ParentBlock} returns this
*/
proto.NanoSignTx.ParentBlock.prototype.clearParentHash = function() {
jspb.Message.setField(this, 1, undefined);
return jspb.Message.setField(this, 1, undefined);
};

@@ -897,3 +986,3 @@

* Returns whether this field is set.
* @return {!boolean}
* @return {boolean}
*/

@@ -938,10 +1027,17 @@ proto.NanoSignTx.ParentBlock.prototype.hasParentHash = function() {

/** @param {!(string|Uint8Array)} value */
/**
* @param {!(string|Uint8Array)} value
* @return {!proto.NanoSignTx.ParentBlock} returns this
*/
proto.NanoSignTx.ParentBlock.prototype.setLink = function(value) {
jspb.Message.setField(this, 2, value);
return jspb.Message.setField(this, 2, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.NanoSignTx.ParentBlock} returns this
*/
proto.NanoSignTx.ParentBlock.prototype.clearLink = function() {
jspb.Message.setField(this, 2, undefined);
return jspb.Message.setField(this, 2, undefined);
};

@@ -952,3 +1048,3 @@

* Returns whether this field is set.
* @return {!boolean}
* @return {boolean}
*/

@@ -969,10 +1065,17 @@ proto.NanoSignTx.ParentBlock.prototype.hasLink = function() {

/** @param {string} value */
/**
* @param {string} value
* @return {!proto.NanoSignTx.ParentBlock} returns this
*/
proto.NanoSignTx.ParentBlock.prototype.setRepresentative = function(value) {
jspb.Message.setField(this, 4, value);
return jspb.Message.setField(this, 4, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.NanoSignTx.ParentBlock} returns this
*/
proto.NanoSignTx.ParentBlock.prototype.clearRepresentative = function() {
jspb.Message.setField(this, 4, undefined);
return jspb.Message.setField(this, 4, undefined);
};

@@ -983,3 +1086,3 @@

* Returns whether this field is set.
* @return {!boolean}
* @return {boolean}
*/

@@ -1024,10 +1127,17 @@ proto.NanoSignTx.ParentBlock.prototype.hasRepresentative = function() {

/** @param {!(string|Uint8Array)} value */
/**
* @param {!(string|Uint8Array)} value
* @return {!proto.NanoSignTx.ParentBlock} returns this
*/
proto.NanoSignTx.ParentBlock.prototype.setBalance = function(value) {
jspb.Message.setField(this, 5, value);
return jspb.Message.setField(this, 5, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.NanoSignTx.ParentBlock} returns this
*/
proto.NanoSignTx.ParentBlock.prototype.clearBalance = function() {
jspb.Message.setField(this, 5, undefined);
return jspb.Message.setField(this, 5, undefined);
};

@@ -1038,3 +1148,3 @@

* Returns whether this field is set.
* @return {!boolean}
* @return {boolean}
*/

@@ -1048,12 +1158,15 @@ proto.NanoSignTx.ParentBlock.prototype.hasBalance = function() {

* repeated uint32 address_n = 1;
* @return {!Array.<number>}
* @return {!Array<number>}
*/
proto.NanoSignTx.prototype.getAddressNList = function() {
return /** @type {!Array.<number>} */ (jspb.Message.getRepeatedField(this, 1));
return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 1));
};
/** @param {!Array.<number>} value */
/**
* @param {!Array<number>} value
* @return {!proto.NanoSignTx} returns this
*/
proto.NanoSignTx.prototype.setAddressNList = function(value) {
jspb.Message.setField(this, 1, value || []);
return jspb.Message.setField(this, 1, value || []);
};

@@ -1063,12 +1176,17 @@

/**
* @param {!number} value
* @param {number} value
* @param {number=} opt_index
* @return {!proto.NanoSignTx} returns this
*/
proto.NanoSignTx.prototype.addAddressN = function(value, opt_index) {
jspb.Message.addToRepeatedField(this, 1, value, opt_index);
return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
};
/**
* Clears the list making it empty but non-null.
* @return {!proto.NanoSignTx} returns this
*/
proto.NanoSignTx.prototype.clearAddressNList = function() {
this.setAddressNList([]);
return this.setAddressNList([]);
};

@@ -1086,10 +1204,17 @@

/** @param {string} value */
/**
* @param {string} value
* @return {!proto.NanoSignTx} returns this
*/
proto.NanoSignTx.prototype.setCoinName = function(value) {
jspb.Message.setField(this, 2, value);
return jspb.Message.setField(this, 2, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.NanoSignTx} returns this
*/
proto.NanoSignTx.prototype.clearCoinName = function() {
jspb.Message.setField(this, 2, undefined);
return jspb.Message.setField(this, 2, undefined);
};

@@ -1100,3 +1225,3 @@

* Returns whether this field is set.
* @return {!boolean}
* @return {boolean}
*/

@@ -1118,10 +1243,17 @@ proto.NanoSignTx.prototype.hasCoinName = function() {

/** @param {?proto.NanoSignTx.ParentBlock|undefined} value */
/**
* @param {?proto.NanoSignTx.ParentBlock|undefined} value
* @return {!proto.NanoSignTx} returns this
*/
proto.NanoSignTx.prototype.setParentBlock = function(value) {
jspb.Message.setWrapperField(this, 3, value);
return jspb.Message.setWrapperField(this, 3, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.NanoSignTx} returns this
*/
proto.NanoSignTx.prototype.clearParentBlock = function() {
this.setParentBlock(undefined);
return this.setParentBlock(undefined);
};

@@ -1132,3 +1264,3 @@

* Returns whether this field is set.
* @return {!boolean}
* @return {boolean}
*/

@@ -1173,10 +1305,17 @@ proto.NanoSignTx.prototype.hasParentBlock = function() {

/** @param {!(string|Uint8Array)} value */
/**
* @param {!(string|Uint8Array)} value
* @return {!proto.NanoSignTx} returns this
*/
proto.NanoSignTx.prototype.setLinkHash = function(value) {
jspb.Message.setField(this, 4, value);
return jspb.Message.setField(this, 4, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.NanoSignTx} returns this
*/
proto.NanoSignTx.prototype.clearLinkHash = function() {
jspb.Message.setField(this, 4, undefined);
return jspb.Message.setField(this, 4, undefined);
};

@@ -1187,3 +1326,3 @@

* Returns whether this field is set.
* @return {!boolean}
* @return {boolean}
*/

@@ -1204,10 +1343,17 @@ proto.NanoSignTx.prototype.hasLinkHash = function() {

/** @param {string} value */
/**
* @param {string} value
* @return {!proto.NanoSignTx} returns this
*/
proto.NanoSignTx.prototype.setLinkRecipient = function(value) {
jspb.Message.setField(this, 5, value);
return jspb.Message.setField(this, 5, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.NanoSignTx} returns this
*/
proto.NanoSignTx.prototype.clearLinkRecipient = function() {
jspb.Message.setField(this, 5, undefined);
return jspb.Message.setField(this, 5, undefined);
};

@@ -1218,3 +1364,3 @@

* Returns whether this field is set.
* @return {!boolean}
* @return {boolean}
*/

@@ -1228,12 +1374,15 @@ proto.NanoSignTx.prototype.hasLinkRecipient = function() {

* repeated uint32 link_recipient_n = 6;
* @return {!Array.<number>}
* @return {!Array<number>}
*/
proto.NanoSignTx.prototype.getLinkRecipientNList = function() {
return /** @type {!Array.<number>} */ (jspb.Message.getRepeatedField(this, 6));
return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 6));
};
/** @param {!Array.<number>} value */
/**
* @param {!Array<number>} value
* @return {!proto.NanoSignTx} returns this
*/
proto.NanoSignTx.prototype.setLinkRecipientNList = function(value) {
jspb.Message.setField(this, 6, value || []);
return jspb.Message.setField(this, 6, value || []);
};

@@ -1243,12 +1392,17 @@

/**
* @param {!number} value
* @param {number} value
* @param {number=} opt_index
* @return {!proto.NanoSignTx} returns this
*/
proto.NanoSignTx.prototype.addLinkRecipientN = function(value, opt_index) {
jspb.Message.addToRepeatedField(this, 6, value, opt_index);
return jspb.Message.addToRepeatedField(this, 6, value, opt_index);
};
/**
* Clears the list making it empty but non-null.
* @return {!proto.NanoSignTx} returns this
*/
proto.NanoSignTx.prototype.clearLinkRecipientNList = function() {
this.setLinkRecipientNList([]);
return this.setLinkRecipientNList([]);
};

@@ -1266,10 +1420,17 @@

/** @param {string} value */
/**
* @param {string} value
* @return {!proto.NanoSignTx} returns this
*/
proto.NanoSignTx.prototype.setRepresentative = function(value) {
jspb.Message.setField(this, 7, value);
return jspb.Message.setField(this, 7, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.NanoSignTx} returns this
*/
proto.NanoSignTx.prototype.clearRepresentative = function() {
jspb.Message.setField(this, 7, undefined);
return jspb.Message.setField(this, 7, undefined);
};

@@ -1280,3 +1441,3 @@

* Returns whether this field is set.
* @return {!boolean}
* @return {boolean}
*/

@@ -1321,10 +1482,17 @@ proto.NanoSignTx.prototype.hasRepresentative = function() {

/** @param {!(string|Uint8Array)} value */
/**
* @param {!(string|Uint8Array)} value
* @return {!proto.NanoSignTx} returns this
*/
proto.NanoSignTx.prototype.setBalance = function(value) {
jspb.Message.setField(this, 8, value);
return jspb.Message.setField(this, 8, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.NanoSignTx} returns this
*/
proto.NanoSignTx.prototype.clearBalance = function() {
jspb.Message.setField(this, 8, undefined);
return jspb.Message.setField(this, 8, undefined);
};

@@ -1335,3 +1503,3 @@

* Returns whether this field is set.
* @return {!boolean}
* @return {boolean}
*/

@@ -1353,10 +1521,17 @@ proto.NanoSignTx.prototype.hasBalance = function() {

/** @param {?proto.ExchangeType|undefined} value */
/**
* @param {?proto.ExchangeType|undefined} value
* @return {!proto.NanoSignTx} returns this
*/
proto.NanoSignTx.prototype.setExchangeType = function(value) {
jspb.Message.setWrapperField(this, 9, value);
return jspb.Message.setWrapperField(this, 9, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.NanoSignTx} returns this
*/
proto.NanoSignTx.prototype.clearExchangeType = function() {
this.setExchangeType(undefined);
return this.setExchangeType(undefined);
};

@@ -1367,3 +1542,3 @@

* Returns whether this field is set.
* @return {!boolean}
* @return {boolean}
*/

@@ -1376,19 +1551,2 @@ proto.NanoSignTx.prototype.hasExchangeType = function() {

/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.NanoSignedTx = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.NanoSignedTx, jspb.Message);
if (goog.DEBUG && !COMPILED) {
proto.NanoSignedTx.displayName = 'proto.NanoSignedTx';
}

@@ -1398,9 +1556,11 @@

/**
* Creates an object representation of this proto suitable for use in Soy templates.
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
* for transitional soy proto support: http://goto/soy-param-migration
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}

@@ -1415,4 +1575,4 @@ */

* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Whether to include the JSPB
* instance for transitional soy proto support:
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration

@@ -1550,10 +1710,17 @@ * @param {!proto.NanoSignedTx} msg The msg instance to transform.

/** @param {!(string|Uint8Array)} value */
/**
* @param {!(string|Uint8Array)} value
* @return {!proto.NanoSignedTx} returns this
*/
proto.NanoSignedTx.prototype.setSignature = function(value) {
jspb.Message.setField(this, 1, value);
return jspb.Message.setField(this, 1, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.NanoSignedTx} returns this
*/
proto.NanoSignedTx.prototype.clearSignature = function() {
jspb.Message.setField(this, 1, undefined);
return jspb.Message.setField(this, 1, undefined);
};

@@ -1564,3 +1731,3 @@

* Returns whether this field is set.
* @return {!boolean}
* @return {boolean}
*/

@@ -1605,10 +1772,17 @@ proto.NanoSignedTx.prototype.hasSignature = function() {

/** @param {!(string|Uint8Array)} value */
/**
* @param {!(string|Uint8Array)} value
* @return {!proto.NanoSignedTx} returns this
*/
proto.NanoSignedTx.prototype.setBlockHash = function(value) {
jspb.Message.setField(this, 2, value);
return jspb.Message.setField(this, 2, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.NanoSignedTx} returns this
*/
proto.NanoSignedTx.prototype.clearBlockHash = function() {
jspb.Message.setField(this, 2, undefined);
return jspb.Message.setField(this, 2, undefined);
};

@@ -1619,3 +1793,3 @@

* Returns whether this field is set.
* @return {!boolean}
* @return {boolean}
*/

@@ -1622,0 +1796,0 @@ proto.NanoSignedTx.prototype.hasBlockHash = function() {

@@ -0,1 +1,2 @@

// source: messages-ripple.proto
/**

@@ -9,2 +10,4 @@ * @fileoverview

// GENERATED CODE -- DO NOT EDIT!
/* eslint-disable */
// @ts-nocheck

@@ -20,3 +23,2 @@ var jspb = require('google-protobuf');

goog.exportSymbol('proto.RippleSignedTx', null, global);
/**

@@ -37,5 +39,94 @@ * Generated by JsPbCodeGenerator.

if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.RippleGetAddress.displayName = 'proto.RippleGetAddress';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.RippleAddress = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.RippleAddress, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.RippleAddress.displayName = 'proto.RippleAddress';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.RippleSignTx = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.RippleSignTx.repeatedFields_, null);
};
goog.inherits(proto.RippleSignTx, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.RippleSignTx.displayName = 'proto.RippleSignTx';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.RipplePayment = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.RipplePayment, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.RipplePayment.displayName = 'proto.RipplePayment';
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.RippleSignedTx = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.RippleSignedTx, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.RippleSignedTx.displayName = 'proto.RippleSignedTx';
}
/**
* List of repeated fields within this message type.

@@ -51,9 +142,11 @@ * @private {!Array<number>}

/**
* Creates an object representation of this proto suitable for use in Soy templates.
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
* for transitional soy proto support: http://goto/soy-param-migration
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}

@@ -68,4 +161,4 @@ */

* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Whether to include the JSPB
* instance for transitional soy proto support:
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration

@@ -78,4 +171,4 @@ * @param {!proto.RippleGetAddress} msg The msg instance to transform.

var f, obj = {
addressNList: jspb.Message.getRepeatedField(msg, 1),
showDisplay: jspb.Message.getField(msg, 2)
addressNList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
showDisplay: (f = jspb.Message.getBooleanField(msg, 2)) == null ? undefined : f
};

@@ -118,4 +211,6 @@

case 1:
var value = /** @type {number} */ (reader.readUint32());
msg.addAddressN(value);
var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedUint32() : [reader.readUint32()]);
for (var i = 0; i < values.length; i++) {
msg.addAddressN(values[i]);
}
break;

@@ -174,12 +269,15 @@ case 2:

* repeated uint32 address_n = 1;
* @return {!Array.<number>}
* @return {!Array<number>}
*/
proto.RippleGetAddress.prototype.getAddressNList = function() {
return /** @type {!Array.<number>} */ (jspb.Message.getRepeatedField(this, 1));
return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 1));
};
/** @param {!Array.<number>} value */
/**
* @param {!Array<number>} value
* @return {!proto.RippleGetAddress} returns this
*/
proto.RippleGetAddress.prototype.setAddressNList = function(value) {
jspb.Message.setField(this, 1, value || []);
return jspb.Message.setField(this, 1, value || []);
};

@@ -189,12 +287,17 @@

/**
* @param {!number} value
* @param {number} value
* @param {number=} opt_index
* @return {!proto.RippleGetAddress} returns this
*/
proto.RippleGetAddress.prototype.addAddressN = function(value, opt_index) {
jspb.Message.addToRepeatedField(this, 1, value, opt_index);
return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
};
/**
* Clears the list making it empty but non-null.
* @return {!proto.RippleGetAddress} returns this
*/
proto.RippleGetAddress.prototype.clearAddressNList = function() {
this.setAddressNList([]);
return this.setAddressNList([]);
};

@@ -205,19 +308,24 @@

* optional bool show_display = 2;
* Note that Boolean fields may be set to 0/1 when serialized from a Java server.
* You should avoid comparisons like {@code val === true/false} in those cases.
* @return {boolean}
*/
proto.RippleGetAddress.prototype.getShowDisplay = function() {
return /** @type {boolean} */ (jspb.Message.getFieldWithDefault(this, 2, false));
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false));
};
/** @param {boolean} value */
/**
* @param {boolean} value
* @return {!proto.RippleGetAddress} returns this
*/
proto.RippleGetAddress.prototype.setShowDisplay = function(value) {
jspb.Message.setField(this, 2, value);
return jspb.Message.setField(this, 2, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.RippleGetAddress} returns this
*/
proto.RippleGetAddress.prototype.clearShowDisplay = function() {
jspb.Message.setField(this, 2, undefined);
return jspb.Message.setField(this, 2, undefined);
};

@@ -228,3 +336,3 @@

* Returns whether this field is set.
* @return {!boolean}
* @return {boolean}
*/

@@ -237,19 +345,2 @@ proto.RippleGetAddress.prototype.hasShowDisplay = function() {

/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.RippleAddress = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.RippleAddress, jspb.Message);
if (goog.DEBUG && !COMPILED) {
proto.RippleAddress.displayName = 'proto.RippleAddress';
}

@@ -259,9 +350,11 @@

/**
* Creates an object representation of this proto suitable for use in Soy templates.
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
* for transitional soy proto support: http://goto/soy-param-migration
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}

@@ -276,4 +369,4 @@ */

* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Whether to include the JSPB
* instance for transitional soy proto support:
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration

@@ -286,3 +379,3 @@ * @param {!proto.RippleAddress} msg The msg instance to transform.

var f, obj = {
address: jspb.Message.getField(msg, 1)
address: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f
};

@@ -376,10 +469,17 @@

/** @param {string} value */
/**
* @param {string} value
* @return {!proto.RippleAddress} returns this
*/
proto.RippleAddress.prototype.setAddress = function(value) {
jspb.Message.setField(this, 1, value);
return jspb.Message.setField(this, 1, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.RippleAddress} returns this
*/
proto.RippleAddress.prototype.clearAddress = function() {
jspb.Message.setField(this, 1, undefined);
return jspb.Message.setField(this, 1, undefined);
};

@@ -390,3 +490,3 @@

* Returns whether this field is set.
* @return {!boolean}
* @return {boolean}
*/

@@ -400,19 +500,2 @@ proto.RippleAddress.prototype.hasAddress = function() {

/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.RippleSignTx = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, proto.RippleSignTx.repeatedFields_, null);
};
goog.inherits(proto.RippleSignTx, jspb.Message);
if (goog.DEBUG && !COMPILED) {
proto.RippleSignTx.displayName = 'proto.RippleSignTx';
}
/**
* List of repeated fields within this message type.

@@ -428,9 +511,11 @@ * @private {!Array<number>}

/**
* Creates an object representation of this proto suitable for use in Soy templates.
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
* for transitional soy proto support: http://goto/soy-param-migration
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}

@@ -445,4 +530,4 @@ */

* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Whether to include the JSPB
* instance for transitional soy proto support:
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration

@@ -455,7 +540,7 @@ * @param {!proto.RippleSignTx} msg The msg instance to transform.

var f, obj = {
addressNList: jspb.Message.getRepeatedField(msg, 1),
fee: jspb.Message.getField(msg, 2),
flags: jspb.Message.getField(msg, 3),
sequence: jspb.Message.getField(msg, 4),
lastLedgerSequence: jspb.Message.getField(msg, 5),
addressNList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
fee: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f,
flags: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f,
sequence: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f,
lastLedgerSequence: (f = jspb.Message.getField(msg, 5)) == null ? undefined : f,
payment: (f = msg.getPayment()) && proto.RipplePayment.toObject(includeInstance, f)

@@ -499,4 +584,6 @@ };

case 1:
var value = /** @type {number} */ (reader.readUint32());
msg.addAddressN(value);
var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedUint32() : [reader.readUint32()]);
for (var i = 0; i < values.length; i++) {
msg.addAddressN(values[i]);
}
break;

@@ -601,12 +688,15 @@ case 2:

* repeated uint32 address_n = 1;
* @return {!Array.<number>}
* @return {!Array<number>}
*/
proto.RippleSignTx.prototype.getAddressNList = function() {
return /** @type {!Array.<number>} */ (jspb.Message.getRepeatedField(this, 1));
return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 1));
};
/** @param {!Array.<number>} value */
/**
* @param {!Array<number>} value
* @return {!proto.RippleSignTx} returns this
*/
proto.RippleSignTx.prototype.setAddressNList = function(value) {
jspb.Message.setField(this, 1, value || []);
return jspb.Message.setField(this, 1, value || []);
};

@@ -616,12 +706,17 @@

/**
* @param {!number} value
* @param {number} value
* @param {number=} opt_index
* @return {!proto.RippleSignTx} returns this
*/
proto.RippleSignTx.prototype.addAddressN = function(value, opt_index) {
jspb.Message.addToRepeatedField(this, 1, value, opt_index);
return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
};
/**
* Clears the list making it empty but non-null.
* @return {!proto.RippleSignTx} returns this
*/
proto.RippleSignTx.prototype.clearAddressNList = function() {
this.setAddressNList([]);
return this.setAddressNList([]);
};

@@ -639,10 +734,17 @@

/** @param {number} value */
/**
* @param {number} value
* @return {!proto.RippleSignTx} returns this
*/
proto.RippleSignTx.prototype.setFee = function(value) {
jspb.Message.setField(this, 2, value);
return jspb.Message.setField(this, 2, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.RippleSignTx} returns this
*/
proto.RippleSignTx.prototype.clearFee = function() {
jspb.Message.setField(this, 2, undefined);
return jspb.Message.setField(this, 2, undefined);
};

@@ -653,3 +755,3 @@

* Returns whether this field is set.
* @return {!boolean}
* @return {boolean}
*/

@@ -670,10 +772,17 @@ proto.RippleSignTx.prototype.hasFee = function() {

/** @param {number} value */
/**
* @param {number} value
* @return {!proto.RippleSignTx} returns this
*/
proto.RippleSignTx.prototype.setFlags = function(value) {
jspb.Message.setField(this, 3, value);
return jspb.Message.setField(this, 3, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.RippleSignTx} returns this
*/
proto.RippleSignTx.prototype.clearFlags = function() {
jspb.Message.setField(this, 3, undefined);
return jspb.Message.setField(this, 3, undefined);
};

@@ -684,3 +793,3 @@

* Returns whether this field is set.
* @return {!boolean}
* @return {boolean}
*/

@@ -701,10 +810,17 @@ proto.RippleSignTx.prototype.hasFlags = function() {

/** @param {number} value */
/**
* @param {number} value
* @return {!proto.RippleSignTx} returns this
*/
proto.RippleSignTx.prototype.setSequence = function(value) {
jspb.Message.setField(this, 4, value);
return jspb.Message.setField(this, 4, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.RippleSignTx} returns this
*/
proto.RippleSignTx.prototype.clearSequence = function() {
jspb.Message.setField(this, 4, undefined);
return jspb.Message.setField(this, 4, undefined);
};

@@ -715,3 +831,3 @@

* Returns whether this field is set.
* @return {!boolean}
* @return {boolean}
*/

@@ -732,10 +848,17 @@ proto.RippleSignTx.prototype.hasSequence = function() {

/** @param {number} value */
/**
* @param {number} value
* @return {!proto.RippleSignTx} returns this
*/
proto.RippleSignTx.prototype.setLastLedgerSequence = function(value) {
jspb.Message.setField(this, 5, value);
return jspb.Message.setField(this, 5, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.RippleSignTx} returns this
*/
proto.RippleSignTx.prototype.clearLastLedgerSequence = function() {
jspb.Message.setField(this, 5, undefined);
return jspb.Message.setField(this, 5, undefined);
};

@@ -746,3 +869,3 @@

* Returns whether this field is set.
* @return {!boolean}
* @return {boolean}
*/

@@ -764,10 +887,17 @@ proto.RippleSignTx.prototype.hasLastLedgerSequence = function() {

/** @param {?proto.RipplePayment|undefined} value */
/**
* @param {?proto.RipplePayment|undefined} value
* @return {!proto.RippleSignTx} returns this
*/
proto.RippleSignTx.prototype.setPayment = function(value) {
jspb.Message.setWrapperField(this, 6, value);
return jspb.Message.setWrapperField(this, 6, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.RippleSignTx} returns this
*/
proto.RippleSignTx.prototype.clearPayment = function() {
this.setPayment(undefined);
return this.setPayment(undefined);
};

@@ -778,3 +908,3 @@

* Returns whether this field is set.
* @return {!boolean}
* @return {boolean}
*/

@@ -787,19 +917,2 @@ proto.RippleSignTx.prototype.hasPayment = function() {

/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.RipplePayment = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.RipplePayment, jspb.Message);
if (goog.DEBUG && !COMPILED) {
proto.RipplePayment.displayName = 'proto.RipplePayment';
}

@@ -809,9 +922,11 @@

/**
* Creates an object representation of this proto suitable for use in Soy templates.
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
* for transitional soy proto support: http://goto/soy-param-migration
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}

@@ -826,4 +941,4 @@ */

* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Whether to include the JSPB
* instance for transitional soy proto support:
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration

@@ -836,5 +951,5 @@ * @param {!proto.RipplePayment} msg The msg instance to transform.

var f, obj = {
amount: jspb.Message.getField(msg, 1),
destination: jspb.Message.getField(msg, 2),
destinationTag: jspb.Message.getField(msg, 3)
amount: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f,
destination: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f,
destinationTag: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f
};

@@ -950,10 +1065,17 @@

/** @param {number} value */
/**
* @param {number} value
* @return {!proto.RipplePayment} returns this
*/
proto.RipplePayment.prototype.setAmount = function(value) {
jspb.Message.setField(this, 1, value);
return jspb.Message.setField(this, 1, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.RipplePayment} returns this
*/
proto.RipplePayment.prototype.clearAmount = function() {
jspb.Message.setField(this, 1, undefined);
return jspb.Message.setField(this, 1, undefined);
};

@@ -964,3 +1086,3 @@

* Returns whether this field is set.
* @return {!boolean}
* @return {boolean}
*/

@@ -981,10 +1103,17 @@ proto.RipplePayment.prototype.hasAmount = function() {

/** @param {string} value */
/**
* @param {string} value
* @return {!proto.RipplePayment} returns this
*/
proto.RipplePayment.prototype.setDestination = function(value) {
jspb.Message.setField(this, 2, value);
return jspb.Message.setField(this, 2, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.RipplePayment} returns this
*/
proto.RipplePayment.prototype.clearDestination = function() {
jspb.Message.setField(this, 2, undefined);
return jspb.Message.setField(this, 2, undefined);
};

@@ -995,3 +1124,3 @@

* Returns whether this field is set.
* @return {!boolean}
* @return {boolean}
*/

@@ -1012,10 +1141,17 @@ proto.RipplePayment.prototype.hasDestination = function() {

/** @param {number} value */
/**
* @param {number} value
* @return {!proto.RipplePayment} returns this
*/
proto.RipplePayment.prototype.setDestinationTag = function(value) {
jspb.Message.setField(this, 3, value);
return jspb.Message.setField(this, 3, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.RipplePayment} returns this
*/
proto.RipplePayment.prototype.clearDestinationTag = function() {
jspb.Message.setField(this, 3, undefined);
return jspb.Message.setField(this, 3, undefined);
};

@@ -1026,3 +1162,3 @@

* Returns whether this field is set.
* @return {!boolean}
* @return {boolean}
*/

@@ -1035,19 +1171,2 @@ proto.RipplePayment.prototype.hasDestinationTag = function() {

/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.RippleSignedTx = function(opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.RippleSignedTx, jspb.Message);
if (goog.DEBUG && !COMPILED) {
proto.RippleSignedTx.displayName = 'proto.RippleSignedTx';
}

@@ -1057,9 +1176,11 @@

/**
* Creates an object representation of this proto suitable for use in Soy templates.
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
* for transitional soy proto support: http://goto/soy-param-migration
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}

@@ -1074,4 +1195,4 @@ */

* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Whether to include the JSPB
* instance for transitional soy proto support:
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration

@@ -1209,10 +1330,17 @@ * @param {!proto.RippleSignedTx} msg The msg instance to transform.

/** @param {!(string|Uint8Array)} value */
/**
* @param {!(string|Uint8Array)} value
* @return {!proto.RippleSignedTx} returns this
*/
proto.RippleSignedTx.prototype.setSignature = function(value) {
jspb.Message.setField(this, 1, value);
return jspb.Message.setField(this, 1, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.RippleSignedTx} returns this
*/
proto.RippleSignedTx.prototype.clearSignature = function() {
jspb.Message.setField(this, 1, undefined);
return jspb.Message.setField(this, 1, undefined);
};

@@ -1223,3 +1351,3 @@

* Returns whether this field is set.
* @return {!boolean}
* @return {boolean}
*/

@@ -1264,10 +1392,17 @@ proto.RippleSignedTx.prototype.hasSignature = function() {

/** @param {!(string|Uint8Array)} value */
/**
* @param {!(string|Uint8Array)} value
* @return {!proto.RippleSignedTx} returns this
*/
proto.RippleSignedTx.prototype.setSerializedTx = function(value) {
jspb.Message.setField(this, 2, value);
return jspb.Message.setField(this, 2, value);
};
/**
* Clears the field making it undefined.
* @return {!proto.RippleSignedTx} returns this
*/
proto.RippleSignedTx.prototype.clearSerializedTx = function() {
jspb.Message.setField(this, 2, undefined);
return jspb.Message.setField(this, 2, undefined);
};

@@ -1278,3 +1413,3 @@

* Returns whether this field is set.
* @return {!boolean}
* @return {boolean}
*/

@@ -1281,0 +1416,0 @@ proto.RippleSignedTx.prototype.hasSerializedTx = function() {

@@ -890,2 +890,5 @@ // package:

BUTTONREQUEST_CONFIRMMEMO: 35;
BUTTONREQUEST_REMOVEWIPECODE: 36;
BUTTONREQUEST_CHANGEWIPECODE: 37;
BUTTONREQUEST_CREATEWIPECODE: 38;
}

@@ -892,0 +895,0 @@

{
"name": "@keepkey/device-protocol",
"version": "6.4.1",
"version": "7.0.0",
"publishConfig": {

@@ -11,4 +11,4 @@ "access": "public"

"build": "npm run build:js && npm run build:json && npm run build:postprocess",
"build:js": "protoc --plugin=protoc-gen-ts=./node_modules/.bin/protoc-gen-ts --js_out=import_style=commonjs,binary:./lib --ts_out=./lib exchange.proto types.proto messages.proto messages-eos.proto messages-nano.proto messages-cosmos.proto messages-binance.proto messages-ripple.proto",
"build:json": "pbjs --keep-case -t json ./types.proto ./messages.proto ./messages-eos.proto ./messages-nano.proto ./messages-cosmos.proto ./messages-binance.proto ./messages-ripple.proto ./exchange.proto > ./lib/proto.json",
"build:js": "protoc --plugin=protoc-gen-ts=./node_modules/.bin/protoc-gen-ts --js_out=import_style=commonjs,binary:./lib --ts_out=./lib exchange.proto types.proto messages.proto messages-eos.proto messages-nano.proto messages-cosmos.proto messages-binance.proto messages-ripple.proto messages-thorchain.proto",
"build:json": "pbjs --keep-case -t json ./types.proto ./messages.proto ./messages-eos.proto ./messages-nano.proto ./messages-cosmos.proto ./messages-binance.proto ./messages-ripple.proto ./messages-thorchain.proto ./exchange.proto > ./lib/proto.json",
"build:postprocess": "find ./lib -name \"*.js\" -exec sed -i '' -e \"s/var global = Function(\\'return this\\')();/var global = (function(){ return this }).call(null);/g\" {} \\;",

@@ -15,0 +15,0 @@ "test": "echo \"Error: no test specified\" && exit 1"

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc