@onekeyfe/hd-transport 1.1.27-alpha.30 → 1.1.27-alpha.32
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__/protocol-v2.test.js +13 -13
- package/dist/index.d.ts +132 -129
- package/dist/index.js +58 -58
- package/dist/protocols/index.d.ts +1 -1
- package/dist/protocols/v1/encode.d.ts +1 -1
- package/dist/protocols/v1/encode.d.ts.map +1 -1
- package/dist/protocols/v2/decode.d.ts +1 -1
- package/dist/protocols/v2/decode.d.ts.map +1 -1
- package/dist/protocols/v2/encode.d.ts +1 -1
- package/dist/protocols/v2/encode.d.ts.map +1 -1
- package/dist/serialization/protobuf/messages.d.ts +1 -1
- package/dist/types/messages.d.ts +77 -74
- package/dist/types/messages.d.ts.map +1 -1
- package/{messages-pro2.json → messages-protocol-v2.json} +67 -63
- package/package.json +2 -2
- package/scripts/proto-pro2-sys/messages-pro2-sys.proto +44 -28
- package/scripts/protobuf-build.sh +74 -58
- package/scripts/protobuf-types.js +1 -1
- package/src/protocols/index.ts +8 -8
- package/src/protocols/v1/encode.ts +3 -3
- package/src/protocols/v1/packets.ts +4 -4
- package/src/protocols/v2/decode.ts +6 -6
- package/src/protocols/v2/encode.ts +4 -4
- package/src/protocols/v2/session.ts +2 -2
- package/src/serialization/protobuf/messages.ts +4 -4
- package/src/types/messages.ts +96 -93
|
@@ -70,10 +70,10 @@ const protocolV2Messages = parseConfigure({
|
|
|
70
70
|
},
|
|
71
71
|
},
|
|
72
72
|
},
|
|
73
|
-
|
|
73
|
+
DeviceFirmwareUpdate: {
|
|
74
74
|
fields: {},
|
|
75
75
|
},
|
|
76
|
-
|
|
76
|
+
DeviceFirmwareInstallProgress: {
|
|
77
77
|
fields: {
|
|
78
78
|
target_id: {
|
|
79
79
|
type: 'uint32',
|
|
@@ -115,8 +115,8 @@ const protocolV2Messages = parseConfigure({
|
|
|
115
115
|
MessageType_Ping: 60206,
|
|
116
116
|
MessageType_Success: 60207,
|
|
117
117
|
MessageType_FileWrite: 60805,
|
|
118
|
-
|
|
119
|
-
|
|
118
|
+
MessageType_DeviceFirmwareUpdate: 61000,
|
|
119
|
+
MessageType_DeviceFirmwareInstallProgress: 61001,
|
|
120
120
|
MessageType_PartialNested: 62000,
|
|
121
121
|
},
|
|
122
122
|
},
|
|
@@ -144,13 +144,13 @@ describe('Protocol V2 framing and session', () => {
|
|
|
144
144
|
});
|
|
145
145
|
|
|
146
146
|
const parsed = protocolV2.decodeFrame(frame);
|
|
147
|
-
expect(parsed.
|
|
147
|
+
expect(parsed.messageTypeId).toBe(60201);
|
|
148
148
|
|
|
149
149
|
const decoded = ProtocolV2.decodeFrame(schemas, frame);
|
|
150
150
|
expect(decoded).toEqual({
|
|
151
151
|
type: 'ProtoVersion',
|
|
152
152
|
messageName: 'ProtoVersion',
|
|
153
|
-
|
|
153
|
+
messageTypeId: 60201,
|
|
154
154
|
pbPayload: parsed.pbPayload,
|
|
155
155
|
seq: parsed.seq,
|
|
156
156
|
message: {
|
|
@@ -174,7 +174,7 @@ describe('Protocol V2 framing and session', () => {
|
|
|
174
174
|
});
|
|
175
175
|
|
|
176
176
|
const parsed = protocolV2.decodeFrame(frame);
|
|
177
|
-
expect(parsed.
|
|
177
|
+
expect(parsed.messageTypeId).toBe(60207);
|
|
178
178
|
|
|
179
179
|
const decoded = ProtocolV2.decodeFrame(schemas, frame);
|
|
180
180
|
expect(decoded.type).toBe('Success');
|
|
@@ -251,7 +251,7 @@ describe('Protocol V2 framing and session', () => {
|
|
|
251
251
|
expect(written).toHaveLength(1);
|
|
252
252
|
expect(written[0][4]).toBe(1);
|
|
253
253
|
expect(written[0][5]).toBe(0);
|
|
254
|
-
expect(protocolV2.decodeFrame(written[0]).
|
|
254
|
+
expect(protocolV2.decodeFrame(written[0]).messageTypeId).toBe(60200);
|
|
255
255
|
expect(result).toEqual({
|
|
256
256
|
type: 'ProtoVersion',
|
|
257
257
|
message: {
|
|
@@ -317,7 +317,7 @@ describe('Protocol V2 framing and session', () => {
|
|
|
317
317
|
message: 'hello',
|
|
318
318
|
});
|
|
319
319
|
expect(logger.debug).toHaveBeenCalledWith(
|
|
320
|
-
'[ProtocolV2 Test] RX payload type=Success
|
|
320
|
+
'[ProtocolV2 Test] RX payload type=Success messageTypeId=60207',
|
|
321
321
|
{
|
|
322
322
|
message: 'accepted',
|
|
323
323
|
}
|
|
@@ -389,7 +389,7 @@ describe('Protocol V2 framing and session', () => {
|
|
|
389
389
|
|
|
390
390
|
test('session consumes intermediate response frames before returning the final response', async () => {
|
|
391
391
|
const written = [];
|
|
392
|
-
const progress = ProtocolV2.encodeFrame(schemas, '
|
|
392
|
+
const progress = ProtocolV2.encodeFrame(schemas, 'DeviceFirmwareInstallProgress', {
|
|
393
393
|
target_id: 0,
|
|
394
394
|
progress: 42,
|
|
395
395
|
});
|
|
@@ -415,17 +415,17 @@ describe('Protocol V2 framing and session', () => {
|
|
|
415
415
|
});
|
|
416
416
|
|
|
417
417
|
const result = await session.call(
|
|
418
|
-
'
|
|
418
|
+
'DeviceFirmwareUpdate',
|
|
419
419
|
{},
|
|
420
420
|
{
|
|
421
|
-
intermediateTypes: ['
|
|
421
|
+
intermediateTypes: ['DeviceFirmwareInstallProgress'],
|
|
422
422
|
onIntermediateResponse,
|
|
423
423
|
}
|
|
424
424
|
);
|
|
425
425
|
|
|
426
426
|
expect(readFrame).toHaveBeenCalledTimes(2);
|
|
427
427
|
expect(onIntermediateResponse).toHaveBeenCalledWith({
|
|
428
|
-
type: '
|
|
428
|
+
type: 'DeviceFirmwareInstallProgress',
|
|
429
429
|
message: {
|
|
430
430
|
target_id: 0,
|
|
431
431
|
progress: 42,
|
package/dist/index.d.ts
CHANGED
|
@@ -17,7 +17,7 @@ declare const decodeFirstChunk: (bytes: ArrayBuffer) => {
|
|
|
17
17
|
type Options<Chunked> = {
|
|
18
18
|
chunked: Chunked;
|
|
19
19
|
addTrezorHeaders: boolean;
|
|
20
|
-
|
|
20
|
+
messageTypeId: number;
|
|
21
21
|
};
|
|
22
22
|
declare function encodeEnvelope(data: ByteBuffer__default, options: Options<true>): Buffer[];
|
|
23
23
|
declare function encodeEnvelope(data: ByteBuffer__default, options: Options<false>): Buffer;
|
|
@@ -81,7 +81,7 @@ declare const ProtocolV2: {
|
|
|
81
81
|
[key: string]: any;
|
|
82
82
|
};
|
|
83
83
|
messageName: string;
|
|
84
|
-
|
|
84
|
+
messageTypeId: number;
|
|
85
85
|
pbPayload: Uint8Array;
|
|
86
86
|
seq: number;
|
|
87
87
|
type: string;
|
|
@@ -99,10 +99,10 @@ declare const CRC8_TABLE: Uint8Array;
|
|
|
99
99
|
declare function crc8(data: Uint8Array, len: number): number;
|
|
100
100
|
|
|
101
101
|
declare function encodeFrame(payload: Uint8Array | null, packetSrc?: number, router?: number): Uint8Array;
|
|
102
|
-
declare function encodeProtobufFrame(
|
|
102
|
+
declare function encodeProtobufFrame(messageTypeId: number, pbPayload: Uint8Array, packetSrc?: number, router?: number): Uint8Array;
|
|
103
103
|
|
|
104
104
|
interface ProtoV2Frame {
|
|
105
|
-
|
|
105
|
+
messageTypeId: number;
|
|
106
106
|
pbPayload: Uint8Array;
|
|
107
107
|
seq: number;
|
|
108
108
|
}
|
|
@@ -2360,6 +2360,8 @@ type UnLockDeviceResponse = {
|
|
|
2360
2360
|
};
|
|
2361
2361
|
type GetPassphraseState = {
|
|
2362
2362
|
passphrase_state?: string;
|
|
2363
|
+
_only_main_pin?: boolean;
|
|
2364
|
+
allow_create_attach_pin?: boolean;
|
|
2363
2365
|
};
|
|
2364
2366
|
type PassphraseState = {
|
|
2365
2367
|
passphrase_state?: string;
|
|
@@ -3595,13 +3597,13 @@ type GetProtoVersion = {};
|
|
|
3595
3597
|
type ProtoVersion = {
|
|
3596
3598
|
proto_version: number;
|
|
3597
3599
|
};
|
|
3598
|
-
declare enum
|
|
3600
|
+
declare enum DeviceRebootType {
|
|
3599
3601
|
Normal = 0,
|
|
3600
3602
|
Boardloader = 1,
|
|
3601
3603
|
Bootloader = 2
|
|
3602
3604
|
}
|
|
3603
|
-
type
|
|
3604
|
-
reboot_type:
|
|
3605
|
+
type DeviceReboot = {
|
|
3606
|
+
reboot_type: DeviceRebootType;
|
|
3605
3607
|
};
|
|
3606
3608
|
declare enum DeviceType {
|
|
3607
3609
|
CLASSIC1 = 0,
|
|
@@ -3611,44 +3613,44 @@ declare enum DeviceType {
|
|
|
3611
3613
|
PRO = 5,
|
|
3612
3614
|
CLASSIC1S_PURE = 6
|
|
3613
3615
|
}
|
|
3614
|
-
declare enum
|
|
3616
|
+
declare enum DeviceSeType {
|
|
3615
3617
|
THD89 = 0,
|
|
3616
3618
|
SE608A = 1
|
|
3617
3619
|
}
|
|
3618
|
-
declare enum
|
|
3620
|
+
declare enum DeviceSEState {
|
|
3619
3621
|
BOOT = 0,
|
|
3620
3622
|
APP_FACTORY = 51,
|
|
3621
3623
|
APP = 85
|
|
3622
3624
|
}
|
|
3623
|
-
type
|
|
3625
|
+
type DeviceFirmwareImageInfo = {
|
|
3624
3626
|
version?: string;
|
|
3625
3627
|
build_id?: string;
|
|
3626
3628
|
hash?: string;
|
|
3627
3629
|
};
|
|
3628
|
-
type
|
|
3629
|
-
|
|
3630
|
+
type DeviceHardwareInfo = {
|
|
3631
|
+
Device_type?: DeviceType;
|
|
3630
3632
|
serial_no?: string;
|
|
3631
3633
|
hardware_version?: string;
|
|
3632
3634
|
hardware_version_raw_adc?: number;
|
|
3633
3635
|
};
|
|
3634
|
-
type
|
|
3635
|
-
board?:
|
|
3636
|
-
boot?:
|
|
3637
|
-
app?:
|
|
3636
|
+
type DeviceMainMcuInfo = {
|
|
3637
|
+
board?: DeviceFirmwareImageInfo;
|
|
3638
|
+
boot?: DeviceFirmwareImageInfo;
|
|
3639
|
+
app?: DeviceFirmwareImageInfo;
|
|
3638
3640
|
};
|
|
3639
|
-
type
|
|
3640
|
-
boot?:
|
|
3641
|
-
app?:
|
|
3641
|
+
type DeviceBluetoothInfo = {
|
|
3642
|
+
boot?: DeviceFirmwareImageInfo;
|
|
3643
|
+
app?: DeviceFirmwareImageInfo;
|
|
3642
3644
|
adv_name?: string;
|
|
3643
3645
|
mac?: string;
|
|
3644
3646
|
};
|
|
3645
|
-
type
|
|
3646
|
-
boot?:
|
|
3647
|
-
app?:
|
|
3648
|
-
type?:
|
|
3649
|
-
state?:
|
|
3647
|
+
type DeviceSEInfo = {
|
|
3648
|
+
boot?: DeviceFirmwareImageInfo;
|
|
3649
|
+
app?: DeviceFirmwareImageInfo;
|
|
3650
|
+
type?: DeviceSeType;
|
|
3651
|
+
state?: DeviceSEState;
|
|
3650
3652
|
};
|
|
3651
|
-
type
|
|
3653
|
+
type DeviceInfoTargets = {
|
|
3652
3654
|
hw?: boolean;
|
|
3653
3655
|
fw?: boolean;
|
|
3654
3656
|
bt?: boolean;
|
|
@@ -3658,13 +3660,13 @@ type DevInfoTargets = {
|
|
|
3658
3660
|
se4?: boolean;
|
|
3659
3661
|
status?: boolean;
|
|
3660
3662
|
};
|
|
3661
|
-
type
|
|
3663
|
+
type DeviceInfoTypes = {
|
|
3662
3664
|
version?: boolean;
|
|
3663
3665
|
build_id?: boolean;
|
|
3664
3666
|
hash?: boolean;
|
|
3665
3667
|
specific?: boolean;
|
|
3666
3668
|
};
|
|
3667
|
-
type
|
|
3669
|
+
type DeviceStatus = {
|
|
3668
3670
|
language?: string;
|
|
3669
3671
|
bt_enable?: boolean;
|
|
3670
3672
|
init_states?: boolean;
|
|
@@ -3672,50 +3674,51 @@ type DevStatus = {
|
|
|
3672
3674
|
passphrase_protection?: boolean;
|
|
3673
3675
|
label?: string;
|
|
3674
3676
|
};
|
|
3675
|
-
type
|
|
3676
|
-
targets?:
|
|
3677
|
-
types?:
|
|
3677
|
+
type DeviceGetDeviceInfo = {
|
|
3678
|
+
targets?: DeviceInfoTargets;
|
|
3679
|
+
types?: DeviceInfoTypes;
|
|
3678
3680
|
};
|
|
3679
3681
|
type ProtocolV2DeviceInfo = {
|
|
3680
3682
|
protocol_version: number;
|
|
3681
|
-
hw?:
|
|
3682
|
-
fw?:
|
|
3683
|
-
bt?:
|
|
3684
|
-
se1?:
|
|
3685
|
-
se2?:
|
|
3686
|
-
se3?:
|
|
3687
|
-
se4?:
|
|
3688
|
-
status?:
|
|
3689
|
-
};
|
|
3690
|
-
declare enum
|
|
3691
|
-
|
|
3692
|
-
|
|
3693
|
-
|
|
3694
|
-
|
|
3695
|
-
|
|
3696
|
-
|
|
3697
|
-
|
|
3683
|
+
hw?: DeviceHardwareInfo;
|
|
3684
|
+
fw?: DeviceMainMcuInfo;
|
|
3685
|
+
bt?: DeviceBluetoothInfo;
|
|
3686
|
+
se1?: DeviceSEInfo;
|
|
3687
|
+
se2?: DeviceSEInfo;
|
|
3688
|
+
se3?: DeviceSEInfo;
|
|
3689
|
+
se4?: DeviceSEInfo;
|
|
3690
|
+
status?: DeviceStatus;
|
|
3691
|
+
};
|
|
3692
|
+
declare enum DeviceFirmwareTargetType {
|
|
3693
|
+
TARGET_INVALID = 0,
|
|
3694
|
+
TARGET_ROMLOADER = 1,
|
|
3695
|
+
TARGET_BOOTLOADER = 2,
|
|
3696
|
+
TARGET_FIRMWARE_P1 = 3,
|
|
3697
|
+
TARGET_FIRMWARE_P2 = 4,
|
|
3698
|
+
TARGET_COPROCESSOR = 5,
|
|
3699
|
+
TARGET_SE = 6,
|
|
3698
3700
|
TARGET_RESOURCE = 10
|
|
3699
3701
|
}
|
|
3700
|
-
type
|
|
3701
|
-
target_id:
|
|
3702
|
+
type DeviceFirmwareTarget = {
|
|
3703
|
+
target_id: DeviceFirmwareTargetType;
|
|
3702
3704
|
path: string;
|
|
3703
3705
|
};
|
|
3704
|
-
type
|
|
3705
|
-
targets:
|
|
3706
|
+
type DeviceFirmwareUpdate = {
|
|
3707
|
+
targets: DeviceFirmwareTarget[];
|
|
3708
|
+
max_concurrent?: number;
|
|
3706
3709
|
};
|
|
3707
|
-
type
|
|
3708
|
-
target_id:
|
|
3710
|
+
type DeviceFirmwareInstallProgress = {
|
|
3711
|
+
target_id: DeviceFirmwareTargetType;
|
|
3709
3712
|
progress: number;
|
|
3710
3713
|
stage?: string;
|
|
3711
3714
|
};
|
|
3712
|
-
type
|
|
3713
|
-
target_id:
|
|
3715
|
+
type DeviceFirmwareUpdateStatusEntry = {
|
|
3716
|
+
target_id: DeviceFirmwareTargetType;
|
|
3714
3717
|
status: number;
|
|
3715
3718
|
};
|
|
3716
|
-
type
|
|
3717
|
-
type
|
|
3718
|
-
targets:
|
|
3719
|
+
type DeviceGetFirmwareUpdateStatus = {};
|
|
3720
|
+
type DeviceFirmwareUpdateStatus = {
|
|
3721
|
+
targets: DeviceFirmwareUpdateStatusEntry[];
|
|
3719
3722
|
};
|
|
3720
3723
|
type FactoryDeviceInfoSettings = {
|
|
3721
3724
|
serial_no?: string;
|
|
@@ -3788,8 +3791,8 @@ type FilesystemDirRemove = {
|
|
|
3788
3791
|
path: string;
|
|
3789
3792
|
};
|
|
3790
3793
|
type FilesystemFormat = {};
|
|
3791
|
-
type
|
|
3792
|
-
type
|
|
3794
|
+
type DeviceGetOnboardingStatus = {};
|
|
3795
|
+
type DeviceOnboardingStatus = {
|
|
3793
3796
|
page_index?: number;
|
|
3794
3797
|
page_count?: number;
|
|
3795
3798
|
page_name?: string;
|
|
@@ -4371,22 +4374,22 @@ type MessageType = {
|
|
|
4371
4374
|
TxDetailsPage: TxDetailsPage;
|
|
4372
4375
|
GetProtoVersion: GetProtoVersion;
|
|
4373
4376
|
ProtoVersion: ProtoVersion;
|
|
4374
|
-
|
|
4375
|
-
|
|
4376
|
-
|
|
4377
|
-
|
|
4378
|
-
|
|
4379
|
-
|
|
4380
|
-
|
|
4381
|
-
|
|
4382
|
-
|
|
4383
|
-
|
|
4384
|
-
|
|
4385
|
-
|
|
4386
|
-
|
|
4387
|
-
|
|
4388
|
-
|
|
4389
|
-
|
|
4377
|
+
DeviceReboot: DeviceReboot;
|
|
4378
|
+
DeviceFirmwareImageInfo: DeviceFirmwareImageInfo;
|
|
4379
|
+
DeviceHardwareInfo: DeviceHardwareInfo;
|
|
4380
|
+
DeviceMainMcuInfo: DeviceMainMcuInfo;
|
|
4381
|
+
DeviceBluetoothInfo: DeviceBluetoothInfo;
|
|
4382
|
+
DeviceSEInfo: DeviceSEInfo;
|
|
4383
|
+
DeviceInfoTargets: DeviceInfoTargets;
|
|
4384
|
+
DeviceInfoTypes: DeviceInfoTypes;
|
|
4385
|
+
DeviceStatus: DeviceStatus;
|
|
4386
|
+
DeviceGetDeviceInfo: DeviceGetDeviceInfo;
|
|
4387
|
+
DeviceFirmwareTarget: DeviceFirmwareTarget;
|
|
4388
|
+
DeviceFirmwareUpdate: DeviceFirmwareUpdate;
|
|
4389
|
+
DeviceFirmwareInstallProgress: DeviceFirmwareInstallProgress;
|
|
4390
|
+
DeviceFirmwareUpdateStatusEntry: DeviceFirmwareUpdateStatusEntry;
|
|
4391
|
+
DeviceGetFirmwareUpdateStatus: DeviceGetFirmwareUpdateStatus;
|
|
4392
|
+
DeviceFirmwareUpdateStatus: DeviceFirmwareUpdateStatus;
|
|
4390
4393
|
FactoryDeviceInfoSettings: FactoryDeviceInfoSettings;
|
|
4391
4394
|
FactoryGetDeviceInfo: FactoryGetDeviceInfo;
|
|
4392
4395
|
FactoryDeviceInfo: FactoryDeviceInfo;
|
|
@@ -4402,8 +4405,8 @@ type MessageType = {
|
|
|
4402
4405
|
FilesystemDirMake: FilesystemDirMake;
|
|
4403
4406
|
FilesystemDirRemove: FilesystemDirRemove;
|
|
4404
4407
|
FilesystemFormat: FilesystemFormat;
|
|
4405
|
-
|
|
4406
|
-
|
|
4408
|
+
DeviceGetOnboardingStatus: DeviceGetOnboardingStatus;
|
|
4409
|
+
DeviceOnboardingStatus: DeviceOnboardingStatus;
|
|
4407
4410
|
};
|
|
4408
4411
|
type MessageKey = keyof MessageType;
|
|
4409
4412
|
type MessageResponse<T extends MessageKey> = {
|
|
@@ -5127,33 +5130,33 @@ declare const messages_TxDetailsDisplayType: typeof TxDetailsDisplayType;
|
|
|
5127
5130
|
type messages_TxDetailsPage = TxDetailsPage;
|
|
5128
5131
|
type messages_GetProtoVersion = GetProtoVersion;
|
|
5129
5132
|
type messages_ProtoVersion = ProtoVersion;
|
|
5130
|
-
type
|
|
5131
|
-
declare const
|
|
5132
|
-
type
|
|
5133
|
+
type messages_DeviceRebootType = DeviceRebootType;
|
|
5134
|
+
declare const messages_DeviceRebootType: typeof DeviceRebootType;
|
|
5135
|
+
type messages_DeviceReboot = DeviceReboot;
|
|
5133
5136
|
type messages_DeviceType = DeviceType;
|
|
5134
5137
|
declare const messages_DeviceType: typeof DeviceType;
|
|
5135
|
-
type
|
|
5136
|
-
declare const
|
|
5137
|
-
type
|
|
5138
|
-
declare const
|
|
5139
|
-
type
|
|
5140
|
-
type
|
|
5141
|
-
type
|
|
5142
|
-
type
|
|
5143
|
-
type
|
|
5144
|
-
type
|
|
5145
|
-
type
|
|
5146
|
-
type
|
|
5147
|
-
type
|
|
5138
|
+
type messages_DeviceSeType = DeviceSeType;
|
|
5139
|
+
declare const messages_DeviceSeType: typeof DeviceSeType;
|
|
5140
|
+
type messages_DeviceSEState = DeviceSEState;
|
|
5141
|
+
declare const messages_DeviceSEState: typeof DeviceSEState;
|
|
5142
|
+
type messages_DeviceFirmwareImageInfo = DeviceFirmwareImageInfo;
|
|
5143
|
+
type messages_DeviceHardwareInfo = DeviceHardwareInfo;
|
|
5144
|
+
type messages_DeviceMainMcuInfo = DeviceMainMcuInfo;
|
|
5145
|
+
type messages_DeviceBluetoothInfo = DeviceBluetoothInfo;
|
|
5146
|
+
type messages_DeviceSEInfo = DeviceSEInfo;
|
|
5147
|
+
type messages_DeviceInfoTargets = DeviceInfoTargets;
|
|
5148
|
+
type messages_DeviceInfoTypes = DeviceInfoTypes;
|
|
5149
|
+
type messages_DeviceStatus = DeviceStatus;
|
|
5150
|
+
type messages_DeviceGetDeviceInfo = DeviceGetDeviceInfo;
|
|
5148
5151
|
type messages_ProtocolV2DeviceInfo = ProtocolV2DeviceInfo;
|
|
5149
|
-
type
|
|
5150
|
-
declare const
|
|
5151
|
-
type
|
|
5152
|
-
type
|
|
5153
|
-
type
|
|
5154
|
-
type
|
|
5155
|
-
type
|
|
5156
|
-
type
|
|
5152
|
+
type messages_DeviceFirmwareTargetType = DeviceFirmwareTargetType;
|
|
5153
|
+
declare const messages_DeviceFirmwareTargetType: typeof DeviceFirmwareTargetType;
|
|
5154
|
+
type messages_DeviceFirmwareTarget = DeviceFirmwareTarget;
|
|
5155
|
+
type messages_DeviceFirmwareUpdate = DeviceFirmwareUpdate;
|
|
5156
|
+
type messages_DeviceFirmwareInstallProgress = DeviceFirmwareInstallProgress;
|
|
5157
|
+
type messages_DeviceFirmwareUpdateStatusEntry = DeviceFirmwareUpdateStatusEntry;
|
|
5158
|
+
type messages_DeviceGetFirmwareUpdateStatus = DeviceGetFirmwareUpdateStatus;
|
|
5159
|
+
type messages_DeviceFirmwareUpdateStatus = DeviceFirmwareUpdateStatus;
|
|
5157
5160
|
type messages_FactoryDeviceInfoSettings = FactoryDeviceInfoSettings;
|
|
5158
5161
|
type messages_FactoryGetDeviceInfo = FactoryGetDeviceInfo;
|
|
5159
5162
|
type messages_FactoryDeviceInfo = FactoryDeviceInfo;
|
|
@@ -5169,8 +5172,8 @@ type messages_FilesystemDirList = FilesystemDirList;
|
|
|
5169
5172
|
type messages_FilesystemDirMake = FilesystemDirMake;
|
|
5170
5173
|
type messages_FilesystemDirRemove = FilesystemDirRemove;
|
|
5171
5174
|
type messages_FilesystemFormat = FilesystemFormat;
|
|
5172
|
-
type
|
|
5173
|
-
type
|
|
5175
|
+
type messages_DeviceGetOnboardingStatus = DeviceGetOnboardingStatus;
|
|
5176
|
+
type messages_DeviceOnboardingStatus = DeviceOnboardingStatus;
|
|
5174
5177
|
type messages_MessageType = MessageType;
|
|
5175
5178
|
type messages_MessageKey = MessageKey;
|
|
5176
5179
|
type messages_MessageResponse<T extends MessageKey> = MessageResponse<T>;
|
|
@@ -5830,28 +5833,28 @@ declare namespace messages {
|
|
|
5830
5833
|
messages_TxDetailsPage as TxDetailsPage,
|
|
5831
5834
|
messages_GetProtoVersion as GetProtoVersion,
|
|
5832
5835
|
messages_ProtoVersion as ProtoVersion,
|
|
5833
|
-
|
|
5834
|
-
|
|
5836
|
+
messages_DeviceRebootType as DeviceRebootType,
|
|
5837
|
+
messages_DeviceReboot as DeviceReboot,
|
|
5835
5838
|
messages_DeviceType as DeviceType,
|
|
5836
|
-
|
|
5837
|
-
|
|
5838
|
-
|
|
5839
|
-
|
|
5840
|
-
|
|
5841
|
-
|
|
5842
|
-
|
|
5843
|
-
|
|
5844
|
-
|
|
5845
|
-
|
|
5846
|
-
|
|
5839
|
+
messages_DeviceSeType as DeviceSeType,
|
|
5840
|
+
messages_DeviceSEState as DeviceSEState,
|
|
5841
|
+
messages_DeviceFirmwareImageInfo as DeviceFirmwareImageInfo,
|
|
5842
|
+
messages_DeviceHardwareInfo as DeviceHardwareInfo,
|
|
5843
|
+
messages_DeviceMainMcuInfo as DeviceMainMcuInfo,
|
|
5844
|
+
messages_DeviceBluetoothInfo as DeviceBluetoothInfo,
|
|
5845
|
+
messages_DeviceSEInfo as DeviceSEInfo,
|
|
5846
|
+
messages_DeviceInfoTargets as DeviceInfoTargets,
|
|
5847
|
+
messages_DeviceInfoTypes as DeviceInfoTypes,
|
|
5848
|
+
messages_DeviceStatus as DeviceStatus,
|
|
5849
|
+
messages_DeviceGetDeviceInfo as DeviceGetDeviceInfo,
|
|
5847
5850
|
messages_ProtocolV2DeviceInfo as ProtocolV2DeviceInfo,
|
|
5848
|
-
|
|
5849
|
-
|
|
5850
|
-
|
|
5851
|
-
|
|
5852
|
-
|
|
5853
|
-
|
|
5854
|
-
|
|
5851
|
+
messages_DeviceFirmwareTargetType as DeviceFirmwareTargetType,
|
|
5852
|
+
messages_DeviceFirmwareTarget as DeviceFirmwareTarget,
|
|
5853
|
+
messages_DeviceFirmwareUpdate as DeviceFirmwareUpdate,
|
|
5854
|
+
messages_DeviceFirmwareInstallProgress as DeviceFirmwareInstallProgress,
|
|
5855
|
+
messages_DeviceFirmwareUpdateStatusEntry as DeviceFirmwareUpdateStatusEntry,
|
|
5856
|
+
messages_DeviceGetFirmwareUpdateStatus as DeviceGetFirmwareUpdateStatus,
|
|
5857
|
+
messages_DeviceFirmwareUpdateStatus as DeviceFirmwareUpdateStatus,
|
|
5855
5858
|
messages_FactoryDeviceInfoSettings as FactoryDeviceInfoSettings,
|
|
5856
5859
|
messages_FactoryGetDeviceInfo as FactoryGetDeviceInfo,
|
|
5857
5860
|
messages_FactoryDeviceInfo as FactoryDeviceInfo,
|
|
@@ -5867,8 +5870,8 @@ declare namespace messages {
|
|
|
5867
5870
|
messages_FilesystemDirMake as FilesystemDirMake,
|
|
5868
5871
|
messages_FilesystemDirRemove as FilesystemDirRemove,
|
|
5869
5872
|
messages_FilesystemFormat as FilesystemFormat,
|
|
5870
|
-
|
|
5871
|
-
|
|
5873
|
+
messages_DeviceGetOnboardingStatus as DeviceGetOnboardingStatus,
|
|
5874
|
+
messages_DeviceOnboardingStatus as DeviceOnboardingStatus,
|
|
5872
5875
|
messages_MessageType as MessageType,
|
|
5873
5876
|
messages_MessageKey as MessageKey,
|
|
5874
5877
|
messages_MessageResponse as MessageResponse,
|
|
@@ -5991,7 +5994,7 @@ declare const _default: {
|
|
|
5991
5994
|
[key: string]: any;
|
|
5992
5995
|
};
|
|
5993
5996
|
messageName: string;
|
|
5994
|
-
|
|
5997
|
+
messageTypeId: number;
|
|
5995
5998
|
pbPayload: Uint8Array;
|
|
5996
5999
|
seq: number;
|
|
5997
6000
|
type: string;
|
|
@@ -6004,7 +6007,7 @@ declare const _default: {
|
|
|
6004
6007
|
concatUint8Arrays: typeof concatUint8Arrays;
|
|
6005
6008
|
createMessageFromName: (messages: protobuf.Root, name: string) => {
|
|
6006
6009
|
Message: protobuf.Type;
|
|
6007
|
-
|
|
6010
|
+
messageTypeId: number;
|
|
6008
6011
|
};
|
|
6009
6012
|
createMessageFromType: (messages: protobuf.Root, typeId: number) => {
|
|
6010
6013
|
Message: protobuf.Type;
|
|
@@ -6020,4 +6023,4 @@ declare const _default: {
|
|
|
6020
6023
|
withProtocolTimeout: typeof withProtocolTimeout;
|
|
6021
6024
|
};
|
|
6022
6025
|
|
|
6023
|
-
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, CoinPurchaseMemo, CommandFlags, ConfluxAddress, ConfluxGetAddress, ConfluxMessageSignature, ConfluxSignMessage, ConfluxSignMessageCIP23, ConfluxSignTx, ConfluxTxAck, ConfluxTxRequest, CosmosAddress, CosmosGetAddress, CosmosSignTx, CosmosSignedTx, DecredStakingSpendType, Deprecated_PassphraseStateAck, Deprecated_PassphraseStateRequest, DevBluetoothInfo, DevFirmwareImageInfo, DevFirmwareInstallProgress, DevFirmwareTarget, DevFirmwareTargetType, DevFirmwareUpdate, DevFirmwareUpdateStatus, DevFirmwareUpdateStatusEntry, DevGetDeviceInfo, DevGetFirmwareUpdateStatus, DevGetOnboardingStatus, DevHardwareInfo, DevInfoTargets, DevInfoTypes, DevMainMcuInfo, DevOnboardingStatus, DevReboot, DevRebootType, DevSEInfo, DevSEState, DevSeType, DevStatus, DeviceBackToBoot, DeviceEraseSector, DeviceInfo, DeviceInfoSettings, 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, EthereumSignTypedHash, EthereumSignTypedHashOneKey, EthereumStructMember, EthereumStructMemberOneKey, EthereumTokenInfo, EthereumTxAck, EthereumTxAckOneKey, EthereumTxRequest, EthereumTxRequestOneKey, EthereumTypedDataSignature, EthereumTypedDataSignatureOneKey, EthereumTypedDataStructAck, EthereumTypedDataStructAckOneKey, EthereumTypedDataStructRequest, EthereumTypedDataStructRequestOneKey, EthereumTypedDataValueAck, EthereumTypedDataValueAckOneKey, EthereumTypedDataValueRequest, EthereumTypedDataValueRequestOneKey, EthereumVerifyMessage, EthereumVerifyMessageOneKey, ExportType, FactoryDeviceInfo, FactoryDeviceInfoSettings, FactoryGetDeviceInfo, Failure, FailureType, Features, FileInfo, FileInfoList, FilecoinAddress, FilecoinGetAddress, FilecoinSignTx, FilecoinSignedTx, FilesystemDir, FilesystemDirList, FilesystemDirMake, FilesystemDirRemove, FilesystemFile, FilesystemFileDelete, FilesystemFileRead, FilesystemFileWrite, FilesystemFixPermission, FilesystemFormat, FilesystemPathInfo, FilesystemPathInfoQuery, FirmwareErase, FirmwareErase_ex, FirmwareHash, FirmwareRequest, FirmwareUpdateEmmc, FirmwareUpload, GetAddress, GetDeviceInfo, GetECDHSessionKey, GetEntropy, GetFeatures, GetFirmwareHash, GetNextU2FCounter, GetNonce, GetOwnershipId, GetOwnershipProof, GetPassphraseState, GetProtoVersion, GetPublicKey, GetPublicKeyMultiple, HDNodePathType, HDNodeType, IdentityType, Initialize, InputScriptType, InternalInputScriptType, KaspaAddress, KaspaGetAddress, KaspaSignTx, KaspaSignedTx, KaspaTxInputAck, KaspaTxInputRequest, ListResDir, LnurlAuth, LnurlAuthResp, LockDevice, LogBlockCommand, LowLevelDevice, LowlevelTransportSharedPlugin, MessageFromOneKey, MessageKey, MessageResponse, 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_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, PassphraseAck, PassphraseRequest, PassphraseState, Path, PaymentRequestMemo, PinMatrixAck, PinMatrixRequest, PinMatrixRequestType, Ping, PolkadotAddress, PolkadotGetAddress, PolkadotSignTx, PolkadotSignedTx, PreauthorizedRequest, PrevInput, PrevOutput, PrevTx, ProtoVersion, ProtocolType, ProtocolV1, ProtocolV2, ProtocolV2CallOptions, ProtocolV2DeviceInfo, ProtocolV2FrameAssembler, ProtocolV2Schemas, ProtocolV2Session, ProtocolV2SessionOptions, 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, 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, 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, TxDetailsAddress, TxDetailsAmount, TxDetailsDisplayType, TxDetailsGeneral, TxDetailsNetwork, TxDetailsPage, TxInput, TxInputType, TxOutput, TxOutputBinType, TxOutputType, TxRequest, TxRequestDetailsType, TxRequestSerializedType, TypedCall, UintType, UnLockDevice, UnLockDeviceResponse, UnlockPath, UnlockedPathRequest, UpgradeFileHeader, VerifyMessage, Vote, WL_OperationType, 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 };
|
|
6026
|
+
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, CoinPurchaseMemo, CommandFlags, ConfluxAddress, ConfluxGetAddress, ConfluxMessageSignature, ConfluxSignMessage, ConfluxSignMessageCIP23, ConfluxSignTx, ConfluxTxAck, ConfluxTxRequest, CosmosAddress, CosmosGetAddress, CosmosSignTx, CosmosSignedTx, DecredStakingSpendType, Deprecated_PassphraseStateAck, Deprecated_PassphraseStateRequest, DeviceBackToBoot, DeviceBluetoothInfo, DeviceEraseSector, DeviceFirmwareImageInfo, DeviceFirmwareInstallProgress, DeviceFirmwareTarget, DeviceFirmwareTargetType, DeviceFirmwareUpdate, DeviceFirmwareUpdateStatus, DeviceFirmwareUpdateStatusEntry, DeviceGetDeviceInfo, DeviceGetFirmwareUpdateStatus, DeviceGetOnboardingStatus, DeviceHardwareInfo, DeviceInfo, DeviceInfoSettings, DeviceInfoTargets, DeviceInfoTypes, DeviceMainMcuInfo, DeviceOnboardingStatus, DeviceReboot, DeviceRebootType, DeviceSEInfo, DeviceSEState, DeviceSeType, DeviceStatus, 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, EthereumSignTypedHash, EthereumSignTypedHashOneKey, EthereumStructMember, EthereumStructMemberOneKey, EthereumTokenInfo, EthereumTxAck, EthereumTxAckOneKey, EthereumTxRequest, EthereumTxRequestOneKey, EthereumTypedDataSignature, EthereumTypedDataSignatureOneKey, EthereumTypedDataStructAck, EthereumTypedDataStructAckOneKey, EthereumTypedDataStructRequest, EthereumTypedDataStructRequestOneKey, EthereumTypedDataValueAck, EthereumTypedDataValueAckOneKey, EthereumTypedDataValueRequest, EthereumTypedDataValueRequestOneKey, EthereumVerifyMessage, EthereumVerifyMessageOneKey, ExportType, FactoryDeviceInfo, FactoryDeviceInfoSettings, FactoryGetDeviceInfo, Failure, FailureType, Features, FileInfo, FileInfoList, FilecoinAddress, FilecoinGetAddress, FilecoinSignTx, FilecoinSignedTx, FilesystemDir, FilesystemDirList, FilesystemDirMake, FilesystemDirRemove, FilesystemFile, FilesystemFileDelete, FilesystemFileRead, FilesystemFileWrite, FilesystemFixPermission, FilesystemFormat, FilesystemPathInfo, FilesystemPathInfoQuery, FirmwareErase, FirmwareErase_ex, FirmwareHash, FirmwareRequest, FirmwareUpdateEmmc, FirmwareUpload, GetAddress, GetDeviceInfo, GetECDHSessionKey, GetEntropy, GetFeatures, GetFirmwareHash, GetNextU2FCounter, GetNonce, GetOwnershipId, GetOwnershipProof, GetPassphraseState, GetProtoVersion, GetPublicKey, GetPublicKeyMultiple, HDNodePathType, HDNodeType, IdentityType, Initialize, InputScriptType, InternalInputScriptType, KaspaAddress, KaspaGetAddress, KaspaSignTx, KaspaSignedTx, KaspaTxInputAck, KaspaTxInputRequest, ListResDir, LnurlAuth, LnurlAuthResp, LockDevice, LogBlockCommand, LowLevelDevice, LowlevelTransportSharedPlugin, MessageFromOneKey, MessageKey, MessageResponse, 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_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, PassphraseAck, PassphraseRequest, PassphraseState, Path, PaymentRequestMemo, PinMatrixAck, PinMatrixRequest, PinMatrixRequestType, Ping, PolkadotAddress, PolkadotGetAddress, PolkadotSignTx, PolkadotSignedTx, PreauthorizedRequest, PrevInput, PrevOutput, PrevTx, ProtoVersion, ProtocolType, ProtocolV1, ProtocolV2, ProtocolV2CallOptions, ProtocolV2DeviceInfo, ProtocolV2FrameAssembler, ProtocolV2Schemas, ProtocolV2Session, ProtocolV2SessionOptions, 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, 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, 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, TxDetailsAddress, TxDetailsAmount, TxDetailsDisplayType, TxDetailsGeneral, TxDetailsNetwork, TxDetailsPage, TxInput, TxInputType, TxOutput, TxOutputBinType, TxOutputType, TxRequest, TxRequestDetailsType, TxRequestSerializedType, TypedCall, UintType, UnLockDevice, UnLockDeviceResponse, UnlockPath, UnlockedPathRequest, UpgradeFileHeader, VerifyMessage, Vote, WL_OperationType, 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 };
|