@keepkey/device-protocol 7.5.0 → 7.7.1

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.
@@ -158,6 +158,11 @@ export class Features extends jspb.Message {
158
158
  getWipeCodeProtection(): boolean | undefined;
159
159
  setWipeCodeProtection(value: boolean): void;
160
160
 
161
+ hasAutoLockDelayMs(): boolean;
162
+ clearAutoLockDelayMs(): void;
163
+ getAutoLockDelayMs(): number | undefined;
164
+ setAutoLockDelayMs(value: number): void;
165
+
161
166
  serializeBinary(): Uint8Array;
162
167
  toObject(includeInstance?: boolean): Features.AsObject;
163
168
  static toObject(includeInstance: boolean, msg: Features): Features.AsObject;
@@ -193,6 +198,7 @@ export namespace Features {
193
198
  firmwareHash: Uint8Array | string,
194
199
  noBackup?: boolean,
195
200
  wipeCodeProtection?: boolean,
201
+ autoLockDelayMs?: number,
196
202
  }
197
203
  }
198
204
 
@@ -2718,7 +2724,13 @@ export interface MessageTypeMap {
2718
2724
  MESSAGETYPE_OSMOSISMSGELEGATE: 1106;
2719
2725
  MESSAGETYPE_OSMOSISMSGUNDELEGATE: 1107;
2720
2726
  MESSAGETYPE_OSMOSISMSGCLAIM: 1108;
2721
- MESSAGETYPE_OSMOSISSIGNEDTX: 1109;
2727
+ MESSAGETYPE_OSMOSISMSGLPADD: 1109;
2728
+ MESSAGETYPE_OSMOSISMSGLPREMOVE: 1110;
2729
+ MESSAGETYPE_OSMOSISMSGFARMTOKENS: 1111;
2730
+ MESSAGETYPE_OSMOSISMSGIBCDEPOSIT: 1112;
2731
+ MESSAGETYPE_OSMOSISMSGWITHDRAWAL: 1113;
2732
+ MESSAGETYPE_OSMOSISMSGSWAP: 1114;
2733
+ MESSAGETYPE_OSMOSISSIGNEDTX: 1115;
2722
2734
  }
2723
2735
 
2724
2736
  export const MessageType: MessageTypeMap;
@@ -1889,7 +1889,8 @@ proto.Features.toObject = function(includeInstance, msg) {
1889
1889
  firmwareVariant: (f = jspb.Message.getField(msg, 22)) == null ? undefined : f,
1890
1890
  firmwareHash: msg.getFirmwareHash_asB64(),
1891
1891
  noBackup: (f = jspb.Message.getBooleanField(msg, 24)) == null ? undefined : f,
1892
- wipeCodeProtection: (f = jspb.Message.getBooleanField(msg, 25)) == null ? undefined : f
1892
+ wipeCodeProtection: (f = jspb.Message.getBooleanField(msg, 25)) == null ? undefined : f,
1893
+ autoLockDelayMs: (f = jspb.Message.getField(msg, 26)) == null ? undefined : f
1893
1894
  };
1894
1895
 
1895
1896
  if (includeInstance) {
@@ -2020,6 +2021,10 @@ proto.Features.deserializeBinaryFromReader = function(msg, reader) {
2020
2021
  var value = /** @type {boolean} */ (reader.readBool());
2021
2022
  msg.setWipeCodeProtection(value);
2022
2023
  break;
2024
+ case 26:
2025
+ var value = /** @type {number} */ (reader.readUint32());
2026
+ msg.setAutoLockDelayMs(value);
2027
+ break;
2023
2028
  default:
2024
2029
  reader.skipField();
2025
2030
  break;
@@ -2212,6 +2217,13 @@ proto.Features.serializeBinaryToWriter = function(message, writer) {
2212
2217
  f
2213
2218
  );
2214
2219
  }
2220
+ f = /** @type {number} */ (jspb.Message.getField(message, 26));
2221
+ if (f != null) {
2222
+ writer.writeUint32(
2223
+ 26,
2224
+ f
2225
+ );
2226
+ }
2215
2227
  };
2216
2228
 
2217
2229
 
@@ -3119,6 +3131,42 @@ proto.Features.prototype.hasWipeCodeProtection = function() {
3119
3131
  };
3120
3132
 
3121
3133
 
3134
+ /**
3135
+ * optional uint32 auto_lock_delay_ms = 26;
3136
+ * @return {number}
3137
+ */
3138
+ proto.Features.prototype.getAutoLockDelayMs = function() {
3139
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 26, 0));
3140
+ };
3141
+
3142
+
3143
+ /**
3144
+ * @param {number} value
3145
+ * @return {!proto.Features} returns this
3146
+ */
3147
+ proto.Features.prototype.setAutoLockDelayMs = function(value) {
3148
+ return jspb.Message.setField(this, 26, value);
3149
+ };
3150
+
3151
+
3152
+ /**
3153
+ * Clears the field making it undefined.
3154
+ * @return {!proto.Features} returns this
3155
+ */
3156
+ proto.Features.prototype.clearAutoLockDelayMs = function() {
3157
+ return jspb.Message.setField(this, 26, undefined);
3158
+ };
3159
+
3160
+
3161
+ /**
3162
+ * Returns whether this field is set.
3163
+ * @return {boolean}
3164
+ */
3165
+ proto.Features.prototype.hasAutoLockDelayMs = function() {
3166
+ return jspb.Message.getField(this, 26) != null;
3167
+ };
3168
+
3169
+
3122
3170
 
3123
3171
 
3124
3172
 
@@ -21039,7 +21087,13 @@ proto.MessageType = {
21039
21087
  MESSAGETYPE_OSMOSISMSGELEGATE: 1106,
21040
21088
  MESSAGETYPE_OSMOSISMSGUNDELEGATE: 1107,
21041
21089
  MESSAGETYPE_OSMOSISMSGCLAIM: 1108,
21042
- MESSAGETYPE_OSMOSISSIGNEDTX: 1109
21090
+ MESSAGETYPE_OSMOSISMSGLPADD: 1109,
21091
+ MESSAGETYPE_OSMOSISMSGLPREMOVE: 1110,
21092
+ MESSAGETYPE_OSMOSISMSGFARMTOKENS: 1111,
21093
+ MESSAGETYPE_OSMOSISMSGIBCDEPOSIT: 1112,
21094
+ MESSAGETYPE_OSMOSISMSGWITHDRAWAL: 1113,
21095
+ MESSAGETYPE_OSMOSISMSGSWAP: 1114,
21096
+ MESSAGETYPE_OSMOSISSIGNEDTX: 1115
21043
21097
  };
21044
21098
 
21045
21099
  goog.object.extend(exports, proto);
package/lib/proto.json CHANGED
@@ -1707,7 +1707,13 @@
1707
1707
  "MessageType_OsmosisMsgelegate": 1106,
1708
1708
  "MessageType_OsmosisMsgUndelegate": 1107,
1709
1709
  "MessageType_OsmosisMsgClaim": 1108,
1710
- "MessageType_OsmosisSignedTx": 1109
1710
+ "MessageType_OsmosisMsgLPAdd": 1109,
1711
+ "MessageType_OsmosisMsgLPRemove": 1110,
1712
+ "MessageType_OsmosisMsgFarmTokens": 1111,
1713
+ "MessageType_OsmosisMsgIBCDeposit": 1112,
1714
+ "MessageType_OsmosisMsgWithdrawal": 1113,
1715
+ "MessageType_OsmosisMsgSwap": 1114,
1716
+ "MessageType_OsmosisSignedTx": 1115
1711
1717
  }
1712
1718
  },
1713
1719
  "Initialize": {
@@ -1811,6 +1817,10 @@
1811
1817
  "wipe_code_protection": {
1812
1818
  "type": "bool",
1813
1819
  "id": 25
1820
+ },
1821
+ "auto_lock_delay_ms": {
1822
+ "type": "uint32",
1823
+ "id": 26
1814
1824
  }
1815
1825
  }
1816
1826
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keepkey/device-protocol",
3
- "version": "7.5.0",
3
+ "version": "7.7.1",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },