@keepkey/device-protocol 7.7.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
 
@@ -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
 
package/lib/proto.json CHANGED
@@ -1817,6 +1817,10 @@
1817
1817
  "wipe_code_protection": {
1818
1818
  "type": "bool",
1819
1819
  "id": 25
1820
+ },
1821
+ "auto_lock_delay_ms": {
1822
+ "type": "uint32",
1823
+ "id": 26
1820
1824
  }
1821
1825
  }
1822
1826
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keepkey/device-protocol",
3
- "version": "7.7.0",
3
+ "version": "7.7.1",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },