@onekeyfe/hd-transport 1.2.0-alpha.11 → 1.2.0-alpha.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.
- package/__tests__/messages.test.js +21 -9
- package/__tests__/protocol-v2.test.js +100 -27
- package/dist/index.d.ts +83 -47
- package/dist/index.js +82 -174
- package/dist/protocols/index.d.ts +8 -5
- package/dist/protocols/index.d.ts.map +1 -1
- package/dist/protocols/v2/decode.d.ts +1 -2
- package/dist/protocols/v2/decode.d.ts.map +1 -1
- package/dist/protocols/v2/encode.d.ts +2 -3
- package/dist/protocols/v2/encode.d.ts.map +1 -1
- package/dist/protocols/v2/index.d.ts +0 -1
- package/dist/protocols/v2/index.d.ts.map +1 -1
- package/dist/protocols/v2/session.d.ts.map +1 -1
- package/dist/types/messages.d.ts +49 -7
- package/dist/types/messages.d.ts.map +1 -1
- package/messages-protocol-v2.json +422 -16
- package/package.json +3 -3
- package/scripts/protobuf-build.sh +20 -232
- package/scripts/protobuf-types.js +9 -0
- package/src/protocols/index.ts +15 -38
- package/src/protocols/v2/decode.ts +1 -23
- package/src/protocols/v2/encode.ts +1 -27
- package/src/protocols/v2/index.ts +0 -1
- package/src/protocols/v2/session.ts +19 -147
- package/src/types/messages.ts +50 -7
- package/dist/protocols/v2/debug.d.ts +0 -13
- package/dist/protocols/v2/debug.d.ts.map +0 -1
- package/src/protocols/v2/debug.ts +0 -26
|
@@ -3,9 +3,10 @@ const {
|
|
|
3
3
|
createMessageFromType,
|
|
4
4
|
parseConfigure,
|
|
5
5
|
} = require('../src/serialization/protobuf/messages');
|
|
6
|
-
const v1Messages = require('
|
|
6
|
+
const v1Messages = require('../../core/src/data/messages/messages.json');
|
|
7
7
|
const v2Messages = require('../messages-protocol-v2.json');
|
|
8
8
|
const coreV2Messages = require('../../core/src/data/messages/messages-protocol-v2.json');
|
|
9
|
+
const generatedTypes = require('../src/types/messages');
|
|
9
10
|
|
|
10
11
|
// const json = require('./data/messages.json');
|
|
11
12
|
|
|
@@ -62,11 +63,12 @@ const json = {
|
|
|
62
63
|
};
|
|
63
64
|
|
|
64
65
|
describe('messages', () => {
|
|
65
|
-
test('V1 GetPassphraseState
|
|
66
|
+
test('V1 GetPassphraseState matches the current firmware schema', () => {
|
|
66
67
|
const { fields } = v1Messages.nested.GetPassphraseState;
|
|
67
68
|
|
|
68
|
-
expect(fields.
|
|
69
|
-
expect(fields
|
|
69
|
+
expect(fields.passphrase_state).toMatchObject({ id: 1, type: 'string' });
|
|
70
|
+
expect(fields).not.toHaveProperty('_only_main_pin');
|
|
71
|
+
expect(fields).not.toHaveProperty('allow_create_attach_pin');
|
|
70
72
|
});
|
|
71
73
|
|
|
72
74
|
test('Protocol V2 firmware targets match the current firmware-pro2 enum', () => {
|
|
@@ -85,6 +87,16 @@ describe('messages', () => {
|
|
|
85
87
|
});
|
|
86
88
|
});
|
|
87
89
|
|
|
90
|
+
test('Protocol V2 conflicting enums keep their own wire values', () => {
|
|
91
|
+
expect(generatedTypes.ProtocolV2FailureType).toMatchObject({
|
|
92
|
+
Failure_DataError: 4,
|
|
93
|
+
Failure_ProcessError: 5,
|
|
94
|
+
});
|
|
95
|
+
expect(generatedTypes.Enum_ProtocolV2Capability).toMatchObject({
|
|
96
|
+
Capability_AttachToPin: 18,
|
|
97
|
+
});
|
|
98
|
+
});
|
|
99
|
+
|
|
88
100
|
test('Protocol V2 device status and session messages match firmware-pro2', () => {
|
|
89
101
|
expect(v2Messages.nested.MessageType.values).toMatchObject({
|
|
90
102
|
MessageType_DeviceStatusGet: 60602,
|
|
@@ -92,7 +104,6 @@ describe('messages', () => {
|
|
|
92
104
|
MessageType_DeviceSessionGet: 60606,
|
|
93
105
|
MessageType_DeviceSession: 60607,
|
|
94
106
|
MessageType_DeviceSessionAskPin: 60608,
|
|
95
|
-
MessageType_DeviceSessionPinResult: 60609,
|
|
96
107
|
});
|
|
97
108
|
expect(v2Messages.nested.DeviceStatusGet).toEqual({ fields: {} });
|
|
98
109
|
expect(v2Messages.nested.DeviceSessionGet.fields.session_id).toMatchObject({
|
|
@@ -104,11 +115,12 @@ describe('messages', () => {
|
|
|
104
115
|
btc_test_address: { id: 2, type: 'string' },
|
|
105
116
|
});
|
|
106
117
|
expect(v2Messages.nested.DeviceSessionAskPin).toEqual({ fields: {} });
|
|
107
|
-
expect(v2Messages.nested.
|
|
108
|
-
|
|
109
|
-
unlocked_attach_pin: { id: 2, type: 'bool' },
|
|
110
|
-
passphrase_protection: { id: 3, type: 'bool' },
|
|
118
|
+
expect(v2Messages.nested.DeviceSessionAskPin_FailureSubCodes.values).toEqual({
|
|
119
|
+
UserCancel: 1,
|
|
111
120
|
});
|
|
121
|
+
expect(v2Messages.nested.MessageType.values).not.toHaveProperty(
|
|
122
|
+
'MessageType_DeviceSessionPinResult'
|
|
123
|
+
);
|
|
112
124
|
});
|
|
113
125
|
|
|
114
126
|
test('Protocol V2 does not restore retired unlock or passphrase ids', () => {
|
|
@@ -95,6 +95,22 @@ const protocolV2Messages = parseConfigure({
|
|
|
95
95
|
},
|
|
96
96
|
},
|
|
97
97
|
},
|
|
98
|
+
Failure: {
|
|
99
|
+
fields: {
|
|
100
|
+
code: {
|
|
101
|
+
type: 'uint32',
|
|
102
|
+
id: 1,
|
|
103
|
+
},
|
|
104
|
+
subcode: {
|
|
105
|
+
type: 'uint32',
|
|
106
|
+
id: 2,
|
|
107
|
+
},
|
|
108
|
+
message: {
|
|
109
|
+
type: 'string',
|
|
110
|
+
id: 3,
|
|
111
|
+
},
|
|
112
|
+
},
|
|
113
|
+
},
|
|
98
114
|
DeviceFirmwareTarget: {
|
|
99
115
|
fields: {
|
|
100
116
|
target_id: {
|
|
@@ -174,6 +190,7 @@ const protocolV2Messages = parseConfigure({
|
|
|
174
190
|
MessageType_ProtocolInfo: 60201,
|
|
175
191
|
MessageType_Ping: 60206,
|
|
176
192
|
MessageType_Success: 60207,
|
|
193
|
+
MessageType_Failure: 60208,
|
|
177
194
|
MessageType_FileWrite: 60805,
|
|
178
195
|
MessageType_DeviceFirmwareUpdateRequest: 61000,
|
|
179
196
|
MessageType_DeviceFirmwareUpdateStatus: 61002,
|
|
@@ -318,6 +335,76 @@ describe('Protocol V2 framing and session', () => {
|
|
|
318
335
|
});
|
|
319
336
|
});
|
|
320
337
|
|
|
338
|
+
test('session logs Protocol V2 TX and RX frame metadata without payloads', async () => {
|
|
339
|
+
const written = [];
|
|
340
|
+
const logger = { debug: jest.fn() };
|
|
341
|
+
const response = ProtocolV2.encodeFrame(schemas, 'ProtocolInfo', {
|
|
342
|
+
version: 2,
|
|
343
|
+
supported_messages: [60206],
|
|
344
|
+
protobuf_definition: 'sensitive-schema',
|
|
345
|
+
});
|
|
346
|
+
const session = new ProtocolV2Session({
|
|
347
|
+
schemas,
|
|
348
|
+
router: 1,
|
|
349
|
+
logger,
|
|
350
|
+
logPrefix: 'ProtocolV2 Test',
|
|
351
|
+
writeFrame: frame => {
|
|
352
|
+
written.push(frame);
|
|
353
|
+
return Promise.resolve();
|
|
354
|
+
},
|
|
355
|
+
readFrame: () =>
|
|
356
|
+
Promise.resolve(rewriteSeq(response, protocolV2.decodeFrame(written[0]).seq)),
|
|
357
|
+
});
|
|
358
|
+
|
|
359
|
+
await session.call('ProtocolInfoRequest', {});
|
|
360
|
+
|
|
361
|
+
const tx = protocolV2.decodeFrame(written[0]);
|
|
362
|
+
const rx = protocolV2.decodeFrame(rewriteSeq(response, tx.seq));
|
|
363
|
+
expect(logger.debug).toHaveBeenCalledWith('[ProtocolV2 Test] TX', {
|
|
364
|
+
method: 'ProtocolInfoRequest',
|
|
365
|
+
type: 'ProtocolInfoRequest',
|
|
366
|
+
typeId: tx.messageTypeId,
|
|
367
|
+
seq: tx.seq,
|
|
368
|
+
bytes: written[0].length,
|
|
369
|
+
});
|
|
370
|
+
expect(logger.debug).toHaveBeenCalledWith('[ProtocolV2 Test] RX', {
|
|
371
|
+
method: 'ProtocolInfoRequest',
|
|
372
|
+
type: 'ProtocolInfo',
|
|
373
|
+
typeId: rx.messageTypeId,
|
|
374
|
+
seq: rx.seq,
|
|
375
|
+
bytes: response.length,
|
|
376
|
+
});
|
|
377
|
+
expect(JSON.stringify(logger.debug.mock.calls)).not.toContain('sensitive-schema');
|
|
378
|
+
expect(JSON.stringify(logger.debug.mock.calls)).not.toContain('supported_messages');
|
|
379
|
+
});
|
|
380
|
+
|
|
381
|
+
test('session logs RX frame metadata before protobuf payload decoding fails', async () => {
|
|
382
|
+
const logger = { debug: jest.fn() };
|
|
383
|
+
const response = protocolV2.encodeProtobufFrame(
|
|
384
|
+
60208,
|
|
385
|
+
hexToBytes('0801121648616e646c6572206e6f742072656769737465726564')
|
|
386
|
+
);
|
|
387
|
+
const session = new ProtocolV2Session({
|
|
388
|
+
schemas,
|
|
389
|
+
router: 1,
|
|
390
|
+
logger,
|
|
391
|
+
logPrefix: 'ProtocolV2 Test',
|
|
392
|
+
writeFrame: () => Promise.resolve(),
|
|
393
|
+
readFrame: () => Promise.resolve(response),
|
|
394
|
+
});
|
|
395
|
+
|
|
396
|
+
await expect(session.call('Ping', { message: 'hello' })).rejects.toThrow();
|
|
397
|
+
|
|
398
|
+
const rx = protocolV2.decodeFrame(response);
|
|
399
|
+
expect(logger.debug).toHaveBeenCalledWith('[ProtocolV2 Test] RX', {
|
|
400
|
+
method: 'Ping',
|
|
401
|
+
type: 'Failure',
|
|
402
|
+
typeId: rx.messageTypeId,
|
|
403
|
+
seq: rx.seq,
|
|
404
|
+
bytes: response.length,
|
|
405
|
+
});
|
|
406
|
+
});
|
|
407
|
+
|
|
321
408
|
test('session skips Proto Link ACK frames before decoding the protobuf response', async () => {
|
|
322
409
|
const ack = new Uint8Array(8);
|
|
323
410
|
ack[0] = 0x5a;
|
|
@@ -392,7 +479,7 @@ describe('Protocol V2 framing and session', () => {
|
|
|
392
479
|
});
|
|
393
480
|
});
|
|
394
481
|
|
|
395
|
-
test('session
|
|
482
|
+
test('session logs a device-owned response seq without rejecting the frame', async () => {
|
|
396
483
|
const response = ProtocolV2.encodeFrame(schemas, 'ProtocolInfo', {
|
|
397
484
|
version: 2,
|
|
398
485
|
supported_messages: [],
|
|
@@ -416,10 +503,16 @@ describe('Protocol V2 framing and session', () => {
|
|
|
416
503
|
protobuf_definition: null,
|
|
417
504
|
},
|
|
418
505
|
});
|
|
419
|
-
expect(logger.debug).toHaveBeenCalledWith(
|
|
506
|
+
expect(logger.debug).toHaveBeenCalledWith('[ProtocolV2] RX', {
|
|
507
|
+
method: 'ProtocolInfoRequest',
|
|
508
|
+
type: 'ProtocolInfo',
|
|
509
|
+
typeId: 60201,
|
|
510
|
+
seq: 200,
|
|
511
|
+
bytes: response.length,
|
|
512
|
+
});
|
|
420
513
|
});
|
|
421
514
|
|
|
422
|
-
test('session
|
|
515
|
+
test('session does not log transmit or receive payload details', async () => {
|
|
423
516
|
const response = ProtocolV2.encodeFrame(schemas, 'Success', {
|
|
424
517
|
message: 'accepted',
|
|
425
518
|
});
|
|
@@ -442,30 +535,10 @@ describe('Protocol V2 framing and session', () => {
|
|
|
442
535
|
},
|
|
443
536
|
});
|
|
444
537
|
|
|
445
|
-
expect(logger.debug).
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
expect(
|
|
449
|
-
'[ProtocolV2 Test] encode raw frame',
|
|
450
|
-
expect.objectContaining({
|
|
451
|
-
context: 'tx:Ping',
|
|
452
|
-
messageTypeId: 60206,
|
|
453
|
-
router: 1,
|
|
454
|
-
})
|
|
455
|
-
);
|
|
456
|
-
expect(logger.debug).toHaveBeenCalledWith(
|
|
457
|
-
'[ProtocolV2 Test] decode raw frame',
|
|
458
|
-
expect.objectContaining({
|
|
459
|
-
context: 'rx:Ping',
|
|
460
|
-
messageTypeId: 60207,
|
|
461
|
-
})
|
|
462
|
-
);
|
|
463
|
-
expect(logger.debug).toHaveBeenCalledWith(
|
|
464
|
-
'[ProtocolV2 Test] RX payload type=Success messageTypeId=60207',
|
|
465
|
-
{
|
|
466
|
-
message: 'accepted',
|
|
467
|
-
}
|
|
468
|
-
);
|
|
538
|
+
expect(logger.debug).toHaveBeenCalledTimes(2);
|
|
539
|
+
const logs = JSON.stringify(logger.debug.mock.calls);
|
|
540
|
+
expect(logs).not.toContain('hello');
|
|
541
|
+
expect(logs).not.toContain('accepted');
|
|
469
542
|
});
|
|
470
543
|
|
|
471
544
|
test('session suppresses debug logs for file transfer calls', async () => {
|
package/dist/index.d.ts
CHANGED
|
@@ -65,22 +65,9 @@ declare const PROTO_DATA_TYPE_ACK = 1;
|
|
|
65
65
|
declare const CRC8_TABLE: Uint8Array;
|
|
66
66
|
declare function crc8(data: Uint8Array, len: number): number;
|
|
67
67
|
|
|
68
|
-
type ProtocolV2DebugLogger = {
|
|
69
|
-
debug?: (...args: unknown[]) => void;
|
|
70
|
-
};
|
|
71
|
-
type ProtocolV2FrameDebugOptions = {
|
|
72
|
-
logger?: ProtocolV2DebugLogger;
|
|
73
|
-
logPrefix?: string;
|
|
74
|
-
context?: string;
|
|
75
|
-
messageName?: string;
|
|
76
|
-
messageTypeId?: number;
|
|
77
|
-
pbPayloadLength?: number;
|
|
78
|
-
};
|
|
79
|
-
declare function logProtocolV2Debug(options: ProtocolV2FrameDebugOptions | undefined, stage: string, details: Record<string, unknown>): void;
|
|
80
|
-
|
|
81
68
|
declare function nextProtoSeq(current: number): number;
|
|
82
|
-
declare function encodeFrame(payload: Uint8Array | null, packetSrc?: number, router?: number,
|
|
83
|
-
declare function encodeProtobufFrame(messageTypeId: number, pbPayload: Uint8Array, packetSrc?: number, router?: number,
|
|
69
|
+
declare function encodeFrame(payload: Uint8Array | null, packetSrc?: number, router?: number, seq?: number): Uint8Array;
|
|
70
|
+
declare function encodeProtobufFrame(messageTypeId: number, pbPayload: Uint8Array, packetSrc?: number, router?: number, seq?: number): Uint8Array;
|
|
84
71
|
|
|
85
72
|
interface ProtoV2Frame {
|
|
86
73
|
messageTypeId: number;
|
|
@@ -88,7 +75,7 @@ interface ProtoV2Frame {
|
|
|
88
75
|
seq: number;
|
|
89
76
|
}
|
|
90
77
|
declare function isAckFrame(data: Uint8Array): boolean;
|
|
91
|
-
declare function decodeFrame(data: Uint8Array
|
|
78
|
+
declare function decodeFrame(data: Uint8Array): ProtoV2Frame;
|
|
92
79
|
|
|
93
80
|
declare function concatUint8Arrays(arrays: Uint8Array[]): Uint8Array;
|
|
94
81
|
declare class ProtocolV2FrameAssembler {
|
|
@@ -111,9 +98,6 @@ declare const protocolV2Codec_PROTO_DATA_TYPE_PACKET: typeof PROTO_DATA_TYPE_PAC
|
|
|
111
98
|
declare const protocolV2Codec_PROTO_DATA_TYPE_ACK: typeof PROTO_DATA_TYPE_ACK;
|
|
112
99
|
declare const protocolV2Codec_CRC8_TABLE: typeof CRC8_TABLE;
|
|
113
100
|
declare const protocolV2Codec_crc8: typeof crc8;
|
|
114
|
-
type protocolV2Codec_ProtocolV2DebugLogger = ProtocolV2DebugLogger;
|
|
115
|
-
type protocolV2Codec_ProtocolV2FrameDebugOptions = ProtocolV2FrameDebugOptions;
|
|
116
|
-
declare const protocolV2Codec_logProtocolV2Debug: typeof logProtocolV2Debug;
|
|
117
101
|
declare const protocolV2Codec_nextProtoSeq: typeof nextProtoSeq;
|
|
118
102
|
declare const protocolV2Codec_encodeFrame: typeof encodeFrame;
|
|
119
103
|
declare const protocolV2Codec_encodeProtobufFrame: typeof encodeProtobufFrame;
|
|
@@ -134,9 +118,6 @@ declare namespace protocolV2Codec {
|
|
|
134
118
|
protocolV2Codec_PROTO_DATA_TYPE_ACK as PROTO_DATA_TYPE_ACK,
|
|
135
119
|
protocolV2Codec_CRC8_TABLE as CRC8_TABLE,
|
|
136
120
|
protocolV2Codec_crc8 as crc8,
|
|
137
|
-
protocolV2Codec_ProtocolV2DebugLogger as ProtocolV2DebugLogger,
|
|
138
|
-
protocolV2Codec_ProtocolV2FrameDebugOptions as ProtocolV2FrameDebugOptions,
|
|
139
|
-
protocolV2Codec_logProtocolV2Debug as logProtocolV2Debug,
|
|
140
121
|
protocolV2Codec_nextProtoSeq as nextProtoSeq,
|
|
141
122
|
protocolV2Codec_encodeFrame as encodeFrame,
|
|
142
123
|
protocolV2Codec_encodeProtobufFrame as encodeProtobufFrame,
|
|
@@ -157,9 +138,6 @@ type ProtocolV2FrameOptions = {
|
|
|
157
138
|
packetSrc?: number;
|
|
158
139
|
router?: number;
|
|
159
140
|
seq?: number;
|
|
160
|
-
logger?: ProtocolV2DebugLogger;
|
|
161
|
-
logPrefix?: string;
|
|
162
|
-
context?: string;
|
|
163
141
|
};
|
|
164
142
|
declare const ProtocolV1: {
|
|
165
143
|
encodeEnvelope: typeof encodeEnvelopeMessage;
|
|
@@ -174,8 +152,15 @@ declare const ProtocolV1: {
|
|
|
174
152
|
};
|
|
175
153
|
declare const ProtocolV2: {
|
|
176
154
|
isAckFrame: typeof isAckFrame;
|
|
155
|
+
inspectFrame(schemas: ProtocolV2Schemas$1, frame: Uint8Array): {
|
|
156
|
+
messageName: string;
|
|
157
|
+
messageTypeId: number;
|
|
158
|
+
pbPayload: Uint8Array;
|
|
159
|
+
seq: number;
|
|
160
|
+
type: string;
|
|
161
|
+
};
|
|
177
162
|
encodeFrame(schemas: ProtocolV2Schemas$1, name: string, data: Record<string, unknown>, options?: ProtocolV2FrameOptions): Uint8Array;
|
|
178
|
-
decodeFrame(schemas: ProtocolV2Schemas$1, frame: Uint8Array
|
|
163
|
+
decodeFrame(schemas: ProtocolV2Schemas$1, frame: Uint8Array): {
|
|
179
164
|
message: {
|
|
180
165
|
[key: string]: any;
|
|
181
166
|
};
|
|
@@ -2089,6 +2074,19 @@ type Features = {
|
|
|
2089
2074
|
onekey_se04_state?: string | null;
|
|
2090
2075
|
attach_to_pin_user?: boolean;
|
|
2091
2076
|
unlocked_attach_pin?: boolean;
|
|
2077
|
+
coprocessor_bt_name?: string;
|
|
2078
|
+
coprocessor_version?: string;
|
|
2079
|
+
coprocessor_bt_enable?: boolean;
|
|
2080
|
+
romloader_version?: string;
|
|
2081
|
+
onekey_romloader_version?: string;
|
|
2082
|
+
onekey_romloader_hash?: string;
|
|
2083
|
+
onekey_bootloader_version?: string;
|
|
2084
|
+
onekey_bootloader_hash?: string;
|
|
2085
|
+
onekey_bootloader_build_id?: string;
|
|
2086
|
+
onekey_coprocessor_bt_name?: string;
|
|
2087
|
+
onekey_coprocessor_version?: string;
|
|
2088
|
+
onekey_coprocessor_build_id?: string;
|
|
2089
|
+
onekey_coprocessor_hash?: string;
|
|
2092
2090
|
};
|
|
2093
2091
|
type OnekeyFeatures = {
|
|
2094
2092
|
onekey_device_type?: OneKeyDeviceType;
|
|
@@ -3702,7 +3700,10 @@ type ViewRawData = {
|
|
|
3702
3700
|
};
|
|
3703
3701
|
declare enum ViewSignLayout {
|
|
3704
3702
|
LayoutDefault = 0,
|
|
3705
|
-
LayoutSafeTxCreate = 1
|
|
3703
|
+
LayoutSafeTxCreate = 1,
|
|
3704
|
+
LayoutFinalConfirm = 2,
|
|
3705
|
+
Layout7702 = 3,
|
|
3706
|
+
LayoutFlat = 4
|
|
3706
3707
|
}
|
|
3707
3708
|
type ViewSignPage = {
|
|
3708
3709
|
title: string;
|
|
@@ -3958,11 +3959,9 @@ type DeviceSession = {
|
|
|
3958
3959
|
btc_test_address?: string;
|
|
3959
3960
|
};
|
|
3960
3961
|
type DeviceSessionAskPin = {};
|
|
3961
|
-
|
|
3962
|
-
|
|
3963
|
-
|
|
3964
|
-
passphrase_protection?: boolean;
|
|
3965
|
-
};
|
|
3962
|
+
declare enum DeviceSessionAskPin_FailureSubCodes {
|
|
3963
|
+
UserCancel = 1
|
|
3964
|
+
}
|
|
3966
3965
|
type DeviceStatus = {
|
|
3967
3966
|
device_id?: string;
|
|
3968
3967
|
unlocked?: boolean;
|
|
@@ -4055,6 +4054,35 @@ type FilesystemFormat = {
|
|
|
4055
4054
|
user: boolean;
|
|
4056
4055
|
};
|
|
4057
4056
|
type PortfolioUpdate = {};
|
|
4057
|
+
declare enum ProtocolV2FailureType {
|
|
4058
|
+
Failure_InvalidMessage = 1,
|
|
4059
|
+
Failure_UndefinedError = 2,
|
|
4060
|
+
Failure_UsageError = 3,
|
|
4061
|
+
Failure_DataError = 4,
|
|
4062
|
+
Failure_ProcessError = 5
|
|
4063
|
+
}
|
|
4064
|
+
declare enum Enum_ProtocolV2Capability {
|
|
4065
|
+
Capability_Bitcoin = 1,
|
|
4066
|
+
Capability_Bitcoin_like = 2,
|
|
4067
|
+
Capability_Binance = 3,
|
|
4068
|
+
Capability_Cardano = 4,
|
|
4069
|
+
Capability_Crypto = 5,
|
|
4070
|
+
Capability_EOS = 6,
|
|
4071
|
+
Capability_Ethereum = 7,
|
|
4072
|
+
Capability_Lisk = 8,
|
|
4073
|
+
Capability_Monero = 9,
|
|
4074
|
+
Capability_NEM = 10,
|
|
4075
|
+
Capability_Ripple = 11,
|
|
4076
|
+
Capability_Stellar = 12,
|
|
4077
|
+
Capability_Tezos = 13,
|
|
4078
|
+
Capability_U2F = 14,
|
|
4079
|
+
Capability_Shamir = 15,
|
|
4080
|
+
Capability_ShamirGroups = 16,
|
|
4081
|
+
Capability_PassphraseEntry = 17,
|
|
4082
|
+
Capability_AttachToPin = 18,
|
|
4083
|
+
Capability_EthereumTypedData = 1000
|
|
4084
|
+
}
|
|
4085
|
+
type ProtocolV2Capability = keyof typeof Enum_ProtocolV2Capability;
|
|
4058
4086
|
type MessageType = {
|
|
4059
4087
|
AlephiumGetAddress: AlephiumGetAddress;
|
|
4060
4088
|
AlephiumAddress: AlephiumAddress;
|
|
@@ -4673,7 +4701,6 @@ type MessageType = {
|
|
|
4673
4701
|
DeviceSessionGet: DeviceSessionGet;
|
|
4674
4702
|
DeviceSession: DeviceSession;
|
|
4675
4703
|
DeviceSessionAskPin: DeviceSessionAskPin;
|
|
4676
|
-
DeviceSessionPinResult: DeviceSessionPinResult;
|
|
4677
4704
|
DeviceStatus: DeviceStatus;
|
|
4678
4705
|
DeviceStatusGet: DeviceStatusGet;
|
|
4679
4706
|
DevGetOnboardingStatus: DevGetOnboardingStatus;
|
|
@@ -5484,7 +5511,8 @@ type messages_ProtocolV2DeviceInfo = ProtocolV2DeviceInfo;
|
|
|
5484
5511
|
type messages_DeviceSessionGet = DeviceSessionGet;
|
|
5485
5512
|
type messages_DeviceSession = DeviceSession;
|
|
5486
5513
|
type messages_DeviceSessionAskPin = DeviceSessionAskPin;
|
|
5487
|
-
type
|
|
5514
|
+
type messages_DeviceSessionAskPin_FailureSubCodes = DeviceSessionAskPin_FailureSubCodes;
|
|
5515
|
+
declare const messages_DeviceSessionAskPin_FailureSubCodes: typeof DeviceSessionAskPin_FailureSubCodes;
|
|
5488
5516
|
type messages_DeviceStatus = DeviceStatus;
|
|
5489
5517
|
type messages_DeviceStatusGet = DeviceStatusGet;
|
|
5490
5518
|
type messages_DevOnboardingStage = DevOnboardingStage;
|
|
@@ -5504,6 +5532,11 @@ type messages_FilesystemDirMake = FilesystemDirMake;
|
|
|
5504
5532
|
type messages_FilesystemDirRemove = FilesystemDirRemove;
|
|
5505
5533
|
type messages_FilesystemFormat = FilesystemFormat;
|
|
5506
5534
|
type messages_PortfolioUpdate = PortfolioUpdate;
|
|
5535
|
+
type messages_ProtocolV2FailureType = ProtocolV2FailureType;
|
|
5536
|
+
declare const messages_ProtocolV2FailureType: typeof ProtocolV2FailureType;
|
|
5537
|
+
type messages_Enum_ProtocolV2Capability = Enum_ProtocolV2Capability;
|
|
5538
|
+
declare const messages_Enum_ProtocolV2Capability: typeof Enum_ProtocolV2Capability;
|
|
5539
|
+
type messages_ProtocolV2Capability = ProtocolV2Capability;
|
|
5507
5540
|
type messages_MessageType = MessageType;
|
|
5508
5541
|
type messages_MessageKey = MessageKey;
|
|
5509
5542
|
type messages_MessageResponse<T extends MessageKey> = MessageResponse<T>;
|
|
@@ -6217,7 +6250,7 @@ declare namespace messages {
|
|
|
6217
6250
|
messages_DeviceSessionGet as DeviceSessionGet,
|
|
6218
6251
|
messages_DeviceSession as DeviceSession,
|
|
6219
6252
|
messages_DeviceSessionAskPin as DeviceSessionAskPin,
|
|
6220
|
-
|
|
6253
|
+
messages_DeviceSessionAskPin_FailureSubCodes as DeviceSessionAskPin_FailureSubCodes,
|
|
6221
6254
|
messages_DeviceStatus as DeviceStatus,
|
|
6222
6255
|
messages_DeviceStatusGet as DeviceStatusGet,
|
|
6223
6256
|
messages_DevOnboardingStage as DevOnboardingStage,
|
|
@@ -6236,6 +6269,9 @@ declare namespace messages {
|
|
|
6236
6269
|
messages_FilesystemDirRemove as FilesystemDirRemove,
|
|
6237
6270
|
messages_FilesystemFormat as FilesystemFormat,
|
|
6238
6271
|
messages_PortfolioUpdate as PortfolioUpdate,
|
|
6272
|
+
messages_ProtocolV2FailureType as ProtocolV2FailureType,
|
|
6273
|
+
messages_Enum_ProtocolV2Capability as Enum_ProtocolV2Capability,
|
|
6274
|
+
messages_ProtocolV2Capability as ProtocolV2Capability,
|
|
6239
6275
|
messages_MessageType as MessageType,
|
|
6240
6276
|
messages_MessageKey as MessageKey,
|
|
6241
6277
|
messages_MessageResponse as MessageResponse,
|
|
@@ -6428,6 +6464,16 @@ declare const _default: {
|
|
|
6428
6464
|
};
|
|
6429
6465
|
ProtocolV2: {
|
|
6430
6466
|
isAckFrame: typeof isAckFrame;
|
|
6467
|
+
inspectFrame(schemas: {
|
|
6468
|
+
protocolV1: protobuf.Root;
|
|
6469
|
+
protocolV2: protobuf.Root;
|
|
6470
|
+
}, frame: Uint8Array): {
|
|
6471
|
+
messageName: string;
|
|
6472
|
+
messageTypeId: number;
|
|
6473
|
+
pbPayload: Uint8Array;
|
|
6474
|
+
seq: number;
|
|
6475
|
+
type: string;
|
|
6476
|
+
};
|
|
6431
6477
|
encodeFrame(schemas: {
|
|
6432
6478
|
protocolV1: protobuf.Root;
|
|
6433
6479
|
protocolV2: protobuf.Root;
|
|
@@ -6435,21 +6481,11 @@ declare const _default: {
|
|
|
6435
6481
|
packetSrc?: number | undefined;
|
|
6436
6482
|
router?: number | undefined;
|
|
6437
6483
|
seq?: number | undefined;
|
|
6438
|
-
logger?: ProtocolV2DebugLogger | undefined;
|
|
6439
|
-
logPrefix?: string | undefined;
|
|
6440
|
-
context?: string | undefined;
|
|
6441
6484
|
}): Uint8Array;
|
|
6442
6485
|
decodeFrame(schemas: {
|
|
6443
6486
|
protocolV1: protobuf.Root;
|
|
6444
6487
|
protocolV2: protobuf.Root;
|
|
6445
|
-
}, frame: Uint8Array
|
|
6446
|
-
packetSrc?: number | undefined;
|
|
6447
|
-
router?: number | undefined;
|
|
6448
|
-
seq?: number | undefined;
|
|
6449
|
-
logger?: ProtocolV2DebugLogger | undefined;
|
|
6450
|
-
logPrefix?: string | undefined;
|
|
6451
|
-
context?: string | undefined;
|
|
6452
|
-
}, "logger" | "logPrefix" | "context">): {
|
|
6488
|
+
}, frame: Uint8Array): {
|
|
6453
6489
|
message: {
|
|
6454
6490
|
[key: string]: any;
|
|
6455
6491
|
};
|
|
@@ -6486,4 +6522,4 @@ declare const _default: {
|
|
|
6486
6522
|
withProtocolTimeout: typeof withProtocolTimeout;
|
|
6487
6523
|
};
|
|
6488
6524
|
|
|
6489
|
-
export { AcquireInput, Address, AlephiumAddress, AlephiumBytecodeAck, AlephiumBytecodeRequest, AlephiumGetAddress, AlephiumMessageSignature, AlephiumSignMessage, AlephiumSignTx, AlephiumSignedTx, AlephiumTxAck, AlephiumTxRequest, AlgorandAddress, AlgorandGetAddress, AlgorandSignTx, AlgorandSignedTx, AmountUnit, ApplyFlags, ApplySettings, AptosAddress, AptosGetAddress, AptosMessagePayload, AptosMessageSignature, AptosSignMessage, AptosSignSIWAMessage, AptosSignTx, AptosSignedTx, AptosTransactionType, AuthorizeCoinJoin, BIP32Address, BackupDevice, BackupType, BatchGetPublickeys, BenfenAddress, BenfenGetAddress, BenfenMessageSignature, BenfenSignMessage, BenfenSignTx, BenfenSignedTx, BenfenTxAck, BenfenTxRequest, BinanceAddress, BinanceCancelMsg, BinanceCoin, BinanceGetAddress, BinanceGetPublicKey, BinanceInputOutput, BinanceOrderMsg, BinanceOrderSide, BinanceOrderType, BinancePublicKey, BinanceSignTx, BinanceSignedTx, BinanceTimeInForce, BinanceTransferMsg, BinanceTxRequest, BixinBackupAck, BixinBackupDevice, BixinBackupDeviceAck, BixinBackupRequest, BixinLoadDevice, BixinMessageSE, BixinOutMessageSE, BixinPinInputOnDevice, BixinRestoreAck, BixinRestoreRequest, BixinSeedOperate, BixinVerifyDeviceAck, BixinVerifyDeviceRequest, BixinWhiteListAck, BixinWhiteListRequest, BlurRequest, ButtonAck, ButtonRequest, ButtonRequestType, Cancel, CancelAuthorization, Capability, CardanoAddress, CardanoAddressParametersType, CardanoAddressType, CardanoAssetGroup, CardanoBlockchainPointerType, CardanoCVoteRegistrationDelegation, CardanoCVoteRegistrationFormat, CardanoCVoteRegistrationParametersType, CardanoCertificateType, CardanoDRep, CardanoDRepType, CardanoDerivationType, CardanoGetAddress, CardanoGetNativeScriptHash, CardanoGetPublicKey, CardanoMessageSignature, CardanoNativeScript, CardanoNativeScriptHash, CardanoNativeScriptHashDisplayFormat, CardanoNativeScriptType, CardanoPoolMetadataType, CardanoPoolOwner, CardanoPoolParametersType, CardanoPoolRelayParameters, CardanoPoolRelayType, CardanoPublicKey, CardanoSignMessage, CardanoSignTxFinished, CardanoSignTxInit, CardanoToken, CardanoTxAuxiliaryData, CardanoTxAuxiliaryDataSupplement, CardanoTxAuxiliaryDataSupplementType, CardanoTxBodyHash, CardanoTxCertificate, CardanoTxCollateralInput, CardanoTxHostAck, CardanoTxInlineDatumChunk, CardanoTxInput, CardanoTxItemAck, CardanoTxMint, CardanoTxOutput, CardanoTxOutputSerializationFormat, CardanoTxReferenceInput, CardanoTxReferenceScriptChunk, CardanoTxRequiredSigner, CardanoTxSigningMode, CardanoTxWithdrawal, CardanoTxWitnessRequest, CardanoTxWitnessResponse, CardanoTxWitnessType, ChangeOutputScriptType, ChangePin, ChangeWipeCode, CipherKeyValue, CipheredKeyValue, CoinJoinRequest, CoinPurchaseMemo, CommandFlags, ConfluxAddress, ConfluxGetAddress, ConfluxMessageSignature, ConfluxSignMessage, ConfluxSignMessageCIP23, ConfluxSignTx, ConfluxTxAck, ConfluxTxRequest, CosmosAddress, CosmosGetAddress, CosmosSignTx, CosmosSignedTx, DecredStakingSpendType, Deprecated_PassphraseStateAck, Deprecated_PassphraseStateRequest, DevGetOnboardingStatus, DevOnboardingStage, DevOnboardingStatus, DeviceBackToBoot, DeviceCertificate, DeviceCertificateRead, DeviceCertificateSign, DeviceCertificateSignature, DeviceCertificateWrite, DeviceCoprocessorInfo, DeviceEraseSector, DeviceErrorCode, DeviceFactoryAck, DeviceFactoryInfo, DeviceFactoryInfoGet, DeviceFactoryInfoManufactureTime, DeviceFactoryInfoSet, DeviceFactoryPermanentLock, DeviceFactoryTest, DeviceFirmwareImageInfo, DeviceFirmwareTarget, DeviceFirmwareTargetType, DeviceFirmwareUpdateRecord, DeviceFirmwareUpdateRecordFields, DeviceFirmwareUpdateRequest, DeviceFirmwareUpdateStatus, DeviceFirmwareUpdateStatusGet, DeviceFirmwareUpdateTaskStatus, DeviceHardwareInfo, DeviceInfo, DeviceInfoGet, DeviceInfoSettings, DeviceInfoTargets, DeviceInfoTypes, DeviceMainMcuInfo, DeviceReboot, DeviceRebootType, DeviceSEInfo, DeviceSEState, DeviceSeType, DeviceSession, DeviceSessionAskPin, DeviceSessionGet, DeviceSessionPinResult, DeviceSettings, DeviceSettingsGet, DeviceSettingsPage, DeviceSettingsPageShow, DeviceSettingsSet, DeviceStatus, DeviceStatusGet, DeviceType, DnxAddress, DnxComputedKeyImage, DnxGetAddress, DnxInputAck, DnxInputRequest, DnxRTSigsRequest, DnxSignTx, DnxSignedTx, DnxTxKey, DoPreauthorized, ECDHSessionKey, EcdsaPublicKeys, EmmcDir, EmmcDirList, EmmcDirMake, EmmcDirRemove, EmmcFile, EmmcFileDelete, EmmcFileRead, EmmcFileWrite, EmmcFixPermission, EmmcPath, EmmcPathInfo, EndSession, Entropy, EntropyAck, EntropyRequest, Enum_BackupType, Enum_ButtonRequestType, Enum_Capability, Enum_InputScriptType, Enum_OutputScriptType, Enum_PinMatrixRequestType, Enum_RequestType, Enum_SafetyCheckLevel, Enum_WordRequestType, EosActionBuyRam, EosActionBuyRamBytes, EosActionCommon, EosActionDelegate, EosActionDeleteAuth, EosActionLinkAuth, EosActionNewAccount, EosActionRefund, EosActionSellRam, EosActionTransfer, EosActionUndelegate, EosActionUnknown, EosActionUnlinkAuth, EosActionUpdateAuth, EosActionVoteProducer, EosAsset, EosAuthorization, EosAuthorizationAccount, EosAuthorizationKey, EosAuthorizationWait, EosGetPublicKey, EosPermissionLevel, EosPublicKey, EosSignTx, EosSignedTx, EosTxActionAck, EosTxActionRequest, EosTxHeader, EthereumAccessList, EthereumAccessListOneKey, EthereumAddress, EthereumAddressOneKey, EthereumAuthorizationOneKey, EthereumAuthorizationSignature, EthereumDataType, EthereumDataTypeOneKey, EthereumDefinitionType, EthereumDefinitions, EthereumFieldType, EthereumFieldTypeOneKey, EthereumGetAddress, EthereumGetAddressOneKey, EthereumGetPublicKey, EthereumGetPublicKeyOneKey, EthereumGnosisSafeTxAck, EthereumGnosisSafeTxOperation, EthereumGnosisSafeTxRequest, EthereumMessageSignature, EthereumMessageSignatureOneKey, EthereumNetworkInfo, EthereumPublicKey, EthereumPublicKeyOneKey, EthereumSignMessage, EthereumSignMessageEIP712, EthereumSignMessageOneKey, EthereumSignTx, EthereumSignTxEIP1559, EthereumSignTxEIP1559OneKey, EthereumSignTxEIP7702OneKey, EthereumSignTxOneKey, EthereumSignTypedData, EthereumSignTypedDataOneKey, EthereumSignTypedDataQR, EthereumSignTypedHash, EthereumSignTypedHashOneKey, EthereumStructMember, EthereumStructMemberOneKey, EthereumTokenInfo, EthereumTxAck, EthereumTxAckOneKey, EthereumTxRequest, EthereumTxRequestOneKey, EthereumTypedDataSignature, EthereumTypedDataSignatureOneKey, EthereumTypedDataStructAck, EthereumTypedDataStructAckOneKey, EthereumTypedDataStructRequest, EthereumTypedDataStructRequestOneKey, EthereumTypedDataValueAck, EthereumTypedDataValueAckOneKey, EthereumTypedDataValueRequest, EthereumTypedDataValueRequestOneKey, EthereumVerifyMessage, EthereumVerifyMessageOneKey, ExportType, Failure, FailureType, Features, FileInfo, FileInfoList, FilecoinAddress, FilecoinGetAddress, FilecoinSignTx, FilecoinSignedTx, FilesystemDir, FilesystemDirList, FilesystemDirMake, FilesystemDirRemove, FilesystemFile, FilesystemFileDelete, FilesystemFileRead, FilesystemFileWrite, FilesystemFormat, FilesystemPathInfo, FilesystemPathInfoQuery, FilesystemPermissionFix, FirmwareErase, FirmwareErase_ex, FirmwareHash, FirmwareRequest, FirmwareUpdateEmmc, FirmwareUpload, GetAddress, GetDeviceInfo, GetECDHSessionKey, GetEntropy, GetFeatures, GetFirmwareHash, GetNextU2FCounter, GetNonce, GetOwnershipId, GetOwnershipProof, GetPassphraseState, GetPublicKey, GetPublicKeyMultiple, GetWallpaper, HDNodePathType, HDNodeType, IdentityType, Initialize, InputScriptType, InternalInputScriptType, InternalMyAddressRequest, KaspaAddress, KaspaGetAddress, KaspaSignTx, KaspaSignedTx, KaspaTxInputAck, KaspaTxInputRequest, ListResDir, LnurlAuth, LnurlAuthResp, LockDevice, LogBlockCommand, LowLevelDevice, LowlevelTransportSharedPlugin, MessageFromOneKey, MessageKey, MessageResponse, MessageResponseMap, MessageSignature, MessageType, messages as Messages, MoneroAccountPublicAddress, MoneroAddress, MoneroExportedKeyImage, MoneroGetAddress, MoneroGetTxKeyAck, MoneroGetTxKeyRequest, MoneroGetWatchKey, MoneroKeyImageExportInitAck, MoneroKeyImageExportInitRequest, MoneroKeyImageSyncFinalAck, MoneroKeyImageSyncFinalRequest, MoneroKeyImageSyncStepAck, MoneroKeyImageSyncStepRequest, MoneroLiveRefreshFinalAck, MoneroLiveRefreshFinalRequest, MoneroLiveRefreshStartAck, MoneroLiveRefreshStartRequest, MoneroLiveRefreshStepAck, MoneroLiveRefreshStepRequest, MoneroMultisigKLRki, MoneroNetworkType, MoneroOutputEntry, MoneroRctKeyPublic, MoneroRingCtSig, MoneroSubAddressIndicesList, MoneroTransactionAllInputsSetAck, MoneroTransactionAllInputsSetRequest, MoneroTransactionAllOutSetAck, MoneroTransactionAllOutSetRequest, MoneroTransactionData, MoneroTransactionDestinationEntry, MoneroTransactionFinalAck, MoneroTransactionFinalRequest, MoneroTransactionInitAck, MoneroTransactionInitRequest, MoneroTransactionInputViniAck, MoneroTransactionInputViniRequest, MoneroTransactionInputsPermutationAck, MoneroTransactionInputsPermutationRequest, MoneroTransactionRsigData, MoneroTransactionSetInputAck, MoneroTransactionSetInputRequest, MoneroTransactionSetOutputAck, MoneroTransactionSetOutputRequest, MoneroTransactionSignInputAck, MoneroTransactionSignInputRequest, MoneroTransactionSourceEntry, MoneroTransferDetails, MoneroWatchKey, MultisigRedeemScriptType, NEMAddress, NEMAggregateModification, NEMCosignatoryModification, NEMDecryptMessage, NEMDecryptedMessage, NEMGetAddress, NEMImportanceTransfer, NEMImportanceTransferMode, NEMModificationType, NEMMosaic, NEMMosaicCreation, NEMMosaicDefinition, NEMMosaicLevy, NEMMosaicSupplyChange, NEMProvisionNamespace, NEMSignTx, NEMSignedTx, NEMSupplyChangeType, NEMTransactionCommon, NEMTransfer, NFTWriteData, NFTWriteInfo, NearAddress, NearGetAddress, NearSignTx, NearSignedTx, NeoAddress, NeoGetAddress, NeoSignTx, NeoSignedTx, NervosAddress, NervosGetAddress, NervosSignTx, NervosSignedTx, NervosTxAck, NervosTxRequest, NexaAddress, NexaGetAddress, NexaSignTx, NexaSignedTx, NexaTxInputAck, NexaTxInputRequest, NextU2FCounter, Nonce, NostrDecryptMessage, NostrDecryptedMessage, NostrEncryptMessage, NostrEncryptedMessage, NostrGetPublicKey, NostrPublicKey, NostrSignEvent, NostrSignSchnorr, NostrSignedEvent, NostrSignedSchnorr, OneKeyDeviceCommType, OneKeyDeviceInfo, OneKeyDeviceInfoBase, OneKeyDeviceInfoWithSession, OneKeyDeviceType, OneKeyMobileDeviceInfo, OneKeySEState, OneKeySeType, OnekeyFeatures, OnekeyGetFeatures, OutputScriptType, OwnershipId, OwnershipProof, PROTOCOL_V1_CHUNK_PAYLOAD_SIZE, PROTOCOL_V1_ENVELOPE_HEADER_SIZE, PROTOCOL_V1_HEADER_BYTE, PROTOCOL_V1_MESSAGE_HEADER_SIZE, PROTOCOL_V1_REPORT_ID, PROTOCOL_V1_USB_PACKET_SIZE, PROTOCOL_V2_BLE_FILE_CHUNK_SIZE, PROTOCOL_V2_BLE_FILE_READ_CHUNK_SIZE, PROTOCOL_V2_BLE_FRAME_MAX_BYTES, PROTOCOL_V2_CHANNEL_BLE_UART, PROTOCOL_V2_CHANNEL_SOCKET, PROTOCOL_V2_CHANNEL_USB, PROTOCOL_V2_FILE_CHUNK_SIZE, PROTOCOL_V2_FRAME_MAX_BYTES, PROTOCOL_V2_PACKET_SRC_COMMAND, PROTOCOL_V2_SYS_MESSAGE_THRESHOLD, PROTOCOL_V2_WEBUSB_FILE_CHUNK_SIZE, PROTOCOL_V2_WRITE_WATCHDOG_TIMEOUT_MS, PassphraseAck, PassphraseRequest, PassphraseState, Path, PaymentRequestMemo, PinMatrixAck, PinMatrixRequest, PinMatrixRequestType, Ping, PolkadotAddress, PolkadotGetAddress, PolkadotSignTx, PolkadotSignedTx, PortfolioUpdate, PreauthorizedRequest, PrevInput, PrevOutput, PrevTx, ProtocolInfo, ProtocolInfoRequest, ProtocolType, ProtocolV1, ProtocolV2, ProtocolV2CallContext, ProtocolV2CallOptions, ProtocolV2DeviceInfo, ProtocolV2FrameAssembler, ProtocolV2LinkAdapter, ProtocolV2LinkErrorClassification, ProtocolV2LinkManager, ProtocolV2LinkManagerOptions, ProtocolV2Schemas, ProtocolV2SequenceCursor, ProtocolV2Session, ProtocolV2SessionOptions, ProtocolV2UsbTransportBase, ProtocolV2UsbTransportBaseOptions, PublicKey, PublicKeyMultiple, ReadSEPublicCert, ReadSEPublicKey, Reboot, RebootToBoardloader, RebootToBootloader, RebootType, RecoveryDevice, RecoveryDeviceType, RefundMemo, RequestType, ResetDevice, ResourceAck, ResourceRequest, ResourceType, ResourceUpdate, ResourceUpload, RippleAddress, RippleGetAddress, RipplePayment, RippleSignTx, RippleSignedTx, SEMessageSignature, SEPublicCert, SEPublicKey, SESignMessage, SafetyCheckLevel, ScdoAddress, ScdoGetAddress, ScdoSignMessage, ScdoSignTx, ScdoSignedMessage, ScdoSignedTx, ScdoTxAck, SdProtect, SdProtectOperationType, SeedRequestType, SelfTest, SetBusy, SetU2FCounter, SetWallpaper, SignIdentity, SignMessage, SignPsbt, SignTx, SignedIdentity, SignedPsbt, SolanaAddress, SolanaGetAddress, SolanaMessageSignature, SolanaOffChainMessageFormat, SolanaOffChainMessageVersion, SolanaSignOffChainMessage, SolanaSignTx, SolanaSignUnsafeMessage, SolanaSignedTx, SolanaTxATADetails, SolanaTxExtraInfo, SpiFlashData, SpiFlashRead, SpiFlashWrite, StarcoinAddress, StarcoinGetAddress, StarcoinGetPublicKey, StarcoinMessageSignature, StarcoinPublicKey, StarcoinSignMessage, StarcoinSignTx, StarcoinSignedTx, StarcoinVerifyMessage, StartSession, StellarAccountMergeOp, StellarAddress, StellarAllowTrustOp, StellarAsset, StellarAssetType, StellarBumpSequenceOp, StellarChangeTrustOp, StellarCreateAccountOp, StellarCreatePassiveSellOfferOp, StellarGetAddress, StellarInvokeHostFunctionOp, StellarManageBuyOfferOp, StellarManageDataOp, StellarManageSellOfferOp, StellarMemoType, StellarPathPaymentStrictReceiveOp, StellarPathPaymentStrictSendOp, StellarPaymentOp, StellarRequestType, StellarSetOptionsOp, StellarSignTx, StellarSignedTx, StellarSignerType, StellarSorobanDataAck, StellarSorobanDataRequest, StellarTxOpRequest, Success, SuiAddress, SuiGetAddress, SuiMessageSignature, SuiSignMessage, SuiSignTx, SuiSignedTx, SuiTxAck, SuiTxRequest, TextMemo, TezosAddress, TezosBallotOp, TezosBallotType, TezosContractID, TezosContractType, TezosDelegationOp, TezosGetAddress, TezosGetPublicKey, TezosManagerTransfer, TezosOriginationOp, TezosParametersManager, TezosProposalOp, TezosPublicKey, TezosRevealOp, TezosSignTx, TezosSignedTx, TezosTransactionOp, TonAddress, TonGetAddress, TonSignData, TonSignDataType, TonSignMessage, TonSignProof, TonSignedData, TonSignedMessage, TonSignedProof, TonTxAck, TonWalletVersion, TonWorkChain, Transport, TransportCallOptions, TronAddress, TronCancelAllUnfreezeV2Contract, TronContract, TronDelegateResourceContract, TronFreezeBalanceContract, TronFreezeBalanceV2Contract, TronGetAddress, TronMessageSignature, TronMessageType, TronResourceCode, TronSignMessage, TronSignTx, TronSignedTx, TronTransferContract, TronTriggerSmartContract, TronUnDelegateResourceContract, TronUnfreezeBalanceContract, TronUnfreezeBalanceV2Contract, TronVoteWitnessContract, TronWithdrawBalanceContract, TronWithdrawExpireUnfreezeContract, TxAck, TxAckInput, TxAckInputWrapper, TxAckOutput, TxAckOutputWrapper, TxAckPaymentRequest, TxAckPrevExtraData, TxAckPrevExtraDataWrapper, TxAckPrevInput, TxAckPrevInputWrapper, TxAckPrevMeta, TxAckPrevOutput, TxAckPrevOutputWrapper, TxAckResponse, TxInput, TxInputType, TxOutput, TxOutputBinType, TxOutputType, TxRequest, TxRequestDetailsType, TxRequestSerializedType, TypedCall, UintType, UnLockDevice, UnLockDeviceResponse, UnlockPath, UnlockedPathRequest, UpgradeFileHeader, VerifyMessage, ViewAmount, ViewDetail, ViewRawData, ViewSignLayout, ViewSignPage, ViewTip, ViewTipType, ViewVerifyPage, Vote, WL_OperationType, Wallpaper, WallpaperTarget, WipeDevice, WordAck, WordRequest, WordRequestType, WriteSEPrivateKey, WriteSEPublicCert, ZoomRequest, bytesToHex, concatUint8Arrays, _default as default, experimental_field, experimental_message, facotry, getErrorMessage, hexToBytes, probeProtocolV2, index as protocolV1, protocolV2Codec as protocolV2, withProtocolTimeout };
|
|
6525
|
+
export { AcquireInput, Address, AlephiumAddress, AlephiumBytecodeAck, AlephiumBytecodeRequest, AlephiumGetAddress, AlephiumMessageSignature, AlephiumSignMessage, AlephiumSignTx, AlephiumSignedTx, AlephiumTxAck, AlephiumTxRequest, AlgorandAddress, AlgorandGetAddress, AlgorandSignTx, AlgorandSignedTx, AmountUnit, ApplyFlags, ApplySettings, AptosAddress, AptosGetAddress, AptosMessagePayload, AptosMessageSignature, AptosSignMessage, AptosSignSIWAMessage, AptosSignTx, AptosSignedTx, AptosTransactionType, AuthorizeCoinJoin, BIP32Address, BackupDevice, BackupType, BatchGetPublickeys, BenfenAddress, BenfenGetAddress, BenfenMessageSignature, BenfenSignMessage, BenfenSignTx, BenfenSignedTx, BenfenTxAck, BenfenTxRequest, BinanceAddress, BinanceCancelMsg, BinanceCoin, BinanceGetAddress, BinanceGetPublicKey, BinanceInputOutput, BinanceOrderMsg, BinanceOrderSide, BinanceOrderType, BinancePublicKey, BinanceSignTx, BinanceSignedTx, BinanceTimeInForce, BinanceTransferMsg, BinanceTxRequest, BixinBackupAck, BixinBackupDevice, BixinBackupDeviceAck, BixinBackupRequest, BixinLoadDevice, BixinMessageSE, BixinOutMessageSE, BixinPinInputOnDevice, BixinRestoreAck, BixinRestoreRequest, BixinSeedOperate, BixinVerifyDeviceAck, BixinVerifyDeviceRequest, BixinWhiteListAck, BixinWhiteListRequest, BlurRequest, ButtonAck, ButtonRequest, ButtonRequestType, Cancel, CancelAuthorization, Capability, CardanoAddress, CardanoAddressParametersType, CardanoAddressType, CardanoAssetGroup, CardanoBlockchainPointerType, CardanoCVoteRegistrationDelegation, CardanoCVoteRegistrationFormat, CardanoCVoteRegistrationParametersType, CardanoCertificateType, CardanoDRep, CardanoDRepType, CardanoDerivationType, CardanoGetAddress, CardanoGetNativeScriptHash, CardanoGetPublicKey, CardanoMessageSignature, CardanoNativeScript, CardanoNativeScriptHash, CardanoNativeScriptHashDisplayFormat, CardanoNativeScriptType, CardanoPoolMetadataType, CardanoPoolOwner, CardanoPoolParametersType, CardanoPoolRelayParameters, CardanoPoolRelayType, CardanoPublicKey, CardanoSignMessage, CardanoSignTxFinished, CardanoSignTxInit, CardanoToken, CardanoTxAuxiliaryData, CardanoTxAuxiliaryDataSupplement, CardanoTxAuxiliaryDataSupplementType, CardanoTxBodyHash, CardanoTxCertificate, CardanoTxCollateralInput, CardanoTxHostAck, CardanoTxInlineDatumChunk, CardanoTxInput, CardanoTxItemAck, CardanoTxMint, CardanoTxOutput, CardanoTxOutputSerializationFormat, CardanoTxReferenceInput, CardanoTxReferenceScriptChunk, CardanoTxRequiredSigner, CardanoTxSigningMode, CardanoTxWithdrawal, CardanoTxWitnessRequest, CardanoTxWitnessResponse, CardanoTxWitnessType, ChangeOutputScriptType, ChangePin, ChangeWipeCode, CipherKeyValue, CipheredKeyValue, CoinJoinRequest, CoinPurchaseMemo, CommandFlags, ConfluxAddress, ConfluxGetAddress, ConfluxMessageSignature, ConfluxSignMessage, ConfluxSignMessageCIP23, ConfluxSignTx, ConfluxTxAck, ConfluxTxRequest, CosmosAddress, CosmosGetAddress, CosmosSignTx, CosmosSignedTx, DecredStakingSpendType, Deprecated_PassphraseStateAck, Deprecated_PassphraseStateRequest, DevGetOnboardingStatus, DevOnboardingStage, DevOnboardingStatus, DeviceBackToBoot, DeviceCertificate, DeviceCertificateRead, DeviceCertificateSign, DeviceCertificateSignature, DeviceCertificateWrite, DeviceCoprocessorInfo, DeviceEraseSector, DeviceErrorCode, DeviceFactoryAck, DeviceFactoryInfo, DeviceFactoryInfoGet, DeviceFactoryInfoManufactureTime, DeviceFactoryInfoSet, DeviceFactoryPermanentLock, DeviceFactoryTest, DeviceFirmwareImageInfo, DeviceFirmwareTarget, DeviceFirmwareTargetType, DeviceFirmwareUpdateRecord, DeviceFirmwareUpdateRecordFields, DeviceFirmwareUpdateRequest, DeviceFirmwareUpdateStatus, DeviceFirmwareUpdateStatusGet, DeviceFirmwareUpdateTaskStatus, DeviceHardwareInfo, DeviceInfo, DeviceInfoGet, DeviceInfoSettings, DeviceInfoTargets, DeviceInfoTypes, DeviceMainMcuInfo, DeviceReboot, DeviceRebootType, DeviceSEInfo, DeviceSEState, DeviceSeType, DeviceSession, DeviceSessionAskPin, DeviceSessionAskPin_FailureSubCodes, DeviceSessionGet, DeviceSettings, DeviceSettingsGet, DeviceSettingsPage, DeviceSettingsPageShow, DeviceSettingsSet, DeviceStatus, DeviceStatusGet, DeviceType, DnxAddress, DnxComputedKeyImage, DnxGetAddress, DnxInputAck, DnxInputRequest, DnxRTSigsRequest, DnxSignTx, DnxSignedTx, DnxTxKey, DoPreauthorized, ECDHSessionKey, EcdsaPublicKeys, EmmcDir, EmmcDirList, EmmcDirMake, EmmcDirRemove, EmmcFile, EmmcFileDelete, EmmcFileRead, EmmcFileWrite, EmmcFixPermission, EmmcPath, EmmcPathInfo, EndSession, Entropy, EntropyAck, EntropyRequest, Enum_BackupType, Enum_ButtonRequestType, Enum_Capability, Enum_InputScriptType, Enum_OutputScriptType, Enum_PinMatrixRequestType, Enum_ProtocolV2Capability, Enum_RequestType, Enum_SafetyCheckLevel, Enum_WordRequestType, EosActionBuyRam, EosActionBuyRamBytes, EosActionCommon, EosActionDelegate, EosActionDeleteAuth, EosActionLinkAuth, EosActionNewAccount, EosActionRefund, EosActionSellRam, EosActionTransfer, EosActionUndelegate, EosActionUnknown, EosActionUnlinkAuth, EosActionUpdateAuth, EosActionVoteProducer, EosAsset, EosAuthorization, EosAuthorizationAccount, EosAuthorizationKey, EosAuthorizationWait, EosGetPublicKey, EosPermissionLevel, EosPublicKey, EosSignTx, EosSignedTx, EosTxActionAck, EosTxActionRequest, EosTxHeader, EthereumAccessList, EthereumAccessListOneKey, EthereumAddress, EthereumAddressOneKey, EthereumAuthorizationOneKey, EthereumAuthorizationSignature, EthereumDataType, EthereumDataTypeOneKey, EthereumDefinitionType, EthereumDefinitions, EthereumFieldType, EthereumFieldTypeOneKey, EthereumGetAddress, EthereumGetAddressOneKey, EthereumGetPublicKey, EthereumGetPublicKeyOneKey, EthereumGnosisSafeTxAck, EthereumGnosisSafeTxOperation, EthereumGnosisSafeTxRequest, EthereumMessageSignature, EthereumMessageSignatureOneKey, EthereumNetworkInfo, EthereumPublicKey, EthereumPublicKeyOneKey, EthereumSignMessage, EthereumSignMessageEIP712, EthereumSignMessageOneKey, EthereumSignTx, EthereumSignTxEIP1559, EthereumSignTxEIP1559OneKey, EthereumSignTxEIP7702OneKey, EthereumSignTxOneKey, EthereumSignTypedData, EthereumSignTypedDataOneKey, EthereumSignTypedDataQR, EthereumSignTypedHash, EthereumSignTypedHashOneKey, EthereumStructMember, EthereumStructMemberOneKey, EthereumTokenInfo, EthereumTxAck, EthereumTxAckOneKey, EthereumTxRequest, EthereumTxRequestOneKey, EthereumTypedDataSignature, EthereumTypedDataSignatureOneKey, EthereumTypedDataStructAck, EthereumTypedDataStructAckOneKey, EthereumTypedDataStructRequest, EthereumTypedDataStructRequestOneKey, EthereumTypedDataValueAck, EthereumTypedDataValueAckOneKey, EthereumTypedDataValueRequest, EthereumTypedDataValueRequestOneKey, EthereumVerifyMessage, EthereumVerifyMessageOneKey, ExportType, Failure, FailureType, Features, FileInfo, FileInfoList, FilecoinAddress, FilecoinGetAddress, FilecoinSignTx, FilecoinSignedTx, FilesystemDir, FilesystemDirList, FilesystemDirMake, FilesystemDirRemove, FilesystemFile, FilesystemFileDelete, FilesystemFileRead, FilesystemFileWrite, FilesystemFormat, FilesystemPathInfo, FilesystemPathInfoQuery, FilesystemPermissionFix, FirmwareErase, FirmwareErase_ex, FirmwareHash, FirmwareRequest, FirmwareUpdateEmmc, FirmwareUpload, GetAddress, GetDeviceInfo, GetECDHSessionKey, GetEntropy, GetFeatures, GetFirmwareHash, GetNextU2FCounter, GetNonce, GetOwnershipId, GetOwnershipProof, GetPassphraseState, GetPublicKey, GetPublicKeyMultiple, GetWallpaper, HDNodePathType, HDNodeType, IdentityType, Initialize, InputScriptType, InternalInputScriptType, InternalMyAddressRequest, KaspaAddress, KaspaGetAddress, KaspaSignTx, KaspaSignedTx, KaspaTxInputAck, KaspaTxInputRequest, ListResDir, LnurlAuth, LnurlAuthResp, LockDevice, LogBlockCommand, LowLevelDevice, LowlevelTransportSharedPlugin, MessageFromOneKey, MessageKey, MessageResponse, MessageResponseMap, MessageSignature, MessageType, messages as Messages, MoneroAccountPublicAddress, MoneroAddress, MoneroExportedKeyImage, MoneroGetAddress, MoneroGetTxKeyAck, MoneroGetTxKeyRequest, MoneroGetWatchKey, MoneroKeyImageExportInitAck, MoneroKeyImageExportInitRequest, MoneroKeyImageSyncFinalAck, MoneroKeyImageSyncFinalRequest, MoneroKeyImageSyncStepAck, MoneroKeyImageSyncStepRequest, MoneroLiveRefreshFinalAck, MoneroLiveRefreshFinalRequest, MoneroLiveRefreshStartAck, MoneroLiveRefreshStartRequest, MoneroLiveRefreshStepAck, MoneroLiveRefreshStepRequest, MoneroMultisigKLRki, MoneroNetworkType, MoneroOutputEntry, MoneroRctKeyPublic, MoneroRingCtSig, MoneroSubAddressIndicesList, MoneroTransactionAllInputsSetAck, MoneroTransactionAllInputsSetRequest, MoneroTransactionAllOutSetAck, MoneroTransactionAllOutSetRequest, MoneroTransactionData, MoneroTransactionDestinationEntry, MoneroTransactionFinalAck, MoneroTransactionFinalRequest, MoneroTransactionInitAck, MoneroTransactionInitRequest, MoneroTransactionInputViniAck, MoneroTransactionInputViniRequest, MoneroTransactionInputsPermutationAck, MoneroTransactionInputsPermutationRequest, MoneroTransactionRsigData, MoneroTransactionSetInputAck, MoneroTransactionSetInputRequest, MoneroTransactionSetOutputAck, MoneroTransactionSetOutputRequest, MoneroTransactionSignInputAck, MoneroTransactionSignInputRequest, MoneroTransactionSourceEntry, MoneroTransferDetails, MoneroWatchKey, MultisigRedeemScriptType, NEMAddress, NEMAggregateModification, NEMCosignatoryModification, NEMDecryptMessage, NEMDecryptedMessage, NEMGetAddress, NEMImportanceTransfer, NEMImportanceTransferMode, NEMModificationType, NEMMosaic, NEMMosaicCreation, NEMMosaicDefinition, NEMMosaicLevy, NEMMosaicSupplyChange, NEMProvisionNamespace, NEMSignTx, NEMSignedTx, NEMSupplyChangeType, NEMTransactionCommon, NEMTransfer, NFTWriteData, NFTWriteInfo, NearAddress, NearGetAddress, NearSignTx, NearSignedTx, NeoAddress, NeoGetAddress, NeoSignTx, NeoSignedTx, NervosAddress, NervosGetAddress, NervosSignTx, NervosSignedTx, NervosTxAck, NervosTxRequest, NexaAddress, NexaGetAddress, NexaSignTx, NexaSignedTx, NexaTxInputAck, NexaTxInputRequest, NextU2FCounter, Nonce, NostrDecryptMessage, NostrDecryptedMessage, NostrEncryptMessage, NostrEncryptedMessage, NostrGetPublicKey, NostrPublicKey, NostrSignEvent, NostrSignSchnorr, NostrSignedEvent, NostrSignedSchnorr, OneKeyDeviceCommType, OneKeyDeviceInfo, OneKeyDeviceInfoBase, OneKeyDeviceInfoWithSession, OneKeyDeviceType, OneKeyMobileDeviceInfo, OneKeySEState, OneKeySeType, OnekeyFeatures, OnekeyGetFeatures, OutputScriptType, OwnershipId, OwnershipProof, PROTOCOL_V1_CHUNK_PAYLOAD_SIZE, PROTOCOL_V1_ENVELOPE_HEADER_SIZE, PROTOCOL_V1_HEADER_BYTE, PROTOCOL_V1_MESSAGE_HEADER_SIZE, PROTOCOL_V1_REPORT_ID, PROTOCOL_V1_USB_PACKET_SIZE, PROTOCOL_V2_BLE_FILE_CHUNK_SIZE, PROTOCOL_V2_BLE_FILE_READ_CHUNK_SIZE, PROTOCOL_V2_BLE_FRAME_MAX_BYTES, PROTOCOL_V2_CHANNEL_BLE_UART, PROTOCOL_V2_CHANNEL_SOCKET, PROTOCOL_V2_CHANNEL_USB, PROTOCOL_V2_FILE_CHUNK_SIZE, PROTOCOL_V2_FRAME_MAX_BYTES, PROTOCOL_V2_PACKET_SRC_COMMAND, PROTOCOL_V2_SYS_MESSAGE_THRESHOLD, PROTOCOL_V2_WEBUSB_FILE_CHUNK_SIZE, PROTOCOL_V2_WRITE_WATCHDOG_TIMEOUT_MS, PassphraseAck, PassphraseRequest, PassphraseState, Path, PaymentRequestMemo, PinMatrixAck, PinMatrixRequest, PinMatrixRequestType, Ping, PolkadotAddress, PolkadotGetAddress, PolkadotSignTx, PolkadotSignedTx, PortfolioUpdate, PreauthorizedRequest, PrevInput, PrevOutput, PrevTx, ProtocolInfo, ProtocolInfoRequest, ProtocolType, ProtocolV1, ProtocolV2, ProtocolV2CallContext, ProtocolV2CallOptions, ProtocolV2Capability, ProtocolV2DeviceInfo, ProtocolV2FailureType, ProtocolV2FrameAssembler, ProtocolV2LinkAdapter, ProtocolV2LinkErrorClassification, ProtocolV2LinkManager, ProtocolV2LinkManagerOptions, ProtocolV2Schemas, ProtocolV2SequenceCursor, ProtocolV2Session, ProtocolV2SessionOptions, ProtocolV2UsbTransportBase, ProtocolV2UsbTransportBaseOptions, PublicKey, PublicKeyMultiple, ReadSEPublicCert, ReadSEPublicKey, Reboot, RebootToBoardloader, RebootToBootloader, RebootType, RecoveryDevice, RecoveryDeviceType, RefundMemo, RequestType, ResetDevice, ResourceAck, ResourceRequest, ResourceType, ResourceUpdate, ResourceUpload, RippleAddress, RippleGetAddress, RipplePayment, RippleSignTx, RippleSignedTx, SEMessageSignature, SEPublicCert, SEPublicKey, SESignMessage, SafetyCheckLevel, ScdoAddress, ScdoGetAddress, ScdoSignMessage, ScdoSignTx, ScdoSignedMessage, ScdoSignedTx, ScdoTxAck, SdProtect, SdProtectOperationType, SeedRequestType, SelfTest, SetBusy, SetU2FCounter, SetWallpaper, SignIdentity, SignMessage, SignPsbt, SignTx, SignedIdentity, SignedPsbt, SolanaAddress, SolanaGetAddress, SolanaMessageSignature, SolanaOffChainMessageFormat, SolanaOffChainMessageVersion, SolanaSignOffChainMessage, SolanaSignTx, SolanaSignUnsafeMessage, SolanaSignedTx, SolanaTxATADetails, SolanaTxExtraInfo, SpiFlashData, SpiFlashRead, SpiFlashWrite, StarcoinAddress, StarcoinGetAddress, StarcoinGetPublicKey, StarcoinMessageSignature, StarcoinPublicKey, StarcoinSignMessage, StarcoinSignTx, StarcoinSignedTx, StarcoinVerifyMessage, StartSession, StellarAccountMergeOp, StellarAddress, StellarAllowTrustOp, StellarAsset, StellarAssetType, StellarBumpSequenceOp, StellarChangeTrustOp, StellarCreateAccountOp, StellarCreatePassiveSellOfferOp, StellarGetAddress, StellarInvokeHostFunctionOp, StellarManageBuyOfferOp, StellarManageDataOp, StellarManageSellOfferOp, StellarMemoType, StellarPathPaymentStrictReceiveOp, StellarPathPaymentStrictSendOp, StellarPaymentOp, StellarRequestType, StellarSetOptionsOp, StellarSignTx, StellarSignedTx, StellarSignerType, StellarSorobanDataAck, StellarSorobanDataRequest, StellarTxOpRequest, Success, SuiAddress, SuiGetAddress, SuiMessageSignature, SuiSignMessage, SuiSignTx, SuiSignedTx, SuiTxAck, SuiTxRequest, TextMemo, TezosAddress, TezosBallotOp, TezosBallotType, TezosContractID, TezosContractType, TezosDelegationOp, TezosGetAddress, TezosGetPublicKey, TezosManagerTransfer, TezosOriginationOp, TezosParametersManager, TezosProposalOp, TezosPublicKey, TezosRevealOp, TezosSignTx, TezosSignedTx, TezosTransactionOp, TonAddress, TonGetAddress, TonSignData, TonSignDataType, TonSignMessage, TonSignProof, TonSignedData, TonSignedMessage, TonSignedProof, TonTxAck, TonWalletVersion, TonWorkChain, Transport, TransportCallOptions, TronAddress, TronCancelAllUnfreezeV2Contract, TronContract, TronDelegateResourceContract, TronFreezeBalanceContract, TronFreezeBalanceV2Contract, TronGetAddress, TronMessageSignature, TronMessageType, TronResourceCode, TronSignMessage, TronSignTx, TronSignedTx, TronTransferContract, TronTriggerSmartContract, TronUnDelegateResourceContract, TronUnfreezeBalanceContract, TronUnfreezeBalanceV2Contract, TronVoteWitnessContract, TronWithdrawBalanceContract, TronWithdrawExpireUnfreezeContract, TxAck, TxAckInput, TxAckInputWrapper, TxAckOutput, TxAckOutputWrapper, TxAckPaymentRequest, TxAckPrevExtraData, TxAckPrevExtraDataWrapper, TxAckPrevInput, TxAckPrevInputWrapper, TxAckPrevMeta, TxAckPrevOutput, TxAckPrevOutputWrapper, TxAckResponse, TxInput, TxInputType, TxOutput, TxOutputBinType, TxOutputType, TxRequest, TxRequestDetailsType, TxRequestSerializedType, TypedCall, UintType, UnLockDevice, UnLockDeviceResponse, UnlockPath, UnlockedPathRequest, UpgradeFileHeader, VerifyMessage, ViewAmount, ViewDetail, ViewRawData, ViewSignLayout, ViewSignPage, ViewTip, ViewTipType, ViewVerifyPage, Vote, WL_OperationType, Wallpaper, WallpaperTarget, WipeDevice, WordAck, WordRequest, WordRequestType, WriteSEPrivateKey, WriteSEPublicCert, ZoomRequest, bytesToHex, concatUint8Arrays, _default as default, experimental_field, experimental_message, facotry, getErrorMessage, hexToBytes, probeProtocolV2, index as protocolV1, protocolV2Codec as protocolV2, withProtocolTimeout };
|