@keepkey/device-protocol 7.7.0 → 7.9.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.
- package/lib/messages-cosmos_pb.d.ts +236 -0
- package/lib/messages-cosmos_pb.js +1964 -91
- package/lib/messages-osmosis_pb.d.ts +242 -198
- package/lib/messages-osmosis_pb.js +2004 -1685
- package/lib/messages-tendermint_pb.d.ts +230 -0
- package/lib/messages-tendermint_pb.js +1917 -92
- package/lib/messages_pb.d.ts +26 -9
- package/lib/messages_pb.js +69 -10
- package/lib/proto.json +457 -105
- package/package.json +1 -1
package/lib/messages_pb.d.ts
CHANGED
@@ -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,22 +2720,28 @@ 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;
|
2715
2731
|
MESSAGETYPE_OSMOSISMSGREQUEST: 1103;
|
2716
2732
|
MESSAGETYPE_OSMOSISMSGACK: 1104;
|
2717
2733
|
MESSAGETYPE_OSMOSISMSGSEND: 1105;
|
2718
|
-
|
2734
|
+
MESSAGETYPE_OSMOSISMSGDELEGATE: 1106;
|
2719
2735
|
MESSAGETYPE_OSMOSISMSGUNDELEGATE: 1107;
|
2720
|
-
|
2721
|
-
|
2722
|
-
|
2723
|
-
|
2724
|
-
|
2725
|
-
|
2726
|
-
|
2727
|
-
|
2736
|
+
MESSAGETYPE_OSMOSISMSGREDELEGATE: 1108;
|
2737
|
+
MESSAGETYPE_OSMOSISMSGREWARDS: 1109;
|
2738
|
+
MESSAGETYPE_OSMOSISMSGLPADD: 1110;
|
2739
|
+
MESSAGETYPE_OSMOSISMSGLPREMOVE: 1111;
|
2740
|
+
MESSAGETYPE_OSMOSISMSGLPSTAKE: 1112;
|
2741
|
+
MESSAGETYPE_OSMOSISMSGLPUNSTAKE: 1113;
|
2742
|
+
MESSAGETYPE_OSMOSISMSGIBCTRANFER: 1114;
|
2743
|
+
MESSAGETYPE_OSMOSISMSGSWAP: 1115;
|
2744
|
+
MESSAGETYPE_OSMOSISSIGNEDTX: 1116;
|
2728
2745
|
}
|
2729
2746
|
|
2730
2747
|
export const MessageType: MessageTypeMap;
|
package/lib/messages_pb.js
CHANGED
@@ -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,22 +21083,28 @@ 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,
|
21036
21094
|
MESSAGETYPE_OSMOSISMSGREQUEST: 1103,
|
21037
21095
|
MESSAGETYPE_OSMOSISMSGACK: 1104,
|
21038
21096
|
MESSAGETYPE_OSMOSISMSGSEND: 1105,
|
21039
|
-
|
21097
|
+
MESSAGETYPE_OSMOSISMSGDELEGATE: 1106,
|
21040
21098
|
MESSAGETYPE_OSMOSISMSGUNDELEGATE: 1107,
|
21041
|
-
|
21042
|
-
|
21043
|
-
|
21044
|
-
|
21045
|
-
|
21046
|
-
|
21047
|
-
|
21048
|
-
|
21099
|
+
MESSAGETYPE_OSMOSISMSGREDELEGATE: 1108,
|
21100
|
+
MESSAGETYPE_OSMOSISMSGREWARDS: 1109,
|
21101
|
+
MESSAGETYPE_OSMOSISMSGLPADD: 1110,
|
21102
|
+
MESSAGETYPE_OSMOSISMSGLPREMOVE: 1111,
|
21103
|
+
MESSAGETYPE_OSMOSISMSGLPSTAKE: 1112,
|
21104
|
+
MESSAGETYPE_OSMOSISMSGLPUNSTAKE: 1113,
|
21105
|
+
MESSAGETYPE_OSMOSISMSGIBCTRANFER: 1114,
|
21106
|
+
MESSAGETYPE_OSMOSISMSGSWAP: 1115,
|
21107
|
+
MESSAGETYPE_OSMOSISSIGNEDTX: 1116
|
21049
21108
|
};
|
21050
21109
|
|
21051
21110
|
goog.object.extend(exports, proto);
|