@onekeyfe/hd-transport 1.2.0-alpha.3 → 1.2.0-alpha.4
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/README.md +1 -1
- package/__tests__/protocol-v2.test.js +104 -77
- package/dist/constants.d.ts +2 -2
- package/dist/index.d.ts +329 -232
- package/dist/index.js +63 -43
- package/dist/protocols/v2/session.d.ts +1 -1
- package/dist/protocols/v2/session.d.ts.map +1 -1
- package/dist/types/messages.d.ts +235 -157
- package/dist/types/messages.d.ts.map +1 -1
- package/messages-protocol-v2.json +486 -1072
- package/package.json +2 -2
- package/scripts/protobuf-build.sh +51 -143
- package/src/constants.ts +2 -2
- package/src/protocols/v2/session.ts +4 -5
- package/src/types/messages.ts +291 -193
package/dist/index.d.ts
CHANGED
|
@@ -1137,11 +1137,15 @@ declare enum FailureType {
|
|
|
1137
1137
|
Failure_PinMismatch = 12,
|
|
1138
1138
|
Failure_WipeCodeMismatch = 13,
|
|
1139
1139
|
Failure_InvalidSession = 14,
|
|
1140
|
-
Failure_FirmwareError = 99
|
|
1140
|
+
Failure_FirmwareError = 99,
|
|
1141
|
+
Failure_InvalidMessage = 1,
|
|
1142
|
+
Failure_UndefinedError = 2,
|
|
1143
|
+
Failure_UsageError = 3
|
|
1141
1144
|
}
|
|
1142
1145
|
type Failure = {
|
|
1143
1146
|
code?: FailureType;
|
|
1144
1147
|
message?: string;
|
|
1148
|
+
subcode?: number;
|
|
1145
1149
|
};
|
|
1146
1150
|
declare enum Enum_ButtonRequestType {
|
|
1147
1151
|
ButtonRequest_Other = 1,
|
|
@@ -2124,6 +2128,28 @@ type OnekeyFeatures = {
|
|
|
2124
2128
|
onekey_se02_boot_build_id?: string;
|
|
2125
2129
|
onekey_se03_boot_build_id?: string;
|
|
2126
2130
|
onekey_se04_boot_build_id?: string;
|
|
2131
|
+
onekey_romloader_version?: string;
|
|
2132
|
+
onekey_bootloader_version?: string;
|
|
2133
|
+
onekey_romloader_hash?: string;
|
|
2134
|
+
onekey_bootloader_hash?: string;
|
|
2135
|
+
onekey_romloader_build_id?: string;
|
|
2136
|
+
onekey_bootloader_build_id?: string;
|
|
2137
|
+
onekey_coprocessor_bt_name?: string;
|
|
2138
|
+
onekey_coprocessor_version?: string;
|
|
2139
|
+
onekey_coprocessor_build_id?: string;
|
|
2140
|
+
onekey_coprocessor_hash?: string;
|
|
2141
|
+
onekey_se01_bootloader_version?: string;
|
|
2142
|
+
onekey_se02_bootloader_version?: string;
|
|
2143
|
+
onekey_se03_bootloader_version?: string;
|
|
2144
|
+
onekey_se04_bootloader_version?: string;
|
|
2145
|
+
onekey_se01_bootloader_hash?: string;
|
|
2146
|
+
onekey_se02_bootloader_hash?: string;
|
|
2147
|
+
onekey_se03_bootloader_hash?: string;
|
|
2148
|
+
onekey_se04_bootloader_hash?: string;
|
|
2149
|
+
onekey_se01_bootloader_build_id?: string;
|
|
2150
|
+
onekey_se02_bootloader_build_id?: string;
|
|
2151
|
+
onekey_se03_bootloader_build_id?: string;
|
|
2152
|
+
onekey_se04_bootloader_build_id?: string;
|
|
2127
2153
|
};
|
|
2128
2154
|
type LockDevice = {};
|
|
2129
2155
|
type EndSession = {};
|
|
@@ -3580,19 +3606,17 @@ type TxAckPaymentRequest = {
|
|
|
3580
3606
|
amount?: UintType;
|
|
3581
3607
|
signature: string;
|
|
3582
3608
|
};
|
|
3583
|
-
type DebugLinkInput = {
|
|
3584
|
-
x?: number;
|
|
3585
|
-
y?: number;
|
|
3586
|
-
duration_ms?: number;
|
|
3587
|
-
x_end?: number;
|
|
3588
|
-
y_end?: number;
|
|
3589
|
-
};
|
|
3590
3609
|
type InternalMyAddressRequest = {
|
|
3591
3610
|
coin_type: number;
|
|
3592
3611
|
chain_id: number;
|
|
3593
3612
|
account_index: number;
|
|
3594
3613
|
derive_type: number;
|
|
3595
3614
|
};
|
|
3615
|
+
type StartSession = {
|
|
3616
|
+
session_id?: string;
|
|
3617
|
+
_skip_passphrase?: boolean;
|
|
3618
|
+
derive_cardano?: boolean;
|
|
3619
|
+
};
|
|
3596
3620
|
type SetBusy = {
|
|
3597
3621
|
expiry_ms?: number;
|
|
3598
3622
|
};
|
|
@@ -3669,17 +3693,122 @@ type ViewVerifyPage = {
|
|
|
3669
3693
|
address: string;
|
|
3670
3694
|
path: string;
|
|
3671
3695
|
};
|
|
3672
|
-
type
|
|
3673
|
-
type
|
|
3674
|
-
|
|
3696
|
+
type ProtocolInfoRequest = {};
|
|
3697
|
+
type ProtocolInfo = {
|
|
3698
|
+
version: number;
|
|
3699
|
+
supported_messages: number[];
|
|
3700
|
+
protobuf_definition?: string;
|
|
3675
3701
|
};
|
|
3676
|
-
declare enum
|
|
3702
|
+
declare enum DeviceRebootType {
|
|
3677
3703
|
Normal = 0,
|
|
3678
|
-
|
|
3704
|
+
Romloader = 1,
|
|
3679
3705
|
Bootloader = 2
|
|
3680
3706
|
}
|
|
3681
|
-
type
|
|
3682
|
-
reboot_type:
|
|
3707
|
+
type DeviceReboot = {
|
|
3708
|
+
reboot_type: DeviceRebootType;
|
|
3709
|
+
};
|
|
3710
|
+
type DeviceSettings = {
|
|
3711
|
+
label?: string;
|
|
3712
|
+
bt_enable?: boolean;
|
|
3713
|
+
language?: string;
|
|
3714
|
+
};
|
|
3715
|
+
type DeviceSettingsGet = {};
|
|
3716
|
+
type DeviceSettingsSet = {
|
|
3717
|
+
settings: DeviceSettings;
|
|
3718
|
+
};
|
|
3719
|
+
type DeviceCertificate = {
|
|
3720
|
+
cert_and_pubkey: string;
|
|
3721
|
+
private_key?: string;
|
|
3722
|
+
};
|
|
3723
|
+
type DeviceCertificateWrite = {
|
|
3724
|
+
cert: DeviceCertificate;
|
|
3725
|
+
};
|
|
3726
|
+
type DeviceCertificateRead = {};
|
|
3727
|
+
type DeviceCertificateSignature = {
|
|
3728
|
+
data: string;
|
|
3729
|
+
};
|
|
3730
|
+
type DeviceCertificateSign = {
|
|
3731
|
+
data: string;
|
|
3732
|
+
};
|
|
3733
|
+
declare enum DeviceFirmwareTargetType {
|
|
3734
|
+
FW_MGMT_TARGET_INVALID = 0,
|
|
3735
|
+
FW_MGMT_TARGET_CRATE = 1,
|
|
3736
|
+
FW_MGMT_TARGET_ROMLOADER = 2,
|
|
3737
|
+
FW_MGMT_TARGET_BOOTLOADER = 3,
|
|
3738
|
+
FW_MGMT_TARGET_APPLICATION_P1 = 4,
|
|
3739
|
+
FW_MGMT_TARGET_APPLICATION_P2 = 5,
|
|
3740
|
+
FW_MGMT_TARGET_COPROCESSOR = 6,
|
|
3741
|
+
FW_MGMT_TARGET_SE01 = 7,
|
|
3742
|
+
FW_MGMT_TARGET_SE02 = 8,
|
|
3743
|
+
FW_MGMT_TARGET_SE03 = 9,
|
|
3744
|
+
FW_MGMT_TARGET_SE04 = 10
|
|
3745
|
+
}
|
|
3746
|
+
declare enum DeviceFirmwareUpdateTaskStatus {
|
|
3747
|
+
FW_MGMT_UPDATER_TASK_STATUS_PENDING = 0,
|
|
3748
|
+
FW_MGMT_UPDATER_TASK_STATUS_IN_PROGRESS = 1,
|
|
3749
|
+
FW_MGMT_UPDATER_TASK_STATUS_FINISHED = 2,
|
|
3750
|
+
FW_MGMT_UPDATER_TASK_STATUS_FAILED_FILE_NOT_FOUND = 3,
|
|
3751
|
+
FW_MGMT_UPDATER_TASK_STATUS_FAILED_FILE_READ = 4,
|
|
3752
|
+
FW_MGMT_UPDATER_TASK_STATUS_FAILED_FILE_WRITE = 5,
|
|
3753
|
+
FW_MGMT_UPDATER_TASK_STATUS_FAILED_VERIFY = 6,
|
|
3754
|
+
FW_MGMT_UPDATER_TASK_STATUS_FAILED_INSTALL = 7,
|
|
3755
|
+
FW_MGMT_UPDATER_TASK_STATUS_FAILED_ABORT = 8,
|
|
3756
|
+
FW_MGMT_UPDATER_TASK_STATUS_FAILED_BUSY = 9,
|
|
3757
|
+
FW_MGMT_UPDATER_TASK_STATUS_FAILED_ENTRY_OUT_OF_BOUNDS = 10
|
|
3758
|
+
}
|
|
3759
|
+
type DeviceFirmwareTarget = {
|
|
3760
|
+
target_id: DeviceFirmwareTargetType;
|
|
3761
|
+
path: string;
|
|
3762
|
+
};
|
|
3763
|
+
type DeviceFirmwareUpdateRequest = {
|
|
3764
|
+
targets: DeviceFirmwareTarget[];
|
|
3765
|
+
};
|
|
3766
|
+
type DeviceFirmwareUpdateRecord = {
|
|
3767
|
+
target_id: DeviceFirmwareTargetType;
|
|
3768
|
+
status?: DeviceFirmwareUpdateTaskStatus;
|
|
3769
|
+
payload_version?: number;
|
|
3770
|
+
path?: string;
|
|
3771
|
+
};
|
|
3772
|
+
type DeviceFirmwareUpdateRecordFields = {
|
|
3773
|
+
status?: boolean;
|
|
3774
|
+
payload_version?: boolean;
|
|
3775
|
+
path?: boolean;
|
|
3776
|
+
};
|
|
3777
|
+
type DeviceFirmwareUpdateStatusGet = {
|
|
3778
|
+
fields?: DeviceFirmwareUpdateRecordFields;
|
|
3779
|
+
};
|
|
3780
|
+
type DeviceFirmwareUpdateStatus = {
|
|
3781
|
+
records: DeviceFirmwareUpdateRecord[];
|
|
3782
|
+
};
|
|
3783
|
+
declare enum DeviceFactoryAck {
|
|
3784
|
+
FACTORY_ACK_SUCCESS = 0,
|
|
3785
|
+
FACTORY_ACK_FAIL = 1
|
|
3786
|
+
}
|
|
3787
|
+
type DeviceFactoryInfoManufactureTime = {
|
|
3788
|
+
year: number;
|
|
3789
|
+
month: number;
|
|
3790
|
+
day: number;
|
|
3791
|
+
hour: number;
|
|
3792
|
+
minute: number;
|
|
3793
|
+
second: number;
|
|
3794
|
+
};
|
|
3795
|
+
type DeviceFactoryInfo = {
|
|
3796
|
+
version?: number;
|
|
3797
|
+
serial_number?: string;
|
|
3798
|
+
burn_in_completed?: boolean;
|
|
3799
|
+
factory_test_completed?: boolean;
|
|
3800
|
+
manufacture_time?: DeviceFactoryInfoManufactureTime;
|
|
3801
|
+
};
|
|
3802
|
+
type DeviceFactoryInfoSet = {
|
|
3803
|
+
info: DeviceFactoryInfo;
|
|
3804
|
+
};
|
|
3805
|
+
type DeviceFactoryInfoGet = {};
|
|
3806
|
+
type DeviceFactoryPermanentLock = {
|
|
3807
|
+
check_a: string;
|
|
3808
|
+
check_b: string;
|
|
3809
|
+
};
|
|
3810
|
+
type DeviceFactoryTest = {
|
|
3811
|
+
burn_in_test: boolean;
|
|
3683
3812
|
};
|
|
3684
3813
|
declare enum DeviceType {
|
|
3685
3814
|
CLASSIC1 = 0,
|
|
@@ -3687,130 +3816,96 @@ declare enum DeviceType {
|
|
|
3687
3816
|
MINI = 2,
|
|
3688
3817
|
TOUCH = 3,
|
|
3689
3818
|
PRO = 5,
|
|
3690
|
-
CLASSIC1S_PURE = 6
|
|
3819
|
+
CLASSIC1S_PURE = 6,
|
|
3820
|
+
PRO2 = 7,
|
|
3821
|
+
NEO = 8
|
|
3691
3822
|
}
|
|
3692
|
-
declare enum
|
|
3823
|
+
declare enum DeviceSeType {
|
|
3693
3824
|
THD89 = 0,
|
|
3694
3825
|
SE608A = 1
|
|
3695
3826
|
}
|
|
3696
|
-
declare enum
|
|
3827
|
+
declare enum DeviceSEState {
|
|
3697
3828
|
BOOT = 0,
|
|
3698
3829
|
APP_FACTORY = 51,
|
|
3699
3830
|
APP = 85
|
|
3700
3831
|
}
|
|
3701
|
-
type
|
|
3832
|
+
type DeviceFirmwareImageInfo = {
|
|
3702
3833
|
version?: string;
|
|
3703
3834
|
build_id?: string;
|
|
3704
3835
|
hash?: string;
|
|
3705
3836
|
};
|
|
3706
|
-
type
|
|
3707
|
-
|
|
3837
|
+
type DeviceHardwareInfo = {
|
|
3838
|
+
Device_type?: DeviceType;
|
|
3708
3839
|
serial_no?: string;
|
|
3709
|
-
device_id?: string;
|
|
3710
3840
|
hardware_version?: string;
|
|
3711
3841
|
hardware_version_raw_adc?: number;
|
|
3712
3842
|
};
|
|
3713
|
-
type
|
|
3714
|
-
|
|
3715
|
-
|
|
3716
|
-
|
|
3717
|
-
|
|
3718
|
-
|
|
3719
|
-
|
|
3720
|
-
|
|
3721
|
-
|
|
3722
|
-
|
|
3723
|
-
|
|
3724
|
-
|
|
3725
|
-
|
|
3726
|
-
|
|
3727
|
-
|
|
3728
|
-
|
|
3729
|
-
|
|
3730
|
-
|
|
3843
|
+
type DeviceMainMcuInfo = {
|
|
3844
|
+
romloader?: DeviceFirmwareImageInfo;
|
|
3845
|
+
bootloader?: DeviceFirmwareImageInfo;
|
|
3846
|
+
application?: DeviceFirmwareImageInfo;
|
|
3847
|
+
application_data?: DeviceFirmwareImageInfo;
|
|
3848
|
+
};
|
|
3849
|
+
type DeviceCoprocessorInfo = {
|
|
3850
|
+
bootloader?: DeviceFirmwareImageInfo;
|
|
3851
|
+
application?: DeviceFirmwareImageInfo;
|
|
3852
|
+
bt_adv_name?: string;
|
|
3853
|
+
bt_mac?: string;
|
|
3854
|
+
};
|
|
3855
|
+
type DeviceSEInfo = {
|
|
3856
|
+
bootloader?: DeviceFirmwareImageInfo;
|
|
3857
|
+
application?: DeviceFirmwareImageInfo;
|
|
3858
|
+
type?: DeviceSeType;
|
|
3859
|
+
state?: DeviceSEState;
|
|
3860
|
+
};
|
|
3861
|
+
type DeviceInfoTargets = {
|
|
3731
3862
|
hw?: boolean;
|
|
3732
3863
|
fw?: boolean;
|
|
3733
|
-
|
|
3864
|
+
coprocessor?: boolean;
|
|
3734
3865
|
se1?: boolean;
|
|
3735
3866
|
se2?: boolean;
|
|
3736
3867
|
se3?: boolean;
|
|
3737
3868
|
se4?: boolean;
|
|
3738
3869
|
status?: boolean;
|
|
3739
3870
|
};
|
|
3740
|
-
type
|
|
3871
|
+
type DeviceInfoTypes = {
|
|
3741
3872
|
version?: boolean;
|
|
3742
3873
|
build_id?: boolean;
|
|
3743
3874
|
hash?: boolean;
|
|
3744
3875
|
specific?: boolean;
|
|
3745
3876
|
};
|
|
3746
|
-
type
|
|
3747
|
-
|
|
3748
|
-
|
|
3749
|
-
init_states?: boolean;
|
|
3750
|
-
backup_required?: boolean;
|
|
3751
|
-
passphrase_protection?: boolean;
|
|
3752
|
-
label?: string;
|
|
3753
|
-
};
|
|
3754
|
-
type DevGetDeviceInfo = {
|
|
3755
|
-
targets?: DevInfoTargets;
|
|
3756
|
-
types?: DevInfoTypes;
|
|
3877
|
+
type DeviceInfoGet = {
|
|
3878
|
+
targets?: DeviceInfoTargets;
|
|
3879
|
+
types?: DeviceInfoTypes;
|
|
3757
3880
|
};
|
|
3758
3881
|
type ProtocolV2DeviceInfo = {
|
|
3759
3882
|
protocol_version: number;
|
|
3760
|
-
hw?:
|
|
3761
|
-
fw?:
|
|
3762
|
-
|
|
3763
|
-
se1?:
|
|
3764
|
-
se2?:
|
|
3765
|
-
se3?:
|
|
3766
|
-
se4?:
|
|
3767
|
-
status?:
|
|
3768
|
-
};
|
|
3769
|
-
|
|
3770
|
-
|
|
3771
|
-
TARGET_MAIN_BOOT = 1,
|
|
3772
|
-
TARGET_BT = 2,
|
|
3773
|
-
TARGET_SE1 = 3,
|
|
3774
|
-
TARGET_SE2 = 4,
|
|
3775
|
-
TARGET_SE3 = 5,
|
|
3776
|
-
TARGET_SE4 = 6,
|
|
3777
|
-
TARGET_RESOURCE = 10
|
|
3778
|
-
}
|
|
3779
|
-
type DevFirmwareTarget = {
|
|
3780
|
-
target_id: DevFirmwareTargetType;
|
|
3781
|
-
path: string;
|
|
3782
|
-
};
|
|
3783
|
-
type DevFirmwareUpdate = {
|
|
3784
|
-
targets: DevFirmwareTarget[];
|
|
3785
|
-
};
|
|
3786
|
-
type DevFirmwareInstallProgress = {
|
|
3787
|
-
target_id: DevFirmwareTargetType;
|
|
3788
|
-
progress: number;
|
|
3789
|
-
stage?: string;
|
|
3790
|
-
};
|
|
3791
|
-
type DevFirmwareUpdateStatusEntry = {
|
|
3792
|
-
target_id: DevFirmwareTargetType;
|
|
3793
|
-
status: number;
|
|
3794
|
-
};
|
|
3795
|
-
type DevGetFirmwareUpdateStatus = {};
|
|
3796
|
-
type DevFirmwareUpdateStatus = {
|
|
3797
|
-
targets: DevFirmwareUpdateStatusEntry[];
|
|
3883
|
+
hw?: DeviceHardwareInfo;
|
|
3884
|
+
fw?: DeviceMainMcuInfo;
|
|
3885
|
+
coprocessor?: DeviceCoprocessorInfo;
|
|
3886
|
+
se1?: DeviceSEInfo;
|
|
3887
|
+
se2?: DeviceSEInfo;
|
|
3888
|
+
se3?: DeviceSEInfo;
|
|
3889
|
+
se4?: DeviceSEInfo;
|
|
3890
|
+
status?: DeviceStatus;
|
|
3891
|
+
};
|
|
3892
|
+
type DeviceSessionGet = {
|
|
3893
|
+
session_id?: string;
|
|
3798
3894
|
};
|
|
3799
|
-
type
|
|
3800
|
-
|
|
3801
|
-
|
|
3802
|
-
pre_firmware?: string;
|
|
3895
|
+
type DeviceSession = {
|
|
3896
|
+
session_id?: string;
|
|
3897
|
+
btc_test_address?: string;
|
|
3803
3898
|
};
|
|
3804
|
-
type
|
|
3805
|
-
|
|
3806
|
-
|
|
3807
|
-
|
|
3808
|
-
|
|
3809
|
-
|
|
3810
|
-
|
|
3811
|
-
|
|
3899
|
+
type DeviceStatus = {
|
|
3900
|
+
device_id?: string;
|
|
3901
|
+
unlocked?: boolean;
|
|
3902
|
+
init_states?: boolean;
|
|
3903
|
+
backup_required?: boolean;
|
|
3904
|
+
passphrase_enabled?: boolean;
|
|
3905
|
+
attach_to_pin_enabled?: boolean;
|
|
3906
|
+
unlocked_by_attach_to_pin?: boolean;
|
|
3812
3907
|
};
|
|
3813
|
-
type
|
|
3908
|
+
type FilesystemPermissionFix = {};
|
|
3814
3909
|
type FilesystemPathInfo = {
|
|
3815
3910
|
exist: boolean;
|
|
3816
3911
|
size: number;
|
|
@@ -3867,31 +3962,6 @@ type FilesystemDirRemove = {
|
|
|
3867
3962
|
path: string;
|
|
3868
3963
|
};
|
|
3869
3964
|
type FilesystemFormat = {};
|
|
3870
|
-
declare enum OnboardingStep {
|
|
3871
|
-
ONBOARDING_STEP_UNKNOWN = 0,
|
|
3872
|
-
ONBOARDING_STEP_DEVICE_VERIFICATION = 1,
|
|
3873
|
-
ONBOARDING_STEP_PERSONALIZATION = 2,
|
|
3874
|
-
ONBOARDING_STEP_SETUP = 3,
|
|
3875
|
-
ONBOARDING_STEP_FIRMWARE = 4
|
|
3876
|
-
}
|
|
3877
|
-
type GetOnboardingStatus = {};
|
|
3878
|
-
type NewDevice = {
|
|
3879
|
-
seedcard_backup?: boolean;
|
|
3880
|
-
};
|
|
3881
|
-
type Restore = {
|
|
3882
|
-
mnemonic?: boolean;
|
|
3883
|
-
seedcard?: boolean;
|
|
3884
|
-
};
|
|
3885
|
-
type Setup = {
|
|
3886
|
-
new_device?: NewDevice;
|
|
3887
|
-
restore?: Restore;
|
|
3888
|
-
};
|
|
3889
|
-
type OnboardingStatus = {
|
|
3890
|
-
step: OnboardingStep;
|
|
3891
|
-
setup?: Setup;
|
|
3892
|
-
detail_code?: number;
|
|
3893
|
-
detail_str?: string;
|
|
3894
|
-
};
|
|
3895
3965
|
type MessageType = {
|
|
3896
3966
|
AlephiumGetAddress: AlephiumGetAddress;
|
|
3897
3967
|
AlephiumAddress: AlephiumAddress;
|
|
@@ -4455,8 +4525,8 @@ type MessageType = {
|
|
|
4455
4525
|
CoinPurchaseMemo: CoinPurchaseMemo;
|
|
4456
4526
|
PaymentRequestMemo: PaymentRequestMemo;
|
|
4457
4527
|
TxAckPaymentRequest: TxAckPaymentRequest;
|
|
4458
|
-
DebugLinkInput: DebugLinkInput;
|
|
4459
4528
|
InternalMyAddressRequest: InternalMyAddressRequest;
|
|
4529
|
+
StartSession: StartSession;
|
|
4460
4530
|
SetBusy: SetBusy;
|
|
4461
4531
|
GetFirmwareHash: GetFirmwareHash;
|
|
4462
4532
|
FirmwareHash: FirmwareHash;
|
|
@@ -4473,28 +4543,41 @@ type MessageType = {
|
|
|
4473
4543
|
ViewTip: ViewTip;
|
|
4474
4544
|
ViewSignPage: ViewSignPage;
|
|
4475
4545
|
ViewVerifyPage: ViewVerifyPage;
|
|
4476
|
-
|
|
4477
|
-
|
|
4478
|
-
|
|
4479
|
-
|
|
4480
|
-
|
|
4481
|
-
|
|
4482
|
-
|
|
4483
|
-
|
|
4484
|
-
|
|
4485
|
-
|
|
4486
|
-
|
|
4487
|
-
|
|
4488
|
-
|
|
4489
|
-
|
|
4490
|
-
|
|
4491
|
-
|
|
4492
|
-
|
|
4493
|
-
|
|
4494
|
-
|
|
4495
|
-
|
|
4496
|
-
|
|
4497
|
-
|
|
4546
|
+
ProtocolInfoRequest: ProtocolInfoRequest;
|
|
4547
|
+
ProtocolInfo: ProtocolInfo;
|
|
4548
|
+
DeviceReboot: DeviceReboot;
|
|
4549
|
+
DeviceSettings: DeviceSettings;
|
|
4550
|
+
DeviceSettingsGet: DeviceSettingsGet;
|
|
4551
|
+
DeviceSettingsSet: DeviceSettingsSet;
|
|
4552
|
+
DeviceCertificate: DeviceCertificate;
|
|
4553
|
+
DeviceCertificateWrite: DeviceCertificateWrite;
|
|
4554
|
+
DeviceCertificateRead: DeviceCertificateRead;
|
|
4555
|
+
DeviceCertificateSignature: DeviceCertificateSignature;
|
|
4556
|
+
DeviceCertificateSign: DeviceCertificateSign;
|
|
4557
|
+
DeviceFirmwareTarget: DeviceFirmwareTarget;
|
|
4558
|
+
DeviceFirmwareUpdateRequest: DeviceFirmwareUpdateRequest;
|
|
4559
|
+
DeviceFirmwareUpdateRecord: DeviceFirmwareUpdateRecord;
|
|
4560
|
+
DeviceFirmwareUpdateRecordFields: DeviceFirmwareUpdateRecordFields;
|
|
4561
|
+
DeviceFirmwareUpdateStatusGet: DeviceFirmwareUpdateStatusGet;
|
|
4562
|
+
DeviceFirmwareUpdateStatus: DeviceFirmwareUpdateStatus;
|
|
4563
|
+
DeviceFactoryInfoManufactureTime: DeviceFactoryInfoManufactureTime;
|
|
4564
|
+
DeviceFactoryInfo: DeviceFactoryInfo;
|
|
4565
|
+
DeviceFactoryInfoSet: DeviceFactoryInfoSet;
|
|
4566
|
+
DeviceFactoryInfoGet: DeviceFactoryInfoGet;
|
|
4567
|
+
DeviceFactoryPermanentLock: DeviceFactoryPermanentLock;
|
|
4568
|
+
DeviceFactoryTest: DeviceFactoryTest;
|
|
4569
|
+
DeviceFirmwareImageInfo: DeviceFirmwareImageInfo;
|
|
4570
|
+
DeviceHardwareInfo: DeviceHardwareInfo;
|
|
4571
|
+
DeviceMainMcuInfo: DeviceMainMcuInfo;
|
|
4572
|
+
DeviceCoprocessorInfo: DeviceCoprocessorInfo;
|
|
4573
|
+
DeviceSEInfo: DeviceSEInfo;
|
|
4574
|
+
DeviceInfoTargets: DeviceInfoTargets;
|
|
4575
|
+
DeviceInfoTypes: DeviceInfoTypes;
|
|
4576
|
+
DeviceInfoGet: DeviceInfoGet;
|
|
4577
|
+
DeviceSessionGet: DeviceSessionGet;
|
|
4578
|
+
DeviceSession: DeviceSession;
|
|
4579
|
+
DeviceStatus: DeviceStatus;
|
|
4580
|
+
FilesystemPermissionFix: FilesystemPermissionFix;
|
|
4498
4581
|
FilesystemPathInfo: FilesystemPathInfo;
|
|
4499
4582
|
FilesystemPathInfoQuery: FilesystemPathInfoQuery;
|
|
4500
4583
|
FilesystemFile: FilesystemFile;
|
|
@@ -4506,11 +4589,6 @@ type MessageType = {
|
|
|
4506
4589
|
FilesystemDirMake: FilesystemDirMake;
|
|
4507
4590
|
FilesystemDirRemove: FilesystemDirRemove;
|
|
4508
4591
|
FilesystemFormat: FilesystemFormat;
|
|
4509
|
-
GetOnboardingStatus: GetOnboardingStatus;
|
|
4510
|
-
NewDevice: NewDevice;
|
|
4511
|
-
Restore: Restore;
|
|
4512
|
-
Setup: Setup;
|
|
4513
|
-
OnboardingStatus: OnboardingStatus;
|
|
4514
4592
|
};
|
|
4515
4593
|
type MessageKey = keyof MessageType;
|
|
4516
4594
|
type MessageResponse<T extends MessageKey> = {
|
|
@@ -5222,8 +5300,8 @@ type messages_RefundMemo = RefundMemo;
|
|
|
5222
5300
|
type messages_CoinPurchaseMemo = CoinPurchaseMemo;
|
|
5223
5301
|
type messages_PaymentRequestMemo = PaymentRequestMemo;
|
|
5224
5302
|
type messages_TxAckPaymentRequest = TxAckPaymentRequest;
|
|
5225
|
-
type messages_DebugLinkInput = DebugLinkInput;
|
|
5226
5303
|
type messages_InternalMyAddressRequest = InternalMyAddressRequest;
|
|
5304
|
+
type messages_StartSession = StartSession;
|
|
5227
5305
|
type messages_SetBusy = SetBusy;
|
|
5228
5306
|
type messages_GetFirmwareHash = GetFirmwareHash;
|
|
5229
5307
|
type messages_FirmwareHash = FirmwareHash;
|
|
@@ -5246,39 +5324,56 @@ declare const messages_ViewTipType: typeof ViewTipType;
|
|
|
5246
5324
|
type messages_ViewTip = ViewTip;
|
|
5247
5325
|
type messages_ViewSignPage = ViewSignPage;
|
|
5248
5326
|
type messages_ViewVerifyPage = ViewVerifyPage;
|
|
5249
|
-
type
|
|
5250
|
-
type
|
|
5251
|
-
type
|
|
5252
|
-
declare const
|
|
5253
|
-
type
|
|
5327
|
+
type messages_ProtocolInfoRequest = ProtocolInfoRequest;
|
|
5328
|
+
type messages_ProtocolInfo = ProtocolInfo;
|
|
5329
|
+
type messages_DeviceRebootType = DeviceRebootType;
|
|
5330
|
+
declare const messages_DeviceRebootType: typeof DeviceRebootType;
|
|
5331
|
+
type messages_DeviceReboot = DeviceReboot;
|
|
5332
|
+
type messages_DeviceSettings = DeviceSettings;
|
|
5333
|
+
type messages_DeviceSettingsGet = DeviceSettingsGet;
|
|
5334
|
+
type messages_DeviceSettingsSet = DeviceSettingsSet;
|
|
5335
|
+
type messages_DeviceCertificate = DeviceCertificate;
|
|
5336
|
+
type messages_DeviceCertificateWrite = DeviceCertificateWrite;
|
|
5337
|
+
type messages_DeviceCertificateRead = DeviceCertificateRead;
|
|
5338
|
+
type messages_DeviceCertificateSignature = DeviceCertificateSignature;
|
|
5339
|
+
type messages_DeviceCertificateSign = DeviceCertificateSign;
|
|
5340
|
+
type messages_DeviceFirmwareTargetType = DeviceFirmwareTargetType;
|
|
5341
|
+
declare const messages_DeviceFirmwareTargetType: typeof DeviceFirmwareTargetType;
|
|
5342
|
+
type messages_DeviceFirmwareUpdateTaskStatus = DeviceFirmwareUpdateTaskStatus;
|
|
5343
|
+
declare const messages_DeviceFirmwareUpdateTaskStatus: typeof DeviceFirmwareUpdateTaskStatus;
|
|
5344
|
+
type messages_DeviceFirmwareTarget = DeviceFirmwareTarget;
|
|
5345
|
+
type messages_DeviceFirmwareUpdateRequest = DeviceFirmwareUpdateRequest;
|
|
5346
|
+
type messages_DeviceFirmwareUpdateRecord = DeviceFirmwareUpdateRecord;
|
|
5347
|
+
type messages_DeviceFirmwareUpdateRecordFields = DeviceFirmwareUpdateRecordFields;
|
|
5348
|
+
type messages_DeviceFirmwareUpdateStatusGet = DeviceFirmwareUpdateStatusGet;
|
|
5349
|
+
type messages_DeviceFirmwareUpdateStatus = DeviceFirmwareUpdateStatus;
|
|
5350
|
+
type messages_DeviceFactoryAck = DeviceFactoryAck;
|
|
5351
|
+
declare const messages_DeviceFactoryAck: typeof DeviceFactoryAck;
|
|
5352
|
+
type messages_DeviceFactoryInfoManufactureTime = DeviceFactoryInfoManufactureTime;
|
|
5353
|
+
type messages_DeviceFactoryInfo = DeviceFactoryInfo;
|
|
5354
|
+
type messages_DeviceFactoryInfoSet = DeviceFactoryInfoSet;
|
|
5355
|
+
type messages_DeviceFactoryInfoGet = DeviceFactoryInfoGet;
|
|
5356
|
+
type messages_DeviceFactoryPermanentLock = DeviceFactoryPermanentLock;
|
|
5357
|
+
type messages_DeviceFactoryTest = DeviceFactoryTest;
|
|
5254
5358
|
type messages_DeviceType = DeviceType;
|
|
5255
5359
|
declare const messages_DeviceType: typeof DeviceType;
|
|
5256
|
-
type
|
|
5257
|
-
declare const
|
|
5258
|
-
type
|
|
5259
|
-
declare const
|
|
5260
|
-
type
|
|
5261
|
-
type
|
|
5262
|
-
type
|
|
5263
|
-
type
|
|
5264
|
-
type
|
|
5265
|
-
type
|
|
5266
|
-
type
|
|
5267
|
-
type
|
|
5268
|
-
type messages_DevGetDeviceInfo = DevGetDeviceInfo;
|
|
5360
|
+
type messages_DeviceSeType = DeviceSeType;
|
|
5361
|
+
declare const messages_DeviceSeType: typeof DeviceSeType;
|
|
5362
|
+
type messages_DeviceSEState = DeviceSEState;
|
|
5363
|
+
declare const messages_DeviceSEState: typeof DeviceSEState;
|
|
5364
|
+
type messages_DeviceFirmwareImageInfo = DeviceFirmwareImageInfo;
|
|
5365
|
+
type messages_DeviceHardwareInfo = DeviceHardwareInfo;
|
|
5366
|
+
type messages_DeviceMainMcuInfo = DeviceMainMcuInfo;
|
|
5367
|
+
type messages_DeviceCoprocessorInfo = DeviceCoprocessorInfo;
|
|
5368
|
+
type messages_DeviceSEInfo = DeviceSEInfo;
|
|
5369
|
+
type messages_DeviceInfoTargets = DeviceInfoTargets;
|
|
5370
|
+
type messages_DeviceInfoTypes = DeviceInfoTypes;
|
|
5371
|
+
type messages_DeviceInfoGet = DeviceInfoGet;
|
|
5269
5372
|
type messages_ProtocolV2DeviceInfo = ProtocolV2DeviceInfo;
|
|
5270
|
-
type
|
|
5271
|
-
|
|
5272
|
-
type
|
|
5273
|
-
type
|
|
5274
|
-
type messages_DevFirmwareInstallProgress = DevFirmwareInstallProgress;
|
|
5275
|
-
type messages_DevFirmwareUpdateStatusEntry = DevFirmwareUpdateStatusEntry;
|
|
5276
|
-
type messages_DevGetFirmwareUpdateStatus = DevGetFirmwareUpdateStatus;
|
|
5277
|
-
type messages_DevFirmwareUpdateStatus = DevFirmwareUpdateStatus;
|
|
5278
|
-
type messages_FactoryDeviceInfoSettings = FactoryDeviceInfoSettings;
|
|
5279
|
-
type messages_FactoryGetDeviceInfo = FactoryGetDeviceInfo;
|
|
5280
|
-
type messages_FactoryDeviceInfo = FactoryDeviceInfo;
|
|
5281
|
-
type messages_FilesystemFixPermission = FilesystemFixPermission;
|
|
5373
|
+
type messages_DeviceSessionGet = DeviceSessionGet;
|
|
5374
|
+
type messages_DeviceSession = DeviceSession;
|
|
5375
|
+
type messages_DeviceStatus = DeviceStatus;
|
|
5376
|
+
type messages_FilesystemPermissionFix = FilesystemPermissionFix;
|
|
5282
5377
|
type messages_FilesystemPathInfo = FilesystemPathInfo;
|
|
5283
5378
|
type messages_FilesystemPathInfoQuery = FilesystemPathInfoQuery;
|
|
5284
5379
|
type messages_FilesystemFile = FilesystemFile;
|
|
@@ -5290,13 +5385,6 @@ type messages_FilesystemDirList = FilesystemDirList;
|
|
|
5290
5385
|
type messages_FilesystemDirMake = FilesystemDirMake;
|
|
5291
5386
|
type messages_FilesystemDirRemove = FilesystemDirRemove;
|
|
5292
5387
|
type messages_FilesystemFormat = FilesystemFormat;
|
|
5293
|
-
type messages_OnboardingStep = OnboardingStep;
|
|
5294
|
-
declare const messages_OnboardingStep: typeof OnboardingStep;
|
|
5295
|
-
type messages_GetOnboardingStatus = GetOnboardingStatus;
|
|
5296
|
-
type messages_NewDevice = NewDevice;
|
|
5297
|
-
type messages_Restore = Restore;
|
|
5298
|
-
type messages_Setup = Setup;
|
|
5299
|
-
type messages_OnboardingStatus = OnboardingStatus;
|
|
5300
5388
|
type messages_MessageType = MessageType;
|
|
5301
5389
|
type messages_MessageKey = MessageKey;
|
|
5302
5390
|
type messages_MessageResponse<T extends MessageKey> = MessageResponse<T>;
|
|
@@ -5941,8 +6029,8 @@ declare namespace messages {
|
|
|
5941
6029
|
messages_CoinPurchaseMemo as CoinPurchaseMemo,
|
|
5942
6030
|
messages_PaymentRequestMemo as PaymentRequestMemo,
|
|
5943
6031
|
messages_TxAckPaymentRequest as TxAckPaymentRequest,
|
|
5944
|
-
messages_DebugLinkInput as DebugLinkInput,
|
|
5945
6032
|
messages_InternalMyAddressRequest as InternalMyAddressRequest,
|
|
6033
|
+
messages_StartSession as StartSession,
|
|
5946
6034
|
messages_SetBusy as SetBusy,
|
|
5947
6035
|
messages_GetFirmwareHash as GetFirmwareHash,
|
|
5948
6036
|
messages_FirmwareHash as FirmwareHash,
|
|
@@ -5962,34 +6050,49 @@ declare namespace messages {
|
|
|
5962
6050
|
messages_ViewTip as ViewTip,
|
|
5963
6051
|
messages_ViewSignPage as ViewSignPage,
|
|
5964
6052
|
messages_ViewVerifyPage as ViewVerifyPage,
|
|
5965
|
-
|
|
5966
|
-
|
|
5967
|
-
|
|
5968
|
-
|
|
6053
|
+
messages_ProtocolInfoRequest as ProtocolInfoRequest,
|
|
6054
|
+
messages_ProtocolInfo as ProtocolInfo,
|
|
6055
|
+
messages_DeviceRebootType as DeviceRebootType,
|
|
6056
|
+
messages_DeviceReboot as DeviceReboot,
|
|
6057
|
+
messages_DeviceSettings as DeviceSettings,
|
|
6058
|
+
messages_DeviceSettingsGet as DeviceSettingsGet,
|
|
6059
|
+
messages_DeviceSettingsSet as DeviceSettingsSet,
|
|
6060
|
+
messages_DeviceCertificate as DeviceCertificate,
|
|
6061
|
+
messages_DeviceCertificateWrite as DeviceCertificateWrite,
|
|
6062
|
+
messages_DeviceCertificateRead as DeviceCertificateRead,
|
|
6063
|
+
messages_DeviceCertificateSignature as DeviceCertificateSignature,
|
|
6064
|
+
messages_DeviceCertificateSign as DeviceCertificateSign,
|
|
6065
|
+
messages_DeviceFirmwareTargetType as DeviceFirmwareTargetType,
|
|
6066
|
+
messages_DeviceFirmwareUpdateTaskStatus as DeviceFirmwareUpdateTaskStatus,
|
|
6067
|
+
messages_DeviceFirmwareTarget as DeviceFirmwareTarget,
|
|
6068
|
+
messages_DeviceFirmwareUpdateRequest as DeviceFirmwareUpdateRequest,
|
|
6069
|
+
messages_DeviceFirmwareUpdateRecord as DeviceFirmwareUpdateRecord,
|
|
6070
|
+
messages_DeviceFirmwareUpdateRecordFields as DeviceFirmwareUpdateRecordFields,
|
|
6071
|
+
messages_DeviceFirmwareUpdateStatusGet as DeviceFirmwareUpdateStatusGet,
|
|
6072
|
+
messages_DeviceFirmwareUpdateStatus as DeviceFirmwareUpdateStatus,
|
|
6073
|
+
messages_DeviceFactoryAck as DeviceFactoryAck,
|
|
6074
|
+
messages_DeviceFactoryInfoManufactureTime as DeviceFactoryInfoManufactureTime,
|
|
6075
|
+
messages_DeviceFactoryInfo as DeviceFactoryInfo,
|
|
6076
|
+
messages_DeviceFactoryInfoSet as DeviceFactoryInfoSet,
|
|
6077
|
+
messages_DeviceFactoryInfoGet as DeviceFactoryInfoGet,
|
|
6078
|
+
messages_DeviceFactoryPermanentLock as DeviceFactoryPermanentLock,
|
|
6079
|
+
messages_DeviceFactoryTest as DeviceFactoryTest,
|
|
5969
6080
|
messages_DeviceType as DeviceType,
|
|
5970
|
-
|
|
5971
|
-
|
|
5972
|
-
|
|
5973
|
-
|
|
5974
|
-
|
|
5975
|
-
|
|
5976
|
-
|
|
5977
|
-
|
|
5978
|
-
|
|
5979
|
-
|
|
5980
|
-
messages_DevGetDeviceInfo as DevGetDeviceInfo,
|
|
6081
|
+
messages_DeviceSeType as DeviceSeType,
|
|
6082
|
+
messages_DeviceSEState as DeviceSEState,
|
|
6083
|
+
messages_DeviceFirmwareImageInfo as DeviceFirmwareImageInfo,
|
|
6084
|
+
messages_DeviceHardwareInfo as DeviceHardwareInfo,
|
|
6085
|
+
messages_DeviceMainMcuInfo as DeviceMainMcuInfo,
|
|
6086
|
+
messages_DeviceCoprocessorInfo as DeviceCoprocessorInfo,
|
|
6087
|
+
messages_DeviceSEInfo as DeviceSEInfo,
|
|
6088
|
+
messages_DeviceInfoTargets as DeviceInfoTargets,
|
|
6089
|
+
messages_DeviceInfoTypes as DeviceInfoTypes,
|
|
6090
|
+
messages_DeviceInfoGet as DeviceInfoGet,
|
|
5981
6091
|
messages_ProtocolV2DeviceInfo as ProtocolV2DeviceInfo,
|
|
5982
|
-
|
|
5983
|
-
|
|
5984
|
-
|
|
5985
|
-
|
|
5986
|
-
messages_DevFirmwareUpdateStatusEntry as DevFirmwareUpdateStatusEntry,
|
|
5987
|
-
messages_DevGetFirmwareUpdateStatus as DevGetFirmwareUpdateStatus,
|
|
5988
|
-
messages_DevFirmwareUpdateStatus as DevFirmwareUpdateStatus,
|
|
5989
|
-
messages_FactoryDeviceInfoSettings as FactoryDeviceInfoSettings,
|
|
5990
|
-
messages_FactoryGetDeviceInfo as FactoryGetDeviceInfo,
|
|
5991
|
-
messages_FactoryDeviceInfo as FactoryDeviceInfo,
|
|
5992
|
-
messages_FilesystemFixPermission as FilesystemFixPermission,
|
|
6092
|
+
messages_DeviceSessionGet as DeviceSessionGet,
|
|
6093
|
+
messages_DeviceSession as DeviceSession,
|
|
6094
|
+
messages_DeviceStatus as DeviceStatus,
|
|
6095
|
+
messages_FilesystemPermissionFix as FilesystemPermissionFix,
|
|
5993
6096
|
messages_FilesystemPathInfo as FilesystemPathInfo,
|
|
5994
6097
|
messages_FilesystemPathInfoQuery as FilesystemPathInfoQuery,
|
|
5995
6098
|
messages_FilesystemFile as FilesystemFile,
|
|
@@ -6001,12 +6104,6 @@ declare namespace messages {
|
|
|
6001
6104
|
messages_FilesystemDirMake as FilesystemDirMake,
|
|
6002
6105
|
messages_FilesystemDirRemove as FilesystemDirRemove,
|
|
6003
6106
|
messages_FilesystemFormat as FilesystemFormat,
|
|
6004
|
-
messages_OnboardingStep as OnboardingStep,
|
|
6005
|
-
messages_GetOnboardingStatus as GetOnboardingStatus,
|
|
6006
|
-
messages_NewDevice as NewDevice,
|
|
6007
|
-
messages_Restore as Restore,
|
|
6008
|
-
messages_Setup as Setup,
|
|
6009
|
-
messages_OnboardingStatus as OnboardingStatus,
|
|
6010
6107
|
messages_MessageType as MessageType,
|
|
6011
6108
|
messages_MessageKey as MessageKey,
|
|
6012
6109
|
messages_MessageResponse as MessageResponse,
|
|
@@ -6044,7 +6141,7 @@ declare function hexToBytes(hex: string): Uint8Array;
|
|
|
6044
6141
|
declare function bytesToHex(bytes: Uint8Array): string;
|
|
6045
6142
|
declare function getErrorMessage(error: unknown): string;
|
|
6046
6143
|
declare function withProtocolTimeout<T>(promise: Promise<T>, timeoutMs: number | undefined, createTimeoutError: () => Error, onTimeout?: () => void): Promise<T>;
|
|
6047
|
-
declare const PROTOCOL_V2_WRITE_WATCHDOG_TIMEOUT_MS =
|
|
6144
|
+
declare const PROTOCOL_V2_WRITE_WATCHDOG_TIMEOUT_MS = 0;
|
|
6048
6145
|
declare class ProtocolV2Session {
|
|
6049
6146
|
private readonly options;
|
|
6050
6147
|
private pendingCall;
|
|
@@ -6095,9 +6192,9 @@ declare const PROTOCOL_V1_USB_PACKET_SIZE: number;
|
|
|
6095
6192
|
declare const PROTOCOL_V1_MESSAGE_HEADER_SIZE: number;
|
|
6096
6193
|
declare const PROTOCOL_V1_ENVELOPE_HEADER_SIZE: number;
|
|
6097
6194
|
declare const PROTOCOL_V2_FRAME_MAX_BYTES = 4608;
|
|
6098
|
-
declare const PROTOCOL_V2_WEBUSB_FILE_CHUNK_SIZE =
|
|
6195
|
+
declare const PROTOCOL_V2_WEBUSB_FILE_CHUNK_SIZE = 4000;
|
|
6099
6196
|
declare const PROTOCOL_V2_BLE_FILE_CHUNK_SIZE = 1800;
|
|
6100
|
-
declare const PROTOCOL_V2_FILE_CHUNK_SIZE =
|
|
6197
|
+
declare const PROTOCOL_V2_FILE_CHUNK_SIZE = 4000;
|
|
6101
6198
|
declare const PROTOCOL_V2_CHANNEL_USB = 0;
|
|
6102
6199
|
declare const PROTOCOL_V2_CHANNEL_BLE_UART = 1;
|
|
6103
6200
|
declare const PROTOCOL_V2_CHANNEL_SOCKET = 2;
|
|
@@ -6174,4 +6271,4 @@ declare const _default: {
|
|
|
6174
6271
|
withProtocolTimeout: typeof withProtocolTimeout;
|
|
6175
6272
|
};
|
|
6176
6273
|
|
|
6177
|
-
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, DebugLinkInput, DecredStakingSpendType, Deprecated_PassphraseStateAck, Deprecated_PassphraseStateRequest, DevBluetoothInfo, DevFirmwareImageInfo, DevFirmwareInstallProgress, DevFirmwareTarget, DevFirmwareTargetType, DevFirmwareUpdate, DevFirmwareUpdateStatus, DevFirmwareUpdateStatusEntry, DevGetDeviceInfo, DevGetFirmwareUpdateStatus, DevHardwareInfo, DevInfoTargets, DevInfoTypes, DevMainMcuInfo, 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, GetOnboardingStatus, GetOwnershipId, GetOwnershipProof, GetPassphraseState, GetProtoVersion, 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, NewDevice, NexaAddress, NexaGetAddress, NexaSignTx, NexaSignedTx, NexaTxInputAck, NexaTxInputRequest, NextU2FCounter, Nonce, NostrDecryptMessage, NostrDecryptedMessage, NostrEncryptMessage, NostrEncryptedMessage, NostrGetPublicKey, NostrPublicKey, NostrSignEvent, NostrSignSchnorr, NostrSignedEvent, NostrSignedSchnorr, OnboardingStatus, OnboardingStep, 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, PROTOCOL_V2_WRITE_WATCHDOG_TIMEOUT_MS, 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, Restore, RippleAddress, RippleGetAddress, RipplePayment, RippleSignTx, RippleSignedTx, SEMessageSignature, SEPublicCert, SEPublicKey, SESignMessage, SafetyCheckLevel, ScdoAddress, ScdoGetAddress, ScdoSignMessage, ScdoSignTx, ScdoSignedMessage, ScdoSignedTx, ScdoTxAck, SdProtect, SdProtectOperationType, SeedRequestType, SelfTest, SetBusy, SetU2FCounter, SetWallpaper, Setup, 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, TxInput, TxInputType, TxOutput, TxOutputBinType, TxOutputType, TxRequest, TxRequestDetailsType, TxRequestSerializedType, TypedCall, UintType, UnLockDevice, UnLockDeviceResponse, UnlockPath, UnlockedPathRequest, UpgradeFileHeader, VerifyMessage, ViewAmount, ViewDetail, 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 };
|
|
6274
|
+
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, DeviceBackToBoot, DeviceCertificate, DeviceCertificateRead, DeviceCertificateSign, DeviceCertificateSignature, DeviceCertificateWrite, DeviceCoprocessorInfo, DeviceEraseSector, 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, DeviceSessionGet, DeviceSettings, DeviceSettingsGet, DeviceSettingsSet, 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, 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_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, PreauthorizedRequest, PrevInput, PrevOutput, PrevTx, ProtocolInfo, ProtocolInfoRequest, 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, 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, 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 };
|