@keepkey/device-protocol 7.6.0 → 7.8.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
 
@@ -2702,6 +2708,11 @@ export interface MessageTypeMap {
2702
2708
  MESSAGETYPE_COSMOSMSGREQUEST: 903;
2703
2709
  MESSAGETYPE_COSMOSMSGACK: 904;
2704
2710
  MESSAGETYPE_COSMOSSIGNEDTX: 905;
2711
+ MESSAGETYPE_COSMOSMSGDELEGATE: 906;
2712
+ MESSAGETYPE_COSMOSMSGUNDELEGATE: 907;
2713
+ MESSAGETYPE_COSMOSMSGREDELEGATE: 908;
2714
+ MESSAGETYPE_COSMOSMSGREWARDS: 909;
2715
+ MESSAGETYPE_COSMOSMSGIBCTRANSFER: 910;
2705
2716
  MESSAGETYPE_TENDERMINTGETADDRESS: 1000;
2706
2717
  MESSAGETYPE_TENDERMINTADDRESS: 1001;
2707
2718
  MESSAGETYPE_TENDERMINTSIGNTX: 1002;
@@ -2709,6 +2720,11 @@ export interface MessageTypeMap {
2709
2720
  MESSAGETYPE_TENDERMINTMSGACK: 1004;
2710
2721
  MESSAGETYPE_TENDERMINTMSGSEND: 1005;
2711
2722
  MESSAGETYPE_TENDERMINTSIGNEDTX: 1006;
2723
+ MESSAGETYPE_TENDERMINTMSGDELEGATE: 1007;
2724
+ MESSAGETYPE_TENDERMINTMSGUNDELEGATE: 1008;
2725
+ MESSAGETYPE_TENDERMINTMSGREDELEGATE: 1009;
2726
+ MESSAGETYPE_TENDERMINTMSGREWARDS: 1010;
2727
+ MESSAGETYPE_TENDERMINTMSGIBCTRANSFER: 1011;
2712
2728
  MESSAGETYPE_OSMOSISGETADDRESS: 1100;
2713
2729
  MESSAGETYPE_OSMOSISADDRESS: 1101;
2714
2730
  MESSAGETYPE_OSMOSISSIGNTX: 1102;
@@ -2720,10 +2736,10 @@ export interface MessageTypeMap {
2720
2736
  MESSAGETYPE_OSMOSISMSGCLAIM: 1108;
2721
2737
  MESSAGETYPE_OSMOSISMSGLPADD: 1109;
2722
2738
  MESSAGETYPE_OSMOSISMSGLPREMOVE: 1110;
2723
- MESSAGETYPE_OSMOSISMSGLPFARMTOKENS: 1111;
2724
- MESSAGETYPE_OSMOSISMSGLPIBCDEPOSIT: 1112;
2725
- MESSAGETYPE_OSMOSISMSGLPWITHDRAWAL: 1113;
2726
- MESSAGETYPE_OSMOSISMSGLPSWAP: 1114;
2739
+ MESSAGETYPE_OSMOSISMSGFARMTOKENS: 1111;
2740
+ MESSAGETYPE_OSMOSISMSGIBCDEPOSIT: 1112;
2741
+ MESSAGETYPE_OSMOSISMSGWITHDRAWAL: 1113;
2742
+ MESSAGETYPE_OSMOSISMSGSWAP: 1114;
2727
2743
  MESSAGETYPE_OSMOSISSIGNEDTX: 1115;
2728
2744
  }
2729
2745
 
@@ -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
 
@@ -21023,6 +21071,11 @@ proto.MessageType = {
21023
21071
  MESSAGETYPE_COSMOSMSGREQUEST: 903,
21024
21072
  MESSAGETYPE_COSMOSMSGACK: 904,
21025
21073
  MESSAGETYPE_COSMOSSIGNEDTX: 905,
21074
+ MESSAGETYPE_COSMOSMSGDELEGATE: 906,
21075
+ MESSAGETYPE_COSMOSMSGUNDELEGATE: 907,
21076
+ MESSAGETYPE_COSMOSMSGREDELEGATE: 908,
21077
+ MESSAGETYPE_COSMOSMSGREWARDS: 909,
21078
+ MESSAGETYPE_COSMOSMSGIBCTRANSFER: 910,
21026
21079
  MESSAGETYPE_TENDERMINTGETADDRESS: 1000,
21027
21080
  MESSAGETYPE_TENDERMINTADDRESS: 1001,
21028
21081
  MESSAGETYPE_TENDERMINTSIGNTX: 1002,
@@ -21030,6 +21083,11 @@ proto.MessageType = {
21030
21083
  MESSAGETYPE_TENDERMINTMSGACK: 1004,
21031
21084
  MESSAGETYPE_TENDERMINTMSGSEND: 1005,
21032
21085
  MESSAGETYPE_TENDERMINTSIGNEDTX: 1006,
21086
+ MESSAGETYPE_TENDERMINTMSGDELEGATE: 1007,
21087
+ MESSAGETYPE_TENDERMINTMSGUNDELEGATE: 1008,
21088
+ MESSAGETYPE_TENDERMINTMSGREDELEGATE: 1009,
21089
+ MESSAGETYPE_TENDERMINTMSGREWARDS: 1010,
21090
+ MESSAGETYPE_TENDERMINTMSGIBCTRANSFER: 1011,
21033
21091
  MESSAGETYPE_OSMOSISGETADDRESS: 1100,
21034
21092
  MESSAGETYPE_OSMOSISADDRESS: 1101,
21035
21093
  MESSAGETYPE_OSMOSISSIGNTX: 1102,
@@ -21041,10 +21099,10 @@ proto.MessageType = {
21041
21099
  MESSAGETYPE_OSMOSISMSGCLAIM: 1108,
21042
21100
  MESSAGETYPE_OSMOSISMSGLPADD: 1109,
21043
21101
  MESSAGETYPE_OSMOSISMSGLPREMOVE: 1110,
21044
- MESSAGETYPE_OSMOSISMSGLPFARMTOKENS: 1111,
21045
- MESSAGETYPE_OSMOSISMSGLPIBCDEPOSIT: 1112,
21046
- MESSAGETYPE_OSMOSISMSGLPWITHDRAWAL: 1113,
21047
- MESSAGETYPE_OSMOSISMSGLPSWAP: 1114,
21102
+ MESSAGETYPE_OSMOSISMSGFARMTOKENS: 1111,
21103
+ MESSAGETYPE_OSMOSISMSGIBCDEPOSIT: 1112,
21104
+ MESSAGETYPE_OSMOSISMSGWITHDRAWAL: 1113,
21105
+ MESSAGETYPE_OSMOSISMSGSWAP: 1114,
21048
21106
  MESSAGETYPE_OSMOSISSIGNEDTX: 1115
21049
21107
  };
21050
21108
 
package/lib/proto.json CHANGED
@@ -1691,6 +1691,11 @@
1691
1691
  "MessageType_CosmosMsgRequest": 903,
1692
1692
  "MessageType_CosmosMsgAck": 904,
1693
1693
  "MessageType_CosmosSignedTx": 905,
1694
+ "MessageType_CosmosMsgDelegate": 906,
1695
+ "MessageType_CosmosMsgUndelegate": 907,
1696
+ "MessageType_CosmosMsgRedelegate": 908,
1697
+ "MessageType_CosmosMsgRewards": 909,
1698
+ "MessageType_CosmosMsgIBCTransfer": 910,
1694
1699
  "MessageType_TendermintGetAddress": 1000,
1695
1700
  "MessageType_TendermintAddress": 1001,
1696
1701
  "MessageType_TendermintSignTx": 1002,
@@ -1698,6 +1703,11 @@
1698
1703
  "MessageType_TendermintMsgAck": 1004,
1699
1704
  "MessageType_TendermintMsgSend": 1005,
1700
1705
  "MessageType_TendermintSignedTx": 1006,
1706
+ "MessageType_TendermintMsgDelegate": 1007,
1707
+ "MessageType_TendermintMsgUndelegate": 1008,
1708
+ "MessageType_TendermintMsgRedelegate": 1009,
1709
+ "MessageType_TendermintMsgRewards": 1010,
1710
+ "MessageType_TendermintMsgIBCTransfer": 1011,
1701
1711
  "MessageType_OsmosisGetAddress": 1100,
1702
1712
  "MessageType_OsmosisAddress": 1101,
1703
1713
  "MessageType_OsmosisSignTx": 1102,
@@ -1709,10 +1719,10 @@
1709
1719
  "MessageType_OsmosisMsgClaim": 1108,
1710
1720
  "MessageType_OsmosisMsgLPAdd": 1109,
1711
1721
  "MessageType_OsmosisMsgLPRemove": 1110,
1712
- "MessageType_OsmosisMsgLPFarmTokens": 1111,
1713
- "MessageType_OsmosisMsgLPIBCDeposit": 1112,
1714
- "MessageType_OsmosisMsgLPWithdrawal": 1113,
1715
- "MessageType_OsmosisMsgLPSwap": 1114,
1722
+ "MessageType_OsmosisMsgFarmTokens": 1111,
1723
+ "MessageType_OsmosisMsgIBCDeposit": 1112,
1724
+ "MessageType_OsmosisMsgWithdrawal": 1113,
1725
+ "MessageType_OsmosisMsgSwap": 1114,
1716
1726
  "MessageType_OsmosisSignedTx": 1115
1717
1727
  }
1718
1728
  },
@@ -1817,6 +1827,10 @@
1817
1827
  "wipe_code_protection": {
1818
1828
  "type": "bool",
1819
1829
  "id": 25
1830
+ },
1831
+ "auto_lock_delay_ms": {
1832
+ "type": "uint32",
1833
+ "id": 26
1820
1834
  }
1821
1835
  }
1822
1836
  },
@@ -3804,6 +3818,26 @@
3804
3818
  "send": {
3805
3819
  "type": "CosmosMsgSend",
3806
3820
  "id": 1
3821
+ },
3822
+ "delegate": {
3823
+ "type": "CosmosMsgDelegate",
3824
+ "id": 2
3825
+ },
3826
+ "undelegate": {
3827
+ "type": "CosmosMsgUndelegate",
3828
+ "id": 3
3829
+ },
3830
+ "redelegate": {
3831
+ "type": "CosmosMsgRedelegate",
3832
+ "id": 4
3833
+ },
3834
+ "rewards": {
3835
+ "type": "CosmosMsgRewards",
3836
+ "id": 5
3837
+ },
3838
+ "ibc_transfer": {
3839
+ "type": "CosmosMsgIBCTransfer",
3840
+ "id": 6
3807
3841
  }
3808
3842
  }
3809
3843
  },
@@ -3834,6 +3868,122 @@
3834
3868
  }
3835
3869
  }
3836
3870
  },
3871
+ "CosmosMsgDelegate": {
3872
+ "fields": {
3873
+ "delegator_address": {
3874
+ "type": "string",
3875
+ "id": 1
3876
+ },
3877
+ "validator_address": {
3878
+ "type": "string",
3879
+ "id": 2
3880
+ },
3881
+ "amount": {
3882
+ "type": "uint64",
3883
+ "id": 3,
3884
+ "options": {
3885
+ "jstype": "JS_STRING"
3886
+ }
3887
+ }
3888
+ }
3889
+ },
3890
+ "CosmosMsgUndelegate": {
3891
+ "fields": {
3892
+ "delegator_address": {
3893
+ "type": "string",
3894
+ "id": 1
3895
+ },
3896
+ "validator_address": {
3897
+ "type": "string",
3898
+ "id": 2
3899
+ },
3900
+ "amount": {
3901
+ "type": "uint64",
3902
+ "id": 3,
3903
+ "options": {
3904
+ "jstype": "JS_STRING"
3905
+ }
3906
+ }
3907
+ }
3908
+ },
3909
+ "CosmosMsgRedelegate": {
3910
+ "fields": {
3911
+ "delegator_address": {
3912
+ "type": "string",
3913
+ "id": 1
3914
+ },
3915
+ "validator_src_address": {
3916
+ "type": "string",
3917
+ "id": 2
3918
+ },
3919
+ "validator_dst_address": {
3920
+ "type": "string",
3921
+ "id": 3
3922
+ },
3923
+ "amount": {
3924
+ "type": "uint64",
3925
+ "id": 4,
3926
+ "options": {
3927
+ "jstype": "JS_STRING"
3928
+ }
3929
+ }
3930
+ }
3931
+ },
3932
+ "CosmosMsgRewards": {
3933
+ "fields": {
3934
+ "delegator_address": {
3935
+ "type": "string",
3936
+ "id": 1
3937
+ },
3938
+ "validator_address": {
3939
+ "type": "string",
3940
+ "id": 2
3941
+ },
3942
+ "amount": {
3943
+ "type": "uint64",
3944
+ "id": 3,
3945
+ "options": {
3946
+ "jstype": "JS_STRING"
3947
+ }
3948
+ }
3949
+ }
3950
+ },
3951
+ "CosmosMsgIBCTransfer": {
3952
+ "fields": {
3953
+ "receiver": {
3954
+ "type": "string",
3955
+ "id": 1
3956
+ },
3957
+ "sender": {
3958
+ "type": "string",
3959
+ "id": 2
3960
+ },
3961
+ "source_channel": {
3962
+ "type": "string",
3963
+ "id": 3
3964
+ },
3965
+ "source_port": {
3966
+ "type": "string",
3967
+ "id": 4
3968
+ },
3969
+ "revision_height": {
3970
+ "type": "string",
3971
+ "id": 5
3972
+ },
3973
+ "revision_number": {
3974
+ "type": "string",
3975
+ "id": 6
3976
+ },
3977
+ "denom": {
3978
+ "type": "string",
3979
+ "id": 7
3980
+ },
3981
+ "amount": {
3982
+ "type": "uint64",
3983
+ "id": 8
3984
+ }
3985
+ }
3986
+ },
3837
3987
  "CosmosSignedTx": {
3838
3988
  "fields": {
3839
3989
  "public_key": {
@@ -4284,17 +4434,37 @@
4284
4434
  "type": "TendermintMsgSend",
4285
4435
  "id": 1
4286
4436
  },
4437
+ "delegate": {
4438
+ "type": "TendermintMsgDelegate",
4439
+ "id": 2
4440
+ },
4441
+ "undelegate": {
4442
+ "type": "TendermintMsgUndelegate",
4443
+ "id": 3
4444
+ },
4445
+ "redelegate": {
4446
+ "type": "TendermintMsgRedelegate",
4447
+ "id": 4
4448
+ },
4449
+ "rewards": {
4450
+ "type": "TendermintMsgRewards",
4451
+ "id": 5
4452
+ },
4453
+ "ibc_transfer": {
4454
+ "type": "TendermintMsgIBCTransfer",
4455
+ "id": 6
4456
+ },
4287
4457
  "denom": {
4288
4458
  "type": "string",
4289
- "id": 2
4459
+ "id": 7
4290
4460
  },
4291
4461
  "chain_name": {
4292
4462
  "type": "string",
4293
- "id": 3
4463
+ "id": 8
4294
4464
  },
4295
4465
  "message_type_prefix": {
4296
4466
  "type": "string",
4297
- "id": 4
4467
+ "id": 9
4298
4468
  }
4299
4469
  }
4300
4470
  },
@@ -4325,6 +4495,118 @@
4325
4495
  }
4326
4496
  }
4327
4497
  },
4498
+ "TendermintMsgDelegate": {
4499
+ "fields": {
4500
+ "delegator_address": {
4501
+ "type": "string",
4502
+ "id": 1
4503
+ },
4504
+ "validator_address": {
4505
+ "type": "string",
4506
+ "id": 2
4507
+ },
4508
+ "amount": {
4509
+ "type": "uint64",
4510
+ "id": 3,
4511
+ "options": {
4512
+ "jstype": "JS_STRING"
4513
+ }
4514
+ }
4515
+ }
4516
+ },
4517
+ "TendermintMsgUndelegate": {
4518
+ "fields": {
4519
+ "delegator_address": {
4520
+ "type": "string",
4521
+ "id": 1
4522
+ },
4523
+ "validator_address": {
4524
+ "type": "string",
4525
+ "id": 2
4526
+ },
4527
+ "amount": {
4528
+ "type": "uint64",
4529
+ "id": 3,
4530
+ "options": {
4531
+ "jstype": "JS_STRING"
4532
+ }
4533
+ }
4534
+ }
4535
+ },
4536
+ "TendermintMsgRedelegate": {
4537
+ "fields": {
4538
+ "delegator_address": {
4539
+ "type": "string",
4540
+ "id": 1
4541
+ },
4542
+ "validator_src_address": {
4543
+ "type": "string",
4544
+ "id": 2
4545
+ },
4546
+ "validator_dst_address": {
4547
+ "type": "string",
4548
+ "id": 3
4549
+ },
4550
+ "amount": {
4551
+ "type": "uint64",
4552
+ "id": 4,
4553
+ "options": {
4554
+ "jstype": "JS_STRING"
4555
+ }
4556
+ }
4557
+ }
4558
+ },
4559
+ "TendermintMsgRewards": {
4560
+ "fields": {
4561
+ "delegator_address": {
4562
+ "type": "string",
4563
+ "id": 1
4564
+ },
4565
+ "validator_address": {
4566
+ "type": "string",
4567
+ "id": 2
4568
+ },
4569
+ "amount": {
4570
+ "type": "uint64",
4571
+ "id": 3,
4572
+ "options": {
4573
+ "jstype": "JS_STRING"
4574
+ }
4575
+ }
4576
+ }
4577
+ },
4578
+ "TendermintMsgIBCTransfer": {
4579
+ "fields": {
4580
+ "receiver": {
4581
+ "type": "string",
4582
+ "id": 1
4583
+ },
4584
+ "sender": {
4585
+ "type": "string",
4586
+ "id": 2
4587
+ },
4588
+ "source_channel": {
4589
+ "type": "string",
4590
+ "id": 3
4591
+ },
4592
+ "source_port": {
4593
+ "type": "string",
4594
+ "id": 4
4595
+ },
4596
+ "revision_height": {
4597
+ "type": "string",
4598
+ "id": 5
4599
+ },
4600
+ "revision_number": {
4601
+ "type": "string",
4602
+ "id": 6
4603
+ },
4604
+ "denom": {
4605
+ "type": "string",
4606
+ "id": 7
4607
+ }
4608
+ }
4609
+ },
4328
4610
  "TendermintSignedTx": {
4329
4611
  "fields": {
4330
4612
  "public_key": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keepkey/device-protocol",
3
- "version": "7.6.0",
3
+ "version": "7.8.1",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },