@onekeyfe/hd-transport 1.2.0-alpha.34 → 1.2.0-alpha.36
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 +49 -29
- package/__tests__/protocol-v2.test.js +14 -14
- package/__tests__/transport-log.test.js +79 -0
- package/dist/index.d.ts +228 -242
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +159 -74
- package/dist/types/messages.d.ts +161 -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 +408 -485
- package/package.json +2 -2
- package/scripts/protobuf-patches/index.js +1 -0
- package/src/index.ts +1 -0
- package/src/types/messages.ts +203 -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,
|
|
@@ -4166,8 +4091,14 @@ declare enum DeviceSessionErrorCode {
|
|
|
4166
4091
|
DeviceSessionError_PassphraseDisabled = 4,
|
|
4167
4092
|
DeviceSessionError_Busy = 5
|
|
4168
4093
|
}
|
|
4094
|
+
declare enum DeviceSessionSeedDomain {
|
|
4095
|
+
SeedDomain_Standard = 1,
|
|
4096
|
+
SeedDomain_Cardano = 2
|
|
4097
|
+
}
|
|
4169
4098
|
type DeviceSessionGet = {
|
|
4170
4099
|
session_id?: string;
|
|
4100
|
+
btc_test_address?: string;
|
|
4101
|
+
seed_domains?: DeviceSessionSeedDomain[];
|
|
4171
4102
|
};
|
|
4172
4103
|
type DeviceSession = {
|
|
4173
4104
|
session_id?: string;
|
|
@@ -4183,7 +4114,7 @@ type DeviceSessionAskPin = {
|
|
|
4183
4114
|
};
|
|
4184
4115
|
type DeviceSessionAskPassphrase = {
|
|
4185
4116
|
passphrase?: string;
|
|
4186
|
-
on_device
|
|
4117
|
+
on_device: boolean;
|
|
4187
4118
|
};
|
|
4188
4119
|
declare enum DeviceSessionAskPin_FailureSubCodes {
|
|
4189
4120
|
UserCancel = 1
|
|
@@ -4198,53 +4129,6 @@ type DeviceStatus = {
|
|
|
4198
4129
|
unlocked_by_attach_to_pin?: boolean;
|
|
4199
4130
|
};
|
|
4200
4131
|
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
4132
|
type FilesystemPermissionFix = {};
|
|
4249
4133
|
type FilesystemPathInfo = {
|
|
4250
4134
|
exist: boolean;
|
|
@@ -4305,7 +4189,110 @@ type FilesystemFormat = {
|
|
|
4305
4189
|
data: boolean;
|
|
4306
4190
|
user: boolean;
|
|
4307
4191
|
};
|
|
4192
|
+
type InternalMyAddressRequest = {
|
|
4193
|
+
coin_type: number;
|
|
4194
|
+
chain_id: number;
|
|
4195
|
+
account_index: number;
|
|
4196
|
+
derive_type: number;
|
|
4197
|
+
};
|
|
4198
|
+
declare enum OnboardingStep {
|
|
4199
|
+
ONBOARDING_STEP_UNKNOWN = 0,
|
|
4200
|
+
ONBOARDING_STEP_CHECKING = 1,
|
|
4201
|
+
ONBOARDING_STEP_PERSONALIZATION = 2,
|
|
4202
|
+
ONBOARDING_STEP_PIN = 3,
|
|
4203
|
+
ONBOARDING_STEP_SETUP = 4,
|
|
4204
|
+
ONBOARDING_STEP_DONE = 5
|
|
4205
|
+
}
|
|
4206
|
+
declare enum OnboardingPhase {
|
|
4207
|
+
ONBOARDING_PHASE_UNKNOWN = 0,
|
|
4208
|
+
ONBOARDING_PHASE_SAFETY_CHECK = 1,
|
|
4209
|
+
ONBOARDING_PHASE_PIN_SETUP = 2,
|
|
4210
|
+
ONBOARDING_PHASE_FINGERPRINT_SETUP = 3,
|
|
4211
|
+
ONBOARDING_PHASE_SETUP_CHOICE = 4,
|
|
4212
|
+
ONBOARDING_PHASE_WALLET_CREATE_START = 5,
|
|
4213
|
+
ONBOARDING_PHASE_RECOVERY_PHRASE_VIEW = 6,
|
|
4214
|
+
ONBOARDING_PHASE_RECOVERY_PHRASE_CONFIRM = 7,
|
|
4215
|
+
ONBOARDING_PHASE_RESTORE_METHOD_CHOICE = 8,
|
|
4216
|
+
ONBOARDING_PHASE_RECOVERY_PHRASE_RESTORE = 9,
|
|
4217
|
+
ONBOARDING_PHASE_SEEDCARD_RESTORE = 10,
|
|
4218
|
+
ONBOARDING_PHASE_WALLET_READY = 11,
|
|
4219
|
+
ONBOARDING_PHASE_SEEDCARD_BACKUP_PROMPT = 12,
|
|
4220
|
+
ONBOARDING_PHASE_SEEDCARD_BACKUP = 13
|
|
4221
|
+
}
|
|
4222
|
+
declare enum OnboardingSetupKind {
|
|
4223
|
+
ONBOARDING_SETUP_KIND_UNKNOWN = 0,
|
|
4224
|
+
ONBOARDING_SETUP_KIND_CHOICE = 1,
|
|
4225
|
+
ONBOARDING_SETUP_KIND_CREATE = 2,
|
|
4226
|
+
ONBOARDING_SETUP_KIND_RESTORE = 3
|
|
4227
|
+
}
|
|
4228
|
+
declare enum OnboardingSetupMethod {
|
|
4229
|
+
ONBOARDING_SETUP_METHOD_UNKNOWN = 0,
|
|
4230
|
+
ONBOARDING_SETUP_METHOD_RECOVERY_PHRASE = 1,
|
|
4231
|
+
ONBOARDING_SETUP_METHOD_SEEDCARD = 2
|
|
4232
|
+
}
|
|
4233
|
+
type OnboardingSetupStatus = {
|
|
4234
|
+
kind?: OnboardingSetupKind;
|
|
4235
|
+
method?: OnboardingSetupMethod;
|
|
4236
|
+
};
|
|
4237
|
+
type OnboardingStatusGet = {};
|
|
4238
|
+
type OnboardingStatus = {
|
|
4239
|
+
step?: OnboardingStep;
|
|
4240
|
+
phase?: OnboardingPhase;
|
|
4241
|
+
setup?: OnboardingSetupStatus;
|
|
4242
|
+
pin_set?: boolean;
|
|
4243
|
+
wallet_initialized?: boolean;
|
|
4244
|
+
};
|
|
4308
4245
|
type PortfolioUpdate = {};
|
|
4246
|
+
type ViewAmount = {
|
|
4247
|
+
is_unlimited: boolean;
|
|
4248
|
+
num: string;
|
|
4249
|
+
};
|
|
4250
|
+
type ViewDetail = {
|
|
4251
|
+
key: number;
|
|
4252
|
+
value: string;
|
|
4253
|
+
is_overview: boolean;
|
|
4254
|
+
has_icon: boolean;
|
|
4255
|
+
};
|
|
4256
|
+
declare enum ViewTipType {
|
|
4257
|
+
Default = 0,
|
|
4258
|
+
Highlight = 1,
|
|
4259
|
+
Recommend = 2,
|
|
4260
|
+
Warning = 3,
|
|
4261
|
+
Danger = 4
|
|
4262
|
+
}
|
|
4263
|
+
type ViewTip = {
|
|
4264
|
+
type: ViewTipType;
|
|
4265
|
+
text: string;
|
|
4266
|
+
};
|
|
4267
|
+
type ViewRawData = {
|
|
4268
|
+
initial_data: string;
|
|
4269
|
+
placeholder: number;
|
|
4270
|
+
};
|
|
4271
|
+
declare enum ViewSignLayout {
|
|
4272
|
+
LayoutDefault = 0,
|
|
4273
|
+
LayoutSafeTxCreate = 1,
|
|
4274
|
+
LayoutFinalConfirm = 2,
|
|
4275
|
+
Layout7702 = 3,
|
|
4276
|
+
LayoutFlat = 4,
|
|
4277
|
+
LayoutEthApprove = 5
|
|
4278
|
+
}
|
|
4279
|
+
type ViewSignPage = {
|
|
4280
|
+
title: string;
|
|
4281
|
+
amount?: UintType;
|
|
4282
|
+
general: ViewDetail[];
|
|
4283
|
+
tip?: ViewTip;
|
|
4284
|
+
raw_data?: ViewRawData;
|
|
4285
|
+
slide_to_confirm?: boolean;
|
|
4286
|
+
layout?: ViewSignLayout;
|
|
4287
|
+
};
|
|
4288
|
+
type ViewVerifyPage = {
|
|
4289
|
+
title: string;
|
|
4290
|
+
address: string;
|
|
4291
|
+
path: string;
|
|
4292
|
+
network?: string;
|
|
4293
|
+
derive_type?: string;
|
|
4294
|
+
value_key?: number;
|
|
4295
|
+
};
|
|
4309
4296
|
declare enum ProtocolV2FailureType {
|
|
4310
4297
|
Failure_InvalidMessage = 1,
|
|
4311
4298
|
Failure_UndefinedError = 2,
|
|
@@ -4908,26 +4895,15 @@ type MessageType = {
|
|
|
4908
4895
|
PaymentRequestMemo: PaymentRequestMemo;
|
|
4909
4896
|
TxAckPaymentRequest: TxAckPaymentRequest;
|
|
4910
4897
|
EthereumSignTypedDataQR: EthereumSignTypedDataQR;
|
|
4911
|
-
InternalMyAddressRequest: InternalMyAddressRequest;
|
|
4912
|
-
StartSession: StartSession;
|
|
4913
4898
|
SetBusy: SetBusy;
|
|
4914
4899
|
GetFirmwareHash: GetFirmwareHash;
|
|
4915
4900
|
FirmwareHash: FirmwareHash;
|
|
4916
4901
|
GetNonce: GetNonce;
|
|
4917
4902
|
Nonce: Nonce;
|
|
4918
4903
|
WriteSEPrivateKey: WriteSEPrivateKey;
|
|
4919
|
-
SetWallpaper: SetWallpaper;
|
|
4920
|
-
GetWallpaper: GetWallpaper;
|
|
4921
|
-
Wallpaper: Wallpaper;
|
|
4922
4904
|
UnlockPath: UnlockPath;
|
|
4923
4905
|
UnlockedPathRequest: UnlockedPathRequest;
|
|
4924
4906
|
UiAnimationRequest: UiAnimationRequest;
|
|
4925
|
-
ViewAmount: ViewAmount;
|
|
4926
|
-
ViewDetail: ViewDetail;
|
|
4927
|
-
ViewTip: ViewTip;
|
|
4928
|
-
ViewRawData: ViewRawData;
|
|
4929
|
-
ViewSignPage: ViewSignPage;
|
|
4930
|
-
ViewVerifyPage: ViewVerifyPage;
|
|
4931
4907
|
ProtocolInfoRequest: ProtocolInfoRequest;
|
|
4932
4908
|
ProtocolInfo: ProtocolInfo;
|
|
4933
4909
|
DeviceReboot: DeviceReboot;
|
|
@@ -4940,18 +4916,19 @@ type MessageType = {
|
|
|
4940
4916
|
DeviceCertificateRead: DeviceCertificateRead;
|
|
4941
4917
|
DeviceCertificateSignature: DeviceCertificateSignature;
|
|
4942
4918
|
DeviceCertificateSign: DeviceCertificateSign;
|
|
4943
|
-
|
|
4944
|
-
DeviceFirmwareUpdateRequest: DeviceFirmwareUpdateRequest;
|
|
4945
|
-
DeviceFirmwareUpdateRecord: DeviceFirmwareUpdateRecord;
|
|
4946
|
-
DeviceFirmwareUpdateRecordFields: DeviceFirmwareUpdateRecordFields;
|
|
4947
|
-
DeviceFirmwareUpdateStatusGet: DeviceFirmwareUpdateStatusGet;
|
|
4948
|
-
DeviceFirmwareUpdateStatus: DeviceFirmwareUpdateStatus;
|
|
4919
|
+
DeviceMiscUsbMscControl: DeviceMiscUsbMscControl;
|
|
4949
4920
|
DeviceFactoryInfoManufactureTime: DeviceFactoryInfoManufactureTime;
|
|
4950
4921
|
DeviceFactoryInfo: DeviceFactoryInfo;
|
|
4951
4922
|
DeviceFactoryInfoSet: DeviceFactoryInfoSet;
|
|
4952
4923
|
DeviceFactoryInfoGet: DeviceFactoryInfoGet;
|
|
4953
4924
|
DeviceFactoryPermanentLock: DeviceFactoryPermanentLock;
|
|
4954
4925
|
DeviceFactoryTest: DeviceFactoryTest;
|
|
4926
|
+
DeviceFirmwareTarget: DeviceFirmwareTarget;
|
|
4927
|
+
DeviceFirmwareUpdateRequest: DeviceFirmwareUpdateRequest;
|
|
4928
|
+
DeviceFirmwareUpdateRecord: DeviceFirmwareUpdateRecord;
|
|
4929
|
+
DeviceFirmwareUpdateRecordFields: DeviceFirmwareUpdateRecordFields;
|
|
4930
|
+
DeviceFirmwareUpdateStatusGet: DeviceFirmwareUpdateStatusGet;
|
|
4931
|
+
DeviceFirmwareUpdateStatus: DeviceFirmwareUpdateStatus;
|
|
4955
4932
|
DeviceFirmwareImageInfo: DeviceFirmwareImageInfo;
|
|
4956
4933
|
DeviceHardwareInfo: DeviceHardwareInfo;
|
|
4957
4934
|
DeviceMainMcuInfo: DeviceMainMcuInfo;
|
|
@@ -4966,9 +4943,6 @@ type MessageType = {
|
|
|
4966
4943
|
DeviceSessionAskPassphrase: DeviceSessionAskPassphrase;
|
|
4967
4944
|
DeviceStatus: DeviceStatus;
|
|
4968
4945
|
DeviceStatusGet: DeviceStatusGet;
|
|
4969
|
-
DevOnboardingSetupStatus: DevOnboardingSetupStatus;
|
|
4970
|
-
DevGetOnboardingStatus: DevGetOnboardingStatus;
|
|
4971
|
-
DevOnboardingStatus: DevOnboardingStatus;
|
|
4972
4946
|
FilesystemPermissionFix: FilesystemPermissionFix;
|
|
4973
4947
|
FilesystemPathInfo: FilesystemPathInfo;
|
|
4974
4948
|
FilesystemPathInfoQuery: FilesystemPathInfoQuery;
|
|
@@ -4981,7 +4955,17 @@ type MessageType = {
|
|
|
4981
4955
|
FilesystemDirMake: FilesystemDirMake;
|
|
4982
4956
|
FilesystemDirRemove: FilesystemDirRemove;
|
|
4983
4957
|
FilesystemFormat: FilesystemFormat;
|
|
4958
|
+
InternalMyAddressRequest: InternalMyAddressRequest;
|
|
4959
|
+
OnboardingSetupStatus: OnboardingSetupStatus;
|
|
4960
|
+
OnboardingStatusGet: OnboardingStatusGet;
|
|
4961
|
+
OnboardingStatus: OnboardingStatus;
|
|
4984
4962
|
PortfolioUpdate: PortfolioUpdate;
|
|
4963
|
+
ViewAmount: ViewAmount;
|
|
4964
|
+
ViewDetail: ViewDetail;
|
|
4965
|
+
ViewTip: ViewTip;
|
|
4966
|
+
ViewRawData: ViewRawData;
|
|
4967
|
+
ViewSignPage: ViewSignPage;
|
|
4968
|
+
ViewVerifyPage: ViewVerifyPage;
|
|
4985
4969
|
};
|
|
4986
4970
|
type MessageKey = keyof MessageType;
|
|
4987
4971
|
type MessageResponse<T extends MessageKey> = {
|
|
@@ -5712,19 +5696,12 @@ type messages_CoinPurchaseMemo = CoinPurchaseMemo;
|
|
|
5712
5696
|
type messages_PaymentRequestMemo = PaymentRequestMemo;
|
|
5713
5697
|
type messages_TxAckPaymentRequest = TxAckPaymentRequest;
|
|
5714
5698
|
type messages_EthereumSignTypedDataQR = EthereumSignTypedDataQR;
|
|
5715
|
-
type messages_InternalMyAddressRequest = InternalMyAddressRequest;
|
|
5716
|
-
type messages_StartSession = StartSession;
|
|
5717
5699
|
type messages_SetBusy = SetBusy;
|
|
5718
5700
|
type messages_GetFirmwareHash = GetFirmwareHash;
|
|
5719
5701
|
type messages_FirmwareHash = FirmwareHash;
|
|
5720
5702
|
type messages_GetNonce = GetNonce;
|
|
5721
5703
|
type messages_Nonce = Nonce;
|
|
5722
5704
|
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
5705
|
type messages_UnlockPath = UnlockPath;
|
|
5729
5706
|
type messages_UnlockedPathRequest = UnlockedPathRequest;
|
|
5730
5707
|
type messages_MoneroNetworkType = MoneroNetworkType;
|
|
@@ -5734,16 +5711,6 @@ declare const messages_UiAnimationType: typeof UiAnimationType;
|
|
|
5734
5711
|
type messages_UiAnimationCommand = UiAnimationCommand;
|
|
5735
5712
|
declare const messages_UiAnimationCommand: typeof UiAnimationCommand;
|
|
5736
5713
|
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
5714
|
type messages_ProtocolInfoRequest = ProtocolInfoRequest;
|
|
5748
5715
|
type messages_ProtocolInfo = ProtocolInfo;
|
|
5749
5716
|
type messages_DeviceErrorCode = DeviceErrorCode;
|
|
@@ -5762,6 +5729,15 @@ type messages_DeviceCertificateWrite = DeviceCertificateWrite;
|
|
|
5762
5729
|
type messages_DeviceCertificateRead = DeviceCertificateRead;
|
|
5763
5730
|
type messages_DeviceCertificateSignature = DeviceCertificateSignature;
|
|
5764
5731
|
type messages_DeviceCertificateSign = DeviceCertificateSign;
|
|
5732
|
+
type messages_DeviceMiscUsbMscControl = DeviceMiscUsbMscControl;
|
|
5733
|
+
type messages_DeviceFactoryAck = DeviceFactoryAck;
|
|
5734
|
+
declare const messages_DeviceFactoryAck: typeof DeviceFactoryAck;
|
|
5735
|
+
type messages_DeviceFactoryInfoManufactureTime = DeviceFactoryInfoManufactureTime;
|
|
5736
|
+
type messages_DeviceFactoryInfo = DeviceFactoryInfo;
|
|
5737
|
+
type messages_DeviceFactoryInfoSet = DeviceFactoryInfoSet;
|
|
5738
|
+
type messages_DeviceFactoryInfoGet = DeviceFactoryInfoGet;
|
|
5739
|
+
type messages_DeviceFactoryPermanentLock = DeviceFactoryPermanentLock;
|
|
5740
|
+
type messages_DeviceFactoryTest = DeviceFactoryTest;
|
|
5765
5741
|
type messages_DeviceFirmwareTargetType = DeviceFirmwareTargetType;
|
|
5766
5742
|
declare const messages_DeviceFirmwareTargetType: typeof DeviceFirmwareTargetType;
|
|
5767
5743
|
type messages_DeviceFirmwareUpdateTaskStatus = DeviceFirmwareUpdateTaskStatus;
|
|
@@ -5772,14 +5748,6 @@ type messages_DeviceFirmwareUpdateRecord = DeviceFirmwareUpdateRecord;
|
|
|
5772
5748
|
type messages_DeviceFirmwareUpdateRecordFields = DeviceFirmwareUpdateRecordFields;
|
|
5773
5749
|
type messages_DeviceFirmwareUpdateStatusGet = DeviceFirmwareUpdateStatusGet;
|
|
5774
5750
|
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
5751
|
type messages_DeviceType = DeviceType;
|
|
5784
5752
|
declare const messages_DeviceType: typeof DeviceType;
|
|
5785
5753
|
type messages_DeviceSeType = DeviceSeType;
|
|
@@ -5797,6 +5765,8 @@ type messages_DeviceInfoGet = DeviceInfoGet;
|
|
|
5797
5765
|
type messages_ProtocolV2DeviceInfo = ProtocolV2DeviceInfo;
|
|
5798
5766
|
type messages_DeviceSessionErrorCode = DeviceSessionErrorCode;
|
|
5799
5767
|
declare const messages_DeviceSessionErrorCode: typeof DeviceSessionErrorCode;
|
|
5768
|
+
type messages_DeviceSessionSeedDomain = DeviceSessionSeedDomain;
|
|
5769
|
+
declare const messages_DeviceSessionSeedDomain: typeof DeviceSessionSeedDomain;
|
|
5800
5770
|
type messages_DeviceSessionGet = DeviceSessionGet;
|
|
5801
5771
|
type messages_DeviceSession = DeviceSession;
|
|
5802
5772
|
type messages_DeviceSessionPinType = DeviceSessionPinType;
|
|
@@ -5807,17 +5777,6 @@ type messages_DeviceSessionAskPin_FailureSubCodes = DeviceSessionAskPin_FailureS
|
|
|
5807
5777
|
declare const messages_DeviceSessionAskPin_FailureSubCodes: typeof DeviceSessionAskPin_FailureSubCodes;
|
|
5808
5778
|
type messages_DeviceStatus = DeviceStatus;
|
|
5809
5779
|
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
5780
|
type messages_FilesystemPermissionFix = FilesystemPermissionFix;
|
|
5822
5781
|
type messages_FilesystemPathInfo = FilesystemPathInfo;
|
|
5823
5782
|
type messages_FilesystemPathInfoQuery = FilesystemPathInfoQuery;
|
|
@@ -5830,7 +5789,29 @@ type messages_FilesystemDirList = FilesystemDirList;
|
|
|
5830
5789
|
type messages_FilesystemDirMake = FilesystemDirMake;
|
|
5831
5790
|
type messages_FilesystemDirRemove = FilesystemDirRemove;
|
|
5832
5791
|
type messages_FilesystemFormat = FilesystemFormat;
|
|
5792
|
+
type messages_InternalMyAddressRequest = InternalMyAddressRequest;
|
|
5793
|
+
type messages_OnboardingStep = OnboardingStep;
|
|
5794
|
+
declare const messages_OnboardingStep: typeof OnboardingStep;
|
|
5795
|
+
type messages_OnboardingPhase = OnboardingPhase;
|
|
5796
|
+
declare const messages_OnboardingPhase: typeof OnboardingPhase;
|
|
5797
|
+
type messages_OnboardingSetupKind = OnboardingSetupKind;
|
|
5798
|
+
declare const messages_OnboardingSetupKind: typeof OnboardingSetupKind;
|
|
5799
|
+
type messages_OnboardingSetupMethod = OnboardingSetupMethod;
|
|
5800
|
+
declare const messages_OnboardingSetupMethod: typeof OnboardingSetupMethod;
|
|
5801
|
+
type messages_OnboardingSetupStatus = OnboardingSetupStatus;
|
|
5802
|
+
type messages_OnboardingStatusGet = OnboardingStatusGet;
|
|
5803
|
+
type messages_OnboardingStatus = OnboardingStatus;
|
|
5833
5804
|
type messages_PortfolioUpdate = PortfolioUpdate;
|
|
5805
|
+
type messages_ViewAmount = ViewAmount;
|
|
5806
|
+
type messages_ViewDetail = ViewDetail;
|
|
5807
|
+
type messages_ViewTipType = ViewTipType;
|
|
5808
|
+
declare const messages_ViewTipType: typeof ViewTipType;
|
|
5809
|
+
type messages_ViewTip = ViewTip;
|
|
5810
|
+
type messages_ViewRawData = ViewRawData;
|
|
5811
|
+
type messages_ViewSignLayout = ViewSignLayout;
|
|
5812
|
+
declare const messages_ViewSignLayout: typeof ViewSignLayout;
|
|
5813
|
+
type messages_ViewSignPage = ViewSignPage;
|
|
5814
|
+
type messages_ViewVerifyPage = ViewVerifyPage;
|
|
5834
5815
|
type messages_ProtocolV2FailureType = ProtocolV2FailureType;
|
|
5835
5816
|
declare const messages_ProtocolV2FailureType: typeof ProtocolV2FailureType;
|
|
5836
5817
|
type messages_Enum_ProtocolV2Capability = Enum_ProtocolV2Capability;
|
|
@@ -6496,32 +6477,18 @@ declare namespace messages {
|
|
|
6496
6477
|
messages_PaymentRequestMemo as PaymentRequestMemo,
|
|
6497
6478
|
messages_TxAckPaymentRequest as TxAckPaymentRequest,
|
|
6498
6479
|
messages_EthereumSignTypedDataQR as EthereumSignTypedDataQR,
|
|
6499
|
-
messages_InternalMyAddressRequest as InternalMyAddressRequest,
|
|
6500
|
-
messages_StartSession as StartSession,
|
|
6501
6480
|
messages_SetBusy as SetBusy,
|
|
6502
6481
|
messages_GetFirmwareHash as GetFirmwareHash,
|
|
6503
6482
|
messages_FirmwareHash as FirmwareHash,
|
|
6504
6483
|
messages_GetNonce as GetNonce,
|
|
6505
6484
|
messages_Nonce as Nonce,
|
|
6506
6485
|
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
6486
|
messages_UnlockPath as UnlockPath,
|
|
6512
6487
|
messages_UnlockedPathRequest as UnlockedPathRequest,
|
|
6513
6488
|
messages_MoneroNetworkType as MoneroNetworkType,
|
|
6514
6489
|
messages_UiAnimationType as UiAnimationType,
|
|
6515
6490
|
messages_UiAnimationCommand as UiAnimationCommand,
|
|
6516
6491
|
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
6492
|
messages_ProtocolInfoRequest as ProtocolInfoRequest,
|
|
6526
6493
|
messages_ProtocolInfo as ProtocolInfo,
|
|
6527
6494
|
messages_DeviceErrorCode as DeviceErrorCode,
|
|
@@ -6537,6 +6504,14 @@ declare namespace messages {
|
|
|
6537
6504
|
messages_DeviceCertificateRead as DeviceCertificateRead,
|
|
6538
6505
|
messages_DeviceCertificateSignature as DeviceCertificateSignature,
|
|
6539
6506
|
messages_DeviceCertificateSign as DeviceCertificateSign,
|
|
6507
|
+
messages_DeviceMiscUsbMscControl as DeviceMiscUsbMscControl,
|
|
6508
|
+
messages_DeviceFactoryAck as DeviceFactoryAck,
|
|
6509
|
+
messages_DeviceFactoryInfoManufactureTime as DeviceFactoryInfoManufactureTime,
|
|
6510
|
+
messages_DeviceFactoryInfo as DeviceFactoryInfo,
|
|
6511
|
+
messages_DeviceFactoryInfoSet as DeviceFactoryInfoSet,
|
|
6512
|
+
messages_DeviceFactoryInfoGet as DeviceFactoryInfoGet,
|
|
6513
|
+
messages_DeviceFactoryPermanentLock as DeviceFactoryPermanentLock,
|
|
6514
|
+
messages_DeviceFactoryTest as DeviceFactoryTest,
|
|
6540
6515
|
messages_DeviceFirmwareTargetType as DeviceFirmwareTargetType,
|
|
6541
6516
|
messages_DeviceFirmwareUpdateTaskStatus as DeviceFirmwareUpdateTaskStatus,
|
|
6542
6517
|
messages_DeviceFirmwareTarget as DeviceFirmwareTarget,
|
|
@@ -6545,13 +6520,6 @@ declare namespace messages {
|
|
|
6545
6520
|
messages_DeviceFirmwareUpdateRecordFields as DeviceFirmwareUpdateRecordFields,
|
|
6546
6521
|
messages_DeviceFirmwareUpdateStatusGet as DeviceFirmwareUpdateStatusGet,
|
|
6547
6522
|
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
6523
|
messages_DeviceType as DeviceType,
|
|
6556
6524
|
messages_DeviceSeType as DeviceSeType,
|
|
6557
6525
|
messages_DeviceSEState as DeviceSEState,
|
|
@@ -6565,6 +6533,7 @@ declare namespace messages {
|
|
|
6565
6533
|
messages_DeviceInfoGet as DeviceInfoGet,
|
|
6566
6534
|
messages_ProtocolV2DeviceInfo as ProtocolV2DeviceInfo,
|
|
6567
6535
|
messages_DeviceSessionErrorCode as DeviceSessionErrorCode,
|
|
6536
|
+
messages_DeviceSessionSeedDomain as DeviceSessionSeedDomain,
|
|
6568
6537
|
messages_DeviceSessionGet as DeviceSessionGet,
|
|
6569
6538
|
messages_DeviceSession as DeviceSession,
|
|
6570
6539
|
messages_DeviceSessionPinType as DeviceSessionPinType,
|
|
@@ -6573,13 +6542,6 @@ declare namespace messages {
|
|
|
6573
6542
|
messages_DeviceSessionAskPin_FailureSubCodes as DeviceSessionAskPin_FailureSubCodes,
|
|
6574
6543
|
messages_DeviceStatus as DeviceStatus,
|
|
6575
6544
|
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
6545
|
messages_FilesystemPermissionFix as FilesystemPermissionFix,
|
|
6584
6546
|
messages_FilesystemPathInfo as FilesystemPathInfo,
|
|
6585
6547
|
messages_FilesystemPathInfoQuery as FilesystemPathInfoQuery,
|
|
@@ -6592,7 +6554,23 @@ declare namespace messages {
|
|
|
6592
6554
|
messages_FilesystemDirMake as FilesystemDirMake,
|
|
6593
6555
|
messages_FilesystemDirRemove as FilesystemDirRemove,
|
|
6594
6556
|
messages_FilesystemFormat as FilesystemFormat,
|
|
6557
|
+
messages_InternalMyAddressRequest as InternalMyAddressRequest,
|
|
6558
|
+
messages_OnboardingStep as OnboardingStep,
|
|
6559
|
+
messages_OnboardingPhase as OnboardingPhase,
|
|
6560
|
+
messages_OnboardingSetupKind as OnboardingSetupKind,
|
|
6561
|
+
messages_OnboardingSetupMethod as OnboardingSetupMethod,
|
|
6562
|
+
messages_OnboardingSetupStatus as OnboardingSetupStatus,
|
|
6563
|
+
messages_OnboardingStatusGet as OnboardingStatusGet,
|
|
6564
|
+
messages_OnboardingStatus as OnboardingStatus,
|
|
6595
6565
|
messages_PortfolioUpdate as PortfolioUpdate,
|
|
6566
|
+
messages_ViewAmount as ViewAmount,
|
|
6567
|
+
messages_ViewDetail as ViewDetail,
|
|
6568
|
+
messages_ViewTipType as ViewTipType,
|
|
6569
|
+
messages_ViewTip as ViewTip,
|
|
6570
|
+
messages_ViewRawData as ViewRawData,
|
|
6571
|
+
messages_ViewSignLayout as ViewSignLayout,
|
|
6572
|
+
messages_ViewSignPage as ViewSignPage,
|
|
6573
|
+
messages_ViewVerifyPage as ViewVerifyPage,
|
|
6596
6574
|
messages_ProtocolV2FailureType as ProtocolV2FailureType,
|
|
6597
6575
|
messages_Enum_ProtocolV2Capability as Enum_ProtocolV2Capability,
|
|
6598
6576
|
messages_ProtocolV2Capability as ProtocolV2Capability,
|
|
@@ -6760,6 +6738,14 @@ declare namespace check {
|
|
|
6760
6738
|
|
|
6761
6739
|
declare const LogBlockCommand: Set<string>;
|
|
6762
6740
|
|
|
6741
|
+
declare function getSafeTransportLogPayload(value: unknown, messageName?: string): unknown;
|
|
6742
|
+
declare function createTransportCallLog(name: string, protocol: ProtocolType, data: Record<string, unknown>): {
|
|
6743
|
+
name: string;
|
|
6744
|
+
protocol: ProtocolType;
|
|
6745
|
+
request: unknown;
|
|
6746
|
+
};
|
|
6747
|
+
declare function shouldSuppressHighVolumeCallLog(name: string): boolean;
|
|
6748
|
+
|
|
6763
6749
|
/** Protocol V1 USB report marker, ASCII `?`. */
|
|
6764
6750
|
declare const PROTOCOL_V1_REPORT_ID = 63;
|
|
6765
6751
|
/** Protocol V1 envelope marker, ASCII `#`. */
|
|
@@ -6880,4 +6866,4 @@ declare const _default: {
|
|
|
6880
6866
|
withProtocolTimeout: typeof withProtocolTimeout;
|
|
6881
6867
|
};
|
|
6882
6868
|
|
|
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 };
|
|
6869
|
+
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, DeviceSessionSeedDomain, 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 };
|