@onekeyfe/hd-transport 1.1.27-alpha.41 → 1.1.27-alpha.43
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/dist/index.d.ts +107 -69
- package/dist/index.js +13 -19
- package/dist/types/messages.d.ts +75 -49
- package/dist/types/messages.d.ts.map +1 -1
- package/messages-protocol-v2.json +493 -250
- package/package.json +2 -2
- package/scripts/protobuf-build.sh +164 -15
- package/src/protocols/v2/session.ts +2 -2
- package/src/types/messages.ts +99 -66
package/dist/index.d.ts
CHANGED
|
@@ -3554,6 +3554,19 @@ type TxAckPaymentRequest = {
|
|
|
3554
3554
|
amount?: UintType;
|
|
3555
3555
|
signature: string;
|
|
3556
3556
|
};
|
|
3557
|
+
type DebugLinkInput = {
|
|
3558
|
+
x?: number;
|
|
3559
|
+
y?: number;
|
|
3560
|
+
duration_ms?: number;
|
|
3561
|
+
x_end?: number;
|
|
3562
|
+
y_end?: number;
|
|
3563
|
+
};
|
|
3564
|
+
type InternalMyAddressRequest = {
|
|
3565
|
+
coin_type: number;
|
|
3566
|
+
chain_id: number;
|
|
3567
|
+
account_index: number;
|
|
3568
|
+
derive_type: number;
|
|
3569
|
+
};
|
|
3557
3570
|
type SetBusy = {
|
|
3558
3571
|
expiry_ms?: number;
|
|
3559
3572
|
};
|
|
@@ -3570,6 +3583,21 @@ type Nonce = {
|
|
|
3570
3583
|
type WriteSEPrivateKey = {
|
|
3571
3584
|
private_key: string;
|
|
3572
3585
|
};
|
|
3586
|
+
declare enum WallpaperTarget {
|
|
3587
|
+
Home = 0,
|
|
3588
|
+
Lock = 1
|
|
3589
|
+
}
|
|
3590
|
+
type SetWallpaper = {
|
|
3591
|
+
target: WallpaperTarget;
|
|
3592
|
+
path: string;
|
|
3593
|
+
};
|
|
3594
|
+
type GetWallpaper = {
|
|
3595
|
+
target: WallpaperTarget;
|
|
3596
|
+
};
|
|
3597
|
+
type Wallpaper = {
|
|
3598
|
+
target: WallpaperTarget;
|
|
3599
|
+
path: string;
|
|
3600
|
+
};
|
|
3573
3601
|
type UnlockPath = {
|
|
3574
3602
|
address_n: number[];
|
|
3575
3603
|
mac?: string;
|
|
@@ -3583,37 +3611,26 @@ declare enum MoneroNetworkType {
|
|
|
3583
3611
|
STAGENET = 2,
|
|
3584
3612
|
FAKECHAIN = 3
|
|
3585
3613
|
}
|
|
3586
|
-
type
|
|
3614
|
+
type ViewAmount = {
|
|
3615
|
+
is_unlimited: boolean;
|
|
3587
3616
|
num: string;
|
|
3588
|
-
decimals: number;
|
|
3589
3617
|
symbol: string;
|
|
3590
3618
|
};
|
|
3591
|
-
type
|
|
3592
|
-
key: number;
|
|
3593
|
-
address: string;
|
|
3594
|
-
owner?: string;
|
|
3595
|
-
icon?: string;
|
|
3596
|
-
};
|
|
3597
|
-
type TxDetailsNetwork = {
|
|
3598
|
-
coin_type: number;
|
|
3599
|
-
chain_id?: number;
|
|
3600
|
-
};
|
|
3601
|
-
type TxDetailsGeneral = {
|
|
3619
|
+
type ViewDetail = {
|
|
3602
3620
|
key: number;
|
|
3603
3621
|
value: string;
|
|
3604
3622
|
is_overview: boolean;
|
|
3623
|
+
has_icon: boolean;
|
|
3605
3624
|
};
|
|
3606
|
-
|
|
3607
|
-
DISPLAY_TYPE_INFO = 0,
|
|
3608
|
-
DISPLAY_TYPE_SIGN = 1
|
|
3609
|
-
}
|
|
3610
|
-
type TxDetailsPage = {
|
|
3625
|
+
type ViewSignPage = {
|
|
3611
3626
|
title: string;
|
|
3612
|
-
display_type: TxDetailsDisplayType;
|
|
3613
3627
|
amount?: UintType;
|
|
3614
|
-
|
|
3615
|
-
|
|
3616
|
-
|
|
3628
|
+
general: ViewDetail[];
|
|
3629
|
+
};
|
|
3630
|
+
type ViewVerifyPage = {
|
|
3631
|
+
title: string;
|
|
3632
|
+
address: string;
|
|
3633
|
+
path: string;
|
|
3617
3634
|
};
|
|
3618
3635
|
type GetProtoVersion = {};
|
|
3619
3636
|
type ProtoVersion = {
|
|
@@ -3650,7 +3667,7 @@ type DeviceFirmwareImageInfo = {
|
|
|
3650
3667
|
hash?: string;
|
|
3651
3668
|
};
|
|
3652
3669
|
type DeviceHardwareInfo = {
|
|
3653
|
-
|
|
3670
|
+
device_type?: DeviceType;
|
|
3654
3671
|
serial_no?: string;
|
|
3655
3672
|
hardware_version?: string;
|
|
3656
3673
|
hardware_version_raw_adc?: number;
|
|
@@ -3727,7 +3744,6 @@ type DeviceFirmwareTarget = {
|
|
|
3727
3744
|
};
|
|
3728
3745
|
type DeviceFirmwareUpdate = {
|
|
3729
3746
|
targets: DeviceFirmwareTarget[];
|
|
3730
|
-
max_concurrent?: number;
|
|
3731
3747
|
};
|
|
3732
3748
|
type DeviceFirmwareInstallProgress = {
|
|
3733
3749
|
target_id: DeviceFirmwareTargetType;
|
|
@@ -3813,26 +3829,30 @@ type FilesystemDirRemove = {
|
|
|
3813
3829
|
path: string;
|
|
3814
3830
|
};
|
|
3815
3831
|
type FilesystemFormat = {};
|
|
3816
|
-
type FilesystemDiskControl = {
|
|
3817
|
-
enable: number;
|
|
3818
|
-
};
|
|
3819
3832
|
declare enum OnboardingStep {
|
|
3820
|
-
|
|
3821
|
-
|
|
3822
|
-
|
|
3823
|
-
|
|
3824
|
-
|
|
3825
|
-
SEEDCARD_BACKUP = 5,
|
|
3826
|
-
RESTORE_CHOICE = 6,
|
|
3827
|
-
RESTORE_MNEMONIC = 7,
|
|
3828
|
-
RESTORE_MNEMONIC_SEEDCARD_BACKUP = 8,
|
|
3829
|
-
RESTORE_SEEDCARD = 9,
|
|
3830
|
-
DONE = 100
|
|
3833
|
+
ONBOARDING_STEP_UNKNOWN = 0,
|
|
3834
|
+
ONBOARDING_STEP_DEVICE_VERIFICATION = 1,
|
|
3835
|
+
ONBOARDING_STEP_PERSONALIZATION = 2,
|
|
3836
|
+
ONBOARDING_STEP_SETUP = 3,
|
|
3837
|
+
ONBOARDING_STEP_FIRMWARE = 4
|
|
3831
3838
|
}
|
|
3832
|
-
type
|
|
3833
|
-
type
|
|
3839
|
+
type GetOnboardingStatus = {};
|
|
3840
|
+
type NewDevice = {
|
|
3841
|
+
seedcard_backup?: boolean;
|
|
3842
|
+
};
|
|
3843
|
+
type Restore = {
|
|
3844
|
+
mnemonic?: boolean;
|
|
3845
|
+
seedcard?: boolean;
|
|
3846
|
+
};
|
|
3847
|
+
type Setup = {
|
|
3848
|
+
new_device?: NewDevice;
|
|
3849
|
+
restore?: Restore;
|
|
3850
|
+
};
|
|
3851
|
+
type OnboardingStatus = {
|
|
3834
3852
|
step: OnboardingStep;
|
|
3835
|
-
|
|
3853
|
+
setup?: Setup;
|
|
3854
|
+
detail_code?: number;
|
|
3855
|
+
detail_str?: string;
|
|
3836
3856
|
};
|
|
3837
3857
|
type MessageType = {
|
|
3838
3858
|
AlephiumGetAddress: AlephiumGetAddress;
|
|
@@ -4396,19 +4416,23 @@ type MessageType = {
|
|
|
4396
4416
|
CoinPurchaseMemo: CoinPurchaseMemo;
|
|
4397
4417
|
PaymentRequestMemo: PaymentRequestMemo;
|
|
4398
4418
|
TxAckPaymentRequest: TxAckPaymentRequest;
|
|
4419
|
+
DebugLinkInput: DebugLinkInput;
|
|
4420
|
+
InternalMyAddressRequest: InternalMyAddressRequest;
|
|
4399
4421
|
SetBusy: SetBusy;
|
|
4400
4422
|
GetFirmwareHash: GetFirmwareHash;
|
|
4401
4423
|
FirmwareHash: FirmwareHash;
|
|
4402
4424
|
GetNonce: GetNonce;
|
|
4403
4425
|
Nonce: Nonce;
|
|
4404
4426
|
WriteSEPrivateKey: WriteSEPrivateKey;
|
|
4427
|
+
SetWallpaper: SetWallpaper;
|
|
4428
|
+
GetWallpaper: GetWallpaper;
|
|
4429
|
+
Wallpaper: Wallpaper;
|
|
4405
4430
|
UnlockPath: UnlockPath;
|
|
4406
4431
|
UnlockedPathRequest: UnlockedPathRequest;
|
|
4407
|
-
|
|
4408
|
-
|
|
4409
|
-
|
|
4410
|
-
|
|
4411
|
-
TxDetailsPage: TxDetailsPage;
|
|
4432
|
+
ViewAmount: ViewAmount;
|
|
4433
|
+
ViewDetail: ViewDetail;
|
|
4434
|
+
ViewSignPage: ViewSignPage;
|
|
4435
|
+
ViewVerifyPage: ViewVerifyPage;
|
|
4412
4436
|
GetProtoVersion: GetProtoVersion;
|
|
4413
4437
|
ProtoVersion: ProtoVersion;
|
|
4414
4438
|
DeviceReboot: DeviceReboot;
|
|
@@ -4442,9 +4466,11 @@ type MessageType = {
|
|
|
4442
4466
|
FilesystemDirMake: FilesystemDirMake;
|
|
4443
4467
|
FilesystemDirRemove: FilesystemDirRemove;
|
|
4444
4468
|
FilesystemFormat: FilesystemFormat;
|
|
4445
|
-
|
|
4446
|
-
|
|
4447
|
-
|
|
4469
|
+
GetOnboardingStatus: GetOnboardingStatus;
|
|
4470
|
+
NewDevice: NewDevice;
|
|
4471
|
+
Restore: Restore;
|
|
4472
|
+
Setup: Setup;
|
|
4473
|
+
OnboardingStatus: OnboardingStatus;
|
|
4448
4474
|
};
|
|
4449
4475
|
type MessageKey = keyof MessageType;
|
|
4450
4476
|
type MessageResponse<T extends MessageKey> = {
|
|
@@ -5157,23 +5183,27 @@ type messages_RefundMemo = RefundMemo;
|
|
|
5157
5183
|
type messages_CoinPurchaseMemo = CoinPurchaseMemo;
|
|
5158
5184
|
type messages_PaymentRequestMemo = PaymentRequestMemo;
|
|
5159
5185
|
type messages_TxAckPaymentRequest = TxAckPaymentRequest;
|
|
5186
|
+
type messages_DebugLinkInput = DebugLinkInput;
|
|
5187
|
+
type messages_InternalMyAddressRequest = InternalMyAddressRequest;
|
|
5160
5188
|
type messages_SetBusy = SetBusy;
|
|
5161
5189
|
type messages_GetFirmwareHash = GetFirmwareHash;
|
|
5162
5190
|
type messages_FirmwareHash = FirmwareHash;
|
|
5163
5191
|
type messages_GetNonce = GetNonce;
|
|
5164
5192
|
type messages_Nonce = Nonce;
|
|
5165
5193
|
type messages_WriteSEPrivateKey = WriteSEPrivateKey;
|
|
5194
|
+
type messages_WallpaperTarget = WallpaperTarget;
|
|
5195
|
+
declare const messages_WallpaperTarget: typeof WallpaperTarget;
|
|
5196
|
+
type messages_SetWallpaper = SetWallpaper;
|
|
5197
|
+
type messages_GetWallpaper = GetWallpaper;
|
|
5198
|
+
type messages_Wallpaper = Wallpaper;
|
|
5166
5199
|
type messages_UnlockPath = UnlockPath;
|
|
5167
5200
|
type messages_UnlockedPathRequest = UnlockedPathRequest;
|
|
5168
5201
|
type messages_MoneroNetworkType = MoneroNetworkType;
|
|
5169
5202
|
declare const messages_MoneroNetworkType: typeof MoneroNetworkType;
|
|
5170
|
-
type
|
|
5171
|
-
type
|
|
5172
|
-
type
|
|
5173
|
-
type
|
|
5174
|
-
type messages_TxDetailsDisplayType = TxDetailsDisplayType;
|
|
5175
|
-
declare const messages_TxDetailsDisplayType: typeof TxDetailsDisplayType;
|
|
5176
|
-
type messages_TxDetailsPage = TxDetailsPage;
|
|
5203
|
+
type messages_ViewAmount = ViewAmount;
|
|
5204
|
+
type messages_ViewDetail = ViewDetail;
|
|
5205
|
+
type messages_ViewSignPage = ViewSignPage;
|
|
5206
|
+
type messages_ViewVerifyPage = ViewVerifyPage;
|
|
5177
5207
|
type messages_GetProtoVersion = GetProtoVersion;
|
|
5178
5208
|
type messages_ProtoVersion = ProtoVersion;
|
|
5179
5209
|
type messages_DeviceRebootType = DeviceRebootType;
|
|
@@ -5218,11 +5248,13 @@ type messages_FilesystemDirList = FilesystemDirList;
|
|
|
5218
5248
|
type messages_FilesystemDirMake = FilesystemDirMake;
|
|
5219
5249
|
type messages_FilesystemDirRemove = FilesystemDirRemove;
|
|
5220
5250
|
type messages_FilesystemFormat = FilesystemFormat;
|
|
5221
|
-
type messages_FilesystemDiskControl = FilesystemDiskControl;
|
|
5222
5251
|
type messages_OnboardingStep = OnboardingStep;
|
|
5223
5252
|
declare const messages_OnboardingStep: typeof OnboardingStep;
|
|
5224
|
-
type
|
|
5225
|
-
type
|
|
5253
|
+
type messages_GetOnboardingStatus = GetOnboardingStatus;
|
|
5254
|
+
type messages_NewDevice = NewDevice;
|
|
5255
|
+
type messages_Restore = Restore;
|
|
5256
|
+
type messages_Setup = Setup;
|
|
5257
|
+
type messages_OnboardingStatus = OnboardingStatus;
|
|
5226
5258
|
type messages_MessageType = MessageType;
|
|
5227
5259
|
type messages_MessageKey = MessageKey;
|
|
5228
5260
|
type messages_MessageResponse<T extends MessageKey> = MessageResponse<T>;
|
|
@@ -5866,21 +5898,25 @@ declare namespace messages {
|
|
|
5866
5898
|
messages_CoinPurchaseMemo as CoinPurchaseMemo,
|
|
5867
5899
|
messages_PaymentRequestMemo as PaymentRequestMemo,
|
|
5868
5900
|
messages_TxAckPaymentRequest as TxAckPaymentRequest,
|
|
5901
|
+
messages_DebugLinkInput as DebugLinkInput,
|
|
5902
|
+
messages_InternalMyAddressRequest as InternalMyAddressRequest,
|
|
5869
5903
|
messages_SetBusy as SetBusy,
|
|
5870
5904
|
messages_GetFirmwareHash as GetFirmwareHash,
|
|
5871
5905
|
messages_FirmwareHash as FirmwareHash,
|
|
5872
5906
|
messages_GetNonce as GetNonce,
|
|
5873
5907
|
messages_Nonce as Nonce,
|
|
5874
5908
|
messages_WriteSEPrivateKey as WriteSEPrivateKey,
|
|
5909
|
+
messages_WallpaperTarget as WallpaperTarget,
|
|
5910
|
+
messages_SetWallpaper as SetWallpaper,
|
|
5911
|
+
messages_GetWallpaper as GetWallpaper,
|
|
5912
|
+
messages_Wallpaper as Wallpaper,
|
|
5875
5913
|
messages_UnlockPath as UnlockPath,
|
|
5876
5914
|
messages_UnlockedPathRequest as UnlockedPathRequest,
|
|
5877
5915
|
messages_MoneroNetworkType as MoneroNetworkType,
|
|
5878
|
-
|
|
5879
|
-
|
|
5880
|
-
|
|
5881
|
-
|
|
5882
|
-
messages_TxDetailsDisplayType as TxDetailsDisplayType,
|
|
5883
|
-
messages_TxDetailsPage as TxDetailsPage,
|
|
5916
|
+
messages_ViewAmount as ViewAmount,
|
|
5917
|
+
messages_ViewDetail as ViewDetail,
|
|
5918
|
+
messages_ViewSignPage as ViewSignPage,
|
|
5919
|
+
messages_ViewVerifyPage as ViewVerifyPage,
|
|
5884
5920
|
messages_GetProtoVersion as GetProtoVersion,
|
|
5885
5921
|
messages_ProtoVersion as ProtoVersion,
|
|
5886
5922
|
messages_DeviceRebootType as DeviceRebootType,
|
|
@@ -5920,10 +5956,12 @@ declare namespace messages {
|
|
|
5920
5956
|
messages_FilesystemDirMake as FilesystemDirMake,
|
|
5921
5957
|
messages_FilesystemDirRemove as FilesystemDirRemove,
|
|
5922
5958
|
messages_FilesystemFormat as FilesystemFormat,
|
|
5923
|
-
messages_FilesystemDiskControl as FilesystemDiskControl,
|
|
5924
5959
|
messages_OnboardingStep as OnboardingStep,
|
|
5925
|
-
|
|
5926
|
-
|
|
5960
|
+
messages_GetOnboardingStatus as GetOnboardingStatus,
|
|
5961
|
+
messages_NewDevice as NewDevice,
|
|
5962
|
+
messages_Restore as Restore,
|
|
5963
|
+
messages_Setup as Setup,
|
|
5964
|
+
messages_OnboardingStatus as OnboardingStatus,
|
|
5927
5965
|
messages_MessageType as MessageType,
|
|
5928
5966
|
messages_MessageKey as MessageKey,
|
|
5929
5967
|
messages_MessageResponse as MessageResponse,
|
|
@@ -6085,4 +6123,4 @@ declare const _default: {
|
|
|
6085
6123
|
withProtocolTimeout: typeof withProtocolTimeout;
|
|
6086
6124
|
};
|
|
6087
6125
|
|
|
6088
|
-
export { AcquireInput, Address, AlephiumAddress, AlephiumBytecodeAck, AlephiumBytecodeRequest, AlephiumGetAddress, AlephiumMessageSignature, AlephiumSignMessage, AlephiumSignTx, AlephiumSignedTx, AlephiumTxAck, AlephiumTxRequest, AlgorandAddress, AlgorandGetAddress, AlgorandSignTx, AlgorandSignedTx, AmountUnit, ApplyFlags, ApplySettings, AptosAddress, AptosGetAddress, AptosMessagePayload, AptosMessageSignature, AptosSignMessage, AptosSignSIWAMessage, AptosSignTx, AptosSignedTx, AptosTransactionType, AuthorizeCoinJoin, BIP32Address, BackupDevice, BackupType, BatchGetPublickeys, BenfenAddress, BenfenGetAddress, BenfenMessageSignature, BenfenSignMessage, BenfenSignTx, BenfenSignedTx, BenfenTxAck, BenfenTxRequest, BinanceAddress, BinanceCancelMsg, BinanceCoin, BinanceGetAddress, BinanceGetPublicKey, BinanceInputOutput, BinanceOrderMsg, BinanceOrderSide, BinanceOrderType, BinancePublicKey, BinanceSignTx, BinanceSignedTx, BinanceTimeInForce, BinanceTransferMsg, BinanceTxRequest, BixinBackupAck, BixinBackupDevice, BixinBackupDeviceAck, BixinBackupRequest, BixinLoadDevice, BixinMessageSE, BixinOutMessageSE, BixinPinInputOnDevice, BixinRestoreAck, BixinRestoreRequest, BixinSeedOperate, BixinVerifyDeviceAck, BixinVerifyDeviceRequest, BixinWhiteListAck, BixinWhiteListRequest, BlurRequest, ButtonAck, ButtonRequest, ButtonRequestType, Cancel, CancelAuthorization, Capability, CardanoAddress, CardanoAddressParametersType, CardanoAddressType, CardanoAssetGroup, CardanoBlockchainPointerType, CardanoCVoteRegistrationDelegation, CardanoCVoteRegistrationFormat, CardanoCVoteRegistrationParametersType, CardanoCertificateType, CardanoDRep, CardanoDRepType, CardanoDerivationType, CardanoGetAddress, CardanoGetNativeScriptHash, CardanoGetPublicKey, CardanoMessageSignature, CardanoNativeScript, CardanoNativeScriptHash, CardanoNativeScriptHashDisplayFormat, CardanoNativeScriptType, CardanoPoolMetadataType, CardanoPoolOwner, CardanoPoolParametersType, CardanoPoolRelayParameters, CardanoPoolRelayType, CardanoPublicKey, CardanoSignMessage, CardanoSignTxFinished, CardanoSignTxInit, CardanoToken, CardanoTxAuxiliaryData, CardanoTxAuxiliaryDataSupplement, CardanoTxAuxiliaryDataSupplementType, CardanoTxBodyHash, CardanoTxCertificate, CardanoTxCollateralInput, CardanoTxHostAck, CardanoTxInlineDatumChunk, CardanoTxInput, CardanoTxItemAck, CardanoTxMint, CardanoTxOutput, CardanoTxOutputSerializationFormat, CardanoTxReferenceInput, CardanoTxReferenceScriptChunk, CardanoTxRequiredSigner, CardanoTxSigningMode, CardanoTxWithdrawal, CardanoTxWitnessRequest, CardanoTxWitnessResponse, CardanoTxWitnessType, ChangeOutputScriptType, ChangePin, ChangeWipeCode, CipherKeyValue, CipheredKeyValue, CoinPurchaseMemo, CommandFlags, ConfluxAddress, ConfluxGetAddress, ConfluxMessageSignature, ConfluxSignMessage, ConfluxSignMessageCIP23, ConfluxSignTx, ConfluxTxAck, ConfluxTxRequest, CosmosAddress, CosmosGetAddress, CosmosSignTx, CosmosSignedTx, DecredStakingSpendType, Deprecated_PassphraseStateAck, Deprecated_PassphraseStateRequest, DeviceBackToBoot, DeviceBluetoothInfo, DeviceEraseSector, DeviceFirmwareImageInfo, DeviceFirmwareInstallProgress, DeviceFirmwareTarget, DeviceFirmwareTargetType, DeviceFirmwareUpdate, DeviceFirmwareUpdateStatus, DeviceFirmwareUpdateStatusEntry, DeviceGetDeviceInfo, DeviceGetFirmwareUpdateStatus, DeviceGetOnboardingStatus, DeviceHardwareInfo, DeviceInfo, DeviceInfoSettings, DeviceInfoTargets, DeviceInfoTypes, DeviceMainMcuInfo, DeviceOnboardingStatus, DeviceReboot, DeviceRebootType, DeviceSEInfo, DeviceSEState, DeviceSeType, DeviceStatus, DeviceType, DnxAddress, DnxComputedKeyImage, DnxGetAddress, DnxInputAck, DnxInputRequest, DnxRTSigsRequest, DnxSignTx, DnxSignedTx, DnxTxKey, DoPreauthorized, ECDHSessionKey, EcdsaPublicKeys, EmmcDir, EmmcDirList, EmmcDirMake, EmmcDirRemove, EmmcFile, EmmcFileDelete, EmmcFileRead, EmmcFileWrite, EmmcFixPermission, EmmcPath, EmmcPathInfo, EndSession, Entropy, EntropyAck, EntropyRequest, Enum_BackupType, Enum_ButtonRequestType, Enum_Capability, Enum_InputScriptType, Enum_OutputScriptType, Enum_PinMatrixRequestType, Enum_RequestType, Enum_SafetyCheckLevel, Enum_WordRequestType, EosActionBuyRam, EosActionBuyRamBytes, EosActionCommon, EosActionDelegate, EosActionDeleteAuth, EosActionLinkAuth, EosActionNewAccount, EosActionRefund, EosActionSellRam, EosActionTransfer, EosActionUndelegate, EosActionUnknown, EosActionUnlinkAuth, EosActionUpdateAuth, EosActionVoteProducer, EosAsset, EosAuthorization, EosAuthorizationAccount, EosAuthorizationKey, EosAuthorizationWait, EosGetPublicKey, EosPermissionLevel, EosPublicKey, EosSignTx, EosSignedTx, EosTxActionAck, EosTxActionRequest, EosTxHeader, EthereumAccessList, EthereumAccessListOneKey, EthereumAddress, EthereumAddressOneKey, EthereumAuthorizationOneKey, EthereumAuthorizationSignature, EthereumDataType, EthereumDataTypeOneKey, EthereumDefinitionType, EthereumDefinitions, EthereumFieldType, EthereumFieldTypeOneKey, EthereumGetAddress, EthereumGetAddressOneKey, EthereumGetPublicKey, EthereumGetPublicKeyOneKey, EthereumGnosisSafeTxAck, EthereumGnosisSafeTxOperation, EthereumGnosisSafeTxRequest, EthereumMessageSignature, EthereumMessageSignatureOneKey, EthereumNetworkInfo, EthereumPublicKey, EthereumPublicKeyOneKey, EthereumSignMessage, EthereumSignMessageEIP712, EthereumSignMessageOneKey, EthereumSignTx, EthereumSignTxEIP1559, EthereumSignTxEIP1559OneKey, EthereumSignTxEIP7702OneKey, EthereumSignTxOneKey, EthereumSignTypedData, EthereumSignTypedDataOneKey, EthereumSignTypedHash, EthereumSignTypedHashOneKey, EthereumStructMember, EthereumStructMemberOneKey, EthereumTokenInfo, EthereumTxAck, EthereumTxAckOneKey, EthereumTxRequest, EthereumTxRequestOneKey, EthereumTypedDataSignature, EthereumTypedDataSignatureOneKey, EthereumTypedDataStructAck, EthereumTypedDataStructAckOneKey, EthereumTypedDataStructRequest, EthereumTypedDataStructRequestOneKey, EthereumTypedDataValueAck, EthereumTypedDataValueAckOneKey, EthereumTypedDataValueRequest, EthereumTypedDataValueRequestOneKey, EthereumVerifyMessage, EthereumVerifyMessageOneKey, ExportType, FactoryDeviceInfo, FactoryDeviceInfoSettings, FactoryGetDeviceInfo, Failure, FailureType, Features, FileInfo, FileInfoList, FilecoinAddress, FilecoinGetAddress, FilecoinSignTx, FilecoinSignedTx, FilesystemDir, FilesystemDirList, FilesystemDirMake, FilesystemDirRemove, FilesystemDiskControl, FilesystemFile, FilesystemFileDelete, FilesystemFileRead, FilesystemFileWrite, FilesystemFixPermission, FilesystemFormat, FilesystemPathInfo, FilesystemPathInfoQuery, FirmwareErase, FirmwareErase_ex, FirmwareHash, FirmwareRequest, FirmwareUpdateEmmc, FirmwareUpload, GetAddress, GetDeviceInfo, GetECDHSessionKey, GetEntropy, GetFeatures, GetFirmwareHash, GetNextU2FCounter, GetNonce, GetOwnershipId, GetOwnershipProof, GetPassphraseState, GetProtoVersion, GetPublicKey, GetPublicKeyMultiple, HDNodePathType, HDNodeType, IdentityType, Initialize, InputScriptType, InternalInputScriptType, KaspaAddress, KaspaGetAddress, KaspaSignTx, KaspaSignedTx, KaspaTxInputAck, KaspaTxInputRequest, ListResDir, LnurlAuth, LnurlAuthResp, LockDevice, LogBlockCommand, LowLevelDevice, LowlevelTransportSharedPlugin, MessageFromOneKey, MessageKey, MessageResponse, 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, OnboardingStep, OneKeyDeviceCommType, OneKeyDeviceInfo, OneKeyDeviceInfoBase, OneKeyDeviceInfoWithSession, OneKeyDeviceType, OneKeyMobileDeviceInfo, OneKeySEState, OneKeySeType, OnekeyFeatures, OnekeyGetFeatures, OutputScriptType, OwnershipId, OwnershipProof, PROTOCOL_V1_CHUNK_PAYLOAD_SIZE, PROTOCOL_V1_ENVELOPE_HEADER_SIZE, PROTOCOL_V1_HEADER_BYTE, PROTOCOL_V1_MESSAGE_HEADER_SIZE, PROTOCOL_V1_REPORT_ID, PROTOCOL_V1_USB_PACKET_SIZE, PROTOCOL_V2_BLE_FILE_CHUNK_SIZE, PROTOCOL_V2_CHANNEL_BLE_UART, PROTOCOL_V2_CHANNEL_SOCKET, PROTOCOL_V2_CHANNEL_USB, PROTOCOL_V2_FILE_CHUNK_SIZE, PROTOCOL_V2_FRAME_MAX_BYTES, PROTOCOL_V2_PACKET_SRC_COMMAND, PROTOCOL_V2_SYS_MESSAGE_THRESHOLD, PROTOCOL_V2_WEBUSB_FILE_CHUNK_SIZE, PassphraseAck, PassphraseRequest, PassphraseState, Path, PaymentRequestMemo, PinMatrixAck, PinMatrixRequest, PinMatrixRequestType, Ping, PolkadotAddress, PolkadotGetAddress, PolkadotSignTx, PolkadotSignedTx, PreauthorizedRequest, PrevInput, PrevOutput, PrevTx, ProtoVersion, ProtocolType, ProtocolV1, ProtocolV2, ProtocolV2CallOptions, ProtocolV2DeviceInfo, ProtocolV2FrameAssembler, ProtocolV2Schemas, ProtocolV2Session, ProtocolV2SessionOptions, PublicKey, PublicKeyMultiple, ReadSEPublicCert, ReadSEPublicKey, Reboot, RebootToBoardloader, RebootToBootloader, RebootType, RecoveryDevice, RecoveryDeviceType, RefundMemo, RequestType, ResetDevice, ResourceAck, ResourceRequest, ResourceType, ResourceUpdate, ResourceUpload, RippleAddress, RippleGetAddress, RipplePayment, RippleSignTx, RippleSignedTx, SEMessageSignature, SEPublicCert, SEPublicKey, SESignMessage, SafetyCheckLevel, ScdoAddress, ScdoGetAddress, ScdoSignMessage, ScdoSignTx, ScdoSignedMessage, ScdoSignedTx, ScdoTxAck, SdProtect, SdProtectOperationType, SeedRequestType, SelfTest, SetBusy, SetU2FCounter, SignIdentity, SignMessage, SignPsbt, SignTx, SignedIdentity, SignedPsbt, SolanaAddress, SolanaGetAddress, SolanaMessageSignature, SolanaOffChainMessageFormat, SolanaOffChainMessageVersion, SolanaSignOffChainMessage, SolanaSignTx, SolanaSignUnsafeMessage, SolanaSignedTx, SolanaTxATADetails, SolanaTxExtraInfo, SpiFlashData, SpiFlashRead, SpiFlashWrite, StarcoinAddress, StarcoinGetAddress, StarcoinGetPublicKey, StarcoinMessageSignature, StarcoinPublicKey, StarcoinSignMessage, StarcoinSignTx, StarcoinSignedTx, StarcoinVerifyMessage, StellarAccountMergeOp, StellarAddress, StellarAllowTrustOp, StellarAsset, StellarAssetType, StellarBumpSequenceOp, StellarChangeTrustOp, StellarCreateAccountOp, StellarCreatePassiveSellOfferOp, StellarGetAddress, StellarInvokeHostFunctionOp, StellarManageBuyOfferOp, StellarManageDataOp, StellarManageSellOfferOp, StellarMemoType, StellarPathPaymentStrictReceiveOp, StellarPathPaymentStrictSendOp, StellarPaymentOp, StellarRequestType, StellarSetOptionsOp, StellarSignTx, StellarSignedTx, StellarSignerType, StellarSorobanDataAck, StellarSorobanDataRequest, StellarTxOpRequest, Success, SuiAddress, SuiGetAddress, SuiMessageSignature, SuiSignMessage, SuiSignTx, SuiSignedTx, SuiTxAck, SuiTxRequest, TextMemo, TezosAddress, TezosBallotOp, TezosBallotType, TezosContractID, TezosContractType, TezosDelegationOp, TezosGetAddress, TezosGetPublicKey, TezosManagerTransfer, TezosOriginationOp, TezosParametersManager, TezosProposalOp, TezosPublicKey, TezosRevealOp, TezosSignTx, TezosSignedTx, TezosTransactionOp, TonAddress, TonGetAddress, TonSignData, TonSignDataType, TonSignMessage, TonSignProof, TonSignedData, TonSignedMessage, TonSignedProof, TonTxAck, TonWalletVersion, TonWorkChain, Transport, TransportCallOptions, TronAddress, TronCancelAllUnfreezeV2Contract, TronContract, TronDelegateResourceContract, TronFreezeBalanceContract, TronFreezeBalanceV2Contract, TronGetAddress, TronMessageSignature, TronMessageType, TronResourceCode, TronSignMessage, TronSignTx, TronSignedTx, TronTransferContract, TronTriggerSmartContract, TronUnDelegateResourceContract, TronUnfreezeBalanceContract, TronUnfreezeBalanceV2Contract, TronVoteWitnessContract, TronWithdrawBalanceContract, TronWithdrawExpireUnfreezeContract, TxAck, TxAckInput, TxAckInputWrapper, TxAckOutput, TxAckOutputWrapper, TxAckPaymentRequest, TxAckPrevExtraData, TxAckPrevExtraDataWrapper, TxAckPrevInput, TxAckPrevInputWrapper, TxAckPrevMeta, TxAckPrevOutput, TxAckPrevOutputWrapper, TxAckResponse, TxDetailsAddress, TxDetailsAmount, TxDetailsDisplayType, TxDetailsGeneral, TxDetailsNetwork, TxDetailsPage, TxInput, TxInputType, TxOutput, TxOutputBinType, TxOutputType, TxRequest, TxRequestDetailsType, TxRequestSerializedType, TypedCall, UintType, UnLockDevice, UnLockDeviceResponse, UnlockPath, UnlockedPathRequest, UpgradeFileHeader, VerifyMessage, Vote, WL_OperationType, WipeDevice, WordAck, WordRequest, WordRequestType, WriteSEPrivateKey, WriteSEPublicCert, ZoomRequest, bytesToHex, concatUint8Arrays, _default as default, experimental_field, experimental_message, facotry, getErrorMessage, hexToBytes, probeProtocolV2, index as protocolV1, protocolV2Codec as protocolV2, withProtocolTimeout };
|
|
6126
|
+
export { AcquireInput, Address, AlephiumAddress, AlephiumBytecodeAck, AlephiumBytecodeRequest, AlephiumGetAddress, AlephiumMessageSignature, AlephiumSignMessage, AlephiumSignTx, AlephiumSignedTx, AlephiumTxAck, AlephiumTxRequest, AlgorandAddress, AlgorandGetAddress, AlgorandSignTx, AlgorandSignedTx, AmountUnit, ApplyFlags, ApplySettings, AptosAddress, AptosGetAddress, AptosMessagePayload, AptosMessageSignature, AptosSignMessage, AptosSignSIWAMessage, AptosSignTx, AptosSignedTx, AptosTransactionType, AuthorizeCoinJoin, BIP32Address, BackupDevice, BackupType, BatchGetPublickeys, BenfenAddress, BenfenGetAddress, BenfenMessageSignature, BenfenSignMessage, BenfenSignTx, BenfenSignedTx, BenfenTxAck, BenfenTxRequest, BinanceAddress, BinanceCancelMsg, BinanceCoin, BinanceGetAddress, BinanceGetPublicKey, BinanceInputOutput, BinanceOrderMsg, BinanceOrderSide, BinanceOrderType, BinancePublicKey, BinanceSignTx, BinanceSignedTx, BinanceTimeInForce, BinanceTransferMsg, BinanceTxRequest, BixinBackupAck, BixinBackupDevice, BixinBackupDeviceAck, BixinBackupRequest, BixinLoadDevice, BixinMessageSE, BixinOutMessageSE, BixinPinInputOnDevice, BixinRestoreAck, BixinRestoreRequest, BixinSeedOperate, BixinVerifyDeviceAck, BixinVerifyDeviceRequest, BixinWhiteListAck, BixinWhiteListRequest, BlurRequest, ButtonAck, ButtonRequest, ButtonRequestType, Cancel, CancelAuthorization, Capability, CardanoAddress, CardanoAddressParametersType, CardanoAddressType, CardanoAssetGroup, CardanoBlockchainPointerType, CardanoCVoteRegistrationDelegation, CardanoCVoteRegistrationFormat, CardanoCVoteRegistrationParametersType, CardanoCertificateType, CardanoDRep, CardanoDRepType, CardanoDerivationType, CardanoGetAddress, CardanoGetNativeScriptHash, CardanoGetPublicKey, CardanoMessageSignature, CardanoNativeScript, CardanoNativeScriptHash, CardanoNativeScriptHashDisplayFormat, CardanoNativeScriptType, CardanoPoolMetadataType, CardanoPoolOwner, CardanoPoolParametersType, CardanoPoolRelayParameters, CardanoPoolRelayType, CardanoPublicKey, CardanoSignMessage, CardanoSignTxFinished, CardanoSignTxInit, CardanoToken, CardanoTxAuxiliaryData, CardanoTxAuxiliaryDataSupplement, CardanoTxAuxiliaryDataSupplementType, CardanoTxBodyHash, CardanoTxCertificate, CardanoTxCollateralInput, CardanoTxHostAck, CardanoTxInlineDatumChunk, CardanoTxInput, CardanoTxItemAck, CardanoTxMint, CardanoTxOutput, CardanoTxOutputSerializationFormat, CardanoTxReferenceInput, CardanoTxReferenceScriptChunk, CardanoTxRequiredSigner, CardanoTxSigningMode, CardanoTxWithdrawal, CardanoTxWitnessRequest, CardanoTxWitnessResponse, CardanoTxWitnessType, ChangeOutputScriptType, ChangePin, ChangeWipeCode, CipherKeyValue, CipheredKeyValue, CoinPurchaseMemo, CommandFlags, ConfluxAddress, ConfluxGetAddress, ConfluxMessageSignature, ConfluxSignMessage, ConfluxSignMessageCIP23, ConfluxSignTx, ConfluxTxAck, ConfluxTxRequest, CosmosAddress, CosmosGetAddress, CosmosSignTx, CosmosSignedTx, DebugLinkInput, DecredStakingSpendType, Deprecated_PassphraseStateAck, Deprecated_PassphraseStateRequest, DeviceBackToBoot, DeviceBluetoothInfo, DeviceEraseSector, DeviceFirmwareImageInfo, DeviceFirmwareInstallProgress, DeviceFirmwareTarget, DeviceFirmwareTargetType, DeviceFirmwareUpdate, DeviceFirmwareUpdateStatus, DeviceFirmwareUpdateStatusEntry, DeviceGetDeviceInfo, DeviceGetFirmwareUpdateStatus, DeviceHardwareInfo, DeviceInfo, DeviceInfoSettings, DeviceInfoTargets, DeviceInfoTypes, DeviceMainMcuInfo, DeviceReboot, DeviceRebootType, DeviceSEInfo, DeviceSEState, DeviceSeType, DeviceStatus, DeviceType, DnxAddress, DnxComputedKeyImage, DnxGetAddress, DnxInputAck, DnxInputRequest, DnxRTSigsRequest, DnxSignTx, DnxSignedTx, DnxTxKey, DoPreauthorized, ECDHSessionKey, EcdsaPublicKeys, EmmcDir, EmmcDirList, EmmcDirMake, EmmcDirRemove, EmmcFile, EmmcFileDelete, EmmcFileRead, EmmcFileWrite, EmmcFixPermission, EmmcPath, EmmcPathInfo, EndSession, Entropy, EntropyAck, EntropyRequest, Enum_BackupType, Enum_ButtonRequestType, Enum_Capability, Enum_InputScriptType, Enum_OutputScriptType, Enum_PinMatrixRequestType, Enum_RequestType, Enum_SafetyCheckLevel, Enum_WordRequestType, EosActionBuyRam, EosActionBuyRamBytes, EosActionCommon, EosActionDelegate, EosActionDeleteAuth, EosActionLinkAuth, EosActionNewAccount, EosActionRefund, EosActionSellRam, EosActionTransfer, EosActionUndelegate, EosActionUnknown, EosActionUnlinkAuth, EosActionUpdateAuth, EosActionVoteProducer, EosAsset, EosAuthorization, EosAuthorizationAccount, EosAuthorizationKey, EosAuthorizationWait, EosGetPublicKey, EosPermissionLevel, EosPublicKey, EosSignTx, EosSignedTx, EosTxActionAck, EosTxActionRequest, EosTxHeader, EthereumAccessList, EthereumAccessListOneKey, EthereumAddress, EthereumAddressOneKey, EthereumAuthorizationOneKey, EthereumAuthorizationSignature, EthereumDataType, EthereumDataTypeOneKey, EthereumDefinitionType, EthereumDefinitions, EthereumFieldType, EthereumFieldTypeOneKey, EthereumGetAddress, EthereumGetAddressOneKey, EthereumGetPublicKey, EthereumGetPublicKeyOneKey, EthereumGnosisSafeTxAck, EthereumGnosisSafeTxOperation, EthereumGnosisSafeTxRequest, EthereumMessageSignature, EthereumMessageSignatureOneKey, EthereumNetworkInfo, EthereumPublicKey, EthereumPublicKeyOneKey, EthereumSignMessage, EthereumSignMessageEIP712, EthereumSignMessageOneKey, EthereumSignTx, EthereumSignTxEIP1559, EthereumSignTxEIP1559OneKey, EthereumSignTxEIP7702OneKey, EthereumSignTxOneKey, EthereumSignTypedData, EthereumSignTypedDataOneKey, EthereumSignTypedHash, EthereumSignTypedHashOneKey, EthereumStructMember, EthereumStructMemberOneKey, EthereumTokenInfo, EthereumTxAck, EthereumTxAckOneKey, EthereumTxRequest, EthereumTxRequestOneKey, EthereumTypedDataSignature, EthereumTypedDataSignatureOneKey, EthereumTypedDataStructAck, EthereumTypedDataStructAckOneKey, EthereumTypedDataStructRequest, EthereumTypedDataStructRequestOneKey, EthereumTypedDataValueAck, EthereumTypedDataValueAckOneKey, EthereumTypedDataValueRequest, EthereumTypedDataValueRequestOneKey, EthereumVerifyMessage, EthereumVerifyMessageOneKey, ExportType, FactoryDeviceInfo, FactoryDeviceInfoSettings, FactoryGetDeviceInfo, Failure, FailureType, Features, FileInfo, FileInfoList, FilecoinAddress, FilecoinGetAddress, FilecoinSignTx, FilecoinSignedTx, FilesystemDir, FilesystemDirList, FilesystemDirMake, FilesystemDirRemove, FilesystemFile, FilesystemFileDelete, FilesystemFileRead, FilesystemFileWrite, FilesystemFixPermission, FilesystemFormat, FilesystemPathInfo, FilesystemPathInfoQuery, FirmwareErase, FirmwareErase_ex, FirmwareHash, FirmwareRequest, FirmwareUpdateEmmc, FirmwareUpload, GetAddress, GetDeviceInfo, GetECDHSessionKey, GetEntropy, GetFeatures, GetFirmwareHash, GetNextU2FCounter, GetNonce, GetOnboardingStatus, GetOwnershipId, GetOwnershipProof, GetPassphraseState, GetProtoVersion, GetPublicKey, GetPublicKeyMultiple, GetWallpaper, HDNodePathType, HDNodeType, IdentityType, Initialize, InputScriptType, InternalInputScriptType, InternalMyAddressRequest, KaspaAddress, KaspaGetAddress, KaspaSignTx, KaspaSignedTx, KaspaTxInputAck, KaspaTxInputRequest, ListResDir, LnurlAuth, LnurlAuthResp, LockDevice, LogBlockCommand, LowLevelDevice, LowlevelTransportSharedPlugin, MessageFromOneKey, MessageKey, MessageResponse, MessageResponseMap, MessageSignature, MessageType, messages as Messages, MoneroAccountPublicAddress, MoneroAddress, MoneroExportedKeyImage, MoneroGetAddress, MoneroGetTxKeyAck, MoneroGetTxKeyRequest, MoneroGetWatchKey, MoneroKeyImageExportInitAck, MoneroKeyImageExportInitRequest, MoneroKeyImageSyncFinalAck, MoneroKeyImageSyncFinalRequest, MoneroKeyImageSyncStepAck, MoneroKeyImageSyncStepRequest, MoneroLiveRefreshFinalAck, MoneroLiveRefreshFinalRequest, MoneroLiveRefreshStartAck, MoneroLiveRefreshStartRequest, MoneroLiveRefreshStepAck, MoneroLiveRefreshStepRequest, MoneroMultisigKLRki, MoneroNetworkType, MoneroOutputEntry, MoneroRctKeyPublic, MoneroRingCtSig, MoneroSubAddressIndicesList, MoneroTransactionAllInputsSetAck, MoneroTransactionAllInputsSetRequest, MoneroTransactionAllOutSetAck, MoneroTransactionAllOutSetRequest, MoneroTransactionData, MoneroTransactionDestinationEntry, MoneroTransactionFinalAck, MoneroTransactionFinalRequest, MoneroTransactionInitAck, MoneroTransactionInitRequest, MoneroTransactionInputViniAck, MoneroTransactionInputViniRequest, MoneroTransactionInputsPermutationAck, MoneroTransactionInputsPermutationRequest, MoneroTransactionRsigData, MoneroTransactionSetInputAck, MoneroTransactionSetInputRequest, MoneroTransactionSetOutputAck, MoneroTransactionSetOutputRequest, MoneroTransactionSignInputAck, MoneroTransactionSignInputRequest, MoneroTransactionSourceEntry, MoneroTransferDetails, MoneroWatchKey, MultisigRedeemScriptType, NEMAddress, NEMAggregateModification, NEMCosignatoryModification, NEMDecryptMessage, NEMDecryptedMessage, NEMGetAddress, NEMImportanceTransfer, NEMImportanceTransferMode, NEMModificationType, NEMMosaic, NEMMosaicCreation, NEMMosaicDefinition, NEMMosaicLevy, NEMMosaicSupplyChange, NEMProvisionNamespace, NEMSignTx, NEMSignedTx, NEMSupplyChangeType, NEMTransactionCommon, NEMTransfer, NFTWriteData, NFTWriteInfo, NearAddress, NearGetAddress, NearSignTx, NearSignedTx, NeoAddress, NeoGetAddress, NeoSignTx, NeoSignedTx, NervosAddress, NervosGetAddress, NervosSignTx, NervosSignedTx, NervosTxAck, NervosTxRequest, NewDevice, NexaAddress, NexaGetAddress, NexaSignTx, NexaSignedTx, NexaTxInputAck, NexaTxInputRequest, NextU2FCounter, Nonce, NostrDecryptMessage, NostrDecryptedMessage, NostrEncryptMessage, NostrEncryptedMessage, NostrGetPublicKey, NostrPublicKey, NostrSignEvent, NostrSignSchnorr, NostrSignedEvent, NostrSignedSchnorr, OnboardingStatus, OnboardingStep, OneKeyDeviceCommType, OneKeyDeviceInfo, OneKeyDeviceInfoBase, OneKeyDeviceInfoWithSession, OneKeyDeviceType, OneKeyMobileDeviceInfo, OneKeySEState, OneKeySeType, OnekeyFeatures, OnekeyGetFeatures, OutputScriptType, OwnershipId, OwnershipProof, PROTOCOL_V1_CHUNK_PAYLOAD_SIZE, PROTOCOL_V1_ENVELOPE_HEADER_SIZE, PROTOCOL_V1_HEADER_BYTE, PROTOCOL_V1_MESSAGE_HEADER_SIZE, PROTOCOL_V1_REPORT_ID, PROTOCOL_V1_USB_PACKET_SIZE, PROTOCOL_V2_BLE_FILE_CHUNK_SIZE, PROTOCOL_V2_CHANNEL_BLE_UART, PROTOCOL_V2_CHANNEL_SOCKET, PROTOCOL_V2_CHANNEL_USB, PROTOCOL_V2_FILE_CHUNK_SIZE, PROTOCOL_V2_FRAME_MAX_BYTES, PROTOCOL_V2_PACKET_SRC_COMMAND, PROTOCOL_V2_SYS_MESSAGE_THRESHOLD, PROTOCOL_V2_WEBUSB_FILE_CHUNK_SIZE, PassphraseAck, PassphraseRequest, PassphraseState, Path, PaymentRequestMemo, PinMatrixAck, PinMatrixRequest, PinMatrixRequestType, Ping, PolkadotAddress, PolkadotGetAddress, PolkadotSignTx, PolkadotSignedTx, PreauthorizedRequest, PrevInput, PrevOutput, PrevTx, ProtoVersion, ProtocolType, ProtocolV1, ProtocolV2, ProtocolV2CallOptions, ProtocolV2DeviceInfo, ProtocolV2FrameAssembler, ProtocolV2Schemas, ProtocolV2Session, ProtocolV2SessionOptions, PublicKey, PublicKeyMultiple, ReadSEPublicCert, ReadSEPublicKey, Reboot, RebootToBoardloader, RebootToBootloader, RebootType, RecoveryDevice, RecoveryDeviceType, RefundMemo, RequestType, ResetDevice, ResourceAck, ResourceRequest, ResourceType, ResourceUpdate, ResourceUpload, Restore, RippleAddress, RippleGetAddress, RipplePayment, RippleSignTx, RippleSignedTx, SEMessageSignature, SEPublicCert, SEPublicKey, SESignMessage, SafetyCheckLevel, ScdoAddress, ScdoGetAddress, ScdoSignMessage, ScdoSignTx, ScdoSignedMessage, ScdoSignedTx, ScdoTxAck, SdProtect, SdProtectOperationType, SeedRequestType, SelfTest, SetBusy, SetU2FCounter, SetWallpaper, Setup, SignIdentity, SignMessage, SignPsbt, SignTx, SignedIdentity, SignedPsbt, SolanaAddress, SolanaGetAddress, SolanaMessageSignature, SolanaOffChainMessageFormat, SolanaOffChainMessageVersion, SolanaSignOffChainMessage, SolanaSignTx, SolanaSignUnsafeMessage, SolanaSignedTx, SolanaTxATADetails, SolanaTxExtraInfo, SpiFlashData, SpiFlashRead, SpiFlashWrite, StarcoinAddress, StarcoinGetAddress, StarcoinGetPublicKey, StarcoinMessageSignature, StarcoinPublicKey, StarcoinSignMessage, StarcoinSignTx, StarcoinSignedTx, StarcoinVerifyMessage, StellarAccountMergeOp, StellarAddress, StellarAllowTrustOp, StellarAsset, StellarAssetType, StellarBumpSequenceOp, StellarChangeTrustOp, StellarCreateAccountOp, StellarCreatePassiveSellOfferOp, StellarGetAddress, StellarInvokeHostFunctionOp, StellarManageBuyOfferOp, StellarManageDataOp, StellarManageSellOfferOp, StellarMemoType, StellarPathPaymentStrictReceiveOp, StellarPathPaymentStrictSendOp, StellarPaymentOp, StellarRequestType, StellarSetOptionsOp, StellarSignTx, StellarSignedTx, StellarSignerType, StellarSorobanDataAck, StellarSorobanDataRequest, StellarTxOpRequest, Success, SuiAddress, SuiGetAddress, SuiMessageSignature, SuiSignMessage, SuiSignTx, SuiSignedTx, SuiTxAck, SuiTxRequest, TextMemo, TezosAddress, TezosBallotOp, TezosBallotType, TezosContractID, TezosContractType, TezosDelegationOp, TezosGetAddress, TezosGetPublicKey, TezosManagerTransfer, TezosOriginationOp, TezosParametersManager, TezosProposalOp, TezosPublicKey, TezosRevealOp, TezosSignTx, TezosSignedTx, TezosTransactionOp, TonAddress, TonGetAddress, TonSignData, TonSignDataType, TonSignMessage, TonSignProof, TonSignedData, TonSignedMessage, TonSignedProof, TonTxAck, TonWalletVersion, TonWorkChain, Transport, TransportCallOptions, TronAddress, TronCancelAllUnfreezeV2Contract, TronContract, TronDelegateResourceContract, TronFreezeBalanceContract, TronFreezeBalanceV2Contract, TronGetAddress, TronMessageSignature, TronMessageType, TronResourceCode, TronSignMessage, TronSignTx, TronSignedTx, TronTransferContract, TronTriggerSmartContract, TronUnDelegateResourceContract, TronUnfreezeBalanceContract, TronUnfreezeBalanceV2Contract, TronVoteWitnessContract, TronWithdrawBalanceContract, TronWithdrawExpireUnfreezeContract, TxAck, TxAckInput, TxAckInputWrapper, TxAckOutput, TxAckOutputWrapper, TxAckPaymentRequest, TxAckPrevExtraData, TxAckPrevExtraDataWrapper, TxAckPrevInput, TxAckPrevInputWrapper, TxAckPrevMeta, TxAckPrevOutput, TxAckPrevOutputWrapper, TxAckResponse, TxInput, TxInputType, TxOutput, TxOutputBinType, TxOutputType, TxRequest, TxRequestDetailsType, TxRequestSerializedType, TypedCall, UintType, UnLockDevice, UnLockDeviceResponse, UnlockPath, UnlockedPathRequest, UpgradeFileHeader, VerifyMessage, ViewAmount, ViewDetail, ViewSignPage, ViewVerifyPage, Vote, WL_OperationType, Wallpaper, WallpaperTarget, WipeDevice, WordAck, WordRequest, WordRequestType, WriteSEPrivateKey, WriteSEPublicCert, ZoomRequest, bytesToHex, concatUint8Arrays, _default as default, experimental_field, experimental_message, facotry, getErrorMessage, hexToBytes, probeProtocolV2, index as protocolV1, protocolV2Codec as protocolV2, withProtocolTimeout };
|
package/dist/index.js
CHANGED
|
@@ -929,7 +929,7 @@ class ProtocolV2Session {
|
|
|
929
929
|
logPrefix,
|
|
930
930
|
context: `rx:${name}`,
|
|
931
931
|
});
|
|
932
|
-
if (decoded.seq !== expectedSeq) {
|
|
932
|
+
if (!shouldReduceDebug && decoded.seq !== expectedSeq) {
|
|
933
933
|
(_d = logger === null || logger === void 0 ? void 0 : logger.debug) === null || _d === void 0 ? void 0 : _d.call(logger, `[${logPrefix}] seq differs for ${name}: tx=${expectedSeq}, rx=${decoded.seq}`);
|
|
934
934
|
}
|
|
935
935
|
if (!shouldReduceDebug) {
|
|
@@ -943,7 +943,7 @@ class ProtocolV2Session {
|
|
|
943
943
|
else if (isExpectedTerminalResponse(response, callOptions.expectedTypes)) {
|
|
944
944
|
return response;
|
|
945
945
|
}
|
|
946
|
-
else {
|
|
946
|
+
else if (!shouldReduceDebug) {
|
|
947
947
|
(_j = logger === null || logger === void 0 ? void 0 : logger.debug) === null || _j === void 0 ? void 0 : _j.call(logger, `[${logPrefix}] skip unexpected response for ${name}: expected=${(_k = callOptions.expectedTypes) === null || _k === void 0 ? void 0 : _k.join('|')} got=${response.type}`);
|
|
948
948
|
}
|
|
949
949
|
}
|
|
@@ -1411,6 +1411,11 @@ exports.CommandFlags = void 0;
|
|
|
1411
1411
|
CommandFlags[CommandFlags["Default"] = 0] = "Default";
|
|
1412
1412
|
CommandFlags[CommandFlags["Factory_Only"] = 1] = "Factory_Only";
|
|
1413
1413
|
})(exports.CommandFlags || (exports.CommandFlags = {}));
|
|
1414
|
+
exports.WallpaperTarget = void 0;
|
|
1415
|
+
(function (WallpaperTarget) {
|
|
1416
|
+
WallpaperTarget[WallpaperTarget["Home"] = 0] = "Home";
|
|
1417
|
+
WallpaperTarget[WallpaperTarget["Lock"] = 1] = "Lock";
|
|
1418
|
+
})(exports.WallpaperTarget || (exports.WallpaperTarget = {}));
|
|
1414
1419
|
exports.MoneroNetworkType = void 0;
|
|
1415
1420
|
(function (MoneroNetworkType) {
|
|
1416
1421
|
MoneroNetworkType[MoneroNetworkType["MAINNET"] = 0] = "MAINNET";
|
|
@@ -1418,11 +1423,6 @@ exports.MoneroNetworkType = void 0;
|
|
|
1418
1423
|
MoneroNetworkType[MoneroNetworkType["STAGENET"] = 2] = "STAGENET";
|
|
1419
1424
|
MoneroNetworkType[MoneroNetworkType["FAKECHAIN"] = 3] = "FAKECHAIN";
|
|
1420
1425
|
})(exports.MoneroNetworkType || (exports.MoneroNetworkType = {}));
|
|
1421
|
-
exports.TxDetailsDisplayType = void 0;
|
|
1422
|
-
(function (TxDetailsDisplayType) {
|
|
1423
|
-
TxDetailsDisplayType[TxDetailsDisplayType["DISPLAY_TYPE_INFO"] = 0] = "DISPLAY_TYPE_INFO";
|
|
1424
|
-
TxDetailsDisplayType[TxDetailsDisplayType["DISPLAY_TYPE_SIGN"] = 1] = "DISPLAY_TYPE_SIGN";
|
|
1425
|
-
})(exports.TxDetailsDisplayType || (exports.TxDetailsDisplayType = {}));
|
|
1426
1426
|
exports.DeviceRebootType = void 0;
|
|
1427
1427
|
(function (DeviceRebootType) {
|
|
1428
1428
|
DeviceRebootType[DeviceRebootType["Normal"] = 0] = "Normal";
|
|
@@ -1462,17 +1462,11 @@ exports.DeviceFirmwareTargetType = void 0;
|
|
|
1462
1462
|
})(exports.DeviceFirmwareTargetType || (exports.DeviceFirmwareTargetType = {}));
|
|
1463
1463
|
exports.OnboardingStep = void 0;
|
|
1464
1464
|
(function (OnboardingStep) {
|
|
1465
|
-
OnboardingStep[OnboardingStep["
|
|
1466
|
-
OnboardingStep[OnboardingStep["
|
|
1467
|
-
OnboardingStep[OnboardingStep["
|
|
1468
|
-
OnboardingStep[OnboardingStep["
|
|
1469
|
-
OnboardingStep[OnboardingStep["
|
|
1470
|
-
OnboardingStep[OnboardingStep["SEEDCARD_BACKUP"] = 5] = "SEEDCARD_BACKUP";
|
|
1471
|
-
OnboardingStep[OnboardingStep["RESTORE_CHOICE"] = 6] = "RESTORE_CHOICE";
|
|
1472
|
-
OnboardingStep[OnboardingStep["RESTORE_MNEMONIC"] = 7] = "RESTORE_MNEMONIC";
|
|
1473
|
-
OnboardingStep[OnboardingStep["RESTORE_MNEMONIC_SEEDCARD_BACKUP"] = 8] = "RESTORE_MNEMONIC_SEEDCARD_BACKUP";
|
|
1474
|
-
OnboardingStep[OnboardingStep["RESTORE_SEEDCARD"] = 9] = "RESTORE_SEEDCARD";
|
|
1475
|
-
OnboardingStep[OnboardingStep["DONE"] = 100] = "DONE";
|
|
1465
|
+
OnboardingStep[OnboardingStep["ONBOARDING_STEP_UNKNOWN"] = 0] = "ONBOARDING_STEP_UNKNOWN";
|
|
1466
|
+
OnboardingStep[OnboardingStep["ONBOARDING_STEP_DEVICE_VERIFICATION"] = 1] = "ONBOARDING_STEP_DEVICE_VERIFICATION";
|
|
1467
|
+
OnboardingStep[OnboardingStep["ONBOARDING_STEP_PERSONALIZATION"] = 2] = "ONBOARDING_STEP_PERSONALIZATION";
|
|
1468
|
+
OnboardingStep[OnboardingStep["ONBOARDING_STEP_SETUP"] = 3] = "ONBOARDING_STEP_SETUP";
|
|
1469
|
+
OnboardingStep[OnboardingStep["ONBOARDING_STEP_FIRMWARE"] = 4] = "ONBOARDING_STEP_FIRMWARE";
|
|
1476
1470
|
})(exports.OnboardingStep || (exports.OnboardingStep = {}));
|
|
1477
1471
|
|
|
1478
1472
|
var messages = /*#__PURE__*/Object.freeze({
|
|
@@ -1537,8 +1531,8 @@ var messages = /*#__PURE__*/Object.freeze({
|
|
|
1537
1531
|
get TronResourceCode () { return exports.TronResourceCode; },
|
|
1538
1532
|
get TronMessageType () { return exports.TronMessageType; },
|
|
1539
1533
|
get CommandFlags () { return exports.CommandFlags; },
|
|
1534
|
+
get WallpaperTarget () { return exports.WallpaperTarget; },
|
|
1540
1535
|
get MoneroNetworkType () { return exports.MoneroNetworkType; },
|
|
1541
|
-
get TxDetailsDisplayType () { return exports.TxDetailsDisplayType; },
|
|
1542
1536
|
get DeviceRebootType () { return exports.DeviceRebootType; },
|
|
1543
1537
|
get DeviceType () { return exports.DeviceType; },
|
|
1544
1538
|
get DeviceSeType () { return exports.DeviceSeType; },
|
package/dist/types/messages.d.ts
CHANGED
|
@@ -3306,6 +3306,19 @@ export type TxAckPaymentRequest = {
|
|
|
3306
3306
|
amount?: UintType;
|
|
3307
3307
|
signature: string;
|
|
3308
3308
|
};
|
|
3309
|
+
export type DebugLinkInput = {
|
|
3310
|
+
x?: number;
|
|
3311
|
+
y?: number;
|
|
3312
|
+
duration_ms?: number;
|
|
3313
|
+
x_end?: number;
|
|
3314
|
+
y_end?: number;
|
|
3315
|
+
};
|
|
3316
|
+
export type InternalMyAddressRequest = {
|
|
3317
|
+
coin_type: number;
|
|
3318
|
+
chain_id: number;
|
|
3319
|
+
account_index: number;
|
|
3320
|
+
derive_type: number;
|
|
3321
|
+
};
|
|
3309
3322
|
export type SetBusy = {
|
|
3310
3323
|
expiry_ms?: number;
|
|
3311
3324
|
};
|
|
@@ -3322,6 +3335,21 @@ export type Nonce = {
|
|
|
3322
3335
|
export type WriteSEPrivateKey = {
|
|
3323
3336
|
private_key: string;
|
|
3324
3337
|
};
|
|
3338
|
+
export declare enum WallpaperTarget {
|
|
3339
|
+
Home = 0,
|
|
3340
|
+
Lock = 1
|
|
3341
|
+
}
|
|
3342
|
+
export type SetWallpaper = {
|
|
3343
|
+
target: WallpaperTarget;
|
|
3344
|
+
path: string;
|
|
3345
|
+
};
|
|
3346
|
+
export type GetWallpaper = {
|
|
3347
|
+
target: WallpaperTarget;
|
|
3348
|
+
};
|
|
3349
|
+
export type Wallpaper = {
|
|
3350
|
+
target: WallpaperTarget;
|
|
3351
|
+
path: string;
|
|
3352
|
+
};
|
|
3325
3353
|
export type UnlockPath = {
|
|
3326
3354
|
address_n: number[];
|
|
3327
3355
|
mac?: string;
|
|
@@ -3335,37 +3363,26 @@ export declare enum MoneroNetworkType {
|
|
|
3335
3363
|
STAGENET = 2,
|
|
3336
3364
|
FAKECHAIN = 3
|
|
3337
3365
|
}
|
|
3338
|
-
export type
|
|
3366
|
+
export type ViewAmount = {
|
|
3367
|
+
is_unlimited: boolean;
|
|
3339
3368
|
num: string;
|
|
3340
|
-
decimals: number;
|
|
3341
3369
|
symbol: string;
|
|
3342
3370
|
};
|
|
3343
|
-
export type
|
|
3344
|
-
key: number;
|
|
3345
|
-
address: string;
|
|
3346
|
-
owner?: string;
|
|
3347
|
-
icon?: string;
|
|
3348
|
-
};
|
|
3349
|
-
export type TxDetailsNetwork = {
|
|
3350
|
-
coin_type: number;
|
|
3351
|
-
chain_id?: number;
|
|
3352
|
-
};
|
|
3353
|
-
export type TxDetailsGeneral = {
|
|
3371
|
+
export type ViewDetail = {
|
|
3354
3372
|
key: number;
|
|
3355
3373
|
value: string;
|
|
3356
3374
|
is_overview: boolean;
|
|
3375
|
+
has_icon: boolean;
|
|
3357
3376
|
};
|
|
3358
|
-
export
|
|
3359
|
-
DISPLAY_TYPE_INFO = 0,
|
|
3360
|
-
DISPLAY_TYPE_SIGN = 1
|
|
3361
|
-
}
|
|
3362
|
-
export type TxDetailsPage = {
|
|
3377
|
+
export type ViewSignPage = {
|
|
3363
3378
|
title: string;
|
|
3364
|
-
display_type: TxDetailsDisplayType;
|
|
3365
3379
|
amount?: UintType;
|
|
3366
|
-
|
|
3367
|
-
|
|
3368
|
-
|
|
3380
|
+
general: ViewDetail[];
|
|
3381
|
+
};
|
|
3382
|
+
export type ViewVerifyPage = {
|
|
3383
|
+
title: string;
|
|
3384
|
+
address: string;
|
|
3385
|
+
path: string;
|
|
3369
3386
|
};
|
|
3370
3387
|
export type GetProtoVersion = {};
|
|
3371
3388
|
export type ProtoVersion = {
|
|
@@ -3402,7 +3419,7 @@ export type DeviceFirmwareImageInfo = {
|
|
|
3402
3419
|
hash?: string;
|
|
3403
3420
|
};
|
|
3404
3421
|
export type DeviceHardwareInfo = {
|
|
3405
|
-
|
|
3422
|
+
device_type?: DeviceType;
|
|
3406
3423
|
serial_no?: string;
|
|
3407
3424
|
hardware_version?: string;
|
|
3408
3425
|
hardware_version_raw_adc?: number;
|
|
@@ -3479,7 +3496,6 @@ export type DeviceFirmwareTarget = {
|
|
|
3479
3496
|
};
|
|
3480
3497
|
export type DeviceFirmwareUpdate = {
|
|
3481
3498
|
targets: DeviceFirmwareTarget[];
|
|
3482
|
-
max_concurrent?: number;
|
|
3483
3499
|
};
|
|
3484
3500
|
export type DeviceFirmwareInstallProgress = {
|
|
3485
3501
|
target_id: DeviceFirmwareTargetType;
|
|
@@ -3565,26 +3581,30 @@ export type FilesystemDirRemove = {
|
|
|
3565
3581
|
path: string;
|
|
3566
3582
|
};
|
|
3567
3583
|
export type FilesystemFormat = {};
|
|
3568
|
-
export type FilesystemDiskControl = {
|
|
3569
|
-
enable: number;
|
|
3570
|
-
};
|
|
3571
3584
|
export declare enum OnboardingStep {
|
|
3572
|
-
|
|
3573
|
-
|
|
3574
|
-
|
|
3575
|
-
|
|
3576
|
-
|
|
3577
|
-
SEEDCARD_BACKUP = 5,
|
|
3578
|
-
RESTORE_CHOICE = 6,
|
|
3579
|
-
RESTORE_MNEMONIC = 7,
|
|
3580
|
-
RESTORE_MNEMONIC_SEEDCARD_BACKUP = 8,
|
|
3581
|
-
RESTORE_SEEDCARD = 9,
|
|
3582
|
-
DONE = 100
|
|
3585
|
+
ONBOARDING_STEP_UNKNOWN = 0,
|
|
3586
|
+
ONBOARDING_STEP_DEVICE_VERIFICATION = 1,
|
|
3587
|
+
ONBOARDING_STEP_PERSONALIZATION = 2,
|
|
3588
|
+
ONBOARDING_STEP_SETUP = 3,
|
|
3589
|
+
ONBOARDING_STEP_FIRMWARE = 4
|
|
3583
3590
|
}
|
|
3584
|
-
export type
|
|
3585
|
-
export type
|
|
3591
|
+
export type GetOnboardingStatus = {};
|
|
3592
|
+
export type NewDevice = {
|
|
3593
|
+
seedcard_backup?: boolean;
|
|
3594
|
+
};
|
|
3595
|
+
export type Restore = {
|
|
3596
|
+
mnemonic?: boolean;
|
|
3597
|
+
seedcard?: boolean;
|
|
3598
|
+
};
|
|
3599
|
+
export type Setup = {
|
|
3600
|
+
new_device?: NewDevice;
|
|
3601
|
+
restore?: Restore;
|
|
3602
|
+
};
|
|
3603
|
+
export type OnboardingStatus = {
|
|
3586
3604
|
step: OnboardingStep;
|
|
3587
|
-
|
|
3605
|
+
setup?: Setup;
|
|
3606
|
+
detail_code?: number;
|
|
3607
|
+
detail_str?: string;
|
|
3588
3608
|
};
|
|
3589
3609
|
export type MessageType = {
|
|
3590
3610
|
AlephiumGetAddress: AlephiumGetAddress;
|
|
@@ -4148,19 +4168,23 @@ export type MessageType = {
|
|
|
4148
4168
|
CoinPurchaseMemo: CoinPurchaseMemo;
|
|
4149
4169
|
PaymentRequestMemo: PaymentRequestMemo;
|
|
4150
4170
|
TxAckPaymentRequest: TxAckPaymentRequest;
|
|
4171
|
+
DebugLinkInput: DebugLinkInput;
|
|
4172
|
+
InternalMyAddressRequest: InternalMyAddressRequest;
|
|
4151
4173
|
SetBusy: SetBusy;
|
|
4152
4174
|
GetFirmwareHash: GetFirmwareHash;
|
|
4153
4175
|
FirmwareHash: FirmwareHash;
|
|
4154
4176
|
GetNonce: GetNonce;
|
|
4155
4177
|
Nonce: Nonce;
|
|
4156
4178
|
WriteSEPrivateKey: WriteSEPrivateKey;
|
|
4179
|
+
SetWallpaper: SetWallpaper;
|
|
4180
|
+
GetWallpaper: GetWallpaper;
|
|
4181
|
+
Wallpaper: Wallpaper;
|
|
4157
4182
|
UnlockPath: UnlockPath;
|
|
4158
4183
|
UnlockedPathRequest: UnlockedPathRequest;
|
|
4159
|
-
|
|
4160
|
-
|
|
4161
|
-
|
|
4162
|
-
|
|
4163
|
-
TxDetailsPage: TxDetailsPage;
|
|
4184
|
+
ViewAmount: ViewAmount;
|
|
4185
|
+
ViewDetail: ViewDetail;
|
|
4186
|
+
ViewSignPage: ViewSignPage;
|
|
4187
|
+
ViewVerifyPage: ViewVerifyPage;
|
|
4164
4188
|
GetProtoVersion: GetProtoVersion;
|
|
4165
4189
|
ProtoVersion: ProtoVersion;
|
|
4166
4190
|
DeviceReboot: DeviceReboot;
|
|
@@ -4194,9 +4218,11 @@ export type MessageType = {
|
|
|
4194
4218
|
FilesystemDirMake: FilesystemDirMake;
|
|
4195
4219
|
FilesystemDirRemove: FilesystemDirRemove;
|
|
4196
4220
|
FilesystemFormat: FilesystemFormat;
|
|
4197
|
-
|
|
4198
|
-
|
|
4199
|
-
|
|
4221
|
+
GetOnboardingStatus: GetOnboardingStatus;
|
|
4222
|
+
NewDevice: NewDevice;
|
|
4223
|
+
Restore: Restore;
|
|
4224
|
+
Setup: Setup;
|
|
4225
|
+
OnboardingStatus: OnboardingStatus;
|
|
4200
4226
|
};
|
|
4201
4227
|
export type MessageKey = keyof MessageType;
|
|
4202
4228
|
export type MessageResponse<T extends MessageKey> = {
|