@onekeyfe/hd-core 0.2.11 → 0.2.13

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.
Files changed (44) hide show
  1. package/dist/api/cardano/CardanoSignMessage.d.ts +14 -0
  2. package/dist/api/cardano/CardanoSignMessage.d.ts.map +1 -0
  3. package/dist/api/cardano/CardanoSignTransaction.d.ts.map +1 -1
  4. package/dist/api/cardano/helper/auxiliaryData.d.ts.map +1 -1
  5. package/dist/api/cardano/helper/cardanoInputs.d.ts.map +1 -1
  6. package/dist/api/cardano/helper/cardanoOutputs.d.ts.map +1 -1
  7. package/dist/api/cardano/helper/certificate.d.ts.map +1 -1
  8. package/dist/api/cardano/helper/witnesses.d.ts.map +1 -1
  9. package/dist/api/device/DeviceUploadResource.d.ts.map +1 -1
  10. package/dist/api/index.d.ts +1 -0
  11. package/dist/api/index.d.ts.map +1 -1
  12. package/dist/index.d.ts +14 -3
  13. package/dist/index.js +455 -268
  14. package/dist/inject.d.ts.map +1 -1
  15. package/dist/types/api/cardano.d.ts.map +1 -1
  16. package/dist/types/api/cardanoSignMessage.d.ts +16 -0
  17. package/dist/types/api/cardanoSignMessage.d.ts.map +1 -0
  18. package/dist/types/api/index.d.ts +2 -0
  19. package/dist/types/api/index.d.ts.map +1 -1
  20. package/dist/utils/homescreen.d.ts +231 -0
  21. package/dist/utils/homescreen.d.ts.map +1 -0
  22. package/dist/utils/index.d.ts +1 -0
  23. package/dist/utils/index.d.ts.map +1 -1
  24. package/dist/utils/patch.d.ts +1 -1
  25. package/dist/utils/patch.d.ts.map +1 -1
  26. package/package.json +4 -4
  27. package/src/api/cardano/CardanoGetAddress.ts +1 -1
  28. package/src/api/cardano/CardanoGetPublicKey.ts +1 -1
  29. package/src/api/cardano/CardanoSignMessage.ts +58 -0
  30. package/src/api/cardano/CardanoSignTransaction.ts +2 -7
  31. package/src/api/cardano/helper/auxiliaryData.ts +4 -0
  32. package/src/api/cardano/helper/cardanoInputs.ts +0 -2
  33. package/src/api/cardano/helper/cardanoOutputs.ts +0 -1
  34. package/src/api/cardano/helper/certificate.ts +0 -2
  35. package/src/api/cardano/helper/witnesses.ts +0 -2
  36. package/src/api/device/DeviceUploadResource.ts +3 -1
  37. package/src/api/index.ts +1 -0
  38. package/src/data/messages/messages.json +281 -368
  39. package/src/inject.ts +2 -0
  40. package/src/types/api/cardano.ts +0 -1
  41. package/src/types/api/cardanoSignMessage.ts +22 -0
  42. package/src/types/api/index.ts +2 -0
  43. package/src/utils/homescreen.ts +237 -0
  44. package/src/utils/index.ts +2 -0
@@ -1 +1 @@
1
- {"version":3,"file":"inject.d.ts","sourceRoot":"","sources":["../src/inject.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAC;AACtC,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AACtC,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAEtC,MAAM,WAAW,SAAS;IACxB,IAAI,EAAE,UAAU,CAAC;IACjB,YAAY,EAAE,YAAY,CAAC;IAC3B,IAAI,EAAE,OAAO,CAAC,MAAM,CAAC,CAAC;IACtB,OAAO,EAAE,OAAO,CAAC,SAAS,CAAC,CAAC;IAC5B,UAAU,EAAE,OAAO,CAAC,YAAY,CAAC,CAAC;IAClC,MAAM,EAAE,OAAO,CAAC,QAAQ,CAAC,CAAC;CAC3B;AAED,eAAO,MAAM,MAAM,+DAOhB,SAAS,KAAG,OAoMd,CAAC"}
1
+ {"version":3,"file":"inject.d.ts","sourceRoot":"","sources":["../src/inject.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAC;AACtC,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AACtC,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAEtC,MAAM,WAAW,SAAS;IACxB,IAAI,EAAE,UAAU,CAAC;IACjB,YAAY,EAAE,YAAY,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WAAW,sBAAsB;IACrC,IAAI,EAAE,KAAK,CAAC,oBAAoB,CAAC;IACjC,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,8BAA8B;IAC7C,IAAI,EAAE,KAAK,CAAC,oCAAoC,CAAC;IACjD,iBAAiB,EAAE,MAAM,CAAC;IAC1B,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B;AAED,MAAM,WAAW,mBAAmB;IAClC,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,sBAAsB,EAAE,CAAC;IACpC,uBAAuB,CAAC,EAAE,8BAA8B,CAAC;CAC1D"}
@@ -0,0 +1,16 @@
1
+ import type { CardanoMessageSignature } from '@onekeyfe/hd-transport';
2
+ import type { CommonParams, Response } from '../params';
3
+ export declare type CardanoSignMessageParams = {
4
+ address_n: number[];
5
+ message: string;
6
+ derivation_type: number;
7
+ network_id: number;
8
+ };
9
+ export declare type CardanoSignMessageMethodParams = {
10
+ path: string;
11
+ message: string;
12
+ derivationType: number;
13
+ networkId: number;
14
+ };
15
+ export declare function cardanoSignMessage(connectId: string, deviceId: string, params: CommonParams & CardanoSignMessageMethodParams): Response<CardanoMessageSignature>;
16
+ //# sourceMappingURL=cardanoSignMessage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cardanoSignMessage.d.ts","sourceRoot":"","sources":["../../../src/types/api/cardanoSignMessage.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,wBAAwB,CAAC;AACtE,OAAO,KAAK,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AAExD,oBAAY,wBAAwB,GAAG;IACrC,SAAS,EAAE,MAAM,EAAE,CAAC;IACpB,OAAO,EAAE,MAAM,CAAC;IAChB,eAAe,EAAE,MAAM,CAAC;IACxB,UAAU,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,oBAAY,8BAA8B,GAAG;IAC3C,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,cAAc,EAAE,MAAM,CAAC;IACvB,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,MAAM,CAAC,OAAO,UAAU,kBAAkB,CACxC,SAAS,EAAE,MAAM,EACjB,QAAQ,EAAE,MAAM,EAChB,MAAM,EAAE,YAAY,GAAG,8BAA8B,GACpD,QAAQ,CAAC,uBAAuB,CAAC,CAAC"}
@@ -74,6 +74,7 @@ import { suiSignTransaction } from './suiSignTransaction';
74
74
  import { cardanoGetAddress } from './cardanoGetAddress';
75
75
  import { cardanoGetPublicKey } from './cardanoGetPublicKey';
76
76
  import { cardanoSignTransaction } from './cardanoSignTransaction';
77
+ import { cardanoSignMessage } from './cardanoSignMessage';
77
78
  export * from './export';
78
79
  export declare type CoreApi = {
79
80
  init: typeof init;
@@ -158,5 +159,6 @@ export declare type CoreApi = {
158
159
  cardanoGetAddress: typeof cardanoGetAddress;
159
160
  cardanoGetPublicKey: typeof cardanoGetPublicKey;
160
161
  cardanoSignTransaction: typeof cardanoSignTransaction;
162
+ cardanoSignMessage: typeof cardanoSignMessage;
161
163
  };
162
164
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/types/api/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,GAAG,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AACtD,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAE9B,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAChE,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAExD,OAAO,EAAE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hD,iBAAiB,EAAE,OAAO,iBAAiB,CAAC;IAC5C,kBAAkB,EAAE,OAAO,kBAAkB,CAAC;IAC9C,uBAAuB,EAAE,OAAO,uBAAuB,CAAC;IACxD,sBAAsB,EAAE,OAAO,sBAAsB,CAAC;IAKtD,cAAc,EAAE,OAAO,cAAc,CAAC;IACtC,mBAAmB,EAAE,OAAO,mBAAmB,CAAC;IAKhD,eAAe,EAAE,OAAO,eAAe,CAAC;IACxC,iBAAiB,EAAE,OAAO,iBAAiB,CAAC;IAC5C,gBAAgB,EAAE,OAAO,gBAAgB,CAAC;IAC1C,oBAAoB,EAAE,OAAO,oBAAoB,CAAC;IAKlD,cAAc,EAAE,OAAO,cAAc,CAAC;IACtC,mBAAmB,EAAE,OAAO,mBAAmB,CAAC;IAKhD,gBAAgB,EAAE,OAAO,gBAAgB,CAAC;IAC1C,kBAAkB,EAAE,OAAO,kBAAkB,CAAC;IAC9C,qBAAqB,EAAE,OAAO,qBAAqB,CAAC;IAKpD,aAAa,EAAE,OAAO,aAAa,CAAC;IACpC,kBAAkB,EAAE,OAAO,kBAAkB,CAAC;IAK9C,aAAa,EAAE,OAAO,aAAa,CAAC;IACpC,eAAe,EAAE,OAAO,eAAe,CAAC;IACxC,kBAAkB,EAAE,OAAO,kBAAkB,CAAC;IAK9C,iBAAiB,EAAE,OAAO,iBAAiB,CAAC;IAC5C,mBAAmB,EAAE,OAAO,mBAAmB,CAAC;IAChD,sBAAsB,EAAE,OAAO,sBAAsB,CAAC;IACtD,kBAAkB,EAAE,OAAO,kBAAkB,CAAC;CAC/C,CAAC"}
@@ -0,0 +1,231 @@
1
+ import type { IDeviceType } from '../types';
2
+ export declare const getT1Data: () => {
3
+ default: {
4
+ name: string;
5
+ hex: string;
6
+ };
7
+ original: {
8
+ name: string;
9
+ hex: string;
10
+ };
11
+ circleweb: {
12
+ name: string;
13
+ hex: string;
14
+ };
15
+ circuit: {
16
+ name: string;
17
+ hex: string;
18
+ };
19
+ starweb: {
20
+ name: string;
21
+ hex: string;
22
+ };
23
+ stars: {
24
+ name: string;
25
+ hex: string;
26
+ };
27
+ bitcoin_b2: {
28
+ name: string;
29
+ hex: string;
30
+ };
31
+ bitcoin_shade: {
32
+ name: string;
33
+ hex: string;
34
+ };
35
+ bitcoin_b: {
36
+ name: string;
37
+ hex: string;
38
+ };
39
+ bitcoin_full: {
40
+ name: string;
41
+ hex: string;
42
+ };
43
+ bitcat: {
44
+ name: string;
45
+ hex: string;
46
+ };
47
+ nyancat: {
48
+ name: string;
49
+ hex: string;
50
+ };
51
+ coffee: {
52
+ name: string;
53
+ hex: string;
54
+ };
55
+ flower: {
56
+ name: string;
57
+ hex: string;
58
+ };
59
+ saturn: {
60
+ name: string;
61
+ hex: string;
62
+ };
63
+ jupiter: {
64
+ name: string;
65
+ hex: string;
66
+ };
67
+ einstein: {
68
+ name: string;
69
+ hex: string;
70
+ };
71
+ piggy: {
72
+ name: string;
73
+ hex: string;
74
+ };
75
+ honeybadger: {
76
+ name: string;
77
+ hex: string;
78
+ };
79
+ dragon: {
80
+ name: string;
81
+ hex: string;
82
+ };
83
+ narwal: {
84
+ name: string;
85
+ hex: string;
86
+ };
87
+ rabbit: {
88
+ name: string;
89
+ hex: string;
90
+ };
91
+ bunny: {
92
+ name: string;
93
+ hex: string;
94
+ };
95
+ rooster: {
96
+ name: string;
97
+ hex: string;
98
+ };
99
+ genesis: {
100
+ name: string;
101
+ hex: string;
102
+ };
103
+ my_bank: {
104
+ name: string;
105
+ hex: string;
106
+ };
107
+ candle: {
108
+ name: string;
109
+ hex: string;
110
+ };
111
+ ancap: {
112
+ name: string;
113
+ hex: string;
114
+ };
115
+ anonymous: {
116
+ name: string;
117
+ hex: string;
118
+ };
119
+ mushroom: {
120
+ name: string;
121
+ hex: string;
122
+ };
123
+ invader: {
124
+ name: string;
125
+ hex: string;
126
+ };
127
+ mtgox: {
128
+ name: string;
129
+ hex: string;
130
+ };
131
+ electrum: {
132
+ name: string;
133
+ hex: string;
134
+ };
135
+ mycelium: {
136
+ name: string;
137
+ hex: string;
138
+ };
139
+ ethereum: {
140
+ name: string;
141
+ hex: string;
142
+ };
143
+ litecoin: {
144
+ name: string;
145
+ hex: string;
146
+ };
147
+ myetherwallet: {
148
+ name: string;
149
+ hex: string;
150
+ };
151
+ zcash: {
152
+ name: string;
153
+ hex: string;
154
+ };
155
+ dash: {
156
+ name: string;
157
+ hex: string;
158
+ };
159
+ bitcoin_cash: {
160
+ name: string;
161
+ hex: string;
162
+ };
163
+ bitcoin_gold: {
164
+ name: string;
165
+ hex: string;
166
+ };
167
+ vertcoin: {
168
+ name: string;
169
+ hex: string;
170
+ };
171
+ namecoin: {
172
+ name: string;
173
+ hex: string;
174
+ };
175
+ monacoin: {
176
+ name: string;
177
+ hex: string;
178
+ };
179
+ doge: {
180
+ name: string;
181
+ hex: string;
182
+ };
183
+ digibyte: {
184
+ name: string;
185
+ hex: string;
186
+ };
187
+ decred: {
188
+ name: string;
189
+ hex: string;
190
+ };
191
+ reddit: {
192
+ name: string;
193
+ hex: string;
194
+ };
195
+ hacker: {
196
+ name: string;
197
+ hex: string;
198
+ };
199
+ polis: {
200
+ name: string;
201
+ hex: string;
202
+ };
203
+ carlos: {
204
+ name: string;
205
+ hex: string;
206
+ };
207
+ xrc: {
208
+ name: string;
209
+ hex: string;
210
+ };
211
+ };
212
+ export declare const getTouchData: () => {
213
+ 'wallpaper-1': {
214
+ name: string;
215
+ hex: string;
216
+ };
217
+ 'wallpaper-2': {
218
+ name: string;
219
+ hex: string;
220
+ };
221
+ 'wallpaper-3': {
222
+ name: string;
223
+ hex: string;
224
+ };
225
+ 'wallpaper-4': {
226
+ name: string;
227
+ hex: string;
228
+ };
229
+ };
230
+ export declare const getHomeScreenHex: (deviceType: IDeviceType, name: string) => any;
231
+ //# sourceMappingURL=homescreen.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"homescreen.d.ts","sourceRoot":"","sources":["../../src/utils/homescreen.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAE5C,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiNpB,CAAC;AAEH,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;CAiBvB,CAAC;AAEH,eAAO,MAAM,gBAAgB,eAAgB,WAAW,QAAQ,MAAM,QAIrE,CAAC"}
@@ -4,5 +4,6 @@ export * from './patch';
4
4
  export { getDeviceType, getDeviceTypeByBleName, getDeviceTypeByDeviceId, getDeviceUUID, getDeviceLabel, } from './deviceFeaturesUtils';
5
5
  export { getHDPath, getScriptType, getOutputScriptType } from '../api/helpers/pathUtils';
6
6
  export { getLogger, enableLog, LoggerNames, getLog, setLoggerPostMessage } from './logger';
7
+ export { getHomeScreenHex } from './homescreen';
7
8
  export declare const wait: (ms: number) => Promise<unknown>;
8
9
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,SAAS,CAAC;AACxB,OAAO,EACL,aAAa,EACb,sBAAsB,EACtB,uBAAuB,EACvB,aAAa,EACb,cAAc,GACf,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,SAAS,EAAE,aAAa,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAEzF,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAC;AAE3F,eAAO,MAAM,IAAI,OAAQ,MAAM,qBAG3B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,SAAS,CAAC;AACxB,OAAO,EACL,aAAa,EACb,sBAAsB,EACtB,uBAAuB,EACvB,aAAa,EACb,cAAc,GACf,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,SAAS,EAAE,aAAa,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAEzF,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAC;AAE3F,OAAO,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAEhD,eAAO,MAAM,IAAI,OAAQ,MAAM,qBAG3B,CAAC"}
@@ -1,3 +1,3 @@
1
1
  import type { DefaultMessageResponse } from '../device/DeviceCommands';
2
- export declare function patchFeatures(response: DefaultMessageResponse): import("../device/DeviceCommands").TypedResponseMessage<"Address"> | import("../device/DeviceCommands").TypedResponseMessage<"AlgorandGetAddress"> | import("../device/DeviceCommands").TypedResponseMessage<"AlgorandAddress"> | import("../device/DeviceCommands").TypedResponseMessage<"AlgorandSignTx"> | import("../device/DeviceCommands").TypedResponseMessage<"AlgorandSignedTx"> | import("../device/DeviceCommands").TypedResponseMessage<"AptosGetAddress"> | import("../device/DeviceCommands").TypedResponseMessage<"AptosAddress"> | import("../device/DeviceCommands").TypedResponseMessage<"AptosSignTx"> | import("../device/DeviceCommands").TypedResponseMessage<"AptosSignedTx"> | import("../device/DeviceCommands").TypedResponseMessage<"AptosMessagePayload"> | import("../device/DeviceCommands").TypedResponseMessage<"AptosSignMessage"> | import("../device/DeviceCommands").TypedResponseMessage<"AptosMessageSignature"> | import("../device/DeviceCommands").TypedResponseMessage<"BinanceGetAddress"> | import("../device/DeviceCommands").TypedResponseMessage<"BinanceAddress"> | import("../device/DeviceCommands").TypedResponseMessage<"BinanceGetPublicKey"> | import("../device/DeviceCommands").TypedResponseMessage<"BinancePublicKey"> | import("../device/DeviceCommands").TypedResponseMessage<"BinanceSignTx"> | import("../device/DeviceCommands").TypedResponseMessage<"BinanceTxRequest"> | import("../device/DeviceCommands").TypedResponseMessage<"BinanceCoin"> | import("../device/DeviceCommands").TypedResponseMessage<"BinanceInputOutput"> | import("../device/DeviceCommands").TypedResponseMessage<"BinanceTransferMsg"> | import("../device/DeviceCommands").TypedResponseMessage<"BinanceOrderMsg"> | import("../device/DeviceCommands").TypedResponseMessage<"BinanceCancelMsg"> | import("../device/DeviceCommands").TypedResponseMessage<"BinanceSignedTx"> | import("../device/DeviceCommands").TypedResponseMessage<"HDNodeType"> | import("../device/DeviceCommands").TypedResponseMessage<"HDNodePathType"> | import("../device/DeviceCommands").TypedResponseMessage<"MultisigRedeemScriptType"> | import("../device/DeviceCommands").TypedResponseMessage<"GetPublicKey"> | import("../device/DeviceCommands").TypedResponseMessage<"PublicKey"> | import("../device/DeviceCommands").TypedResponseMessage<"GetAddress"> | import("../device/DeviceCommands").TypedResponseMessage<"GetOwnershipId"> | import("../device/DeviceCommands").TypedResponseMessage<"OwnershipId"> | import("../device/DeviceCommands").TypedResponseMessage<"SignMessage"> | import("../device/DeviceCommands").TypedResponseMessage<"MessageSignature"> | import("../device/DeviceCommands").TypedResponseMessage<"VerifyMessage"> | import("../device/DeviceCommands").TypedResponseMessage<"SignTx"> | import("../device/DeviceCommands").TypedResponseMessage<"TxRequestDetailsType"> | import("../device/DeviceCommands").TypedResponseMessage<"TxRequestSerializedType"> | import("../device/DeviceCommands").TypedResponseMessage<"TxRequest"> | import("../device/DeviceCommands").TypedResponseMessage<"TxInputType"> | import("../device/DeviceCommands").TypedResponseMessage<"TxOutputBinType"> | import("../device/DeviceCommands").TypedResponseMessage<"TxOutputType"> | import("../device/DeviceCommands").TypedResponseMessage<"PrevTx"> | import("../device/DeviceCommands").TypedResponseMessage<"PrevInput"> | import("../device/DeviceCommands").TypedResponseMessage<"PrevOutput"> | import("../device/DeviceCommands").TypedResponseMessage<"TxAck"> | import("../device/DeviceCommands").TypedResponseMessage<"TxAckInputWrapper"> | import("../device/DeviceCommands").TypedResponseMessage<"TxAckInput"> | import("../device/DeviceCommands").TypedResponseMessage<"TxAckOutputWrapper"> | import("../device/DeviceCommands").TypedResponseMessage<"TxAckOutput"> | import("../device/DeviceCommands").TypedResponseMessage<"TxAckPrevMeta"> | import("../device/DeviceCommands").TypedResponseMessage<"TxAckPrevInputWrapper"> | import("../device/DeviceCommands").TypedResponseMessage<"TxAckPrevInput"> | import("../device/DeviceCommands").TypedResponseMessage<"TxAckPrevOutputWrapper"> | import("../device/DeviceCommands").TypedResponseMessage<"TxAckPrevOutput"> | import("../device/DeviceCommands").TypedResponseMessage<"TxAckPrevExtraDataWrapper"> | import("../device/DeviceCommands").TypedResponseMessage<"TxAckPrevExtraData"> | import("../device/DeviceCommands").TypedResponseMessage<"GetOwnershipProof"> | import("../device/DeviceCommands").TypedResponseMessage<"OwnershipProof"> | import("../device/DeviceCommands").TypedResponseMessage<"AuthorizeCoinJoin"> | import("../device/DeviceCommands").TypedResponseMessage<"BIP32Address"> | import("../device/DeviceCommands").TypedResponseMessage<"GetPublicKeyMultiple"> | import("../device/DeviceCommands").TypedResponseMessage<"PublicKeyMultiple"> | import("../device/DeviceCommands").TypedResponseMessage<"FirmwareErase"> | import("../device/DeviceCommands").TypedResponseMessage<"FirmwareRequest"> | import("../device/DeviceCommands").TypedResponseMessage<"FirmwareUpload"> | import("../device/DeviceCommands").TypedResponseMessage<"SelfTest"> | import("../device/DeviceCommands").TypedResponseMessage<"FirmwareErase_ex"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoBlockchainPointerType"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoNativeScript"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoGetNativeScriptHash"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoNativeScriptHash"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoAddressParametersType"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoGetAddress"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoAddress"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoGetPublicKey"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoPublicKey"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoSignTxInit"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoTxInput"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoTxOutput"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoAssetGroup"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoToken"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoPoolOwner"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoPoolRelayParameters"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoPoolMetadataType"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoPoolParametersType"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoTxCertificate"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoTxWithdrawal"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoCatalystRegistrationParametersType"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoTxAuxiliaryData"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoTxMint"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoTxItemAck"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoTxAuxiliaryDataSupplement"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoTxWitnessRequest"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoTxWitnessResponse"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoTxHostAck"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoTxBodyHash"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoSignTxFinished"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoTxInputType"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoTokenType"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoAssetGroupType"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoTxOutputType"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoPoolOwnerType"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoPoolRelayParametersType"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoTxCertificateType"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoTxWithdrawalType"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoTxAuxiliaryDataType"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoSignTx"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoSignedTxChunk"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoSignedTxChunkAck"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoSignedTx"> | import("../device/DeviceCommands").TypedResponseMessage<"Success"> | import("../device/DeviceCommands").TypedResponseMessage<"Failure"> | import("../device/DeviceCommands").TypedResponseMessage<"ButtonRequest"> | import("../device/DeviceCommands").TypedResponseMessage<"ButtonAck"> | import("../device/DeviceCommands").TypedResponseMessage<"PinMatrixRequest"> | import("../device/DeviceCommands").TypedResponseMessage<"PinMatrixAck"> | import("../device/DeviceCommands").TypedResponseMessage<"PassphraseRequest"> | import("../device/DeviceCommands").TypedResponseMessage<"PassphraseAck"> | import("../device/DeviceCommands").TypedResponseMessage<"Deprecated_PassphraseStateRequest"> | import("../device/DeviceCommands").TypedResponseMessage<"Deprecated_PassphraseStateAck"> | import("../device/DeviceCommands").TypedResponseMessage<"BixinPinInputOnDevice"> | import("../device/DeviceCommands").TypedResponseMessage<"ConfluxGetAddress"> | import("../device/DeviceCommands").TypedResponseMessage<"ConfluxAddress"> | import("../device/DeviceCommands").TypedResponseMessage<"ConfluxSignTx"> | import("../device/DeviceCommands").TypedResponseMessage<"ConfluxTxRequest"> | import("../device/DeviceCommands").TypedResponseMessage<"ConfluxTxAck"> | import("../device/DeviceCommands").TypedResponseMessage<"ConfluxSignMessage"> | import("../device/DeviceCommands").TypedResponseMessage<"ConfluxMessageSignature"> | import("../device/DeviceCommands").TypedResponseMessage<"ConfluxSignMessageCIP23"> | import("../device/DeviceCommands").TypedResponseMessage<"CosmosGetAddress"> | import("../device/DeviceCommands").TypedResponseMessage<"CosmosAddress"> | import("../device/DeviceCommands").TypedResponseMessage<"CosmosSignTx"> | import("../device/DeviceCommands").TypedResponseMessage<"CosmosSignedTx"> | import("../device/DeviceCommands").TypedResponseMessage<"CipherKeyValue"> | import("../device/DeviceCommands").TypedResponseMessage<"CipheredKeyValue"> | import("../device/DeviceCommands").TypedResponseMessage<"IdentityType"> | import("../device/DeviceCommands").TypedResponseMessage<"SignIdentity"> | import("../device/DeviceCommands").TypedResponseMessage<"SignedIdentity"> | import("../device/DeviceCommands").TypedResponseMessage<"GetECDHSessionKey"> | import("../device/DeviceCommands").TypedResponseMessage<"ECDHSessionKey"> | import("../device/DeviceCommands").TypedResponseMessage<"Path"> | import("../device/DeviceCommands").TypedResponseMessage<"BatchGetPublickeys"> | import("../device/DeviceCommands").TypedResponseMessage<"EcdsaPublicKeys"> | import("../device/DeviceCommands").TypedResponseMessage<"EosGetPublicKey"> | import("../device/DeviceCommands").TypedResponseMessage<"EosPublicKey"> | import("../device/DeviceCommands").TypedResponseMessage<"EosTxHeader"> | import("../device/DeviceCommands").TypedResponseMessage<"EosSignTx"> | import("../device/DeviceCommands").TypedResponseMessage<"EosTxActionRequest"> | import("../device/DeviceCommands").TypedResponseMessage<"EosAsset"> | import("../device/DeviceCommands").TypedResponseMessage<"EosPermissionLevel"> | import("../device/DeviceCommands").TypedResponseMessage<"EosAuthorizationKey"> | import("../device/DeviceCommands").TypedResponseMessage<"EosAuthorizationAccount"> | import("../device/DeviceCommands").TypedResponseMessage<"EosAuthorizationWait"> | import("../device/DeviceCommands").TypedResponseMessage<"EosAuthorization"> | import("../device/DeviceCommands").TypedResponseMessage<"EosActionCommon"> | import("../device/DeviceCommands").TypedResponseMessage<"EosActionTransfer"> | import("../device/DeviceCommands").TypedResponseMessage<"EosActionDelegate"> | import("../device/DeviceCommands").TypedResponseMessage<"EosActionUndelegate"> | import("../device/DeviceCommands").TypedResponseMessage<"EosActionRefund"> | import("../device/DeviceCommands").TypedResponseMessage<"EosActionBuyRam"> | import("../device/DeviceCommands").TypedResponseMessage<"EosActionBuyRamBytes"> | import("../device/DeviceCommands").TypedResponseMessage<"EosActionSellRam"> | import("../device/DeviceCommands").TypedResponseMessage<"EosActionVoteProducer"> | import("../device/DeviceCommands").TypedResponseMessage<"EosActionUpdateAuth"> | import("../device/DeviceCommands").TypedResponseMessage<"EosActionDeleteAuth"> | import("../device/DeviceCommands").TypedResponseMessage<"EosActionLinkAuth"> | import("../device/DeviceCommands").TypedResponseMessage<"EosActionUnlinkAuth"> | import("../device/DeviceCommands").TypedResponseMessage<"EosActionNewAccount"> | import("../device/DeviceCommands").TypedResponseMessage<"EosActionUnknown"> | import("../device/DeviceCommands").TypedResponseMessage<"EosTxActionAck"> | import("../device/DeviceCommands").TypedResponseMessage<"EosSignedTx"> | import("../device/DeviceCommands").TypedResponseMessage<"EthereumSignTypedData"> | import("../device/DeviceCommands").TypedResponseMessage<"EthereumTypedDataStructRequest"> | import("../device/DeviceCommands").TypedResponseMessage<"EthereumFieldType"> | import("../device/DeviceCommands").TypedResponseMessage<"EthereumStructMember"> | import("../device/DeviceCommands").TypedResponseMessage<"EthereumTypedDataStructAck"> | import("../device/DeviceCommands").TypedResponseMessage<"EthereumTypedDataValueRequest"> | import("../device/DeviceCommands").TypedResponseMessage<"EthereumTypedDataValueAck"> | import("../device/DeviceCommands").TypedResponseMessage<"EthereumGetPublicKey"> | import("../device/DeviceCommands").TypedResponseMessage<"EthereumPublicKey"> | import("../device/DeviceCommands").TypedResponseMessage<"EthereumGetAddress"> | import("../device/DeviceCommands").TypedResponseMessage<"EthereumAddress"> | import("../device/DeviceCommands").TypedResponseMessage<"EthereumSignTx"> | import("../device/DeviceCommands").TypedResponseMessage<"EthereumAccessList"> | import("../device/DeviceCommands").TypedResponseMessage<"EthereumSignTxEIP1559"> | import("../device/DeviceCommands").TypedResponseMessage<"EthereumTxRequest"> | import("../device/DeviceCommands").TypedResponseMessage<"EthereumTxAck"> | import("../device/DeviceCommands").TypedResponseMessage<"EthereumSignMessage"> | import("../device/DeviceCommands").TypedResponseMessage<"EthereumMessageSignature"> | import("../device/DeviceCommands").TypedResponseMessage<"EthereumVerifyMessage"> | import("../device/DeviceCommands").TypedResponseMessage<"EthereumSignMessageEIP712"> | import("../device/DeviceCommands").TypedResponseMessage<"EthereumSignTypedHash"> | import("../device/DeviceCommands").TypedResponseMessage<"EthereumTypedDataSignature"> | import("../device/DeviceCommands").TypedResponseMessage<"Initialize"> | import("../device/DeviceCommands").TypedResponseMessage<"GetFeatures"> | import("../device/DeviceCommands").TypedResponseMessage<"Features"> | import("../device/DeviceCommands").TypedResponseMessage<"LockDevice"> | import("../device/DeviceCommands").TypedResponseMessage<"EndSession"> | import("../device/DeviceCommands").TypedResponseMessage<"ApplySettings"> | import("../device/DeviceCommands").TypedResponseMessage<"ApplyFlags"> | import("../device/DeviceCommands").TypedResponseMessage<"ChangePin"> | import("../device/DeviceCommands").TypedResponseMessage<"ChangeWipeCode"> | import("../device/DeviceCommands").TypedResponseMessage<"SdProtect"> | import("../device/DeviceCommands").TypedResponseMessage<"Ping"> | import("../device/DeviceCommands").TypedResponseMessage<"Cancel"> | import("../device/DeviceCommands").TypedResponseMessage<"GetEntropy"> | import("../device/DeviceCommands").TypedResponseMessage<"Entropy"> | import("../device/DeviceCommands").TypedResponseMessage<"WipeDevice"> | import("../device/DeviceCommands").TypedResponseMessage<"ResetDevice"> | import("../device/DeviceCommands").TypedResponseMessage<"BackupDevice"> | import("../device/DeviceCommands").TypedResponseMessage<"EntropyRequest"> | import("../device/DeviceCommands").TypedResponseMessage<"EntropyAck"> | import("../device/DeviceCommands").TypedResponseMessage<"RecoveryDevice"> | import("../device/DeviceCommands").TypedResponseMessage<"WordRequest"> | import("../device/DeviceCommands").TypedResponseMessage<"WordAck"> | import("../device/DeviceCommands").TypedResponseMessage<"SetU2FCounter"> | import("../device/DeviceCommands").TypedResponseMessage<"GetNextU2FCounter"> | import("../device/DeviceCommands").TypedResponseMessage<"NextU2FCounter"> | import("../device/DeviceCommands").TypedResponseMessage<"DoPreauthorized"> | import("../device/DeviceCommands").TypedResponseMessage<"PreauthorizedRequest"> | import("../device/DeviceCommands").TypedResponseMessage<"CancelAuthorization"> | import("../device/DeviceCommands").TypedResponseMessage<"BixinSeedOperate"> | import("../device/DeviceCommands").TypedResponseMessage<"BixinMessageSE"> | import("../device/DeviceCommands").TypedResponseMessage<"BixinOutMessageSE"> | import("../device/DeviceCommands").TypedResponseMessage<"DeviceBackToBoot"> | import("../device/DeviceCommands").TypedResponseMessage<"BixinBackupRequest"> | import("../device/DeviceCommands").TypedResponseMessage<"BixinBackupAck"> | import("../device/DeviceCommands").TypedResponseMessage<"BixinRestoreRequest"> | import("../device/DeviceCommands").TypedResponseMessage<"BixinRestoreAck"> | import("../device/DeviceCommands").TypedResponseMessage<"BixinVerifyDeviceRequest"> | import("../device/DeviceCommands").TypedResponseMessage<"BixinVerifyDeviceAck"> | import("../device/DeviceCommands").TypedResponseMessage<"BixinWhiteListRequest"> | import("../device/DeviceCommands").TypedResponseMessage<"BixinWhiteListAck"> | import("../device/DeviceCommands").TypedResponseMessage<"BixinLoadDevice"> | import("../device/DeviceCommands").TypedResponseMessage<"BixinBackupDevice"> | import("../device/DeviceCommands").TypedResponseMessage<"BixinBackupDeviceAck"> | import("../device/DeviceCommands").TypedResponseMessage<"DeviceInfoSettings"> | import("../device/DeviceCommands").TypedResponseMessage<"GetDeviceInfo"> | import("../device/DeviceCommands").TypedResponseMessage<"DeviceInfo"> | import("../device/DeviceCommands").TypedResponseMessage<"ReadSEPublicKey"> | import("../device/DeviceCommands").TypedResponseMessage<"SEPublicKey"> | import("../device/DeviceCommands").TypedResponseMessage<"WriteSEPublicCert"> | import("../device/DeviceCommands").TypedResponseMessage<"ReadSEPublicCert"> | import("../device/DeviceCommands").TypedResponseMessage<"SEPublicCert"> | import("../device/DeviceCommands").TypedResponseMessage<"SpiFlashWrite"> | import("../device/DeviceCommands").TypedResponseMessage<"SpiFlashRead"> | import("../device/DeviceCommands").TypedResponseMessage<"SpiFlashData"> | import("../device/DeviceCommands").TypedResponseMessage<"SESignMessage"> | import("../device/DeviceCommands").TypedResponseMessage<"SEMessageSignature"> | import("../device/DeviceCommands").TypedResponseMessage<"ResourceUpload"> | import("../device/DeviceCommands").TypedResponseMessage<"ZoomRequest"> | import("../device/DeviceCommands").TypedResponseMessage<"ResourceRequest"> | import("../device/DeviceCommands").TypedResponseMessage<"ResourceAck"> | import("../device/DeviceCommands").TypedResponseMessage<"ResourceUpdate"> | import("../device/DeviceCommands").TypedResponseMessage<"NFTWriteInfo"> | import("../device/DeviceCommands").TypedResponseMessage<"NFTWriteData"> | import("../device/DeviceCommands").TypedResponseMessage<"RebootToBootloader"> | import("../device/DeviceCommands").TypedResponseMessage<"RebootToBoardloader"> | import("../device/DeviceCommands").TypedResponseMessage<"ListResDir"> | import("../device/DeviceCommands").TypedResponseMessage<"FileInfo"> | import("../device/DeviceCommands").TypedResponseMessage<"FileInfoList"> | import("../device/DeviceCommands").TypedResponseMessage<"DeviceEraseSector"> | import("../device/DeviceCommands").TypedResponseMessage<"NearGetAddress"> | import("../device/DeviceCommands").TypedResponseMessage<"NearAddress"> | import("../device/DeviceCommands").TypedResponseMessage<"NearSignTx"> | import("../device/DeviceCommands").TypedResponseMessage<"NearSignedTx"> | import("../device/DeviceCommands").TypedResponseMessage<"NEMGetAddress"> | import("../device/DeviceCommands").TypedResponseMessage<"NEMAddress"> | import("../device/DeviceCommands").TypedResponseMessage<"NEMTransactionCommon"> | import("../device/DeviceCommands").TypedResponseMessage<"NEMMosaic"> | import("../device/DeviceCommands").TypedResponseMessage<"NEMTransfer"> | import("../device/DeviceCommands").TypedResponseMessage<"NEMProvisionNamespace"> | import("../device/DeviceCommands").TypedResponseMessage<"NEMMosaicDefinition"> | import("../device/DeviceCommands").TypedResponseMessage<"NEMMosaicCreation"> | import("../device/DeviceCommands").TypedResponseMessage<"NEMMosaicSupplyChange"> | import("../device/DeviceCommands").TypedResponseMessage<"NEMCosignatoryModification"> | import("../device/DeviceCommands").TypedResponseMessage<"NEMAggregateModification"> | import("../device/DeviceCommands").TypedResponseMessage<"NEMImportanceTransfer"> | import("../device/DeviceCommands").TypedResponseMessage<"NEMSignTx"> | import("../device/DeviceCommands").TypedResponseMessage<"NEMSignedTx"> | import("../device/DeviceCommands").TypedResponseMessage<"NEMDecryptMessage"> | import("../device/DeviceCommands").TypedResponseMessage<"NEMDecryptedMessage"> | import("../device/DeviceCommands").TypedResponseMessage<"RippleGetAddress"> | import("../device/DeviceCommands").TypedResponseMessage<"RippleAddress"> | import("../device/DeviceCommands").TypedResponseMessage<"RipplePayment"> | import("../device/DeviceCommands").TypedResponseMessage<"RippleSignTx"> | import("../device/DeviceCommands").TypedResponseMessage<"RippleSignedTx"> | import("../device/DeviceCommands").TypedResponseMessage<"SolanaGetAddress"> | import("../device/DeviceCommands").TypedResponseMessage<"SolanaAddress"> | import("../device/DeviceCommands").TypedResponseMessage<"SolanaSignTx"> | import("../device/DeviceCommands").TypedResponseMessage<"SolanaSignedTx"> | import("../device/DeviceCommands").TypedResponseMessage<"StarcoinGetAddress"> | import("../device/DeviceCommands").TypedResponseMessage<"StarcoinAddress"> | import("../device/DeviceCommands").TypedResponseMessage<"StarcoinGetPublicKey"> | import("../device/DeviceCommands").TypedResponseMessage<"StarcoinPublicKey"> | import("../device/DeviceCommands").TypedResponseMessage<"StarcoinSignTx"> | import("../device/DeviceCommands").TypedResponseMessage<"StarcoinSignedTx"> | import("../device/DeviceCommands").TypedResponseMessage<"StarcoinSignMessage"> | import("../device/DeviceCommands").TypedResponseMessage<"StarcoinMessageSignature"> | import("../device/DeviceCommands").TypedResponseMessage<"StarcoinVerifyMessage"> | import("../device/DeviceCommands").TypedResponseMessage<"StellarAsset"> | import("../device/DeviceCommands").TypedResponseMessage<"StellarGetAddress"> | import("../device/DeviceCommands").TypedResponseMessage<"StellarAddress"> | import("../device/DeviceCommands").TypedResponseMessage<"StellarSignTx"> | import("../device/DeviceCommands").TypedResponseMessage<"StellarTxOpRequest"> | import("../device/DeviceCommands").TypedResponseMessage<"StellarPaymentOp"> | import("../device/DeviceCommands").TypedResponseMessage<"StellarCreateAccountOp"> | import("../device/DeviceCommands").TypedResponseMessage<"StellarPathPaymentStrictReceiveOp"> | import("../device/DeviceCommands").TypedResponseMessage<"StellarPathPaymentStrictSendOp"> | import("../device/DeviceCommands").TypedResponseMessage<"StellarManageSellOfferOp"> | import("../device/DeviceCommands").TypedResponseMessage<"StellarManageBuyOfferOp"> | import("../device/DeviceCommands").TypedResponseMessage<"StellarCreatePassiveSellOfferOp"> | import("../device/DeviceCommands").TypedResponseMessage<"StellarSetOptionsOp"> | import("../device/DeviceCommands").TypedResponseMessage<"StellarChangeTrustOp"> | import("../device/DeviceCommands").TypedResponseMessage<"StellarAllowTrustOp"> | import("../device/DeviceCommands").TypedResponseMessage<"StellarAccountMergeOp"> | import("../device/DeviceCommands").TypedResponseMessage<"StellarManageDataOp"> | import("../device/DeviceCommands").TypedResponseMessage<"StellarBumpSequenceOp"> | import("../device/DeviceCommands").TypedResponseMessage<"StellarSignedTx"> | import("../device/DeviceCommands").TypedResponseMessage<"SuiGetAddress"> | import("../device/DeviceCommands").TypedResponseMessage<"SuiAddress"> | import("../device/DeviceCommands").TypedResponseMessage<"SuiSignTx"> | import("../device/DeviceCommands").TypedResponseMessage<"SuiSignedTx"> | import("../device/DeviceCommands").TypedResponseMessage<"TezosGetAddress"> | import("../device/DeviceCommands").TypedResponseMessage<"TezosAddress"> | import("../device/DeviceCommands").TypedResponseMessage<"TezosGetPublicKey"> | import("../device/DeviceCommands").TypedResponseMessage<"TezosPublicKey"> | import("../device/DeviceCommands").TypedResponseMessage<"TezosContractID"> | import("../device/DeviceCommands").TypedResponseMessage<"TezosRevealOp"> | import("../device/DeviceCommands").TypedResponseMessage<"TezosManagerTransfer"> | import("../device/DeviceCommands").TypedResponseMessage<"TezosParametersManager"> | import("../device/DeviceCommands").TypedResponseMessage<"TezosTransactionOp"> | import("../device/DeviceCommands").TypedResponseMessage<"TezosOriginationOp"> | import("../device/DeviceCommands").TypedResponseMessage<"TezosDelegationOp"> | import("../device/DeviceCommands").TypedResponseMessage<"TezosProposalOp"> | import("../device/DeviceCommands").TypedResponseMessage<"TezosBallotOp"> | import("../device/DeviceCommands").TypedResponseMessage<"TezosSignTx"> | import("../device/DeviceCommands").TypedResponseMessage<"TezosSignedTx"> | import("../device/DeviceCommands").TypedResponseMessage<"TronGetAddress"> | import("../device/DeviceCommands").TypedResponseMessage<"TronAddress"> | import("../device/DeviceCommands").TypedResponseMessage<"TronTransferContract"> | import("../device/DeviceCommands").TypedResponseMessage<"TronTriggerSmartContract"> | import("../device/DeviceCommands").TypedResponseMessage<"TronContract"> | import("../device/DeviceCommands").TypedResponseMessage<"TronSignTx"> | import("../device/DeviceCommands").TypedResponseMessage<"TronSignedTx"> | import("../device/DeviceCommands").TypedResponseMessage<"TronSignMessage"> | import("../device/DeviceCommands").TypedResponseMessage<"TronMessageSignature"> | import("../device/DeviceCommands").TypedResponseMessage<"facotry">;
2
+ export declare function patchFeatures(response: DefaultMessageResponse): import("../device/DeviceCommands").TypedResponseMessage<"Address"> | import("../device/DeviceCommands").TypedResponseMessage<"AlgorandGetAddress"> | import("../device/DeviceCommands").TypedResponseMessage<"AlgorandAddress"> | import("../device/DeviceCommands").TypedResponseMessage<"AlgorandSignTx"> | import("../device/DeviceCommands").TypedResponseMessage<"AlgorandSignedTx"> | import("../device/DeviceCommands").TypedResponseMessage<"AptosGetAddress"> | import("../device/DeviceCommands").TypedResponseMessage<"AptosAddress"> | import("../device/DeviceCommands").TypedResponseMessage<"AptosSignTx"> | import("../device/DeviceCommands").TypedResponseMessage<"AptosSignedTx"> | import("../device/DeviceCommands").TypedResponseMessage<"AptosMessagePayload"> | import("../device/DeviceCommands").TypedResponseMessage<"AptosSignMessage"> | import("../device/DeviceCommands").TypedResponseMessage<"AptosMessageSignature"> | import("../device/DeviceCommands").TypedResponseMessage<"BinanceGetAddress"> | import("../device/DeviceCommands").TypedResponseMessage<"BinanceAddress"> | import("../device/DeviceCommands").TypedResponseMessage<"BinanceGetPublicKey"> | import("../device/DeviceCommands").TypedResponseMessage<"BinancePublicKey"> | import("../device/DeviceCommands").TypedResponseMessage<"BinanceSignTx"> | import("../device/DeviceCommands").TypedResponseMessage<"BinanceTxRequest"> | import("../device/DeviceCommands").TypedResponseMessage<"BinanceCoin"> | import("../device/DeviceCommands").TypedResponseMessage<"BinanceInputOutput"> | import("../device/DeviceCommands").TypedResponseMessage<"BinanceTransferMsg"> | import("../device/DeviceCommands").TypedResponseMessage<"BinanceOrderMsg"> | import("../device/DeviceCommands").TypedResponseMessage<"BinanceCancelMsg"> | import("../device/DeviceCommands").TypedResponseMessage<"BinanceSignedTx"> | import("../device/DeviceCommands").TypedResponseMessage<"HDNodeType"> | import("../device/DeviceCommands").TypedResponseMessage<"HDNodePathType"> | import("../device/DeviceCommands").TypedResponseMessage<"MultisigRedeemScriptType"> | import("../device/DeviceCommands").TypedResponseMessage<"GetPublicKey"> | import("../device/DeviceCommands").TypedResponseMessage<"PublicKey"> | import("../device/DeviceCommands").TypedResponseMessage<"GetAddress"> | import("../device/DeviceCommands").TypedResponseMessage<"GetOwnershipId"> | import("../device/DeviceCommands").TypedResponseMessage<"OwnershipId"> | import("../device/DeviceCommands").TypedResponseMessage<"SignMessage"> | import("../device/DeviceCommands").TypedResponseMessage<"MessageSignature"> | import("../device/DeviceCommands").TypedResponseMessage<"VerifyMessage"> | import("../device/DeviceCommands").TypedResponseMessage<"SignTx"> | import("../device/DeviceCommands").TypedResponseMessage<"TxRequestDetailsType"> | import("../device/DeviceCommands").TypedResponseMessage<"TxRequestSerializedType"> | import("../device/DeviceCommands").TypedResponseMessage<"TxRequest"> | import("../device/DeviceCommands").TypedResponseMessage<"TxInputType"> | import("../device/DeviceCommands").TypedResponseMessage<"TxOutputBinType"> | import("../device/DeviceCommands").TypedResponseMessage<"TxOutputType"> | import("../device/DeviceCommands").TypedResponseMessage<"PrevTx"> | import("../device/DeviceCommands").TypedResponseMessage<"PrevInput"> | import("../device/DeviceCommands").TypedResponseMessage<"PrevOutput"> | import("../device/DeviceCommands").TypedResponseMessage<"TxAck"> | import("../device/DeviceCommands").TypedResponseMessage<"TxAckInputWrapper"> | import("../device/DeviceCommands").TypedResponseMessage<"TxAckInput"> | import("../device/DeviceCommands").TypedResponseMessage<"TxAckOutputWrapper"> | import("../device/DeviceCommands").TypedResponseMessage<"TxAckOutput"> | import("../device/DeviceCommands").TypedResponseMessage<"TxAckPrevMeta"> | import("../device/DeviceCommands").TypedResponseMessage<"TxAckPrevInputWrapper"> | import("../device/DeviceCommands").TypedResponseMessage<"TxAckPrevInput"> | import("../device/DeviceCommands").TypedResponseMessage<"TxAckPrevOutputWrapper"> | import("../device/DeviceCommands").TypedResponseMessage<"TxAckPrevOutput"> | import("../device/DeviceCommands").TypedResponseMessage<"TxAckPrevExtraDataWrapper"> | import("../device/DeviceCommands").TypedResponseMessage<"TxAckPrevExtraData"> | import("../device/DeviceCommands").TypedResponseMessage<"GetOwnershipProof"> | import("../device/DeviceCommands").TypedResponseMessage<"OwnershipProof"> | import("../device/DeviceCommands").TypedResponseMessage<"AuthorizeCoinJoin"> | import("../device/DeviceCommands").TypedResponseMessage<"BIP32Address"> | import("../device/DeviceCommands").TypedResponseMessage<"GetPublicKeyMultiple"> | import("../device/DeviceCommands").TypedResponseMessage<"PublicKeyMultiple"> | import("../device/DeviceCommands").TypedResponseMessage<"FirmwareErase"> | import("../device/DeviceCommands").TypedResponseMessage<"FirmwareRequest"> | import("../device/DeviceCommands").TypedResponseMessage<"FirmwareUpload"> | import("../device/DeviceCommands").TypedResponseMessage<"SelfTest"> | import("../device/DeviceCommands").TypedResponseMessage<"FirmwareErase_ex"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoBlockchainPointerType"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoNativeScript"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoGetNativeScriptHash"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoNativeScriptHash"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoAddressParametersType"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoGetAddress"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoAddress"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoGetPublicKey"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoPublicKey"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoSignTxInit"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoTxInput"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoTxOutput"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoAssetGroup"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoToken"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoTxInlineDatumChunk"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoTxReferenceScriptChunk"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoPoolOwner"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoPoolRelayParameters"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoPoolMetadataType"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoPoolParametersType"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoTxCertificate"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoTxWithdrawal"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoGovernanceRegistrationDelegation"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoGovernanceRegistrationParametersType"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoTxAuxiliaryData"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoTxMint"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoTxCollateralInput"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoTxRequiredSigner"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoTxReferenceInput"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoTxItemAck"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoTxAuxiliaryDataSupplement"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoTxWitnessRequest"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoTxWitnessResponse"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoTxHostAck"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoTxBodyHash"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoSignTxFinished"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoSignMessage"> | import("../device/DeviceCommands").TypedResponseMessage<"CardanoMessageSignature"> | import("../device/DeviceCommands").TypedResponseMessage<"Success"> | import("../device/DeviceCommands").TypedResponseMessage<"Failure"> | import("../device/DeviceCommands").TypedResponseMessage<"ButtonRequest"> | import("../device/DeviceCommands").TypedResponseMessage<"ButtonAck"> | import("../device/DeviceCommands").TypedResponseMessage<"PinMatrixRequest"> | import("../device/DeviceCommands").TypedResponseMessage<"PinMatrixAck"> | import("../device/DeviceCommands").TypedResponseMessage<"PassphraseRequest"> | import("../device/DeviceCommands").TypedResponseMessage<"PassphraseAck"> | import("../device/DeviceCommands").TypedResponseMessage<"Deprecated_PassphraseStateRequest"> | import("../device/DeviceCommands").TypedResponseMessage<"Deprecated_PassphraseStateAck"> | import("../device/DeviceCommands").TypedResponseMessage<"BixinPinInputOnDevice"> | import("../device/DeviceCommands").TypedResponseMessage<"ConfluxGetAddress"> | import("../device/DeviceCommands").TypedResponseMessage<"ConfluxAddress"> | import("../device/DeviceCommands").TypedResponseMessage<"ConfluxSignTx"> | import("../device/DeviceCommands").TypedResponseMessage<"ConfluxTxRequest"> | import("../device/DeviceCommands").TypedResponseMessage<"ConfluxTxAck"> | import("../device/DeviceCommands").TypedResponseMessage<"ConfluxSignMessage"> | import("../device/DeviceCommands").TypedResponseMessage<"ConfluxMessageSignature"> | import("../device/DeviceCommands").TypedResponseMessage<"ConfluxSignMessageCIP23"> | import("../device/DeviceCommands").TypedResponseMessage<"CosmosGetAddress"> | import("../device/DeviceCommands").TypedResponseMessage<"CosmosAddress"> | import("../device/DeviceCommands").TypedResponseMessage<"CosmosSignTx"> | import("../device/DeviceCommands").TypedResponseMessage<"CosmosSignedTx"> | import("../device/DeviceCommands").TypedResponseMessage<"CipherKeyValue"> | import("../device/DeviceCommands").TypedResponseMessage<"CipheredKeyValue"> | import("../device/DeviceCommands").TypedResponseMessage<"IdentityType"> | import("../device/DeviceCommands").TypedResponseMessage<"SignIdentity"> | import("../device/DeviceCommands").TypedResponseMessage<"SignedIdentity"> | import("../device/DeviceCommands").TypedResponseMessage<"GetECDHSessionKey"> | import("../device/DeviceCommands").TypedResponseMessage<"ECDHSessionKey"> | import("../device/DeviceCommands").TypedResponseMessage<"Path"> | import("../device/DeviceCommands").TypedResponseMessage<"BatchGetPublickeys"> | import("../device/DeviceCommands").TypedResponseMessage<"EcdsaPublicKeys"> | import("../device/DeviceCommands").TypedResponseMessage<"EosGetPublicKey"> | import("../device/DeviceCommands").TypedResponseMessage<"EosPublicKey"> | import("../device/DeviceCommands").TypedResponseMessage<"EosTxHeader"> | import("../device/DeviceCommands").TypedResponseMessage<"EosSignTx"> | import("../device/DeviceCommands").TypedResponseMessage<"EosTxActionRequest"> | import("../device/DeviceCommands").TypedResponseMessage<"EosAsset"> | import("../device/DeviceCommands").TypedResponseMessage<"EosPermissionLevel"> | import("../device/DeviceCommands").TypedResponseMessage<"EosAuthorizationKey"> | import("../device/DeviceCommands").TypedResponseMessage<"EosAuthorizationAccount"> | import("../device/DeviceCommands").TypedResponseMessage<"EosAuthorizationWait"> | import("../device/DeviceCommands").TypedResponseMessage<"EosAuthorization"> | import("../device/DeviceCommands").TypedResponseMessage<"EosActionCommon"> | import("../device/DeviceCommands").TypedResponseMessage<"EosActionTransfer"> | import("../device/DeviceCommands").TypedResponseMessage<"EosActionDelegate"> | import("../device/DeviceCommands").TypedResponseMessage<"EosActionUndelegate"> | import("../device/DeviceCommands").TypedResponseMessage<"EosActionRefund"> | import("../device/DeviceCommands").TypedResponseMessage<"EosActionBuyRam"> | import("../device/DeviceCommands").TypedResponseMessage<"EosActionBuyRamBytes"> | import("../device/DeviceCommands").TypedResponseMessage<"EosActionSellRam"> | import("../device/DeviceCommands").TypedResponseMessage<"EosActionVoteProducer"> | import("../device/DeviceCommands").TypedResponseMessage<"EosActionUpdateAuth"> | import("../device/DeviceCommands").TypedResponseMessage<"EosActionDeleteAuth"> | import("../device/DeviceCommands").TypedResponseMessage<"EosActionLinkAuth"> | import("../device/DeviceCommands").TypedResponseMessage<"EosActionUnlinkAuth"> | import("../device/DeviceCommands").TypedResponseMessage<"EosActionNewAccount"> | import("../device/DeviceCommands").TypedResponseMessage<"EosActionUnknown"> | import("../device/DeviceCommands").TypedResponseMessage<"EosTxActionAck"> | import("../device/DeviceCommands").TypedResponseMessage<"EosSignedTx"> | import("../device/DeviceCommands").TypedResponseMessage<"EthereumSignTypedData"> | import("../device/DeviceCommands").TypedResponseMessage<"EthereumTypedDataStructRequest"> | import("../device/DeviceCommands").TypedResponseMessage<"EthereumFieldType"> | import("../device/DeviceCommands").TypedResponseMessage<"EthereumStructMember"> | import("../device/DeviceCommands").TypedResponseMessage<"EthereumTypedDataStructAck"> | import("../device/DeviceCommands").TypedResponseMessage<"EthereumTypedDataValueRequest"> | import("../device/DeviceCommands").TypedResponseMessage<"EthereumTypedDataValueAck"> | import("../device/DeviceCommands").TypedResponseMessage<"EthereumGetPublicKey"> | import("../device/DeviceCommands").TypedResponseMessage<"EthereumPublicKey"> | import("../device/DeviceCommands").TypedResponseMessage<"EthereumGetAddress"> | import("../device/DeviceCommands").TypedResponseMessage<"EthereumAddress"> | import("../device/DeviceCommands").TypedResponseMessage<"EthereumSignTx"> | import("../device/DeviceCommands").TypedResponseMessage<"EthereumAccessList"> | import("../device/DeviceCommands").TypedResponseMessage<"EthereumSignTxEIP1559"> | import("../device/DeviceCommands").TypedResponseMessage<"EthereumTxRequest"> | import("../device/DeviceCommands").TypedResponseMessage<"EthereumTxAck"> | import("../device/DeviceCommands").TypedResponseMessage<"EthereumSignMessage"> | import("../device/DeviceCommands").TypedResponseMessage<"EthereumMessageSignature"> | import("../device/DeviceCommands").TypedResponseMessage<"EthereumVerifyMessage"> | import("../device/DeviceCommands").TypedResponseMessage<"EthereumSignMessageEIP712"> | import("../device/DeviceCommands").TypedResponseMessage<"EthereumSignTypedHash"> | import("../device/DeviceCommands").TypedResponseMessage<"EthereumTypedDataSignature"> | import("../device/DeviceCommands").TypedResponseMessage<"Initialize"> | import("../device/DeviceCommands").TypedResponseMessage<"GetFeatures"> | import("../device/DeviceCommands").TypedResponseMessage<"Features"> | import("../device/DeviceCommands").TypedResponseMessage<"LockDevice"> | import("../device/DeviceCommands").TypedResponseMessage<"EndSession"> | import("../device/DeviceCommands").TypedResponseMessage<"ApplySettings"> | import("../device/DeviceCommands").TypedResponseMessage<"ApplyFlags"> | import("../device/DeviceCommands").TypedResponseMessage<"ChangePin"> | import("../device/DeviceCommands").TypedResponseMessage<"ChangeWipeCode"> | import("../device/DeviceCommands").TypedResponseMessage<"SdProtect"> | import("../device/DeviceCommands").TypedResponseMessage<"Ping"> | import("../device/DeviceCommands").TypedResponseMessage<"Cancel"> | import("../device/DeviceCommands").TypedResponseMessage<"GetEntropy"> | import("../device/DeviceCommands").TypedResponseMessage<"Entropy"> | import("../device/DeviceCommands").TypedResponseMessage<"WipeDevice"> | import("../device/DeviceCommands").TypedResponseMessage<"ResetDevice"> | import("../device/DeviceCommands").TypedResponseMessage<"BackupDevice"> | import("../device/DeviceCommands").TypedResponseMessage<"EntropyRequest"> | import("../device/DeviceCommands").TypedResponseMessage<"EntropyAck"> | import("../device/DeviceCommands").TypedResponseMessage<"RecoveryDevice"> | import("../device/DeviceCommands").TypedResponseMessage<"WordRequest"> | import("../device/DeviceCommands").TypedResponseMessage<"WordAck"> | import("../device/DeviceCommands").TypedResponseMessage<"SetU2FCounter"> | import("../device/DeviceCommands").TypedResponseMessage<"GetNextU2FCounter"> | import("../device/DeviceCommands").TypedResponseMessage<"NextU2FCounter"> | import("../device/DeviceCommands").TypedResponseMessage<"DoPreauthorized"> | import("../device/DeviceCommands").TypedResponseMessage<"PreauthorizedRequest"> | import("../device/DeviceCommands").TypedResponseMessage<"CancelAuthorization"> | import("../device/DeviceCommands").TypedResponseMessage<"BixinSeedOperate"> | import("../device/DeviceCommands").TypedResponseMessage<"BixinMessageSE"> | import("../device/DeviceCommands").TypedResponseMessage<"BixinOutMessageSE"> | import("../device/DeviceCommands").TypedResponseMessage<"DeviceBackToBoot"> | import("../device/DeviceCommands").TypedResponseMessage<"BixinBackupRequest"> | import("../device/DeviceCommands").TypedResponseMessage<"BixinBackupAck"> | import("../device/DeviceCommands").TypedResponseMessage<"BixinRestoreRequest"> | import("../device/DeviceCommands").TypedResponseMessage<"BixinRestoreAck"> | import("../device/DeviceCommands").TypedResponseMessage<"BixinVerifyDeviceRequest"> | import("../device/DeviceCommands").TypedResponseMessage<"BixinVerifyDeviceAck"> | import("../device/DeviceCommands").TypedResponseMessage<"BixinWhiteListRequest"> | import("../device/DeviceCommands").TypedResponseMessage<"BixinWhiteListAck"> | import("../device/DeviceCommands").TypedResponseMessage<"BixinLoadDevice"> | import("../device/DeviceCommands").TypedResponseMessage<"BixinBackupDevice"> | import("../device/DeviceCommands").TypedResponseMessage<"BixinBackupDeviceAck"> | import("../device/DeviceCommands").TypedResponseMessage<"DeviceInfoSettings"> | import("../device/DeviceCommands").TypedResponseMessage<"GetDeviceInfo"> | import("../device/DeviceCommands").TypedResponseMessage<"DeviceInfo"> | import("../device/DeviceCommands").TypedResponseMessage<"ReadSEPublicKey"> | import("../device/DeviceCommands").TypedResponseMessage<"SEPublicKey"> | import("../device/DeviceCommands").TypedResponseMessage<"WriteSEPublicCert"> | import("../device/DeviceCommands").TypedResponseMessage<"ReadSEPublicCert"> | import("../device/DeviceCommands").TypedResponseMessage<"SEPublicCert"> | import("../device/DeviceCommands").TypedResponseMessage<"SpiFlashWrite"> | import("../device/DeviceCommands").TypedResponseMessage<"SpiFlashRead"> | import("../device/DeviceCommands").TypedResponseMessage<"SpiFlashData"> | import("../device/DeviceCommands").TypedResponseMessage<"SESignMessage"> | import("../device/DeviceCommands").TypedResponseMessage<"SEMessageSignature"> | import("../device/DeviceCommands").TypedResponseMessage<"ResourceUpload"> | import("../device/DeviceCommands").TypedResponseMessage<"ZoomRequest"> | import("../device/DeviceCommands").TypedResponseMessage<"ResourceRequest"> | import("../device/DeviceCommands").TypedResponseMessage<"ResourceAck"> | import("../device/DeviceCommands").TypedResponseMessage<"ResourceUpdate"> | import("../device/DeviceCommands").TypedResponseMessage<"NFTWriteInfo"> | import("../device/DeviceCommands").TypedResponseMessage<"NFTWriteData"> | import("../device/DeviceCommands").TypedResponseMessage<"RebootToBootloader"> | import("../device/DeviceCommands").TypedResponseMessage<"RebootToBoardloader"> | import("../device/DeviceCommands").TypedResponseMessage<"ListResDir"> | import("../device/DeviceCommands").TypedResponseMessage<"FileInfo"> | import("../device/DeviceCommands").TypedResponseMessage<"FileInfoList"> | import("../device/DeviceCommands").TypedResponseMessage<"DeviceEraseSector"> | import("../device/DeviceCommands").TypedResponseMessage<"NearGetAddress"> | import("../device/DeviceCommands").TypedResponseMessage<"NearAddress"> | import("../device/DeviceCommands").TypedResponseMessage<"NearSignTx"> | import("../device/DeviceCommands").TypedResponseMessage<"NearSignedTx"> | import("../device/DeviceCommands").TypedResponseMessage<"NEMGetAddress"> | import("../device/DeviceCommands").TypedResponseMessage<"NEMAddress"> | import("../device/DeviceCommands").TypedResponseMessage<"NEMTransactionCommon"> | import("../device/DeviceCommands").TypedResponseMessage<"NEMMosaic"> | import("../device/DeviceCommands").TypedResponseMessage<"NEMTransfer"> | import("../device/DeviceCommands").TypedResponseMessage<"NEMProvisionNamespace"> | import("../device/DeviceCommands").TypedResponseMessage<"NEMMosaicDefinition"> | import("../device/DeviceCommands").TypedResponseMessage<"NEMMosaicCreation"> | import("../device/DeviceCommands").TypedResponseMessage<"NEMMosaicSupplyChange"> | import("../device/DeviceCommands").TypedResponseMessage<"NEMCosignatoryModification"> | import("../device/DeviceCommands").TypedResponseMessage<"NEMAggregateModification"> | import("../device/DeviceCommands").TypedResponseMessage<"NEMImportanceTransfer"> | import("../device/DeviceCommands").TypedResponseMessage<"NEMSignTx"> | import("../device/DeviceCommands").TypedResponseMessage<"NEMSignedTx"> | import("../device/DeviceCommands").TypedResponseMessage<"NEMDecryptMessage"> | import("../device/DeviceCommands").TypedResponseMessage<"NEMDecryptedMessage"> | import("../device/DeviceCommands").TypedResponseMessage<"RippleGetAddress"> | import("../device/DeviceCommands").TypedResponseMessage<"RippleAddress"> | import("../device/DeviceCommands").TypedResponseMessage<"RipplePayment"> | import("../device/DeviceCommands").TypedResponseMessage<"RippleSignTx"> | import("../device/DeviceCommands").TypedResponseMessage<"RippleSignedTx"> | import("../device/DeviceCommands").TypedResponseMessage<"SolanaGetAddress"> | import("../device/DeviceCommands").TypedResponseMessage<"SolanaAddress"> | import("../device/DeviceCommands").TypedResponseMessage<"SolanaSignTx"> | import("../device/DeviceCommands").TypedResponseMessage<"SolanaSignedTx"> | import("../device/DeviceCommands").TypedResponseMessage<"StarcoinGetAddress"> | import("../device/DeviceCommands").TypedResponseMessage<"StarcoinAddress"> | import("../device/DeviceCommands").TypedResponseMessage<"StarcoinGetPublicKey"> | import("../device/DeviceCommands").TypedResponseMessage<"StarcoinPublicKey"> | import("../device/DeviceCommands").TypedResponseMessage<"StarcoinSignTx"> | import("../device/DeviceCommands").TypedResponseMessage<"StarcoinSignedTx"> | import("../device/DeviceCommands").TypedResponseMessage<"StarcoinSignMessage"> | import("../device/DeviceCommands").TypedResponseMessage<"StarcoinMessageSignature"> | import("../device/DeviceCommands").TypedResponseMessage<"StarcoinVerifyMessage"> | import("../device/DeviceCommands").TypedResponseMessage<"StellarAsset"> | import("../device/DeviceCommands").TypedResponseMessage<"StellarGetAddress"> | import("../device/DeviceCommands").TypedResponseMessage<"StellarAddress"> | import("../device/DeviceCommands").TypedResponseMessage<"StellarSignTx"> | import("../device/DeviceCommands").TypedResponseMessage<"StellarTxOpRequest"> | import("../device/DeviceCommands").TypedResponseMessage<"StellarPaymentOp"> | import("../device/DeviceCommands").TypedResponseMessage<"StellarCreateAccountOp"> | import("../device/DeviceCommands").TypedResponseMessage<"StellarPathPaymentStrictReceiveOp"> | import("../device/DeviceCommands").TypedResponseMessage<"StellarPathPaymentStrictSendOp"> | import("../device/DeviceCommands").TypedResponseMessage<"StellarManageSellOfferOp"> | import("../device/DeviceCommands").TypedResponseMessage<"StellarManageBuyOfferOp"> | import("../device/DeviceCommands").TypedResponseMessage<"StellarCreatePassiveSellOfferOp"> | import("../device/DeviceCommands").TypedResponseMessage<"StellarSetOptionsOp"> | import("../device/DeviceCommands").TypedResponseMessage<"StellarChangeTrustOp"> | import("../device/DeviceCommands").TypedResponseMessage<"StellarAllowTrustOp"> | import("../device/DeviceCommands").TypedResponseMessage<"StellarAccountMergeOp"> | import("../device/DeviceCommands").TypedResponseMessage<"StellarManageDataOp"> | import("../device/DeviceCommands").TypedResponseMessage<"StellarBumpSequenceOp"> | import("../device/DeviceCommands").TypedResponseMessage<"StellarSignedTx"> | import("../device/DeviceCommands").TypedResponseMessage<"SuiGetAddress"> | import("../device/DeviceCommands").TypedResponseMessage<"SuiAddress"> | import("../device/DeviceCommands").TypedResponseMessage<"SuiSignTx"> | import("../device/DeviceCommands").TypedResponseMessage<"SuiSignedTx"> | import("../device/DeviceCommands").TypedResponseMessage<"TezosGetAddress"> | import("../device/DeviceCommands").TypedResponseMessage<"TezosAddress"> | import("../device/DeviceCommands").TypedResponseMessage<"TezosGetPublicKey"> | import("../device/DeviceCommands").TypedResponseMessage<"TezosPublicKey"> | import("../device/DeviceCommands").TypedResponseMessage<"TezosContractID"> | import("../device/DeviceCommands").TypedResponseMessage<"TezosRevealOp"> | import("../device/DeviceCommands").TypedResponseMessage<"TezosManagerTransfer"> | import("../device/DeviceCommands").TypedResponseMessage<"TezosParametersManager"> | import("../device/DeviceCommands").TypedResponseMessage<"TezosTransactionOp"> | import("../device/DeviceCommands").TypedResponseMessage<"TezosOriginationOp"> | import("../device/DeviceCommands").TypedResponseMessage<"TezosDelegationOp"> | import("../device/DeviceCommands").TypedResponseMessage<"TezosProposalOp"> | import("../device/DeviceCommands").TypedResponseMessage<"TezosBallotOp"> | import("../device/DeviceCommands").TypedResponseMessage<"TezosSignTx"> | import("../device/DeviceCommands").TypedResponseMessage<"TezosSignedTx"> | import("../device/DeviceCommands").TypedResponseMessage<"TronGetAddress"> | import("../device/DeviceCommands").TypedResponseMessage<"TronAddress"> | import("../device/DeviceCommands").TypedResponseMessage<"TronTransferContract"> | import("../device/DeviceCommands").TypedResponseMessage<"TronTriggerSmartContract"> | import("../device/DeviceCommands").TypedResponseMessage<"TronContract"> | import("../device/DeviceCommands").TypedResponseMessage<"TronSignTx"> | import("../device/DeviceCommands").TypedResponseMessage<"TronSignedTx"> | import("../device/DeviceCommands").TypedResponseMessage<"TronSignMessage"> | import("../device/DeviceCommands").TypedResponseMessage<"TronMessageSignature"> | import("../device/DeviceCommands").TypedResponseMessage<"facotry">;
3
3
  //# sourceMappingURL=patch.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"patch.d.ts","sourceRoot":"","sources":["../../src/utils/patch.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAEvE,wBAAgB,aAAa,CAAC,QAAQ,EAAE,sBAAsB,uo1BAW7D"}
1
+ {"version":3,"file":"patch.d.ts","sourceRoot":"","sources":["../../src/utils/patch.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAEvE,wBAAgB,aAAa,CAAC,QAAQ,EAAE,sBAAsB,mx0BAW7D"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onekeyfe/hd-core",
3
- "version": "0.2.11",
3
+ "version": "0.2.13",
4
4
  "description": "> TODO: description",
5
5
  "author": "OneKey",
6
6
  "homepage": "https://github.com/OneKeyHQ/hardware-js-sdk#readme",
@@ -24,8 +24,8 @@
24
24
  "url": "https://github.com/OneKeyHQ/hardware-js-sdk/issues"
25
25
  },
26
26
  "dependencies": {
27
- "@onekeyfe/hd-shared": "^0.2.11",
28
- "@onekeyfe/hd-transport": "^0.2.11",
27
+ "@onekeyfe/hd-shared": "^0.2.13",
28
+ "@onekeyfe/hd-transport": "^0.2.13",
29
29
  "axios": "^0.27.2",
30
30
  "bignumber.js": "^9.0.2",
31
31
  "jszip": "^3.10.1",
@@ -42,5 +42,5 @@
42
42
  "@types/semver": "^7.3.9",
43
43
  "ripple-keypairs": "^1.1.4"
44
44
  },
45
- "gitHead": "d363d489a79d0540166d402ba84d1487369d2a56"
45
+ "gitHead": "0b70d376d180ea3ca68d4c8996798a6e49d490fb"
46
46
  }
@@ -44,7 +44,7 @@ export default class CardanoGetAddress extends BaseMethod<CardanoGetAddressParam
44
44
  derivation_type:
45
45
  typeof batch.derivationType !== 'undefined'
46
46
  ? batch.derivationType
47
- : PROTO.CardanoDerivationType.ICARUS_TREZOR,
47
+ : PROTO.CardanoDerivationType.ICARUS,
48
48
  show_display: typeof batch.showOnOneKey === 'boolean' ? !!batch.showOnOneKey : true,
49
49
  };
50
50
  });
@@ -31,7 +31,7 @@ export default class CardanoGetPublicKey extends BaseMethod<CardanoPublicKeyPara
31
31
  derivation_type:
32
32
  typeof batch.derivationType !== 'undefined'
33
33
  ? batch.derivationType
34
- : PROTO.CardanoDerivationType.ICARUS_TREZOR,
34
+ : PROTO.CardanoDerivationType.ICARUS,
35
35
  show_display: typeof batch.showOnOneKey === 'boolean' ? batch.showOnOneKey : false,
36
36
  };
37
37
  });
@@ -0,0 +1,58 @@
1
+ import { BaseMethod } from '../BaseMethod';
2
+ import { PROTO } from '../../constants';
3
+ import { UI_REQUEST } from '../../constants/ui-request';
4
+ import { validateParams } from '../helpers/paramsValidator';
5
+ import { validatePath } from '../helpers/pathUtils';
6
+ import { CardanoSignMessageParams } from '../../types/api/cardanoSignMessage';
7
+
8
+ export default class CardanoSignMessage extends BaseMethod<CardanoSignMessageParams> {
9
+ hasBundle?: boolean;
10
+
11
+ isCheck?: boolean;
12
+
13
+ init() {
14
+ this.checkDeviceId = true;
15
+ this.allowDeviceMode = [...this.allowDeviceMode, UI_REQUEST.INITIALIZE];
16
+
17
+ const { payload } = this;
18
+ validateParams(payload, [
19
+ { name: 'path', type: 'string', required: true },
20
+ { name: 'message', type: 'string', required: true },
21
+ { name: 'derivationType', type: 'number' },
22
+ { name: 'networkId', type: 'number', required: true },
23
+ ]);
24
+
25
+ const addressN = validatePath(payload.path, 3);
26
+
27
+ this.params = {
28
+ address_n: addressN,
29
+ message: payload.message,
30
+ derivation_type:
31
+ typeof payload.derivationType !== 'undefined'
32
+ ? payload.derivationType
33
+ : PROTO.CardanoDerivationType.ICARUS,
34
+ network_id: payload.networkId,
35
+ };
36
+ }
37
+
38
+ getVersionRange() {
39
+ return {
40
+ model_mini: {
41
+ min: '2.10.0',
42
+ },
43
+ // model_touch: {
44
+ // min: '3.5.0',
45
+ // },
46
+ };
47
+ }
48
+
49
+ async run() {
50
+ const res = await this.device.commands.typedCall(
51
+ 'CardanoSignMessage',
52
+ 'CardanoMessageSignature',
53
+ this.params
54
+ );
55
+
56
+ return res.message;
57
+ }
58
+ }