@onekeyfe/hd-transport 1.2.0-alpha.34 → 1.2.0-alpha.35
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/__tests__/messages.test.js +37 -29
- package/__tests__/protocol-v2.test.js +14 -14
- package/__tests__/transport-log.test.js +79 -0
- package/dist/index.d.ts +219 -242
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +153 -74
- package/dist/types/messages.d.ts +155 -177
- package/dist/types/messages.d.ts.map +1 -1
- package/dist/utils/transportLog.d.ts +9 -0
- package/dist/utils/transportLog.d.ts.map +1 -0
- package/messages-protocol-v2.json +393 -485
- package/package.json +2 -2
- package/src/index.ts +1 -0
- package/src/types/messages.ts +196 -225
- package/src/utils/transportLog.ts +102 -0
package/dist/index.d.ts
CHANGED
|
@@ -3806,17 +3806,6 @@ type EthereumSignTypedDataQR = {
|
|
|
3806
3806
|
metamask_v4_compat?: boolean;
|
|
3807
3807
|
request_id?: string;
|
|
3808
3808
|
};
|
|
3809
|
-
type InternalMyAddressRequest = {
|
|
3810
|
-
coin_type: number;
|
|
3811
|
-
chain_id: number;
|
|
3812
|
-
account_index: number;
|
|
3813
|
-
derive_type: number;
|
|
3814
|
-
};
|
|
3815
|
-
type StartSession = {
|
|
3816
|
-
session_id?: string;
|
|
3817
|
-
_skip_passphrase?: boolean;
|
|
3818
|
-
derive_cardano?: boolean;
|
|
3819
|
-
};
|
|
3820
3809
|
type SetBusy = {
|
|
3821
3810
|
expiry_ms?: number;
|
|
3822
3811
|
};
|
|
@@ -3833,21 +3822,6 @@ type Nonce = {
|
|
|
3833
3822
|
type WriteSEPrivateKey = {
|
|
3834
3823
|
private_key: string;
|
|
3835
3824
|
};
|
|
3836
|
-
declare enum WallpaperTarget {
|
|
3837
|
-
Home = 0,
|
|
3838
|
-
Lock = 1
|
|
3839
|
-
}
|
|
3840
|
-
type SetWallpaper = {
|
|
3841
|
-
target: WallpaperTarget;
|
|
3842
|
-
path: string;
|
|
3843
|
-
};
|
|
3844
|
-
type GetWallpaper = {
|
|
3845
|
-
target: WallpaperTarget;
|
|
3846
|
-
};
|
|
3847
|
-
type Wallpaper = {
|
|
3848
|
-
target: WallpaperTarget;
|
|
3849
|
-
path: string;
|
|
3850
|
-
};
|
|
3851
3825
|
type UnlockPath = {
|
|
3852
3826
|
address_n: number[];
|
|
3853
3827
|
mac?: string;
|
|
@@ -3875,63 +3849,13 @@ type UiAnimationRequest = {
|
|
|
3875
3849
|
command: UiAnimationCommand;
|
|
3876
3850
|
type?: UiAnimationType;
|
|
3877
3851
|
};
|
|
3878
|
-
type ViewAmount = {
|
|
3879
|
-
is_unlimited: boolean;
|
|
3880
|
-
num: string;
|
|
3881
|
-
};
|
|
3882
|
-
type ViewDetail = {
|
|
3883
|
-
key: number;
|
|
3884
|
-
value: string;
|
|
3885
|
-
is_overview: boolean;
|
|
3886
|
-
has_icon: boolean;
|
|
3887
|
-
};
|
|
3888
|
-
declare enum ViewTipType {
|
|
3889
|
-
Default = 0,
|
|
3890
|
-
Highlight = 1,
|
|
3891
|
-
Recommend = 2,
|
|
3892
|
-
Warning = 3,
|
|
3893
|
-
Danger = 4
|
|
3894
|
-
}
|
|
3895
|
-
type ViewTip = {
|
|
3896
|
-
type: ViewTipType;
|
|
3897
|
-
text: string;
|
|
3898
|
-
};
|
|
3899
|
-
type ViewRawData = {
|
|
3900
|
-
initial_data: string;
|
|
3901
|
-
placeholder: number;
|
|
3902
|
-
};
|
|
3903
|
-
declare enum ViewSignLayout {
|
|
3904
|
-
LayoutDefault = 0,
|
|
3905
|
-
LayoutSafeTxCreate = 1,
|
|
3906
|
-
LayoutFinalConfirm = 2,
|
|
3907
|
-
Layout7702 = 3,
|
|
3908
|
-
LayoutFlat = 4,
|
|
3909
|
-
LayoutEthApprove = 5
|
|
3910
|
-
}
|
|
3911
|
-
type ViewSignPage = {
|
|
3912
|
-
title: string;
|
|
3913
|
-
amount?: UintType;
|
|
3914
|
-
general: ViewDetail[];
|
|
3915
|
-
tip?: ViewTip;
|
|
3916
|
-
raw_data?: ViewRawData;
|
|
3917
|
-
slide_to_confirm?: boolean;
|
|
3918
|
-
layout?: ViewSignLayout;
|
|
3919
|
-
};
|
|
3920
|
-
type ViewVerifyPage = {
|
|
3921
|
-
title: string;
|
|
3922
|
-
address: string;
|
|
3923
|
-
path: string;
|
|
3924
|
-
network?: string;
|
|
3925
|
-
derive_type?: string;
|
|
3926
|
-
value_key?: number;
|
|
3927
|
-
};
|
|
3928
3852
|
type ProtocolInfoRequest = {
|
|
3929
3853
|
eventless_wallet_session?: boolean;
|
|
3930
3854
|
};
|
|
3931
3855
|
type ProtocolInfo = {
|
|
3932
3856
|
version: number;
|
|
3857
|
+
build_fingerprint: string;
|
|
3933
3858
|
supported_messages: number[];
|
|
3934
|
-
protobuf_definition?: string;
|
|
3935
3859
|
};
|
|
3936
3860
|
declare enum DeviceErrorCode {
|
|
3937
3861
|
DeviceError_None = 0,
|
|
@@ -3999,6 +3923,39 @@ type DeviceCertificateSignature = {
|
|
|
3999
3923
|
type DeviceCertificateSign = {
|
|
4000
3924
|
data: string;
|
|
4001
3925
|
};
|
|
3926
|
+
type DeviceMiscUsbMscControl = {
|
|
3927
|
+
enable: boolean;
|
|
3928
|
+
};
|
|
3929
|
+
declare enum DeviceFactoryAck {
|
|
3930
|
+
FACTORY_ACK_SUCCESS = 0,
|
|
3931
|
+
FACTORY_ACK_FAIL = 1
|
|
3932
|
+
}
|
|
3933
|
+
type DeviceFactoryInfoManufactureTime = {
|
|
3934
|
+
year: number;
|
|
3935
|
+
month: number;
|
|
3936
|
+
day: number;
|
|
3937
|
+
hour: number;
|
|
3938
|
+
minute: number;
|
|
3939
|
+
second: number;
|
|
3940
|
+
};
|
|
3941
|
+
type DeviceFactoryInfo = {
|
|
3942
|
+
version?: number;
|
|
3943
|
+
serial_number?: string;
|
|
3944
|
+
burn_in_completed?: boolean;
|
|
3945
|
+
factory_test_completed?: boolean;
|
|
3946
|
+
manufacture_time?: DeviceFactoryInfoManufactureTime;
|
|
3947
|
+
};
|
|
3948
|
+
type DeviceFactoryInfoSet = {
|
|
3949
|
+
info: DeviceFactoryInfo;
|
|
3950
|
+
};
|
|
3951
|
+
type DeviceFactoryInfoGet = {};
|
|
3952
|
+
type DeviceFactoryPermanentLock = {
|
|
3953
|
+
check_a: string;
|
|
3954
|
+
check_b: string;
|
|
3955
|
+
};
|
|
3956
|
+
type DeviceFactoryTest = {
|
|
3957
|
+
burn_in_test: boolean;
|
|
3958
|
+
};
|
|
4002
3959
|
declare enum DeviceFirmwareTargetType {
|
|
4003
3960
|
FW_MGMT_TARGET_INVALID = 0,
|
|
4004
3961
|
FW_MGMT_TARGET_CRATE = 1,
|
|
@@ -4049,36 +4006,6 @@ type DeviceFirmwareUpdateStatusGet = {
|
|
|
4049
4006
|
type DeviceFirmwareUpdateStatus = {
|
|
4050
4007
|
records: DeviceFirmwareUpdateRecord[];
|
|
4051
4008
|
};
|
|
4052
|
-
declare enum DeviceFactoryAck {
|
|
4053
|
-
FACTORY_ACK_SUCCESS = 0,
|
|
4054
|
-
FACTORY_ACK_FAIL = 1
|
|
4055
|
-
}
|
|
4056
|
-
type DeviceFactoryInfoManufactureTime = {
|
|
4057
|
-
year: number;
|
|
4058
|
-
month: number;
|
|
4059
|
-
day: number;
|
|
4060
|
-
hour: number;
|
|
4061
|
-
minute: number;
|
|
4062
|
-
second: number;
|
|
4063
|
-
};
|
|
4064
|
-
type DeviceFactoryInfo = {
|
|
4065
|
-
version?: number;
|
|
4066
|
-
serial_number?: string;
|
|
4067
|
-
burn_in_completed?: boolean;
|
|
4068
|
-
factory_test_completed?: boolean;
|
|
4069
|
-
manufacture_time?: DeviceFactoryInfoManufactureTime;
|
|
4070
|
-
};
|
|
4071
|
-
type DeviceFactoryInfoSet = {
|
|
4072
|
-
info: DeviceFactoryInfo;
|
|
4073
|
-
};
|
|
4074
|
-
type DeviceFactoryInfoGet = {};
|
|
4075
|
-
type DeviceFactoryPermanentLock = {
|
|
4076
|
-
check_a: string;
|
|
4077
|
-
check_b: string;
|
|
4078
|
-
};
|
|
4079
|
-
type DeviceFactoryTest = {
|
|
4080
|
-
burn_in_test: boolean;
|
|
4081
|
-
};
|
|
4082
4009
|
declare enum DeviceType {
|
|
4083
4010
|
CLASSIC1 = 0,
|
|
4084
4011
|
CLASSIC1S = 1,
|
|
@@ -4135,7 +4062,6 @@ type DeviceInfoTargets = {
|
|
|
4135
4062
|
se2?: boolean;
|
|
4136
4063
|
se3?: boolean;
|
|
4137
4064
|
se4?: boolean;
|
|
4138
|
-
status?: boolean;
|
|
4139
4065
|
};
|
|
4140
4066
|
type DeviceInfoTypes = {
|
|
4141
4067
|
version?: boolean;
|
|
@@ -4156,7 +4082,6 @@ type ProtocolV2DeviceInfo = {
|
|
|
4156
4082
|
se2?: DeviceSEInfo;
|
|
4157
4083
|
se3?: DeviceSEInfo;
|
|
4158
4084
|
se4?: DeviceSEInfo;
|
|
4159
|
-
status?: DeviceStatus;
|
|
4160
4085
|
};
|
|
4161
4086
|
declare enum DeviceSessionErrorCode {
|
|
4162
4087
|
DeviceSessionError_None = 0,
|
|
@@ -4183,7 +4108,7 @@ type DeviceSessionAskPin = {
|
|
|
4183
4108
|
};
|
|
4184
4109
|
type DeviceSessionAskPassphrase = {
|
|
4185
4110
|
passphrase?: string;
|
|
4186
|
-
on_device
|
|
4111
|
+
on_device: boolean;
|
|
4187
4112
|
};
|
|
4188
4113
|
declare enum DeviceSessionAskPin_FailureSubCodes {
|
|
4189
4114
|
UserCancel = 1
|
|
@@ -4198,53 +4123,6 @@ type DeviceStatus = {
|
|
|
4198
4123
|
unlocked_by_attach_to_pin?: boolean;
|
|
4199
4124
|
};
|
|
4200
4125
|
type DeviceStatusGet = {};
|
|
4201
|
-
declare enum DevOnboardingStep {
|
|
4202
|
-
DEV_ONBOARDING_STEP_UNKNOWN = 0,
|
|
4203
|
-
DEV_ONBOARDING_STEP_CHECKING = 1,
|
|
4204
|
-
DEV_ONBOARDING_STEP_PERSONALIZATION = 2,
|
|
4205
|
-
DEV_ONBOARDING_STEP_PIN = 3,
|
|
4206
|
-
DEV_ONBOARDING_STEP_SETUP = 4,
|
|
4207
|
-
DEV_ONBOARDING_STEP_DONE = 5
|
|
4208
|
-
}
|
|
4209
|
-
declare enum DevOnboardingPhase {
|
|
4210
|
-
DEV_ONBOARDING_PHASE_UNKNOWN = 0,
|
|
4211
|
-
DEV_ONBOARDING_PHASE_SAFETY_CHECK = 1,
|
|
4212
|
-
DEV_ONBOARDING_PHASE_PIN_SETUP = 2,
|
|
4213
|
-
DEV_ONBOARDING_PHASE_FINGERPRINT_SETUP = 3,
|
|
4214
|
-
DEV_ONBOARDING_PHASE_SETUP_CHOICE = 4,
|
|
4215
|
-
DEV_ONBOARDING_PHASE_WALLET_CREATE_START = 5,
|
|
4216
|
-
DEV_ONBOARDING_PHASE_RECOVERY_PHRASE_VIEW = 6,
|
|
4217
|
-
DEV_ONBOARDING_PHASE_RECOVERY_PHRASE_CONFIRM = 7,
|
|
4218
|
-
DEV_ONBOARDING_PHASE_RESTORE_METHOD_CHOICE = 8,
|
|
4219
|
-
DEV_ONBOARDING_PHASE_RECOVERY_PHRASE_RESTORE = 9,
|
|
4220
|
-
DEV_ONBOARDING_PHASE_SEEDCARD_RESTORE = 10,
|
|
4221
|
-
DEV_ONBOARDING_PHASE_WALLET_READY = 11,
|
|
4222
|
-
DEV_ONBOARDING_PHASE_SEEDCARD_BACKUP_PROMPT = 12,
|
|
4223
|
-
DEV_ONBOARDING_PHASE_SEEDCARD_BACKUP = 13
|
|
4224
|
-
}
|
|
4225
|
-
declare enum DevOnboardingSetupKind {
|
|
4226
|
-
DEV_ONBOARDING_SETUP_KIND_UNKNOWN = 0,
|
|
4227
|
-
DEV_ONBOARDING_SETUP_KIND_CHOICE = 1,
|
|
4228
|
-
DEV_ONBOARDING_SETUP_KIND_CREATE = 2,
|
|
4229
|
-
DEV_ONBOARDING_SETUP_KIND_RESTORE = 3
|
|
4230
|
-
}
|
|
4231
|
-
declare enum DevOnboardingSetupMethod {
|
|
4232
|
-
DEV_ONBOARDING_SETUP_METHOD_UNKNOWN = 0,
|
|
4233
|
-
DEV_ONBOARDING_SETUP_METHOD_RECOVERY_PHRASE = 1,
|
|
4234
|
-
DEV_ONBOARDING_SETUP_METHOD_SEEDCARD = 2
|
|
4235
|
-
}
|
|
4236
|
-
type DevOnboardingSetupStatus = {
|
|
4237
|
-
kind?: DevOnboardingSetupKind;
|
|
4238
|
-
method?: DevOnboardingSetupMethod;
|
|
4239
|
-
};
|
|
4240
|
-
type DevGetOnboardingStatus = {};
|
|
4241
|
-
type DevOnboardingStatus = {
|
|
4242
|
-
step?: DevOnboardingStep;
|
|
4243
|
-
phase?: DevOnboardingPhase;
|
|
4244
|
-
setup?: DevOnboardingSetupStatus;
|
|
4245
|
-
pin_set?: boolean;
|
|
4246
|
-
wallet_initialized?: boolean;
|
|
4247
|
-
};
|
|
4248
4126
|
type FilesystemPermissionFix = {};
|
|
4249
4127
|
type FilesystemPathInfo = {
|
|
4250
4128
|
exist: boolean;
|
|
@@ -4305,7 +4183,110 @@ type FilesystemFormat = {
|
|
|
4305
4183
|
data: boolean;
|
|
4306
4184
|
user: boolean;
|
|
4307
4185
|
};
|
|
4186
|
+
type InternalMyAddressRequest = {
|
|
4187
|
+
coin_type: number;
|
|
4188
|
+
chain_id: number;
|
|
4189
|
+
account_index: number;
|
|
4190
|
+
derive_type: number;
|
|
4191
|
+
};
|
|
4192
|
+
declare enum OnboardingStep {
|
|
4193
|
+
ONBOARDING_STEP_UNKNOWN = 0,
|
|
4194
|
+
ONBOARDING_STEP_CHECKING = 1,
|
|
4195
|
+
ONBOARDING_STEP_PERSONALIZATION = 2,
|
|
4196
|
+
ONBOARDING_STEP_PIN = 3,
|
|
4197
|
+
ONBOARDING_STEP_SETUP = 4,
|
|
4198
|
+
ONBOARDING_STEP_DONE = 5
|
|
4199
|
+
}
|
|
4200
|
+
declare enum OnboardingPhase {
|
|
4201
|
+
ONBOARDING_PHASE_UNKNOWN = 0,
|
|
4202
|
+
ONBOARDING_PHASE_SAFETY_CHECK = 1,
|
|
4203
|
+
ONBOARDING_PHASE_PIN_SETUP = 2,
|
|
4204
|
+
ONBOARDING_PHASE_FINGERPRINT_SETUP = 3,
|
|
4205
|
+
ONBOARDING_PHASE_SETUP_CHOICE = 4,
|
|
4206
|
+
ONBOARDING_PHASE_WALLET_CREATE_START = 5,
|
|
4207
|
+
ONBOARDING_PHASE_RECOVERY_PHRASE_VIEW = 6,
|
|
4208
|
+
ONBOARDING_PHASE_RECOVERY_PHRASE_CONFIRM = 7,
|
|
4209
|
+
ONBOARDING_PHASE_RESTORE_METHOD_CHOICE = 8,
|
|
4210
|
+
ONBOARDING_PHASE_RECOVERY_PHRASE_RESTORE = 9,
|
|
4211
|
+
ONBOARDING_PHASE_SEEDCARD_RESTORE = 10,
|
|
4212
|
+
ONBOARDING_PHASE_WALLET_READY = 11,
|
|
4213
|
+
ONBOARDING_PHASE_SEEDCARD_BACKUP_PROMPT = 12,
|
|
4214
|
+
ONBOARDING_PHASE_SEEDCARD_BACKUP = 13
|
|
4215
|
+
}
|
|
4216
|
+
declare enum OnboardingSetupKind {
|
|
4217
|
+
ONBOARDING_SETUP_KIND_UNKNOWN = 0,
|
|
4218
|
+
ONBOARDING_SETUP_KIND_CHOICE = 1,
|
|
4219
|
+
ONBOARDING_SETUP_KIND_CREATE = 2,
|
|
4220
|
+
ONBOARDING_SETUP_KIND_RESTORE = 3
|
|
4221
|
+
}
|
|
4222
|
+
declare enum OnboardingSetupMethod {
|
|
4223
|
+
ONBOARDING_SETUP_METHOD_UNKNOWN = 0,
|
|
4224
|
+
ONBOARDING_SETUP_METHOD_RECOVERY_PHRASE = 1,
|
|
4225
|
+
ONBOARDING_SETUP_METHOD_SEEDCARD = 2
|
|
4226
|
+
}
|
|
4227
|
+
type OnboardingSetupStatus = {
|
|
4228
|
+
kind?: OnboardingSetupKind;
|
|
4229
|
+
method?: OnboardingSetupMethod;
|
|
4230
|
+
};
|
|
4231
|
+
type OnboardingStatusGet = {};
|
|
4232
|
+
type OnboardingStatus = {
|
|
4233
|
+
step?: OnboardingStep;
|
|
4234
|
+
phase?: OnboardingPhase;
|
|
4235
|
+
setup?: OnboardingSetupStatus;
|
|
4236
|
+
pin_set?: boolean;
|
|
4237
|
+
wallet_initialized?: boolean;
|
|
4238
|
+
};
|
|
4308
4239
|
type PortfolioUpdate = {};
|
|
4240
|
+
type ViewAmount = {
|
|
4241
|
+
is_unlimited: boolean;
|
|
4242
|
+
num: string;
|
|
4243
|
+
};
|
|
4244
|
+
type ViewDetail = {
|
|
4245
|
+
key: number;
|
|
4246
|
+
value: string;
|
|
4247
|
+
is_overview: boolean;
|
|
4248
|
+
has_icon: boolean;
|
|
4249
|
+
};
|
|
4250
|
+
declare enum ViewTipType {
|
|
4251
|
+
Default = 0,
|
|
4252
|
+
Highlight = 1,
|
|
4253
|
+
Recommend = 2,
|
|
4254
|
+
Warning = 3,
|
|
4255
|
+
Danger = 4
|
|
4256
|
+
}
|
|
4257
|
+
type ViewTip = {
|
|
4258
|
+
type: ViewTipType;
|
|
4259
|
+
text: string;
|
|
4260
|
+
};
|
|
4261
|
+
type ViewRawData = {
|
|
4262
|
+
initial_data: string;
|
|
4263
|
+
placeholder: number;
|
|
4264
|
+
};
|
|
4265
|
+
declare enum ViewSignLayout {
|
|
4266
|
+
LayoutDefault = 0,
|
|
4267
|
+
LayoutSafeTxCreate = 1,
|
|
4268
|
+
LayoutFinalConfirm = 2,
|
|
4269
|
+
Layout7702 = 3,
|
|
4270
|
+
LayoutFlat = 4,
|
|
4271
|
+
LayoutEthApprove = 5
|
|
4272
|
+
}
|
|
4273
|
+
type ViewSignPage = {
|
|
4274
|
+
title: string;
|
|
4275
|
+
amount?: UintType;
|
|
4276
|
+
general: ViewDetail[];
|
|
4277
|
+
tip?: ViewTip;
|
|
4278
|
+
raw_data?: ViewRawData;
|
|
4279
|
+
slide_to_confirm?: boolean;
|
|
4280
|
+
layout?: ViewSignLayout;
|
|
4281
|
+
};
|
|
4282
|
+
type ViewVerifyPage = {
|
|
4283
|
+
title: string;
|
|
4284
|
+
address: string;
|
|
4285
|
+
path: string;
|
|
4286
|
+
network?: string;
|
|
4287
|
+
derive_type?: string;
|
|
4288
|
+
value_key?: number;
|
|
4289
|
+
};
|
|
4309
4290
|
declare enum ProtocolV2FailureType {
|
|
4310
4291
|
Failure_InvalidMessage = 1,
|
|
4311
4292
|
Failure_UndefinedError = 2,
|
|
@@ -4908,26 +4889,15 @@ type MessageType = {
|
|
|
4908
4889
|
PaymentRequestMemo: PaymentRequestMemo;
|
|
4909
4890
|
TxAckPaymentRequest: TxAckPaymentRequest;
|
|
4910
4891
|
EthereumSignTypedDataQR: EthereumSignTypedDataQR;
|
|
4911
|
-
InternalMyAddressRequest: InternalMyAddressRequest;
|
|
4912
|
-
StartSession: StartSession;
|
|
4913
4892
|
SetBusy: SetBusy;
|
|
4914
4893
|
GetFirmwareHash: GetFirmwareHash;
|
|
4915
4894
|
FirmwareHash: FirmwareHash;
|
|
4916
4895
|
GetNonce: GetNonce;
|
|
4917
4896
|
Nonce: Nonce;
|
|
4918
4897
|
WriteSEPrivateKey: WriteSEPrivateKey;
|
|
4919
|
-
SetWallpaper: SetWallpaper;
|
|
4920
|
-
GetWallpaper: GetWallpaper;
|
|
4921
|
-
Wallpaper: Wallpaper;
|
|
4922
4898
|
UnlockPath: UnlockPath;
|
|
4923
4899
|
UnlockedPathRequest: UnlockedPathRequest;
|
|
4924
4900
|
UiAnimationRequest: UiAnimationRequest;
|
|
4925
|
-
ViewAmount: ViewAmount;
|
|
4926
|
-
ViewDetail: ViewDetail;
|
|
4927
|
-
ViewTip: ViewTip;
|
|
4928
|
-
ViewRawData: ViewRawData;
|
|
4929
|
-
ViewSignPage: ViewSignPage;
|
|
4930
|
-
ViewVerifyPage: ViewVerifyPage;
|
|
4931
4901
|
ProtocolInfoRequest: ProtocolInfoRequest;
|
|
4932
4902
|
ProtocolInfo: ProtocolInfo;
|
|
4933
4903
|
DeviceReboot: DeviceReboot;
|
|
@@ -4940,18 +4910,19 @@ type MessageType = {
|
|
|
4940
4910
|
DeviceCertificateRead: DeviceCertificateRead;
|
|
4941
4911
|
DeviceCertificateSignature: DeviceCertificateSignature;
|
|
4942
4912
|
DeviceCertificateSign: DeviceCertificateSign;
|
|
4943
|
-
|
|
4944
|
-
DeviceFirmwareUpdateRequest: DeviceFirmwareUpdateRequest;
|
|
4945
|
-
DeviceFirmwareUpdateRecord: DeviceFirmwareUpdateRecord;
|
|
4946
|
-
DeviceFirmwareUpdateRecordFields: DeviceFirmwareUpdateRecordFields;
|
|
4947
|
-
DeviceFirmwareUpdateStatusGet: DeviceFirmwareUpdateStatusGet;
|
|
4948
|
-
DeviceFirmwareUpdateStatus: DeviceFirmwareUpdateStatus;
|
|
4913
|
+
DeviceMiscUsbMscControl: DeviceMiscUsbMscControl;
|
|
4949
4914
|
DeviceFactoryInfoManufactureTime: DeviceFactoryInfoManufactureTime;
|
|
4950
4915
|
DeviceFactoryInfo: DeviceFactoryInfo;
|
|
4951
4916
|
DeviceFactoryInfoSet: DeviceFactoryInfoSet;
|
|
4952
4917
|
DeviceFactoryInfoGet: DeviceFactoryInfoGet;
|
|
4953
4918
|
DeviceFactoryPermanentLock: DeviceFactoryPermanentLock;
|
|
4954
4919
|
DeviceFactoryTest: DeviceFactoryTest;
|
|
4920
|
+
DeviceFirmwareTarget: DeviceFirmwareTarget;
|
|
4921
|
+
DeviceFirmwareUpdateRequest: DeviceFirmwareUpdateRequest;
|
|
4922
|
+
DeviceFirmwareUpdateRecord: DeviceFirmwareUpdateRecord;
|
|
4923
|
+
DeviceFirmwareUpdateRecordFields: DeviceFirmwareUpdateRecordFields;
|
|
4924
|
+
DeviceFirmwareUpdateStatusGet: DeviceFirmwareUpdateStatusGet;
|
|
4925
|
+
DeviceFirmwareUpdateStatus: DeviceFirmwareUpdateStatus;
|
|
4955
4926
|
DeviceFirmwareImageInfo: DeviceFirmwareImageInfo;
|
|
4956
4927
|
DeviceHardwareInfo: DeviceHardwareInfo;
|
|
4957
4928
|
DeviceMainMcuInfo: DeviceMainMcuInfo;
|
|
@@ -4966,9 +4937,6 @@ type MessageType = {
|
|
|
4966
4937
|
DeviceSessionAskPassphrase: DeviceSessionAskPassphrase;
|
|
4967
4938
|
DeviceStatus: DeviceStatus;
|
|
4968
4939
|
DeviceStatusGet: DeviceStatusGet;
|
|
4969
|
-
DevOnboardingSetupStatus: DevOnboardingSetupStatus;
|
|
4970
|
-
DevGetOnboardingStatus: DevGetOnboardingStatus;
|
|
4971
|
-
DevOnboardingStatus: DevOnboardingStatus;
|
|
4972
4940
|
FilesystemPermissionFix: FilesystemPermissionFix;
|
|
4973
4941
|
FilesystemPathInfo: FilesystemPathInfo;
|
|
4974
4942
|
FilesystemPathInfoQuery: FilesystemPathInfoQuery;
|
|
@@ -4981,7 +4949,17 @@ type MessageType = {
|
|
|
4981
4949
|
FilesystemDirMake: FilesystemDirMake;
|
|
4982
4950
|
FilesystemDirRemove: FilesystemDirRemove;
|
|
4983
4951
|
FilesystemFormat: FilesystemFormat;
|
|
4952
|
+
InternalMyAddressRequest: InternalMyAddressRequest;
|
|
4953
|
+
OnboardingSetupStatus: OnboardingSetupStatus;
|
|
4954
|
+
OnboardingStatusGet: OnboardingStatusGet;
|
|
4955
|
+
OnboardingStatus: OnboardingStatus;
|
|
4984
4956
|
PortfolioUpdate: PortfolioUpdate;
|
|
4957
|
+
ViewAmount: ViewAmount;
|
|
4958
|
+
ViewDetail: ViewDetail;
|
|
4959
|
+
ViewTip: ViewTip;
|
|
4960
|
+
ViewRawData: ViewRawData;
|
|
4961
|
+
ViewSignPage: ViewSignPage;
|
|
4962
|
+
ViewVerifyPage: ViewVerifyPage;
|
|
4985
4963
|
};
|
|
4986
4964
|
type MessageKey = keyof MessageType;
|
|
4987
4965
|
type MessageResponse<T extends MessageKey> = {
|
|
@@ -5712,19 +5690,12 @@ type messages_CoinPurchaseMemo = CoinPurchaseMemo;
|
|
|
5712
5690
|
type messages_PaymentRequestMemo = PaymentRequestMemo;
|
|
5713
5691
|
type messages_TxAckPaymentRequest = TxAckPaymentRequest;
|
|
5714
5692
|
type messages_EthereumSignTypedDataQR = EthereumSignTypedDataQR;
|
|
5715
|
-
type messages_InternalMyAddressRequest = InternalMyAddressRequest;
|
|
5716
|
-
type messages_StartSession = StartSession;
|
|
5717
5693
|
type messages_SetBusy = SetBusy;
|
|
5718
5694
|
type messages_GetFirmwareHash = GetFirmwareHash;
|
|
5719
5695
|
type messages_FirmwareHash = FirmwareHash;
|
|
5720
5696
|
type messages_GetNonce = GetNonce;
|
|
5721
5697
|
type messages_Nonce = Nonce;
|
|
5722
5698
|
type messages_WriteSEPrivateKey = WriteSEPrivateKey;
|
|
5723
|
-
type messages_WallpaperTarget = WallpaperTarget;
|
|
5724
|
-
declare const messages_WallpaperTarget: typeof WallpaperTarget;
|
|
5725
|
-
type messages_SetWallpaper = SetWallpaper;
|
|
5726
|
-
type messages_GetWallpaper = GetWallpaper;
|
|
5727
|
-
type messages_Wallpaper = Wallpaper;
|
|
5728
5699
|
type messages_UnlockPath = UnlockPath;
|
|
5729
5700
|
type messages_UnlockedPathRequest = UnlockedPathRequest;
|
|
5730
5701
|
type messages_MoneroNetworkType = MoneroNetworkType;
|
|
@@ -5734,16 +5705,6 @@ declare const messages_UiAnimationType: typeof UiAnimationType;
|
|
|
5734
5705
|
type messages_UiAnimationCommand = UiAnimationCommand;
|
|
5735
5706
|
declare const messages_UiAnimationCommand: typeof UiAnimationCommand;
|
|
5736
5707
|
type messages_UiAnimationRequest = UiAnimationRequest;
|
|
5737
|
-
type messages_ViewAmount = ViewAmount;
|
|
5738
|
-
type messages_ViewDetail = ViewDetail;
|
|
5739
|
-
type messages_ViewTipType = ViewTipType;
|
|
5740
|
-
declare const messages_ViewTipType: typeof ViewTipType;
|
|
5741
|
-
type messages_ViewTip = ViewTip;
|
|
5742
|
-
type messages_ViewRawData = ViewRawData;
|
|
5743
|
-
type messages_ViewSignLayout = ViewSignLayout;
|
|
5744
|
-
declare const messages_ViewSignLayout: typeof ViewSignLayout;
|
|
5745
|
-
type messages_ViewSignPage = ViewSignPage;
|
|
5746
|
-
type messages_ViewVerifyPage = ViewVerifyPage;
|
|
5747
5708
|
type messages_ProtocolInfoRequest = ProtocolInfoRequest;
|
|
5748
5709
|
type messages_ProtocolInfo = ProtocolInfo;
|
|
5749
5710
|
type messages_DeviceErrorCode = DeviceErrorCode;
|
|
@@ -5762,6 +5723,15 @@ type messages_DeviceCertificateWrite = DeviceCertificateWrite;
|
|
|
5762
5723
|
type messages_DeviceCertificateRead = DeviceCertificateRead;
|
|
5763
5724
|
type messages_DeviceCertificateSignature = DeviceCertificateSignature;
|
|
5764
5725
|
type messages_DeviceCertificateSign = DeviceCertificateSign;
|
|
5726
|
+
type messages_DeviceMiscUsbMscControl = DeviceMiscUsbMscControl;
|
|
5727
|
+
type messages_DeviceFactoryAck = DeviceFactoryAck;
|
|
5728
|
+
declare const messages_DeviceFactoryAck: typeof DeviceFactoryAck;
|
|
5729
|
+
type messages_DeviceFactoryInfoManufactureTime = DeviceFactoryInfoManufactureTime;
|
|
5730
|
+
type messages_DeviceFactoryInfo = DeviceFactoryInfo;
|
|
5731
|
+
type messages_DeviceFactoryInfoSet = DeviceFactoryInfoSet;
|
|
5732
|
+
type messages_DeviceFactoryInfoGet = DeviceFactoryInfoGet;
|
|
5733
|
+
type messages_DeviceFactoryPermanentLock = DeviceFactoryPermanentLock;
|
|
5734
|
+
type messages_DeviceFactoryTest = DeviceFactoryTest;
|
|
5765
5735
|
type messages_DeviceFirmwareTargetType = DeviceFirmwareTargetType;
|
|
5766
5736
|
declare const messages_DeviceFirmwareTargetType: typeof DeviceFirmwareTargetType;
|
|
5767
5737
|
type messages_DeviceFirmwareUpdateTaskStatus = DeviceFirmwareUpdateTaskStatus;
|
|
@@ -5772,14 +5742,6 @@ type messages_DeviceFirmwareUpdateRecord = DeviceFirmwareUpdateRecord;
|
|
|
5772
5742
|
type messages_DeviceFirmwareUpdateRecordFields = DeviceFirmwareUpdateRecordFields;
|
|
5773
5743
|
type messages_DeviceFirmwareUpdateStatusGet = DeviceFirmwareUpdateStatusGet;
|
|
5774
5744
|
type messages_DeviceFirmwareUpdateStatus = DeviceFirmwareUpdateStatus;
|
|
5775
|
-
type messages_DeviceFactoryAck = DeviceFactoryAck;
|
|
5776
|
-
declare const messages_DeviceFactoryAck: typeof DeviceFactoryAck;
|
|
5777
|
-
type messages_DeviceFactoryInfoManufactureTime = DeviceFactoryInfoManufactureTime;
|
|
5778
|
-
type messages_DeviceFactoryInfo = DeviceFactoryInfo;
|
|
5779
|
-
type messages_DeviceFactoryInfoSet = DeviceFactoryInfoSet;
|
|
5780
|
-
type messages_DeviceFactoryInfoGet = DeviceFactoryInfoGet;
|
|
5781
|
-
type messages_DeviceFactoryPermanentLock = DeviceFactoryPermanentLock;
|
|
5782
|
-
type messages_DeviceFactoryTest = DeviceFactoryTest;
|
|
5783
5745
|
type messages_DeviceType = DeviceType;
|
|
5784
5746
|
declare const messages_DeviceType: typeof DeviceType;
|
|
5785
5747
|
type messages_DeviceSeType = DeviceSeType;
|
|
@@ -5807,17 +5769,6 @@ type messages_DeviceSessionAskPin_FailureSubCodes = DeviceSessionAskPin_FailureS
|
|
|
5807
5769
|
declare const messages_DeviceSessionAskPin_FailureSubCodes: typeof DeviceSessionAskPin_FailureSubCodes;
|
|
5808
5770
|
type messages_DeviceStatus = DeviceStatus;
|
|
5809
5771
|
type messages_DeviceStatusGet = DeviceStatusGet;
|
|
5810
|
-
type messages_DevOnboardingStep = DevOnboardingStep;
|
|
5811
|
-
declare const messages_DevOnboardingStep: typeof DevOnboardingStep;
|
|
5812
|
-
type messages_DevOnboardingPhase = DevOnboardingPhase;
|
|
5813
|
-
declare const messages_DevOnboardingPhase: typeof DevOnboardingPhase;
|
|
5814
|
-
type messages_DevOnboardingSetupKind = DevOnboardingSetupKind;
|
|
5815
|
-
declare const messages_DevOnboardingSetupKind: typeof DevOnboardingSetupKind;
|
|
5816
|
-
type messages_DevOnboardingSetupMethod = DevOnboardingSetupMethod;
|
|
5817
|
-
declare const messages_DevOnboardingSetupMethod: typeof DevOnboardingSetupMethod;
|
|
5818
|
-
type messages_DevOnboardingSetupStatus = DevOnboardingSetupStatus;
|
|
5819
|
-
type messages_DevGetOnboardingStatus = DevGetOnboardingStatus;
|
|
5820
|
-
type messages_DevOnboardingStatus = DevOnboardingStatus;
|
|
5821
5772
|
type messages_FilesystemPermissionFix = FilesystemPermissionFix;
|
|
5822
5773
|
type messages_FilesystemPathInfo = FilesystemPathInfo;
|
|
5823
5774
|
type messages_FilesystemPathInfoQuery = FilesystemPathInfoQuery;
|
|
@@ -5830,7 +5781,29 @@ type messages_FilesystemDirList = FilesystemDirList;
|
|
|
5830
5781
|
type messages_FilesystemDirMake = FilesystemDirMake;
|
|
5831
5782
|
type messages_FilesystemDirRemove = FilesystemDirRemove;
|
|
5832
5783
|
type messages_FilesystemFormat = FilesystemFormat;
|
|
5784
|
+
type messages_InternalMyAddressRequest = InternalMyAddressRequest;
|
|
5785
|
+
type messages_OnboardingStep = OnboardingStep;
|
|
5786
|
+
declare const messages_OnboardingStep: typeof OnboardingStep;
|
|
5787
|
+
type messages_OnboardingPhase = OnboardingPhase;
|
|
5788
|
+
declare const messages_OnboardingPhase: typeof OnboardingPhase;
|
|
5789
|
+
type messages_OnboardingSetupKind = OnboardingSetupKind;
|
|
5790
|
+
declare const messages_OnboardingSetupKind: typeof OnboardingSetupKind;
|
|
5791
|
+
type messages_OnboardingSetupMethod = OnboardingSetupMethod;
|
|
5792
|
+
declare const messages_OnboardingSetupMethod: typeof OnboardingSetupMethod;
|
|
5793
|
+
type messages_OnboardingSetupStatus = OnboardingSetupStatus;
|
|
5794
|
+
type messages_OnboardingStatusGet = OnboardingStatusGet;
|
|
5795
|
+
type messages_OnboardingStatus = OnboardingStatus;
|
|
5833
5796
|
type messages_PortfolioUpdate = PortfolioUpdate;
|
|
5797
|
+
type messages_ViewAmount = ViewAmount;
|
|
5798
|
+
type messages_ViewDetail = ViewDetail;
|
|
5799
|
+
type messages_ViewTipType = ViewTipType;
|
|
5800
|
+
declare const messages_ViewTipType: typeof ViewTipType;
|
|
5801
|
+
type messages_ViewTip = ViewTip;
|
|
5802
|
+
type messages_ViewRawData = ViewRawData;
|
|
5803
|
+
type messages_ViewSignLayout = ViewSignLayout;
|
|
5804
|
+
declare const messages_ViewSignLayout: typeof ViewSignLayout;
|
|
5805
|
+
type messages_ViewSignPage = ViewSignPage;
|
|
5806
|
+
type messages_ViewVerifyPage = ViewVerifyPage;
|
|
5834
5807
|
type messages_ProtocolV2FailureType = ProtocolV2FailureType;
|
|
5835
5808
|
declare const messages_ProtocolV2FailureType: typeof ProtocolV2FailureType;
|
|
5836
5809
|
type messages_Enum_ProtocolV2Capability = Enum_ProtocolV2Capability;
|
|
@@ -6496,32 +6469,18 @@ declare namespace messages {
|
|
|
6496
6469
|
messages_PaymentRequestMemo as PaymentRequestMemo,
|
|
6497
6470
|
messages_TxAckPaymentRequest as TxAckPaymentRequest,
|
|
6498
6471
|
messages_EthereumSignTypedDataQR as EthereumSignTypedDataQR,
|
|
6499
|
-
messages_InternalMyAddressRequest as InternalMyAddressRequest,
|
|
6500
|
-
messages_StartSession as StartSession,
|
|
6501
6472
|
messages_SetBusy as SetBusy,
|
|
6502
6473
|
messages_GetFirmwareHash as GetFirmwareHash,
|
|
6503
6474
|
messages_FirmwareHash as FirmwareHash,
|
|
6504
6475
|
messages_GetNonce as GetNonce,
|
|
6505
6476
|
messages_Nonce as Nonce,
|
|
6506
6477
|
messages_WriteSEPrivateKey as WriteSEPrivateKey,
|
|
6507
|
-
messages_WallpaperTarget as WallpaperTarget,
|
|
6508
|
-
messages_SetWallpaper as SetWallpaper,
|
|
6509
|
-
messages_GetWallpaper as GetWallpaper,
|
|
6510
|
-
messages_Wallpaper as Wallpaper,
|
|
6511
6478
|
messages_UnlockPath as UnlockPath,
|
|
6512
6479
|
messages_UnlockedPathRequest as UnlockedPathRequest,
|
|
6513
6480
|
messages_MoneroNetworkType as MoneroNetworkType,
|
|
6514
6481
|
messages_UiAnimationType as UiAnimationType,
|
|
6515
6482
|
messages_UiAnimationCommand as UiAnimationCommand,
|
|
6516
6483
|
messages_UiAnimationRequest as UiAnimationRequest,
|
|
6517
|
-
messages_ViewAmount as ViewAmount,
|
|
6518
|
-
messages_ViewDetail as ViewDetail,
|
|
6519
|
-
messages_ViewTipType as ViewTipType,
|
|
6520
|
-
messages_ViewTip as ViewTip,
|
|
6521
|
-
messages_ViewRawData as ViewRawData,
|
|
6522
|
-
messages_ViewSignLayout as ViewSignLayout,
|
|
6523
|
-
messages_ViewSignPage as ViewSignPage,
|
|
6524
|
-
messages_ViewVerifyPage as ViewVerifyPage,
|
|
6525
6484
|
messages_ProtocolInfoRequest as ProtocolInfoRequest,
|
|
6526
6485
|
messages_ProtocolInfo as ProtocolInfo,
|
|
6527
6486
|
messages_DeviceErrorCode as DeviceErrorCode,
|
|
@@ -6537,6 +6496,14 @@ declare namespace messages {
|
|
|
6537
6496
|
messages_DeviceCertificateRead as DeviceCertificateRead,
|
|
6538
6497
|
messages_DeviceCertificateSignature as DeviceCertificateSignature,
|
|
6539
6498
|
messages_DeviceCertificateSign as DeviceCertificateSign,
|
|
6499
|
+
messages_DeviceMiscUsbMscControl as DeviceMiscUsbMscControl,
|
|
6500
|
+
messages_DeviceFactoryAck as DeviceFactoryAck,
|
|
6501
|
+
messages_DeviceFactoryInfoManufactureTime as DeviceFactoryInfoManufactureTime,
|
|
6502
|
+
messages_DeviceFactoryInfo as DeviceFactoryInfo,
|
|
6503
|
+
messages_DeviceFactoryInfoSet as DeviceFactoryInfoSet,
|
|
6504
|
+
messages_DeviceFactoryInfoGet as DeviceFactoryInfoGet,
|
|
6505
|
+
messages_DeviceFactoryPermanentLock as DeviceFactoryPermanentLock,
|
|
6506
|
+
messages_DeviceFactoryTest as DeviceFactoryTest,
|
|
6540
6507
|
messages_DeviceFirmwareTargetType as DeviceFirmwareTargetType,
|
|
6541
6508
|
messages_DeviceFirmwareUpdateTaskStatus as DeviceFirmwareUpdateTaskStatus,
|
|
6542
6509
|
messages_DeviceFirmwareTarget as DeviceFirmwareTarget,
|
|
@@ -6545,13 +6512,6 @@ declare namespace messages {
|
|
|
6545
6512
|
messages_DeviceFirmwareUpdateRecordFields as DeviceFirmwareUpdateRecordFields,
|
|
6546
6513
|
messages_DeviceFirmwareUpdateStatusGet as DeviceFirmwareUpdateStatusGet,
|
|
6547
6514
|
messages_DeviceFirmwareUpdateStatus as DeviceFirmwareUpdateStatus,
|
|
6548
|
-
messages_DeviceFactoryAck as DeviceFactoryAck,
|
|
6549
|
-
messages_DeviceFactoryInfoManufactureTime as DeviceFactoryInfoManufactureTime,
|
|
6550
|
-
messages_DeviceFactoryInfo as DeviceFactoryInfo,
|
|
6551
|
-
messages_DeviceFactoryInfoSet as DeviceFactoryInfoSet,
|
|
6552
|
-
messages_DeviceFactoryInfoGet as DeviceFactoryInfoGet,
|
|
6553
|
-
messages_DeviceFactoryPermanentLock as DeviceFactoryPermanentLock,
|
|
6554
|
-
messages_DeviceFactoryTest as DeviceFactoryTest,
|
|
6555
6515
|
messages_DeviceType as DeviceType,
|
|
6556
6516
|
messages_DeviceSeType as DeviceSeType,
|
|
6557
6517
|
messages_DeviceSEState as DeviceSEState,
|
|
@@ -6573,13 +6533,6 @@ declare namespace messages {
|
|
|
6573
6533
|
messages_DeviceSessionAskPin_FailureSubCodes as DeviceSessionAskPin_FailureSubCodes,
|
|
6574
6534
|
messages_DeviceStatus as DeviceStatus,
|
|
6575
6535
|
messages_DeviceStatusGet as DeviceStatusGet,
|
|
6576
|
-
messages_DevOnboardingStep as DevOnboardingStep,
|
|
6577
|
-
messages_DevOnboardingPhase as DevOnboardingPhase,
|
|
6578
|
-
messages_DevOnboardingSetupKind as DevOnboardingSetupKind,
|
|
6579
|
-
messages_DevOnboardingSetupMethod as DevOnboardingSetupMethod,
|
|
6580
|
-
messages_DevOnboardingSetupStatus as DevOnboardingSetupStatus,
|
|
6581
|
-
messages_DevGetOnboardingStatus as DevGetOnboardingStatus,
|
|
6582
|
-
messages_DevOnboardingStatus as DevOnboardingStatus,
|
|
6583
6536
|
messages_FilesystemPermissionFix as FilesystemPermissionFix,
|
|
6584
6537
|
messages_FilesystemPathInfo as FilesystemPathInfo,
|
|
6585
6538
|
messages_FilesystemPathInfoQuery as FilesystemPathInfoQuery,
|
|
@@ -6592,7 +6545,23 @@ declare namespace messages {
|
|
|
6592
6545
|
messages_FilesystemDirMake as FilesystemDirMake,
|
|
6593
6546
|
messages_FilesystemDirRemove as FilesystemDirRemove,
|
|
6594
6547
|
messages_FilesystemFormat as FilesystemFormat,
|
|
6548
|
+
messages_InternalMyAddressRequest as InternalMyAddressRequest,
|
|
6549
|
+
messages_OnboardingStep as OnboardingStep,
|
|
6550
|
+
messages_OnboardingPhase as OnboardingPhase,
|
|
6551
|
+
messages_OnboardingSetupKind as OnboardingSetupKind,
|
|
6552
|
+
messages_OnboardingSetupMethod as OnboardingSetupMethod,
|
|
6553
|
+
messages_OnboardingSetupStatus as OnboardingSetupStatus,
|
|
6554
|
+
messages_OnboardingStatusGet as OnboardingStatusGet,
|
|
6555
|
+
messages_OnboardingStatus as OnboardingStatus,
|
|
6595
6556
|
messages_PortfolioUpdate as PortfolioUpdate,
|
|
6557
|
+
messages_ViewAmount as ViewAmount,
|
|
6558
|
+
messages_ViewDetail as ViewDetail,
|
|
6559
|
+
messages_ViewTipType as ViewTipType,
|
|
6560
|
+
messages_ViewTip as ViewTip,
|
|
6561
|
+
messages_ViewRawData as ViewRawData,
|
|
6562
|
+
messages_ViewSignLayout as ViewSignLayout,
|
|
6563
|
+
messages_ViewSignPage as ViewSignPage,
|
|
6564
|
+
messages_ViewVerifyPage as ViewVerifyPage,
|
|
6596
6565
|
messages_ProtocolV2FailureType as ProtocolV2FailureType,
|
|
6597
6566
|
messages_Enum_ProtocolV2Capability as Enum_ProtocolV2Capability,
|
|
6598
6567
|
messages_ProtocolV2Capability as ProtocolV2Capability,
|
|
@@ -6760,6 +6729,14 @@ declare namespace check {
|
|
|
6760
6729
|
|
|
6761
6730
|
declare const LogBlockCommand: Set<string>;
|
|
6762
6731
|
|
|
6732
|
+
declare function getSafeTransportLogPayload(value: unknown, messageName?: string): unknown;
|
|
6733
|
+
declare function createTransportCallLog(name: string, protocol: ProtocolType, data: Record<string, unknown>): {
|
|
6734
|
+
name: string;
|
|
6735
|
+
protocol: ProtocolType;
|
|
6736
|
+
request: unknown;
|
|
6737
|
+
};
|
|
6738
|
+
declare function shouldSuppressHighVolumeCallLog(name: string): boolean;
|
|
6739
|
+
|
|
6763
6740
|
/** Protocol V1 USB report marker, ASCII `?`. */
|
|
6764
6741
|
declare const PROTOCOL_V1_REPORT_ID = 63;
|
|
6765
6742
|
/** Protocol V1 envelope marker, ASCII `#`. */
|
|
@@ -6880,4 +6857,4 @@ declare const _default: {
|
|
|
6880
6857
|
withProtocolTimeout: typeof withProtocolTimeout;
|
|
6881
6858
|
};
|
|
6882
6859
|
|
|
6883
|
-
export { AcquireInput, Address, AlephiumAddress, AlephiumBytecodeAck, AlephiumBytecodeRequest, AlephiumGetAddress, AlephiumMessageSignature, AlephiumSignMessage, AlephiumSignTx, AlephiumSignedTx, AlephiumTxAck, AlephiumTxRequest, AlgorandAddress, AlgorandGetAddress, AlgorandSignTx, AlgorandSignedTx, AmountUnit, ApplyFlags, ApplySettings, AptosAddress, AptosGetAddress, AptosMessagePayload, AptosMessageSignature, AptosSignMessage, AptosSignSIWAMessage, AptosSignTx, AptosSignedTx, AptosTransactionType, AuthorizeCoinJoin, BIP32Address, BackupDevice, BackupType, BatchGetPublickeys, BenfenAddress, BenfenGetAddress, BenfenMessageSignature, BenfenSignMessage, BenfenSignTx, BenfenSignedTx, BenfenTxAck, BenfenTxRequest, BinanceAddress, BinanceCancelMsg, BinanceCoin, BinanceGetAddress, BinanceGetPublicKey, BinanceInputOutput, BinanceOrderMsg, BinanceOrderSide, BinanceOrderType, BinancePublicKey, BinanceSignTx, BinanceSignedTx, BinanceTimeInForce, BinanceTransferMsg, BinanceTxRequest, BixinBackupAck, BixinBackupDevice, BixinBackupDeviceAck, BixinBackupRequest, BixinLoadDevice, BixinMessageSE, BixinOutMessageSE, BixinPinInputOnDevice, BixinRestoreAck, BixinRestoreRequest, BixinSeedOperate, BixinVerifyDeviceAck, BixinVerifyDeviceRequest, BixinWhiteListAck, BixinWhiteListRequest, BlurRequest, ButtonAck, ButtonRequest, ButtonRequestType, Cancel, CancelAuthorization, Capability, CardanoAddress, CardanoAddressParametersType, CardanoAddressType, CardanoAssetGroup, CardanoBlockchainPointerType, CardanoCVoteRegistrationDelegation, CardanoCVoteRegistrationFormat, CardanoCVoteRegistrationParametersType, CardanoCertificateType, CardanoDRep, CardanoDRepType, CardanoDerivationType, CardanoGetAddress, CardanoGetNativeScriptHash, CardanoGetPublicKey, CardanoMessageSignature, CardanoNativeScript, CardanoNativeScriptHash, CardanoNativeScriptHashDisplayFormat, CardanoNativeScriptType, CardanoPoolMetadataType, CardanoPoolOwner, CardanoPoolParametersType, CardanoPoolRelayParameters, CardanoPoolRelayType, CardanoPublicKey, CardanoSignMessage, CardanoSignTxFinished, CardanoSignTxInit, CardanoToken, CardanoTxAuxiliaryData, CardanoTxAuxiliaryDataSupplement, CardanoTxAuxiliaryDataSupplementType, CardanoTxBodyHash, CardanoTxCertificate, CardanoTxCollateralInput, CardanoTxHostAck, CardanoTxInlineDatumChunk, CardanoTxInput, CardanoTxItemAck, CardanoTxMint, CardanoTxOutput, CardanoTxOutputSerializationFormat, CardanoTxReferenceInput, CardanoTxReferenceScriptChunk, CardanoTxRequiredSigner, CardanoTxSigningMode, CardanoTxWithdrawal, CardanoTxWitnessRequest, CardanoTxWitnessResponse, CardanoTxWitnessType, ChangeOutputScriptType, ChangePin, ChangeWipeCode, CipherKeyValue, CipheredKeyValue, CoinJoinRequest, CoinPurchaseMemo, CommandFlags, ConfluxAddress, ConfluxGetAddress, ConfluxMessageSignature, ConfluxSignMessage, ConfluxSignMessageCIP23, ConfluxSignTx, ConfluxTxAck, ConfluxTxRequest, CosmosAddress, CosmosGetAddress, CosmosSignTx, CosmosSignedTx, DecredStakingSpendType, Deprecated_PassphraseStateAck, Deprecated_PassphraseStateRequest, DevGetOnboardingStatus, DevOnboardingPhase, DevOnboardingSetupKind, DevOnboardingSetupMethod, DevOnboardingSetupStatus, DevOnboardingStatus, DevOnboardingStep, DeviceBackToBoot, DeviceCertificate, DeviceCertificateRead, DeviceCertificateSign, DeviceCertificateSignature, DeviceCertificateWrite, DeviceCoprocessorInfo, DeviceEraseSector, DeviceErrorCode, DeviceFactoryAck, DeviceFactoryInfo, DeviceFactoryInfoGet, DeviceFactoryInfoManufactureTime, DeviceFactoryInfoSet, DeviceFactoryPermanentLock, DeviceFactoryTest, DeviceFirmwareImageInfo, DeviceFirmwareTarget, DeviceFirmwareTargetType, DeviceFirmwareUpdateRecord, DeviceFirmwareUpdateRecordFields, DeviceFirmwareUpdateRequest, DeviceFirmwareUpdateStatus, DeviceFirmwareUpdateStatusGet, DeviceFirmwareUpdateTaskStatus, DeviceHardwareInfo, DeviceInfo, DeviceInfoGet, DeviceInfoSettings, DeviceInfoTargets, DeviceInfoTypes, DeviceMainMcuInfo, DeviceReboot, DeviceRebootType, DeviceSEInfo, DeviceSEState, DeviceSeType, DeviceSession, DeviceSessionAskPassphrase, DeviceSessionAskPin, DeviceSessionAskPin_FailureSubCodes, DeviceSessionErrorCode, DeviceSessionGet, DeviceSessionPinType, DeviceSettings, DeviceSettingsGet, DeviceSettingsPage, DeviceSettingsPageShow, DeviceSettingsSet, DeviceStatus, DeviceStatusGet, DeviceType, DnxAddress, DnxComputedKeyImage, DnxGetAddress, DnxInputAck, DnxInputRequest, DnxRTSigsRequest, DnxSignTx, DnxSignedTx, DnxTxKey, DoPreauthorized, ECDHSessionKey, EcdsaPublicKeys, EmmcDir, EmmcDirList, EmmcDirMake, EmmcDirRemove, EmmcFile, EmmcFileDelete, EmmcFileRead, EmmcFileWrite, EmmcFixPermission, EmmcPath, EmmcPathInfo, EndSession, Entropy, EntropyAck, EntropyRequest, Enum_BackupType, Enum_ButtonRequestType, Enum_Capability, Enum_InputScriptType, Enum_KaspaInputScriptType, Enum_KaspaOutputScriptType, Enum_KaspaRequestType, Enum_OutputScriptType, Enum_PinMatrixRequestType, Enum_ProtocolV2Capability, Enum_RequestType, Enum_SafetyCheckLevel, Enum_WordRequestType, EosActionBuyRam, EosActionBuyRamBytes, EosActionCommon, EosActionDelegate, EosActionDeleteAuth, EosActionLinkAuth, EosActionNewAccount, EosActionRefund, EosActionSellRam, EosActionTransfer, EosActionUndelegate, EosActionUnknown, EosActionUnlinkAuth, EosActionUpdateAuth, EosActionVoteProducer, EosAsset, EosAuthorization, EosAuthorizationAccount, EosAuthorizationKey, EosAuthorizationWait, EosGetPublicKey, EosPermissionLevel, EosPublicKey, EosSignTx, EosSignedTx, EosTxActionAck, EosTxActionRequest, EosTxHeader, EthereumAccessList, EthereumAccessListOneKey, EthereumAddress, EthereumAddressOneKey, EthereumAuthorizationOneKey, EthereumAuthorizationSignature, EthereumDataType, EthereumDataTypeOneKey, EthereumDefinitionType, EthereumDefinitions, EthereumFieldType, EthereumFieldTypeOneKey, EthereumGetAddress, EthereumGetAddressOneKey, EthereumGetPublicKey, EthereumGetPublicKeyOneKey, EthereumGnosisSafeTxAck, EthereumGnosisSafeTxOperation, EthereumGnosisSafeTxRequest, EthereumMessageSignature, EthereumMessageSignatureOneKey, EthereumNetworkInfo, EthereumPublicKey, EthereumPublicKeyOneKey, EthereumSignMessage, EthereumSignMessageEIP712, EthereumSignMessageOneKey, EthereumSignTx, EthereumSignTxEIP1559, EthereumSignTxEIP1559OneKey, EthereumSignTxEIP7702OneKey, EthereumSignTxOneKey, EthereumSignTypedData, EthereumSignTypedDataOneKey, EthereumSignTypedDataQR, EthereumSignTypedHash, EthereumSignTypedHashOneKey, EthereumStructMember, EthereumStructMemberOneKey, EthereumTokenInfo, EthereumTxAck, EthereumTxAckOneKey, EthereumTxRequest, EthereumTxRequestOneKey, EthereumTypedDataSignature, EthereumTypedDataSignatureOneKey, EthereumTypedDataStructAck, EthereumTypedDataStructAckOneKey, EthereumTypedDataStructRequest, EthereumTypedDataStructRequestOneKey, EthereumTypedDataValueAck, EthereumTypedDataValueAckOneKey, EthereumTypedDataValueRequest, EthereumTypedDataValueRequestOneKey, EthereumVerifyMessage, EthereumVerifyMessageOneKey, ExportType, Failure, FailureType, Features, FileInfo, FileInfoList, FilecoinAddress, FilecoinGetAddress, FilecoinSignTx, FilecoinSignedTx, FilesystemDir, FilesystemDirList, FilesystemDirMake, FilesystemDirRemove, FilesystemFile, FilesystemFileDelete, FilesystemFileRead, FilesystemFileWrite, FilesystemFormat, FilesystemPathInfo, FilesystemPathInfoQuery, FilesystemPermissionFix, FirmwareErase, FirmwareErase_ex, FirmwareHash, FirmwareRequest, FirmwareUpdateEmmc, FirmwareUpload, GetAddress, GetDeviceInfo, GetECDHSessionKey, GetEntropy, GetFeatures, GetFirmwareHash, GetNextU2FCounter, GetNonce, GetOwnershipId, GetOwnershipProof, GetPassphraseState, GetPublicKey, GetPublicKeyMultiple, GetWallpaper, HDNodePathType, HDNodeType, IdentityType, Initialize, InputScriptType, InternalInputScriptType, InternalMyAddressRequest, KaspaAddress, KaspaGetAddress, KaspaInputScriptType, KaspaOutpoint, KaspaOutputScriptType, KaspaRequestType, KaspaSignTx, KaspaSignedTx, KaspaTxAckInput, KaspaTxAckOutput, KaspaTxAckPayloadChunk, KaspaTxAckPrevInput, KaspaTxAckPrevMeta, KaspaTxAckPrevOutput, KaspaTxInputAck, KaspaTxInputRequest, KaspaTxRequest, KaspaTxRequestSignature, ListResDir, LnurlAuth, LnurlAuthResp, LockDevice, LogBlockCommand, LowLevelDevice, LowlevelTransportSharedPlugin, MessageFromOneKey, MessageKey, MessageResponse, MessageResponseMap, MessageSignature, MessageType, messages as Messages, MoneroAccountPublicAddress, MoneroAddress, MoneroExportedKeyImage, MoneroGetAddress, MoneroGetTxKeyAck, MoneroGetTxKeyRequest, MoneroGetWatchKey, MoneroKeyImageExportInitAck, MoneroKeyImageExportInitRequest, MoneroKeyImageSyncFinalAck, MoneroKeyImageSyncFinalRequest, MoneroKeyImageSyncStepAck, MoneroKeyImageSyncStepRequest, MoneroLiveRefreshFinalAck, MoneroLiveRefreshFinalRequest, MoneroLiveRefreshStartAck, MoneroLiveRefreshStartRequest, MoneroLiveRefreshStepAck, MoneroLiveRefreshStepRequest, MoneroMultisigKLRki, MoneroNetworkType, MoneroOutputEntry, MoneroRctKeyPublic, MoneroRingCtSig, MoneroSubAddressIndicesList, MoneroTransactionAllInputsSetAck, MoneroTransactionAllInputsSetRequest, MoneroTransactionAllOutSetAck, MoneroTransactionAllOutSetRequest, MoneroTransactionData, MoneroTransactionDestinationEntry, MoneroTransactionFinalAck, MoneroTransactionFinalRequest, MoneroTransactionInitAck, MoneroTransactionInitRequest, MoneroTransactionInputViniAck, MoneroTransactionInputViniRequest, MoneroTransactionInputsPermutationAck, MoneroTransactionInputsPermutationRequest, MoneroTransactionRsigData, MoneroTransactionSetInputAck, MoneroTransactionSetInputRequest, MoneroTransactionSetOutputAck, MoneroTransactionSetOutputRequest, MoneroTransactionSignInputAck, MoneroTransactionSignInputRequest, MoneroTransactionSourceEntry, MoneroTransferDetails, MoneroWatchKey, MultisigRedeemScriptType, NEMAddress, NEMAggregateModification, NEMCosignatoryModification, NEMDecryptMessage, NEMDecryptedMessage, NEMGetAddress, NEMImportanceTransfer, NEMImportanceTransferMode, NEMModificationType, NEMMosaic, NEMMosaicCreation, NEMMosaicDefinition, NEMMosaicLevy, NEMMosaicSupplyChange, NEMProvisionNamespace, NEMSignTx, NEMSignedTx, NEMSupplyChangeType, NEMTransactionCommon, NEMTransfer, NFTWriteData, NFTWriteInfo, NearAddress, NearGetAddress, NearSignTx, NearSignedTx, NeoAddress, NeoGetAddress, NeoSignTx, NeoSignedTx, NervosAddress, NervosGetAddress, NervosSignTx, NervosSignedTx, NervosTxAck, NervosTxRequest, NexaAddress, NexaGetAddress, NexaSignTx, NexaSignedTx, NexaTxInputAck, NexaTxInputRequest, NextU2FCounter, Nonce, NostrDecryptMessage, NostrDecryptedMessage, NostrEncryptMessage, NostrEncryptedMessage, NostrGetPublicKey, NostrPublicKey, NostrSignEvent, NostrSignSchnorr, NostrSignedEvent, NostrSignedSchnorr, OneKeyDeviceCommType, OneKeyDeviceInfo, OneKeyDeviceInfoBase, OneKeyDeviceInfoWithSession, OneKeyDeviceType, OneKeyMobileDeviceInfo, OneKeySEState, OneKeySeType, OnekeyFeatures, OnekeyGetFeatures, OutputScriptType, OwnershipId, OwnershipProof, PROTOCOL_V1_CHUNK_PAYLOAD_SIZE, PROTOCOL_V1_ENVELOPE_HEADER_SIZE, PROTOCOL_V1_HEADER_BYTE, PROTOCOL_V1_MESSAGE_HEADER_SIZE, PROTOCOL_V1_REPORT_ID, PROTOCOL_V1_USB_PACKET_SIZE, PROTOCOL_V2_BLE_FILE_CHUNK_SIZE, PROTOCOL_V2_BLE_FILE_READ_CHUNK_SIZE, PROTOCOL_V2_BLE_FRAME_MAX_BYTES, PROTOCOL_V2_CHANNEL_BLE_UART, PROTOCOL_V2_CHANNEL_SOCKET, PROTOCOL_V2_CHANNEL_USB, PROTOCOL_V2_DEFAULT_RESPONSE_TIMEOUT_MS, 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, PortfolioUpdate, PreauthorizedRequest, PrevInput, PrevOutput, PrevTx, ProtocolInfo, ProtocolInfoRequest, ProtocolType, ProtocolV1, ProtocolV2, ProtocolV2BleFrameWriterOptions, ProtocolV2CallContext, ProtocolV2CallOptions, ProtocolV2Capability, ProtocolV2DeviceInfo, ProtocolV2FailureType, ProtocolV2FrameAssembler, ProtocolV2LinkAdapter, ProtocolV2LinkError, ProtocolV2LinkErrorClassification, ProtocolV2LinkErrorCode, ProtocolV2LinkManager, ProtocolV2LinkManagerOptions, ProtocolV2Schemas, ProtocolV2SequenceCursor, ProtocolV2Session, ProtocolV2SessionOptions, ProtocolV2UsbTransportBase, ProtocolV2UsbTransportBaseOptions, PublicKey, PublicKeyMultiple, ReadSEPublicCert, ReadSEPublicKey, Reboot, RebootToBoardloader, RebootToBootloader, RebootType, RecoveryDevice, RecoveryDeviceType, RefundMemo, RequestType, ResetDevice, ResourceAck, ResourceRequest, ResourceType, ResourceUpdate, ResourceUpload, RippleAddress, RippleGetAddress, RipplePayment, RippleSignTx, RippleSignedTx, SEMessageSignature, SEPublicCert, SEPublicKey, SESignMessage, SafetyCheckLevel, ScdoAddress, ScdoGetAddress, ScdoSignMessage, ScdoSignTx, ScdoSignedMessage, ScdoSignedTx, ScdoTxAck, SdProtect, SdProtectOperationType, SeedRequestType, SelfTest, SetBusy, SetU2FCounter, SetWallpaper, SignIdentity, SignMessage, SignPsbt, SignTx, SignedIdentity, SignedPsbt, SolanaAddress, SolanaGetAddress, SolanaMessageSignature, SolanaOffChainMessageFormat, SolanaOffChainMessageVersion, SolanaSignOffChainMessage, SolanaSignTx, SolanaSignUnsafeMessage, SolanaSignedTx, SolanaTxATADetails, SolanaTxExtraInfo, SpiFlashData, SpiFlashRead, SpiFlashWrite, StarcoinAddress, StarcoinGetAddress, StarcoinGetPublicKey, StarcoinMessageSignature, StarcoinPublicKey, StarcoinSignMessage, StarcoinSignTx, StarcoinSignedTx, StarcoinVerifyMessage, StartSession, StellarAccountMergeOp, StellarAddress, StellarAllowTrustOp, StellarAsset, StellarAssetType, StellarBumpSequenceOp, StellarChangeTrustOp, StellarCreateAccountOp, StellarCreatePassiveSellOfferOp, StellarGetAddress, StellarInvokeHostFunctionOp, StellarManageBuyOfferOp, StellarManageDataOp, StellarManageSellOfferOp, StellarMemoType, StellarPathPaymentStrictReceiveOp, StellarPathPaymentStrictSendOp, StellarPaymentOp, StellarRequestType, StellarSetOptionsOp, StellarSignTx, StellarSignedTx, StellarSignerType, StellarSorobanDataAck, StellarSorobanDataRequest, StellarTxOpRequest, Success, SuiAddress, SuiGetAddress, SuiMessageSignature, SuiSignMessage, SuiSignTx, SuiSignedTx, SuiTxAck, SuiTxRequest, TRANSPORT_EVENT, 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, TransportDeviceDisconnectEvent, 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, UiAnimationCommand, UiAnimationRequest, UiAnimationType, UintType, UnLockDevice, UnLockDeviceResponse, UnlockPath, UnlockedPathRequest, UpgradeFileHeader, VerifyMessage, ViewAmount, ViewDetail, ViewRawData, ViewSignLayout, ViewSignPage, ViewTip, ViewTipType, ViewVerifyPage, Vote, WL_OperationType, Wallpaper, WallpaperTarget, WipeDevice, WordAck, WordRequest, WordRequestType, WriteSEPrivateKey, WriteSEPublicCert, ZoomRequest, bytesToHex, concatUint8Arrays, _default as default, experimental_field, experimental_message, facotry, getErrorMessage, hexToBytes, isProtocolV2LinkError, probeProtocolV2, index as protocolV1, protocolV2Codec as protocolV2, withProtocolTimeout, writeProtocolV2BleFrame };
|
|
6860
|
+
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, DeviceErrorCode, DeviceFactoryAck, DeviceFactoryInfo, DeviceFactoryInfoGet, DeviceFactoryInfoManufactureTime, DeviceFactoryInfoSet, DeviceFactoryPermanentLock, DeviceFactoryTest, DeviceFirmwareImageInfo, DeviceFirmwareTarget, DeviceFirmwareTargetType, DeviceFirmwareUpdateRecord, DeviceFirmwareUpdateRecordFields, DeviceFirmwareUpdateRequest, DeviceFirmwareUpdateStatus, DeviceFirmwareUpdateStatusGet, DeviceFirmwareUpdateTaskStatus, DeviceHardwareInfo, DeviceInfo, DeviceInfoGet, DeviceInfoSettings, DeviceInfoTargets, DeviceInfoTypes, DeviceMainMcuInfo, DeviceMiscUsbMscControl, DeviceReboot, DeviceRebootType, DeviceSEInfo, DeviceSEState, DeviceSeType, DeviceSession, DeviceSessionAskPassphrase, DeviceSessionAskPin, DeviceSessionAskPin_FailureSubCodes, DeviceSessionErrorCode, DeviceSessionGet, DeviceSessionPinType, DeviceSettings, DeviceSettingsGet, DeviceSettingsPage, DeviceSettingsPageShow, DeviceSettingsSet, DeviceStatus, DeviceStatusGet, DeviceType, DnxAddress, DnxComputedKeyImage, DnxGetAddress, DnxInputAck, DnxInputRequest, DnxRTSigsRequest, DnxSignTx, DnxSignedTx, DnxTxKey, DoPreauthorized, ECDHSessionKey, EcdsaPublicKeys, EmmcDir, EmmcDirList, EmmcDirMake, EmmcDirRemove, EmmcFile, EmmcFileDelete, EmmcFileRead, EmmcFileWrite, EmmcFixPermission, EmmcPath, EmmcPathInfo, EndSession, Entropy, EntropyAck, EntropyRequest, Enum_BackupType, Enum_ButtonRequestType, Enum_Capability, Enum_InputScriptType, Enum_KaspaInputScriptType, Enum_KaspaOutputScriptType, Enum_KaspaRequestType, Enum_OutputScriptType, Enum_PinMatrixRequestType, Enum_ProtocolV2Capability, Enum_RequestType, Enum_SafetyCheckLevel, Enum_WordRequestType, EosActionBuyRam, EosActionBuyRamBytes, EosActionCommon, EosActionDelegate, EosActionDeleteAuth, EosActionLinkAuth, EosActionNewAccount, EosActionRefund, EosActionSellRam, EosActionTransfer, EosActionUndelegate, EosActionUnknown, EosActionUnlinkAuth, EosActionUpdateAuth, EosActionVoteProducer, EosAsset, EosAuthorization, EosAuthorizationAccount, EosAuthorizationKey, EosAuthorizationWait, EosGetPublicKey, EosPermissionLevel, EosPublicKey, EosSignTx, EosSignedTx, EosTxActionAck, EosTxActionRequest, EosTxHeader, EthereumAccessList, EthereumAccessListOneKey, EthereumAddress, EthereumAddressOneKey, EthereumAuthorizationOneKey, EthereumAuthorizationSignature, EthereumDataType, EthereumDataTypeOneKey, EthereumDefinitionType, EthereumDefinitions, EthereumFieldType, EthereumFieldTypeOneKey, EthereumGetAddress, EthereumGetAddressOneKey, EthereumGetPublicKey, EthereumGetPublicKeyOneKey, EthereumGnosisSafeTxAck, EthereumGnosisSafeTxOperation, EthereumGnosisSafeTxRequest, EthereumMessageSignature, EthereumMessageSignatureOneKey, EthereumNetworkInfo, EthereumPublicKey, EthereumPublicKeyOneKey, EthereumSignMessage, EthereumSignMessageEIP712, EthereumSignMessageOneKey, EthereumSignTx, EthereumSignTxEIP1559, EthereumSignTxEIP1559OneKey, EthereumSignTxEIP7702OneKey, EthereumSignTxOneKey, EthereumSignTypedData, EthereumSignTypedDataOneKey, EthereumSignTypedDataQR, EthereumSignTypedHash, EthereumSignTypedHashOneKey, EthereumStructMember, EthereumStructMemberOneKey, EthereumTokenInfo, EthereumTxAck, EthereumTxAckOneKey, EthereumTxRequest, EthereumTxRequestOneKey, EthereumTypedDataSignature, EthereumTypedDataSignatureOneKey, EthereumTypedDataStructAck, EthereumTypedDataStructAckOneKey, EthereumTypedDataStructRequest, EthereumTypedDataStructRequestOneKey, EthereumTypedDataValueAck, EthereumTypedDataValueAckOneKey, EthereumTypedDataValueRequest, EthereumTypedDataValueRequestOneKey, EthereumVerifyMessage, EthereumVerifyMessageOneKey, ExportType, Failure, FailureType, Features, FileInfo, FileInfoList, FilecoinAddress, FilecoinGetAddress, FilecoinSignTx, FilecoinSignedTx, FilesystemDir, FilesystemDirList, FilesystemDirMake, FilesystemDirRemove, FilesystemFile, FilesystemFileDelete, FilesystemFileRead, FilesystemFileWrite, FilesystemFormat, FilesystemPathInfo, FilesystemPathInfoQuery, FilesystemPermissionFix, FirmwareErase, FirmwareErase_ex, FirmwareHash, FirmwareRequest, FirmwareUpdateEmmc, FirmwareUpload, GetAddress, GetDeviceInfo, GetECDHSessionKey, GetEntropy, GetFeatures, GetFirmwareHash, GetNextU2FCounter, GetNonce, GetOwnershipId, GetOwnershipProof, GetPassphraseState, GetPublicKey, GetPublicKeyMultiple, HDNodePathType, HDNodeType, IdentityType, Initialize, InputScriptType, InternalInputScriptType, InternalMyAddressRequest, KaspaAddress, KaspaGetAddress, KaspaInputScriptType, KaspaOutpoint, KaspaOutputScriptType, KaspaRequestType, KaspaSignTx, KaspaSignedTx, KaspaTxAckInput, KaspaTxAckOutput, KaspaTxAckPayloadChunk, KaspaTxAckPrevInput, KaspaTxAckPrevMeta, KaspaTxAckPrevOutput, KaspaTxInputAck, KaspaTxInputRequest, KaspaTxRequest, KaspaTxRequestSignature, 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, OnboardingPhase, OnboardingSetupKind, OnboardingSetupMethod, OnboardingSetupStatus, OnboardingStatus, OnboardingStatusGet, 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_BLE_FILE_READ_CHUNK_SIZE, PROTOCOL_V2_BLE_FRAME_MAX_BYTES, PROTOCOL_V2_CHANNEL_BLE_UART, PROTOCOL_V2_CHANNEL_SOCKET, PROTOCOL_V2_CHANNEL_USB, PROTOCOL_V2_DEFAULT_RESPONSE_TIMEOUT_MS, 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, PortfolioUpdate, PreauthorizedRequest, PrevInput, PrevOutput, PrevTx, ProtocolInfo, ProtocolInfoRequest, ProtocolType, ProtocolV1, ProtocolV2, ProtocolV2BleFrameWriterOptions, ProtocolV2CallContext, ProtocolV2CallOptions, ProtocolV2Capability, ProtocolV2DeviceInfo, ProtocolV2FailureType, ProtocolV2FrameAssembler, ProtocolV2LinkAdapter, ProtocolV2LinkError, ProtocolV2LinkErrorClassification, ProtocolV2LinkErrorCode, ProtocolV2LinkManager, ProtocolV2LinkManagerOptions, ProtocolV2Schemas, ProtocolV2SequenceCursor, ProtocolV2Session, ProtocolV2SessionOptions, ProtocolV2UsbTransportBase, ProtocolV2UsbTransportBaseOptions, PublicKey, PublicKeyMultiple, ReadSEPublicCert, ReadSEPublicKey, Reboot, RebootToBoardloader, RebootToBootloader, RebootType, RecoveryDevice, RecoveryDeviceType, RefundMemo, RequestType, ResetDevice, ResourceAck, ResourceRequest, ResourceType, ResourceUpdate, ResourceUpload, RippleAddress, RippleGetAddress, RipplePayment, RippleSignTx, RippleSignedTx, SEMessageSignature, SEPublicCert, SEPublicKey, SESignMessage, SafetyCheckLevel, ScdoAddress, ScdoGetAddress, ScdoSignMessage, ScdoSignTx, ScdoSignedMessage, ScdoSignedTx, ScdoTxAck, SdProtect, SdProtectOperationType, SeedRequestType, SelfTest, SetBusy, SetU2FCounter, 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, TRANSPORT_EVENT, 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, TransportDeviceDisconnectEvent, 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, UiAnimationCommand, UiAnimationRequest, UiAnimationType, UintType, UnLockDevice, UnLockDeviceResponse, UnlockPath, UnlockedPathRequest, UpgradeFileHeader, VerifyMessage, ViewAmount, ViewDetail, ViewRawData, ViewSignLayout, ViewSignPage, ViewTip, ViewTipType, ViewVerifyPage, Vote, WL_OperationType, WipeDevice, WordAck, WordRequest, WordRequestType, WriteSEPrivateKey, WriteSEPublicCert, ZoomRequest, bytesToHex, concatUint8Arrays, createTransportCallLog, _default as default, experimental_field, experimental_message, facotry, getErrorMessage, getSafeTransportLogPayload, hexToBytes, isProtocolV2LinkError, probeProtocolV2, index as protocolV1, protocolV2Codec as protocolV2, shouldSuppressHighVolumeCallLog, withProtocolTimeout, writeProtocolV2BleFrame };
|