@onekeyfe/hd-transport 1.2.0-alpha.33 → 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 +54 -24
- package/__tests__/protocol-v2.test.js +14 -14
- package/__tests__/transport-log.test.js +79 -0
- package/dist/index.d.ts +220 -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/types/transport.d.ts +1 -0
- package/dist/types/transport.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/types/transport.ts +1 -0
- package/src/utils/transportLog.ts +102 -0
package/dist/index.d.ts
CHANGED
|
@@ -308,6 +308,7 @@ type AcquireInput = {
|
|
|
308
308
|
uuid?: string;
|
|
309
309
|
forceCleanRunPromise?: boolean;
|
|
310
310
|
expectedProtocol?: ProtocolType;
|
|
311
|
+
protocolHint?: ProtocolType;
|
|
311
312
|
};
|
|
312
313
|
type MessageFromOneKey = {
|
|
313
314
|
type: string;
|
|
@@ -3805,17 +3806,6 @@ type EthereumSignTypedDataQR = {
|
|
|
3805
3806
|
metamask_v4_compat?: boolean;
|
|
3806
3807
|
request_id?: string;
|
|
3807
3808
|
};
|
|
3808
|
-
type InternalMyAddressRequest = {
|
|
3809
|
-
coin_type: number;
|
|
3810
|
-
chain_id: number;
|
|
3811
|
-
account_index: number;
|
|
3812
|
-
derive_type: number;
|
|
3813
|
-
};
|
|
3814
|
-
type StartSession = {
|
|
3815
|
-
session_id?: string;
|
|
3816
|
-
_skip_passphrase?: boolean;
|
|
3817
|
-
derive_cardano?: boolean;
|
|
3818
|
-
};
|
|
3819
3809
|
type SetBusy = {
|
|
3820
3810
|
expiry_ms?: number;
|
|
3821
3811
|
};
|
|
@@ -3832,21 +3822,6 @@ type Nonce = {
|
|
|
3832
3822
|
type WriteSEPrivateKey = {
|
|
3833
3823
|
private_key: string;
|
|
3834
3824
|
};
|
|
3835
|
-
declare enum WallpaperTarget {
|
|
3836
|
-
Home = 0,
|
|
3837
|
-
Lock = 1
|
|
3838
|
-
}
|
|
3839
|
-
type SetWallpaper = {
|
|
3840
|
-
target: WallpaperTarget;
|
|
3841
|
-
path: string;
|
|
3842
|
-
};
|
|
3843
|
-
type GetWallpaper = {
|
|
3844
|
-
target: WallpaperTarget;
|
|
3845
|
-
};
|
|
3846
|
-
type Wallpaper = {
|
|
3847
|
-
target: WallpaperTarget;
|
|
3848
|
-
path: string;
|
|
3849
|
-
};
|
|
3850
3825
|
type UnlockPath = {
|
|
3851
3826
|
address_n: number[];
|
|
3852
3827
|
mac?: string;
|
|
@@ -3874,63 +3849,13 @@ type UiAnimationRequest = {
|
|
|
3874
3849
|
command: UiAnimationCommand;
|
|
3875
3850
|
type?: UiAnimationType;
|
|
3876
3851
|
};
|
|
3877
|
-
type ViewAmount = {
|
|
3878
|
-
is_unlimited: boolean;
|
|
3879
|
-
num: string;
|
|
3880
|
-
};
|
|
3881
|
-
type ViewDetail = {
|
|
3882
|
-
key: number;
|
|
3883
|
-
value: string;
|
|
3884
|
-
is_overview: boolean;
|
|
3885
|
-
has_icon: boolean;
|
|
3886
|
-
};
|
|
3887
|
-
declare enum ViewTipType {
|
|
3888
|
-
Default = 0,
|
|
3889
|
-
Highlight = 1,
|
|
3890
|
-
Recommend = 2,
|
|
3891
|
-
Warning = 3,
|
|
3892
|
-
Danger = 4
|
|
3893
|
-
}
|
|
3894
|
-
type ViewTip = {
|
|
3895
|
-
type: ViewTipType;
|
|
3896
|
-
text: string;
|
|
3897
|
-
};
|
|
3898
|
-
type ViewRawData = {
|
|
3899
|
-
initial_data: string;
|
|
3900
|
-
placeholder: number;
|
|
3901
|
-
};
|
|
3902
|
-
declare enum ViewSignLayout {
|
|
3903
|
-
LayoutDefault = 0,
|
|
3904
|
-
LayoutSafeTxCreate = 1,
|
|
3905
|
-
LayoutFinalConfirm = 2,
|
|
3906
|
-
Layout7702 = 3,
|
|
3907
|
-
LayoutFlat = 4,
|
|
3908
|
-
LayoutEthApprove = 5
|
|
3909
|
-
}
|
|
3910
|
-
type ViewSignPage = {
|
|
3911
|
-
title: string;
|
|
3912
|
-
amount?: UintType;
|
|
3913
|
-
general: ViewDetail[];
|
|
3914
|
-
tip?: ViewTip;
|
|
3915
|
-
raw_data?: ViewRawData;
|
|
3916
|
-
slide_to_confirm?: boolean;
|
|
3917
|
-
layout?: ViewSignLayout;
|
|
3918
|
-
};
|
|
3919
|
-
type ViewVerifyPage = {
|
|
3920
|
-
title: string;
|
|
3921
|
-
address: string;
|
|
3922
|
-
path: string;
|
|
3923
|
-
network?: string;
|
|
3924
|
-
derive_type?: string;
|
|
3925
|
-
value_key?: number;
|
|
3926
|
-
};
|
|
3927
3852
|
type ProtocolInfoRequest = {
|
|
3928
3853
|
eventless_wallet_session?: boolean;
|
|
3929
3854
|
};
|
|
3930
3855
|
type ProtocolInfo = {
|
|
3931
3856
|
version: number;
|
|
3857
|
+
build_fingerprint: string;
|
|
3932
3858
|
supported_messages: number[];
|
|
3933
|
-
protobuf_definition?: string;
|
|
3934
3859
|
};
|
|
3935
3860
|
declare enum DeviceErrorCode {
|
|
3936
3861
|
DeviceError_None = 0,
|
|
@@ -3998,6 +3923,39 @@ type DeviceCertificateSignature = {
|
|
|
3998
3923
|
type DeviceCertificateSign = {
|
|
3999
3924
|
data: string;
|
|
4000
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
|
+
};
|
|
4001
3959
|
declare enum DeviceFirmwareTargetType {
|
|
4002
3960
|
FW_MGMT_TARGET_INVALID = 0,
|
|
4003
3961
|
FW_MGMT_TARGET_CRATE = 1,
|
|
@@ -4048,36 +4006,6 @@ type DeviceFirmwareUpdateStatusGet = {
|
|
|
4048
4006
|
type DeviceFirmwareUpdateStatus = {
|
|
4049
4007
|
records: DeviceFirmwareUpdateRecord[];
|
|
4050
4008
|
};
|
|
4051
|
-
declare enum DeviceFactoryAck {
|
|
4052
|
-
FACTORY_ACK_SUCCESS = 0,
|
|
4053
|
-
FACTORY_ACK_FAIL = 1
|
|
4054
|
-
}
|
|
4055
|
-
type DeviceFactoryInfoManufactureTime = {
|
|
4056
|
-
year: number;
|
|
4057
|
-
month: number;
|
|
4058
|
-
day: number;
|
|
4059
|
-
hour: number;
|
|
4060
|
-
minute: number;
|
|
4061
|
-
second: number;
|
|
4062
|
-
};
|
|
4063
|
-
type DeviceFactoryInfo = {
|
|
4064
|
-
version?: number;
|
|
4065
|
-
serial_number?: string;
|
|
4066
|
-
burn_in_completed?: boolean;
|
|
4067
|
-
factory_test_completed?: boolean;
|
|
4068
|
-
manufacture_time?: DeviceFactoryInfoManufactureTime;
|
|
4069
|
-
};
|
|
4070
|
-
type DeviceFactoryInfoSet = {
|
|
4071
|
-
info: DeviceFactoryInfo;
|
|
4072
|
-
};
|
|
4073
|
-
type DeviceFactoryInfoGet = {};
|
|
4074
|
-
type DeviceFactoryPermanentLock = {
|
|
4075
|
-
check_a: string;
|
|
4076
|
-
check_b: string;
|
|
4077
|
-
};
|
|
4078
|
-
type DeviceFactoryTest = {
|
|
4079
|
-
burn_in_test: boolean;
|
|
4080
|
-
};
|
|
4081
4009
|
declare enum DeviceType {
|
|
4082
4010
|
CLASSIC1 = 0,
|
|
4083
4011
|
CLASSIC1S = 1,
|
|
@@ -4134,7 +4062,6 @@ type DeviceInfoTargets = {
|
|
|
4134
4062
|
se2?: boolean;
|
|
4135
4063
|
se3?: boolean;
|
|
4136
4064
|
se4?: boolean;
|
|
4137
|
-
status?: boolean;
|
|
4138
4065
|
};
|
|
4139
4066
|
type DeviceInfoTypes = {
|
|
4140
4067
|
version?: boolean;
|
|
@@ -4155,7 +4082,6 @@ type ProtocolV2DeviceInfo = {
|
|
|
4155
4082
|
se2?: DeviceSEInfo;
|
|
4156
4083
|
se3?: DeviceSEInfo;
|
|
4157
4084
|
se4?: DeviceSEInfo;
|
|
4158
|
-
status?: DeviceStatus;
|
|
4159
4085
|
};
|
|
4160
4086
|
declare enum DeviceSessionErrorCode {
|
|
4161
4087
|
DeviceSessionError_None = 0,
|
|
@@ -4182,7 +4108,7 @@ type DeviceSessionAskPin = {
|
|
|
4182
4108
|
};
|
|
4183
4109
|
type DeviceSessionAskPassphrase = {
|
|
4184
4110
|
passphrase?: string;
|
|
4185
|
-
on_device
|
|
4111
|
+
on_device: boolean;
|
|
4186
4112
|
};
|
|
4187
4113
|
declare enum DeviceSessionAskPin_FailureSubCodes {
|
|
4188
4114
|
UserCancel = 1
|
|
@@ -4197,53 +4123,6 @@ type DeviceStatus = {
|
|
|
4197
4123
|
unlocked_by_attach_to_pin?: boolean;
|
|
4198
4124
|
};
|
|
4199
4125
|
type DeviceStatusGet = {};
|
|
4200
|
-
declare enum DevOnboardingStep {
|
|
4201
|
-
DEV_ONBOARDING_STEP_UNKNOWN = 0,
|
|
4202
|
-
DEV_ONBOARDING_STEP_CHECKING = 1,
|
|
4203
|
-
DEV_ONBOARDING_STEP_PERSONALIZATION = 2,
|
|
4204
|
-
DEV_ONBOARDING_STEP_PIN = 3,
|
|
4205
|
-
DEV_ONBOARDING_STEP_SETUP = 4,
|
|
4206
|
-
DEV_ONBOARDING_STEP_DONE = 5
|
|
4207
|
-
}
|
|
4208
|
-
declare enum DevOnboardingPhase {
|
|
4209
|
-
DEV_ONBOARDING_PHASE_UNKNOWN = 0,
|
|
4210
|
-
DEV_ONBOARDING_PHASE_SAFETY_CHECK = 1,
|
|
4211
|
-
DEV_ONBOARDING_PHASE_PIN_SETUP = 2,
|
|
4212
|
-
DEV_ONBOARDING_PHASE_FINGERPRINT_SETUP = 3,
|
|
4213
|
-
DEV_ONBOARDING_PHASE_SETUP_CHOICE = 4,
|
|
4214
|
-
DEV_ONBOARDING_PHASE_WALLET_CREATE_START = 5,
|
|
4215
|
-
DEV_ONBOARDING_PHASE_RECOVERY_PHRASE_VIEW = 6,
|
|
4216
|
-
DEV_ONBOARDING_PHASE_RECOVERY_PHRASE_CONFIRM = 7,
|
|
4217
|
-
DEV_ONBOARDING_PHASE_RESTORE_METHOD_CHOICE = 8,
|
|
4218
|
-
DEV_ONBOARDING_PHASE_RECOVERY_PHRASE_RESTORE = 9,
|
|
4219
|
-
DEV_ONBOARDING_PHASE_SEEDCARD_RESTORE = 10,
|
|
4220
|
-
DEV_ONBOARDING_PHASE_WALLET_READY = 11,
|
|
4221
|
-
DEV_ONBOARDING_PHASE_SEEDCARD_BACKUP_PROMPT = 12,
|
|
4222
|
-
DEV_ONBOARDING_PHASE_SEEDCARD_BACKUP = 13
|
|
4223
|
-
}
|
|
4224
|
-
declare enum DevOnboardingSetupKind {
|
|
4225
|
-
DEV_ONBOARDING_SETUP_KIND_UNKNOWN = 0,
|
|
4226
|
-
DEV_ONBOARDING_SETUP_KIND_CHOICE = 1,
|
|
4227
|
-
DEV_ONBOARDING_SETUP_KIND_CREATE = 2,
|
|
4228
|
-
DEV_ONBOARDING_SETUP_KIND_RESTORE = 3
|
|
4229
|
-
}
|
|
4230
|
-
declare enum DevOnboardingSetupMethod {
|
|
4231
|
-
DEV_ONBOARDING_SETUP_METHOD_UNKNOWN = 0,
|
|
4232
|
-
DEV_ONBOARDING_SETUP_METHOD_RECOVERY_PHRASE = 1,
|
|
4233
|
-
DEV_ONBOARDING_SETUP_METHOD_SEEDCARD = 2
|
|
4234
|
-
}
|
|
4235
|
-
type DevOnboardingSetupStatus = {
|
|
4236
|
-
kind?: DevOnboardingSetupKind;
|
|
4237
|
-
method?: DevOnboardingSetupMethod;
|
|
4238
|
-
};
|
|
4239
|
-
type DevGetOnboardingStatus = {};
|
|
4240
|
-
type DevOnboardingStatus = {
|
|
4241
|
-
step?: DevOnboardingStep;
|
|
4242
|
-
phase?: DevOnboardingPhase;
|
|
4243
|
-
setup?: DevOnboardingSetupStatus;
|
|
4244
|
-
pin_set?: boolean;
|
|
4245
|
-
wallet_initialized?: boolean;
|
|
4246
|
-
};
|
|
4247
4126
|
type FilesystemPermissionFix = {};
|
|
4248
4127
|
type FilesystemPathInfo = {
|
|
4249
4128
|
exist: boolean;
|
|
@@ -4304,7 +4183,110 @@ type FilesystemFormat = {
|
|
|
4304
4183
|
data: boolean;
|
|
4305
4184
|
user: boolean;
|
|
4306
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
|
+
};
|
|
4307
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
|
+
};
|
|
4308
4290
|
declare enum ProtocolV2FailureType {
|
|
4309
4291
|
Failure_InvalidMessage = 1,
|
|
4310
4292
|
Failure_UndefinedError = 2,
|
|
@@ -4907,26 +4889,15 @@ type MessageType = {
|
|
|
4907
4889
|
PaymentRequestMemo: PaymentRequestMemo;
|
|
4908
4890
|
TxAckPaymentRequest: TxAckPaymentRequest;
|
|
4909
4891
|
EthereumSignTypedDataQR: EthereumSignTypedDataQR;
|
|
4910
|
-
InternalMyAddressRequest: InternalMyAddressRequest;
|
|
4911
|
-
StartSession: StartSession;
|
|
4912
4892
|
SetBusy: SetBusy;
|
|
4913
4893
|
GetFirmwareHash: GetFirmwareHash;
|
|
4914
4894
|
FirmwareHash: FirmwareHash;
|
|
4915
4895
|
GetNonce: GetNonce;
|
|
4916
4896
|
Nonce: Nonce;
|
|
4917
4897
|
WriteSEPrivateKey: WriteSEPrivateKey;
|
|
4918
|
-
SetWallpaper: SetWallpaper;
|
|
4919
|
-
GetWallpaper: GetWallpaper;
|
|
4920
|
-
Wallpaper: Wallpaper;
|
|
4921
4898
|
UnlockPath: UnlockPath;
|
|
4922
4899
|
UnlockedPathRequest: UnlockedPathRequest;
|
|
4923
4900
|
UiAnimationRequest: UiAnimationRequest;
|
|
4924
|
-
ViewAmount: ViewAmount;
|
|
4925
|
-
ViewDetail: ViewDetail;
|
|
4926
|
-
ViewTip: ViewTip;
|
|
4927
|
-
ViewRawData: ViewRawData;
|
|
4928
|
-
ViewSignPage: ViewSignPage;
|
|
4929
|
-
ViewVerifyPage: ViewVerifyPage;
|
|
4930
4901
|
ProtocolInfoRequest: ProtocolInfoRequest;
|
|
4931
4902
|
ProtocolInfo: ProtocolInfo;
|
|
4932
4903
|
DeviceReboot: DeviceReboot;
|
|
@@ -4939,18 +4910,19 @@ type MessageType = {
|
|
|
4939
4910
|
DeviceCertificateRead: DeviceCertificateRead;
|
|
4940
4911
|
DeviceCertificateSignature: DeviceCertificateSignature;
|
|
4941
4912
|
DeviceCertificateSign: DeviceCertificateSign;
|
|
4942
|
-
|
|
4943
|
-
DeviceFirmwareUpdateRequest: DeviceFirmwareUpdateRequest;
|
|
4944
|
-
DeviceFirmwareUpdateRecord: DeviceFirmwareUpdateRecord;
|
|
4945
|
-
DeviceFirmwareUpdateRecordFields: DeviceFirmwareUpdateRecordFields;
|
|
4946
|
-
DeviceFirmwareUpdateStatusGet: DeviceFirmwareUpdateStatusGet;
|
|
4947
|
-
DeviceFirmwareUpdateStatus: DeviceFirmwareUpdateStatus;
|
|
4913
|
+
DeviceMiscUsbMscControl: DeviceMiscUsbMscControl;
|
|
4948
4914
|
DeviceFactoryInfoManufactureTime: DeviceFactoryInfoManufactureTime;
|
|
4949
4915
|
DeviceFactoryInfo: DeviceFactoryInfo;
|
|
4950
4916
|
DeviceFactoryInfoSet: DeviceFactoryInfoSet;
|
|
4951
4917
|
DeviceFactoryInfoGet: DeviceFactoryInfoGet;
|
|
4952
4918
|
DeviceFactoryPermanentLock: DeviceFactoryPermanentLock;
|
|
4953
4919
|
DeviceFactoryTest: DeviceFactoryTest;
|
|
4920
|
+
DeviceFirmwareTarget: DeviceFirmwareTarget;
|
|
4921
|
+
DeviceFirmwareUpdateRequest: DeviceFirmwareUpdateRequest;
|
|
4922
|
+
DeviceFirmwareUpdateRecord: DeviceFirmwareUpdateRecord;
|
|
4923
|
+
DeviceFirmwareUpdateRecordFields: DeviceFirmwareUpdateRecordFields;
|
|
4924
|
+
DeviceFirmwareUpdateStatusGet: DeviceFirmwareUpdateStatusGet;
|
|
4925
|
+
DeviceFirmwareUpdateStatus: DeviceFirmwareUpdateStatus;
|
|
4954
4926
|
DeviceFirmwareImageInfo: DeviceFirmwareImageInfo;
|
|
4955
4927
|
DeviceHardwareInfo: DeviceHardwareInfo;
|
|
4956
4928
|
DeviceMainMcuInfo: DeviceMainMcuInfo;
|
|
@@ -4965,9 +4937,6 @@ type MessageType = {
|
|
|
4965
4937
|
DeviceSessionAskPassphrase: DeviceSessionAskPassphrase;
|
|
4966
4938
|
DeviceStatus: DeviceStatus;
|
|
4967
4939
|
DeviceStatusGet: DeviceStatusGet;
|
|
4968
|
-
DevOnboardingSetupStatus: DevOnboardingSetupStatus;
|
|
4969
|
-
DevGetOnboardingStatus: DevGetOnboardingStatus;
|
|
4970
|
-
DevOnboardingStatus: DevOnboardingStatus;
|
|
4971
4940
|
FilesystemPermissionFix: FilesystemPermissionFix;
|
|
4972
4941
|
FilesystemPathInfo: FilesystemPathInfo;
|
|
4973
4942
|
FilesystemPathInfoQuery: FilesystemPathInfoQuery;
|
|
@@ -4980,7 +4949,17 @@ type MessageType = {
|
|
|
4980
4949
|
FilesystemDirMake: FilesystemDirMake;
|
|
4981
4950
|
FilesystemDirRemove: FilesystemDirRemove;
|
|
4982
4951
|
FilesystemFormat: FilesystemFormat;
|
|
4952
|
+
InternalMyAddressRequest: InternalMyAddressRequest;
|
|
4953
|
+
OnboardingSetupStatus: OnboardingSetupStatus;
|
|
4954
|
+
OnboardingStatusGet: OnboardingStatusGet;
|
|
4955
|
+
OnboardingStatus: OnboardingStatus;
|
|
4983
4956
|
PortfolioUpdate: PortfolioUpdate;
|
|
4957
|
+
ViewAmount: ViewAmount;
|
|
4958
|
+
ViewDetail: ViewDetail;
|
|
4959
|
+
ViewTip: ViewTip;
|
|
4960
|
+
ViewRawData: ViewRawData;
|
|
4961
|
+
ViewSignPage: ViewSignPage;
|
|
4962
|
+
ViewVerifyPage: ViewVerifyPage;
|
|
4984
4963
|
};
|
|
4985
4964
|
type MessageKey = keyof MessageType;
|
|
4986
4965
|
type MessageResponse<T extends MessageKey> = {
|
|
@@ -5711,19 +5690,12 @@ type messages_CoinPurchaseMemo = CoinPurchaseMemo;
|
|
|
5711
5690
|
type messages_PaymentRequestMemo = PaymentRequestMemo;
|
|
5712
5691
|
type messages_TxAckPaymentRequest = TxAckPaymentRequest;
|
|
5713
5692
|
type messages_EthereumSignTypedDataQR = EthereumSignTypedDataQR;
|
|
5714
|
-
type messages_InternalMyAddressRequest = InternalMyAddressRequest;
|
|
5715
|
-
type messages_StartSession = StartSession;
|
|
5716
5693
|
type messages_SetBusy = SetBusy;
|
|
5717
5694
|
type messages_GetFirmwareHash = GetFirmwareHash;
|
|
5718
5695
|
type messages_FirmwareHash = FirmwareHash;
|
|
5719
5696
|
type messages_GetNonce = GetNonce;
|
|
5720
5697
|
type messages_Nonce = Nonce;
|
|
5721
5698
|
type messages_WriteSEPrivateKey = WriteSEPrivateKey;
|
|
5722
|
-
type messages_WallpaperTarget = WallpaperTarget;
|
|
5723
|
-
declare const messages_WallpaperTarget: typeof WallpaperTarget;
|
|
5724
|
-
type messages_SetWallpaper = SetWallpaper;
|
|
5725
|
-
type messages_GetWallpaper = GetWallpaper;
|
|
5726
|
-
type messages_Wallpaper = Wallpaper;
|
|
5727
5699
|
type messages_UnlockPath = UnlockPath;
|
|
5728
5700
|
type messages_UnlockedPathRequest = UnlockedPathRequest;
|
|
5729
5701
|
type messages_MoneroNetworkType = MoneroNetworkType;
|
|
@@ -5733,16 +5705,6 @@ declare const messages_UiAnimationType: typeof UiAnimationType;
|
|
|
5733
5705
|
type messages_UiAnimationCommand = UiAnimationCommand;
|
|
5734
5706
|
declare const messages_UiAnimationCommand: typeof UiAnimationCommand;
|
|
5735
5707
|
type messages_UiAnimationRequest = UiAnimationRequest;
|
|
5736
|
-
type messages_ViewAmount = ViewAmount;
|
|
5737
|
-
type messages_ViewDetail = ViewDetail;
|
|
5738
|
-
type messages_ViewTipType = ViewTipType;
|
|
5739
|
-
declare const messages_ViewTipType: typeof ViewTipType;
|
|
5740
|
-
type messages_ViewTip = ViewTip;
|
|
5741
|
-
type messages_ViewRawData = ViewRawData;
|
|
5742
|
-
type messages_ViewSignLayout = ViewSignLayout;
|
|
5743
|
-
declare const messages_ViewSignLayout: typeof ViewSignLayout;
|
|
5744
|
-
type messages_ViewSignPage = ViewSignPage;
|
|
5745
|
-
type messages_ViewVerifyPage = ViewVerifyPage;
|
|
5746
5708
|
type messages_ProtocolInfoRequest = ProtocolInfoRequest;
|
|
5747
5709
|
type messages_ProtocolInfo = ProtocolInfo;
|
|
5748
5710
|
type messages_DeviceErrorCode = DeviceErrorCode;
|
|
@@ -5761,6 +5723,15 @@ type messages_DeviceCertificateWrite = DeviceCertificateWrite;
|
|
|
5761
5723
|
type messages_DeviceCertificateRead = DeviceCertificateRead;
|
|
5762
5724
|
type messages_DeviceCertificateSignature = DeviceCertificateSignature;
|
|
5763
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;
|
|
5764
5735
|
type messages_DeviceFirmwareTargetType = DeviceFirmwareTargetType;
|
|
5765
5736
|
declare const messages_DeviceFirmwareTargetType: typeof DeviceFirmwareTargetType;
|
|
5766
5737
|
type messages_DeviceFirmwareUpdateTaskStatus = DeviceFirmwareUpdateTaskStatus;
|
|
@@ -5771,14 +5742,6 @@ type messages_DeviceFirmwareUpdateRecord = DeviceFirmwareUpdateRecord;
|
|
|
5771
5742
|
type messages_DeviceFirmwareUpdateRecordFields = DeviceFirmwareUpdateRecordFields;
|
|
5772
5743
|
type messages_DeviceFirmwareUpdateStatusGet = DeviceFirmwareUpdateStatusGet;
|
|
5773
5744
|
type messages_DeviceFirmwareUpdateStatus = DeviceFirmwareUpdateStatus;
|
|
5774
|
-
type messages_DeviceFactoryAck = DeviceFactoryAck;
|
|
5775
|
-
declare const messages_DeviceFactoryAck: typeof DeviceFactoryAck;
|
|
5776
|
-
type messages_DeviceFactoryInfoManufactureTime = DeviceFactoryInfoManufactureTime;
|
|
5777
|
-
type messages_DeviceFactoryInfo = DeviceFactoryInfo;
|
|
5778
|
-
type messages_DeviceFactoryInfoSet = DeviceFactoryInfoSet;
|
|
5779
|
-
type messages_DeviceFactoryInfoGet = DeviceFactoryInfoGet;
|
|
5780
|
-
type messages_DeviceFactoryPermanentLock = DeviceFactoryPermanentLock;
|
|
5781
|
-
type messages_DeviceFactoryTest = DeviceFactoryTest;
|
|
5782
5745
|
type messages_DeviceType = DeviceType;
|
|
5783
5746
|
declare const messages_DeviceType: typeof DeviceType;
|
|
5784
5747
|
type messages_DeviceSeType = DeviceSeType;
|
|
@@ -5806,17 +5769,6 @@ type messages_DeviceSessionAskPin_FailureSubCodes = DeviceSessionAskPin_FailureS
|
|
|
5806
5769
|
declare const messages_DeviceSessionAskPin_FailureSubCodes: typeof DeviceSessionAskPin_FailureSubCodes;
|
|
5807
5770
|
type messages_DeviceStatus = DeviceStatus;
|
|
5808
5771
|
type messages_DeviceStatusGet = DeviceStatusGet;
|
|
5809
|
-
type messages_DevOnboardingStep = DevOnboardingStep;
|
|
5810
|
-
declare const messages_DevOnboardingStep: typeof DevOnboardingStep;
|
|
5811
|
-
type messages_DevOnboardingPhase = DevOnboardingPhase;
|
|
5812
|
-
declare const messages_DevOnboardingPhase: typeof DevOnboardingPhase;
|
|
5813
|
-
type messages_DevOnboardingSetupKind = DevOnboardingSetupKind;
|
|
5814
|
-
declare const messages_DevOnboardingSetupKind: typeof DevOnboardingSetupKind;
|
|
5815
|
-
type messages_DevOnboardingSetupMethod = DevOnboardingSetupMethod;
|
|
5816
|
-
declare const messages_DevOnboardingSetupMethod: typeof DevOnboardingSetupMethod;
|
|
5817
|
-
type messages_DevOnboardingSetupStatus = DevOnboardingSetupStatus;
|
|
5818
|
-
type messages_DevGetOnboardingStatus = DevGetOnboardingStatus;
|
|
5819
|
-
type messages_DevOnboardingStatus = DevOnboardingStatus;
|
|
5820
5772
|
type messages_FilesystemPermissionFix = FilesystemPermissionFix;
|
|
5821
5773
|
type messages_FilesystemPathInfo = FilesystemPathInfo;
|
|
5822
5774
|
type messages_FilesystemPathInfoQuery = FilesystemPathInfoQuery;
|
|
@@ -5829,7 +5781,29 @@ type messages_FilesystemDirList = FilesystemDirList;
|
|
|
5829
5781
|
type messages_FilesystemDirMake = FilesystemDirMake;
|
|
5830
5782
|
type messages_FilesystemDirRemove = FilesystemDirRemove;
|
|
5831
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;
|
|
5832
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;
|
|
5833
5807
|
type messages_ProtocolV2FailureType = ProtocolV2FailureType;
|
|
5834
5808
|
declare const messages_ProtocolV2FailureType: typeof ProtocolV2FailureType;
|
|
5835
5809
|
type messages_Enum_ProtocolV2Capability = Enum_ProtocolV2Capability;
|
|
@@ -6495,32 +6469,18 @@ declare namespace messages {
|
|
|
6495
6469
|
messages_PaymentRequestMemo as PaymentRequestMemo,
|
|
6496
6470
|
messages_TxAckPaymentRequest as TxAckPaymentRequest,
|
|
6497
6471
|
messages_EthereumSignTypedDataQR as EthereumSignTypedDataQR,
|
|
6498
|
-
messages_InternalMyAddressRequest as InternalMyAddressRequest,
|
|
6499
|
-
messages_StartSession as StartSession,
|
|
6500
6472
|
messages_SetBusy as SetBusy,
|
|
6501
6473
|
messages_GetFirmwareHash as GetFirmwareHash,
|
|
6502
6474
|
messages_FirmwareHash as FirmwareHash,
|
|
6503
6475
|
messages_GetNonce as GetNonce,
|
|
6504
6476
|
messages_Nonce as Nonce,
|
|
6505
6477
|
messages_WriteSEPrivateKey as WriteSEPrivateKey,
|
|
6506
|
-
messages_WallpaperTarget as WallpaperTarget,
|
|
6507
|
-
messages_SetWallpaper as SetWallpaper,
|
|
6508
|
-
messages_GetWallpaper as GetWallpaper,
|
|
6509
|
-
messages_Wallpaper as Wallpaper,
|
|
6510
6478
|
messages_UnlockPath as UnlockPath,
|
|
6511
6479
|
messages_UnlockedPathRequest as UnlockedPathRequest,
|
|
6512
6480
|
messages_MoneroNetworkType as MoneroNetworkType,
|
|
6513
6481
|
messages_UiAnimationType as UiAnimationType,
|
|
6514
6482
|
messages_UiAnimationCommand as UiAnimationCommand,
|
|
6515
6483
|
messages_UiAnimationRequest as UiAnimationRequest,
|
|
6516
|
-
messages_ViewAmount as ViewAmount,
|
|
6517
|
-
messages_ViewDetail as ViewDetail,
|
|
6518
|
-
messages_ViewTipType as ViewTipType,
|
|
6519
|
-
messages_ViewTip as ViewTip,
|
|
6520
|
-
messages_ViewRawData as ViewRawData,
|
|
6521
|
-
messages_ViewSignLayout as ViewSignLayout,
|
|
6522
|
-
messages_ViewSignPage as ViewSignPage,
|
|
6523
|
-
messages_ViewVerifyPage as ViewVerifyPage,
|
|
6524
6484
|
messages_ProtocolInfoRequest as ProtocolInfoRequest,
|
|
6525
6485
|
messages_ProtocolInfo as ProtocolInfo,
|
|
6526
6486
|
messages_DeviceErrorCode as DeviceErrorCode,
|
|
@@ -6536,6 +6496,14 @@ declare namespace messages {
|
|
|
6536
6496
|
messages_DeviceCertificateRead as DeviceCertificateRead,
|
|
6537
6497
|
messages_DeviceCertificateSignature as DeviceCertificateSignature,
|
|
6538
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,
|
|
6539
6507
|
messages_DeviceFirmwareTargetType as DeviceFirmwareTargetType,
|
|
6540
6508
|
messages_DeviceFirmwareUpdateTaskStatus as DeviceFirmwareUpdateTaskStatus,
|
|
6541
6509
|
messages_DeviceFirmwareTarget as DeviceFirmwareTarget,
|
|
@@ -6544,13 +6512,6 @@ declare namespace messages {
|
|
|
6544
6512
|
messages_DeviceFirmwareUpdateRecordFields as DeviceFirmwareUpdateRecordFields,
|
|
6545
6513
|
messages_DeviceFirmwareUpdateStatusGet as DeviceFirmwareUpdateStatusGet,
|
|
6546
6514
|
messages_DeviceFirmwareUpdateStatus as DeviceFirmwareUpdateStatus,
|
|
6547
|
-
messages_DeviceFactoryAck as DeviceFactoryAck,
|
|
6548
|
-
messages_DeviceFactoryInfoManufactureTime as DeviceFactoryInfoManufactureTime,
|
|
6549
|
-
messages_DeviceFactoryInfo as DeviceFactoryInfo,
|
|
6550
|
-
messages_DeviceFactoryInfoSet as DeviceFactoryInfoSet,
|
|
6551
|
-
messages_DeviceFactoryInfoGet as DeviceFactoryInfoGet,
|
|
6552
|
-
messages_DeviceFactoryPermanentLock as DeviceFactoryPermanentLock,
|
|
6553
|
-
messages_DeviceFactoryTest as DeviceFactoryTest,
|
|
6554
6515
|
messages_DeviceType as DeviceType,
|
|
6555
6516
|
messages_DeviceSeType as DeviceSeType,
|
|
6556
6517
|
messages_DeviceSEState as DeviceSEState,
|
|
@@ -6572,13 +6533,6 @@ declare namespace messages {
|
|
|
6572
6533
|
messages_DeviceSessionAskPin_FailureSubCodes as DeviceSessionAskPin_FailureSubCodes,
|
|
6573
6534
|
messages_DeviceStatus as DeviceStatus,
|
|
6574
6535
|
messages_DeviceStatusGet as DeviceStatusGet,
|
|
6575
|
-
messages_DevOnboardingStep as DevOnboardingStep,
|
|
6576
|
-
messages_DevOnboardingPhase as DevOnboardingPhase,
|
|
6577
|
-
messages_DevOnboardingSetupKind as DevOnboardingSetupKind,
|
|
6578
|
-
messages_DevOnboardingSetupMethod as DevOnboardingSetupMethod,
|
|
6579
|
-
messages_DevOnboardingSetupStatus as DevOnboardingSetupStatus,
|
|
6580
|
-
messages_DevGetOnboardingStatus as DevGetOnboardingStatus,
|
|
6581
|
-
messages_DevOnboardingStatus as DevOnboardingStatus,
|
|
6582
6536
|
messages_FilesystemPermissionFix as FilesystemPermissionFix,
|
|
6583
6537
|
messages_FilesystemPathInfo as FilesystemPathInfo,
|
|
6584
6538
|
messages_FilesystemPathInfoQuery as FilesystemPathInfoQuery,
|
|
@@ -6591,7 +6545,23 @@ declare namespace messages {
|
|
|
6591
6545
|
messages_FilesystemDirMake as FilesystemDirMake,
|
|
6592
6546
|
messages_FilesystemDirRemove as FilesystemDirRemove,
|
|
6593
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,
|
|
6594
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,
|
|
6595
6565
|
messages_ProtocolV2FailureType as ProtocolV2FailureType,
|
|
6596
6566
|
messages_Enum_ProtocolV2Capability as Enum_ProtocolV2Capability,
|
|
6597
6567
|
messages_ProtocolV2Capability as ProtocolV2Capability,
|
|
@@ -6759,6 +6729,14 @@ declare namespace check {
|
|
|
6759
6729
|
|
|
6760
6730
|
declare const LogBlockCommand: Set<string>;
|
|
6761
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
|
+
|
|
6762
6740
|
/** Protocol V1 USB report marker, ASCII `?`. */
|
|
6763
6741
|
declare const PROTOCOL_V1_REPORT_ID = 63;
|
|
6764
6742
|
/** Protocol V1 envelope marker, ASCII `#`. */
|
|
@@ -6879,4 +6857,4 @@ declare const _default: {
|
|
|
6879
6857
|
withProtocolTimeout: typeof withProtocolTimeout;
|
|
6880
6858
|
};
|
|
6881
6859
|
|
|
6882
|
-
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 };
|