@keepkey/device-protocol 7.9.1 → 7.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -13,7 +13,13 @@
13
13
 
14
14
  var jspb = require('google-protobuf');
15
15
  var goog = jspb;
16
- var global = (function(){ return this }).call(null);
16
+ var global = (function() {
17
+ if (this) { return this; }
18
+ if (typeof window !== 'undefined') { return window; }
19
+ if (typeof global !== 'undefined') { return global; }
20
+ if (typeof self !== 'undefined') { return self; }
21
+ return Function('return this')();
22
+ }.call(null));
17
23
 
18
24
  var types_pb = require('./types_pb.js');
19
25
  goog.object.extend(proto, types_pb);
@@ -1742,8 +1748,7 @@ proto.BinanceTransferMsg.BinanceInputOutput.toObject = function(includeInstance,
1742
1748
  address: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f,
1743
1749
  coinsList: jspb.Message.toObjectList(msg.getCoinsList(),
1744
1750
  proto.BinanceTransferMsg.BinanceCoin.toObject, includeInstance),
1745
- addressType: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f,
1746
- exchangeType: (f = msg.getExchangeType()) && types_pb.ExchangeType.toObject(includeInstance, f)
1751
+ addressType: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f
1747
1752
  };
1748
1753
 
1749
1754
  if (includeInstance) {
@@ -1793,11 +1798,6 @@ proto.BinanceTransferMsg.BinanceInputOutput.deserializeBinaryFromReader = functi
1793
1798
  var value = /** @type {!proto.OutputAddressType} */ (reader.readEnum());
1794
1799
  msg.setAddressType(value);
1795
1800
  break;
1796
- case 4:
1797
- var value = new types_pb.ExchangeType;
1798
- reader.readMessage(value,types_pb.ExchangeType.deserializeBinaryFromReader);
1799
- msg.setExchangeType(value);
1800
- break;
1801
1801
  default:
1802
1802
  reader.skipField();
1803
1803
  break;
@@ -1849,14 +1849,6 @@ proto.BinanceTransferMsg.BinanceInputOutput.serializeBinaryToWriter = function(m
1849
1849
  f
1850
1850
  );
1851
1851
  }
1852
- f = message.getExchangeType();
1853
- if (f != null) {
1854
- writer.writeMessage(
1855
- 4,
1856
- f,
1857
- types_pb.ExchangeType.serializeBinaryToWriter
1858
- );
1859
- }
1860
1852
  };
1861
1853
 
1862
1854
 
@@ -1970,43 +1962,6 @@ proto.BinanceTransferMsg.BinanceInputOutput.prototype.hasAddressType = function(
1970
1962
  };
1971
1963
 
1972
1964
 
1973
- /**
1974
- * optional ExchangeType exchange_type = 4;
1975
- * @return {?proto.ExchangeType}
1976
- */
1977
- proto.BinanceTransferMsg.BinanceInputOutput.prototype.getExchangeType = function() {
1978
- return /** @type{?proto.ExchangeType} */ (
1979
- jspb.Message.getWrapperField(this, types_pb.ExchangeType, 4));
1980
- };
1981
-
1982
-
1983
- /**
1984
- * @param {?proto.ExchangeType|undefined} value
1985
- * @return {!proto.BinanceTransferMsg.BinanceInputOutput} returns this
1986
- */
1987
- proto.BinanceTransferMsg.BinanceInputOutput.prototype.setExchangeType = function(value) {
1988
- return jspb.Message.setWrapperField(this, 4, value);
1989
- };
1990
-
1991
-
1992
- /**
1993
- * Clears the message field making it undefined.
1994
- * @return {!proto.BinanceTransferMsg.BinanceInputOutput} returns this
1995
- */
1996
- proto.BinanceTransferMsg.BinanceInputOutput.prototype.clearExchangeType = function() {
1997
- return this.setExchangeType(undefined);
1998
- };
1999
-
2000
-
2001
- /**
2002
- * Returns whether this field is set.
2003
- * @return {boolean}
2004
- */
2005
- proto.BinanceTransferMsg.BinanceInputOutput.prototype.hasExchangeType = function() {
2006
- return jspb.Message.getField(this, 4) != null;
2007
- };
2008
-
2009
-
2010
1965
 
2011
1966
 
2012
1967
 
@@ -13,7 +13,13 @@
13
13
 
14
14
  var jspb = require('google-protobuf');
15
15
  var goog = jspb;
16
- var global = (function(){ return this }).call(null);
16
+ var global = (function() {
17
+ if (this) { return this; }
18
+ if (typeof window !== 'undefined') { return window; }
19
+ if (typeof global !== 'undefined') { return global; }
20
+ if (typeof self !== 'undefined') { return self; }
21
+ return Function('return this')();
22
+ }.call(null));
17
23
 
18
24
  var types_pb = require('./types_pb.js');
19
25
  goog.object.extend(proto, types_pb);
@@ -1671,8 +1677,7 @@ proto.CosmosMsgSend.toObject = function(includeInstance, msg) {
1671
1677
  fromAddress: (f = jspb.Message.getField(msg, 6)) == null ? undefined : f,
1672
1678
  toAddress: (f = jspb.Message.getField(msg, 7)) == null ? undefined : f,
1673
1679
  amount: (f = jspb.Message.getField(msg, 8)) == null ? undefined : f,
1674
- addressType: (f = jspb.Message.getField(msg, 9)) == null ? undefined : f,
1675
- exchangeType: (f = msg.getExchangeType()) && types_pb.ExchangeType.toObject(includeInstance, f)
1680
+ addressType: (f = jspb.Message.getField(msg, 9)) == null ? undefined : f
1676
1681
  };
1677
1682
 
1678
1683
  if (includeInstance) {
@@ -1725,11 +1730,6 @@ proto.CosmosMsgSend.deserializeBinaryFromReader = function(msg, reader) {
1725
1730
  var value = /** @type {!proto.OutputAddressType} */ (reader.readEnum());
1726
1731
  msg.setAddressType(value);
1727
1732
  break;
1728
- case 10:
1729
- var value = new types_pb.ExchangeType;
1730
- reader.readMessage(value,types_pb.ExchangeType.deserializeBinaryFromReader);
1731
- msg.setExchangeType(value);
1732
- break;
1733
1733
  default:
1734
1734
  reader.skipField();
1735
1735
  break;
@@ -1787,14 +1787,6 @@ proto.CosmosMsgSend.serializeBinaryToWriter = function(message, writer) {
1787
1787
  f
1788
1788
  );
1789
1789
  }
1790
- f = message.getExchangeType();
1791
- if (f != null) {
1792
- writer.writeMessage(
1793
- 10,
1794
- f,
1795
- types_pb.ExchangeType.serializeBinaryToWriter
1796
- );
1797
- }
1798
1790
  };
1799
1791
 
1800
1792
 
@@ -1942,43 +1934,6 @@ proto.CosmosMsgSend.prototype.hasAddressType = function() {
1942
1934
  };
1943
1935
 
1944
1936
 
1945
- /**
1946
- * optional ExchangeType exchange_type = 10;
1947
- * @return {?proto.ExchangeType}
1948
- */
1949
- proto.CosmosMsgSend.prototype.getExchangeType = function() {
1950
- return /** @type{?proto.ExchangeType} */ (
1951
- jspb.Message.getWrapperField(this, types_pb.ExchangeType, 10));
1952
- };
1953
-
1954
-
1955
- /**
1956
- * @param {?proto.ExchangeType|undefined} value
1957
- * @return {!proto.CosmosMsgSend} returns this
1958
- */
1959
- proto.CosmosMsgSend.prototype.setExchangeType = function(value) {
1960
- return jspb.Message.setWrapperField(this, 10, value);
1961
- };
1962
-
1963
-
1964
- /**
1965
- * Clears the message field making it undefined.
1966
- * @return {!proto.CosmosMsgSend} returns this
1967
- */
1968
- proto.CosmosMsgSend.prototype.clearExchangeType = function() {
1969
- return this.setExchangeType(undefined);
1970
- };
1971
-
1972
-
1973
- /**
1974
- * Returns whether this field is set.
1975
- * @return {boolean}
1976
- */
1977
- proto.CosmosMsgSend.prototype.hasExchangeType = function() {
1978
- return jspb.Message.getField(this, 10) != null;
1979
- };
1980
-
1981
-
1982
1937
 
1983
1938
 
1984
1939
 
@@ -13,7 +13,13 @@
13
13
 
14
14
  var jspb = require('google-protobuf');
15
15
  var goog = jspb;
16
- var global = (function(){ return this }).call(null);
16
+ var global = (function() {
17
+ if (this) { return this; }
18
+ if (typeof window !== 'undefined') { return window; }
19
+ if (typeof global !== 'undefined') { return global; }
20
+ if (typeof self !== 'undefined') { return self; }
21
+ return Function('return this')();
22
+ }.call(null));
17
23
 
18
24
  goog.exportSymbol('proto.EosActionBuyRam', null, global);
19
25
  goog.exportSymbol('proto.EosActionBuyRamBytes', null, global);