@onekeyfe/hd-transport 1.2.0-alpha.1 → 1.2.0-alpha.2

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 CHANGED
@@ -3580,19 +3580,6 @@ type TxAckPaymentRequest = {
3580
3580
  amount?: UintType;
3581
3581
  signature: string;
3582
3582
  };
3583
- type DebugLinkInput = {
3584
- x?: number;
3585
- y?: number;
3586
- duration_ms?: number;
3587
- x_end?: number;
3588
- y_end?: number;
3589
- };
3590
- type InternalMyAddressRequest = {
3591
- coin_type: number;
3592
- chain_id: number;
3593
- account_index: number;
3594
- derive_type: number;
3595
- };
3596
3583
  type SetBusy = {
3597
3584
  expiry_ms?: number;
3598
3585
  };
@@ -3609,21 +3596,6 @@ type Nonce = {
3609
3596
  type WriteSEPrivateKey = {
3610
3597
  private_key: string;
3611
3598
  };
3612
- declare enum WallpaperTarget {
3613
- Home = 0,
3614
- Lock = 1
3615
- }
3616
- type SetWallpaper = {
3617
- target: WallpaperTarget;
3618
- path: string;
3619
- };
3620
- type GetWallpaper = {
3621
- target: WallpaperTarget;
3622
- };
3623
- type Wallpaper = {
3624
- target: WallpaperTarget;
3625
- path: string;
3626
- };
3627
3599
  type UnlockPath = {
3628
3600
  address_n: number[];
3629
3601
  mac?: string;
@@ -3637,37 +3609,37 @@ declare enum MoneroNetworkType {
3637
3609
  STAGENET = 2,
3638
3610
  FAKECHAIN = 3
3639
3611
  }
3640
- type ViewAmount = {
3641
- is_unlimited: boolean;
3612
+ type TxDetailsAmount = {
3642
3613
  num: string;
3614
+ decimals: number;
3615
+ symbol: string;
3643
3616
  };
3644
- type ViewDetail = {
3617
+ type TxDetailsAddress = {
3618
+ key: number;
3619
+ address: string;
3620
+ owner?: string;
3621
+ icon?: string;
3622
+ };
3623
+ type TxDetailsNetwork = {
3624
+ coin_type: number;
3625
+ chain_id?: number;
3626
+ };
3627
+ type TxDetailsGeneral = {
3645
3628
  key: number;
3646
3629
  value: string;
3647
3630
  is_overview: boolean;
3648
- has_icon: boolean;
3649
3631
  };
3650
- declare enum ViewTipType {
3651
- Default = 0,
3652
- Highlight = 1,
3653
- Recommend = 2,
3654
- Warning = 3,
3655
- Danger = 4
3632
+ declare enum TxDetailsDisplayType {
3633
+ DISPLAY_TYPE_INFO = 0,
3634
+ DISPLAY_TYPE_SIGN = 1
3656
3635
  }
3657
- type ViewTip = {
3658
- type: ViewTipType;
3659
- text: string;
3660
- };
3661
- type ViewSignPage = {
3636
+ type TxDetailsPage = {
3662
3637
  title: string;
3638
+ display_type: TxDetailsDisplayType;
3663
3639
  amount?: UintType;
3664
- general: ViewDetail[];
3665
- tip?: ViewTip;
3666
- };
3667
- type ViewVerifyPage = {
3668
- title: string;
3669
- address: string;
3670
- path: string;
3640
+ network?: TxDetailsNetwork;
3641
+ address: TxDetailsAddress[];
3642
+ general: TxDetailsGeneral[];
3671
3643
  };
3672
3644
  type GetProtoVersion = {};
3673
3645
  type ProtoVersion = {
@@ -3678,9 +3650,17 @@ declare enum DevRebootType {
3678
3650
  Boardloader = 1,
3679
3651
  Bootloader = 2
3680
3652
  }
3653
+ declare enum DeviceRebootType {
3654
+ Normal = 0,
3655
+ Romloader = 1,
3656
+ Bootloader = 2
3657
+ }
3681
3658
  type DevReboot = {
3682
3659
  reboot_type: DevRebootType;
3683
3660
  };
3661
+ type DeviceReboot = {
3662
+ reboot_type: DeviceRebootType;
3663
+ };
3684
3664
  declare enum DeviceType {
3685
3665
  CLASSIC1 = 0,
3686
3666
  CLASSIC1S = 1,
@@ -3706,7 +3686,6 @@ type DevFirmwareImageInfo = {
3706
3686
  type DevHardwareInfo = {
3707
3687
  device_type?: DeviceType;
3708
3688
  serial_no?: string;
3709
- device_id?: string;
3710
3689
  hardware_version?: string;
3711
3690
  hardware_version_raw_adc?: number;
3712
3691
  };
@@ -3755,6 +3734,7 @@ type DevGetDeviceInfo = {
3755
3734
  targets?: DevInfoTargets;
3756
3735
  types?: DevInfoTypes;
3757
3736
  };
3737
+ type DeviceGetDeviceInfo = DevGetDeviceInfo;
3758
3738
  type ProtocolV2DeviceInfo = {
3759
3739
  protocol_version: number;
3760
3740
  hw?: DevHardwareInfo;
@@ -3767,35 +3747,72 @@ type ProtocolV2DeviceInfo = {
3767
3747
  status?: DevStatus;
3768
3748
  };
3769
3749
  declare enum DevFirmwareTargetType {
3770
- TARGET_MAIN_APP = 0,
3771
- TARGET_MAIN_BOOT = 1,
3772
- TARGET_BT = 2,
3773
- TARGET_SE1 = 3,
3774
- TARGET_SE2 = 4,
3775
- TARGET_SE3 = 5,
3776
- TARGET_SE4 = 6,
3750
+ TARGET_INVALID = 0,
3751
+ TARGET_ROMLOADER = 1,
3752
+ TARGET_BOOTLOADER = 2,
3753
+ TARGET_APPLICATION_P1 = 3,
3754
+ TARGET_APPLICATION_P2 = 4,
3755
+ TARGET_COPROCESSOR = 5,
3756
+ TARGET_SE01 = 6,
3757
+ TARGET_SE02 = 7,
3758
+ TARGET_SE03 = 8,
3759
+ TARGET_SE04 = 9,
3760
+ TARGET_RESOURCE = 10
3761
+ }
3762
+ declare enum DeviceFirmwareTargetType {
3763
+ TARGET_INVALID = 0,
3764
+ TARGET_ROMLOADER = 1,
3765
+ TARGET_BOOTLOADER = 2,
3766
+ TARGET_APPLICATION_P1 = 3,
3767
+ TARGET_APPLICATION_P2 = 4,
3768
+ TARGET_COPROCESSOR = 5,
3769
+ TARGET_SE01 = 6,
3770
+ TARGET_SE02 = 7,
3771
+ TARGET_SE03 = 8,
3772
+ TARGET_SE04 = 9,
3777
3773
  TARGET_RESOURCE = 10
3778
3774
  }
3779
3775
  type DevFirmwareTarget = {
3780
3776
  target_id: DevFirmwareTargetType;
3781
3777
  path: string;
3782
3778
  };
3779
+ type DeviceFirmwareTarget = {
3780
+ target_id: DeviceFirmwareTargetType;
3781
+ path: string;
3782
+ };
3783
3783
  type DevFirmwareUpdate = {
3784
3784
  targets: DevFirmwareTarget[];
3785
3785
  };
3786
+ type DeviceFirmwareUpdate = {
3787
+ targets: DeviceFirmwareTarget[];
3788
+ max_concurrent?: number;
3789
+ };
3786
3790
  type DevFirmwareInstallProgress = {
3787
3791
  target_id: DevFirmwareTargetType;
3788
3792
  progress: number;
3789
3793
  stage?: string;
3790
3794
  };
3795
+ type DeviceFirmwareInstallProgress = {
3796
+ target_id: DeviceFirmwareTargetType;
3797
+ progress: number;
3798
+ stage?: string;
3799
+ };
3791
3800
  type DevFirmwareUpdateStatusEntry = {
3792
3801
  target_id: DevFirmwareTargetType;
3793
3802
  status: number;
3794
3803
  };
3804
+ type DeviceFirmwareUpdateStatusEntry = {
3805
+ target_id: DeviceFirmwareTargetType;
3806
+ status: number;
3807
+ };
3795
3808
  type DevGetFirmwareUpdateStatus = {};
3809
+ type DeviceGetFirmwareUpdateStatus = {};
3796
3810
  type DevFirmwareUpdateStatus = {
3797
3811
  targets: DevFirmwareUpdateStatusEntry[];
3798
3812
  };
3813
+ type DeviceFirmwareUpdateStatus = {
3814
+ targets: DeviceFirmwareUpdateStatusEntry[];
3815
+ };
3799
3816
  type FactoryDeviceInfoSettings = {
3800
3817
  serial_no?: string;
3801
3818
  cpu_info?: string;
@@ -4455,27 +4472,23 @@ type MessageType = {
4455
4472
  CoinPurchaseMemo: CoinPurchaseMemo;
4456
4473
  PaymentRequestMemo: PaymentRequestMemo;
4457
4474
  TxAckPaymentRequest: TxAckPaymentRequest;
4458
- DebugLinkInput: DebugLinkInput;
4459
- InternalMyAddressRequest: InternalMyAddressRequest;
4460
4475
  SetBusy: SetBusy;
4461
4476
  GetFirmwareHash: GetFirmwareHash;
4462
4477
  FirmwareHash: FirmwareHash;
4463
4478
  GetNonce: GetNonce;
4464
4479
  Nonce: Nonce;
4465
4480
  WriteSEPrivateKey: WriteSEPrivateKey;
4466
- SetWallpaper: SetWallpaper;
4467
- GetWallpaper: GetWallpaper;
4468
- Wallpaper: Wallpaper;
4469
4481
  UnlockPath: UnlockPath;
4470
4482
  UnlockedPathRequest: UnlockedPathRequest;
4471
- ViewAmount: ViewAmount;
4472
- ViewDetail: ViewDetail;
4473
- ViewTip: ViewTip;
4474
- ViewSignPage: ViewSignPage;
4475
- ViewVerifyPage: ViewVerifyPage;
4483
+ TxDetailsAmount: TxDetailsAmount;
4484
+ TxDetailsAddress: TxDetailsAddress;
4485
+ TxDetailsNetwork: TxDetailsNetwork;
4486
+ TxDetailsGeneral: TxDetailsGeneral;
4487
+ TxDetailsPage: TxDetailsPage;
4476
4488
  GetProtoVersion: GetProtoVersion;
4477
4489
  ProtoVersion: ProtoVersion;
4478
4490
  DevReboot: DevReboot;
4491
+ DeviceReboot: DeviceReboot;
4479
4492
  DevFirmwareImageInfo: DevFirmwareImageInfo;
4480
4493
  DevHardwareInfo: DevHardwareInfo;
4481
4494
  DevMainMcuInfo: DevMainMcuInfo;
@@ -4485,12 +4498,19 @@ type MessageType = {
4485
4498
  DevInfoTypes: DevInfoTypes;
4486
4499
  DevStatus: DevStatus;
4487
4500
  DevGetDeviceInfo: DevGetDeviceInfo;
4501
+ DeviceGetDeviceInfo: DeviceGetDeviceInfo;
4488
4502
  DevFirmwareTarget: DevFirmwareTarget;
4503
+ DeviceFirmwareTarget: DeviceFirmwareTarget;
4489
4504
  DevFirmwareUpdate: DevFirmwareUpdate;
4505
+ DeviceFirmwareUpdate: DeviceFirmwareUpdate;
4490
4506
  DevFirmwareInstallProgress: DevFirmwareInstallProgress;
4507
+ DeviceFirmwareInstallProgress: DeviceFirmwareInstallProgress;
4491
4508
  DevFirmwareUpdateStatusEntry: DevFirmwareUpdateStatusEntry;
4509
+ DeviceFirmwareUpdateStatusEntry: DeviceFirmwareUpdateStatusEntry;
4492
4510
  DevGetFirmwareUpdateStatus: DevGetFirmwareUpdateStatus;
4511
+ DeviceGetFirmwareUpdateStatus: DeviceGetFirmwareUpdateStatus;
4493
4512
  DevFirmwareUpdateStatus: DevFirmwareUpdateStatus;
4513
+ DeviceFirmwareUpdateStatus: DeviceFirmwareUpdateStatus;
4494
4514
  FactoryDeviceInfoSettings: FactoryDeviceInfoSettings;
4495
4515
  FactoryGetDeviceInfo: FactoryGetDeviceInfo;
4496
4516
  FactoryDeviceInfo: FactoryDeviceInfo;
@@ -5222,35 +5242,31 @@ type messages_RefundMemo = RefundMemo;
5222
5242
  type messages_CoinPurchaseMemo = CoinPurchaseMemo;
5223
5243
  type messages_PaymentRequestMemo = PaymentRequestMemo;
5224
5244
  type messages_TxAckPaymentRequest = TxAckPaymentRequest;
5225
- type messages_DebugLinkInput = DebugLinkInput;
5226
- type messages_InternalMyAddressRequest = InternalMyAddressRequest;
5227
5245
  type messages_SetBusy = SetBusy;
5228
5246
  type messages_GetFirmwareHash = GetFirmwareHash;
5229
5247
  type messages_FirmwareHash = FirmwareHash;
5230
5248
  type messages_GetNonce = GetNonce;
5231
5249
  type messages_Nonce = Nonce;
5232
5250
  type messages_WriteSEPrivateKey = WriteSEPrivateKey;
5233
- type messages_WallpaperTarget = WallpaperTarget;
5234
- declare const messages_WallpaperTarget: typeof WallpaperTarget;
5235
- type messages_SetWallpaper = SetWallpaper;
5236
- type messages_GetWallpaper = GetWallpaper;
5237
- type messages_Wallpaper = Wallpaper;
5238
5251
  type messages_UnlockPath = UnlockPath;
5239
5252
  type messages_UnlockedPathRequest = UnlockedPathRequest;
5240
5253
  type messages_MoneroNetworkType = MoneroNetworkType;
5241
5254
  declare const messages_MoneroNetworkType: typeof MoneroNetworkType;
5242
- type messages_ViewAmount = ViewAmount;
5243
- type messages_ViewDetail = ViewDetail;
5244
- type messages_ViewTipType = ViewTipType;
5245
- declare const messages_ViewTipType: typeof ViewTipType;
5246
- type messages_ViewTip = ViewTip;
5247
- type messages_ViewSignPage = ViewSignPage;
5248
- type messages_ViewVerifyPage = ViewVerifyPage;
5255
+ type messages_TxDetailsAmount = TxDetailsAmount;
5256
+ type messages_TxDetailsAddress = TxDetailsAddress;
5257
+ type messages_TxDetailsNetwork = TxDetailsNetwork;
5258
+ type messages_TxDetailsGeneral = TxDetailsGeneral;
5259
+ type messages_TxDetailsDisplayType = TxDetailsDisplayType;
5260
+ declare const messages_TxDetailsDisplayType: typeof TxDetailsDisplayType;
5261
+ type messages_TxDetailsPage = TxDetailsPage;
5249
5262
  type messages_GetProtoVersion = GetProtoVersion;
5250
5263
  type messages_ProtoVersion = ProtoVersion;
5251
5264
  type messages_DevRebootType = DevRebootType;
5252
5265
  declare const messages_DevRebootType: typeof DevRebootType;
5266
+ type messages_DeviceRebootType = DeviceRebootType;
5267
+ declare const messages_DeviceRebootType: typeof DeviceRebootType;
5253
5268
  type messages_DevReboot = DevReboot;
5269
+ type messages_DeviceReboot = DeviceReboot;
5254
5270
  type messages_DeviceType = DeviceType;
5255
5271
  declare const messages_DeviceType: typeof DeviceType;
5256
5272
  type messages_DevSeType = DevSeType;
@@ -5266,15 +5282,24 @@ type messages_DevInfoTargets = DevInfoTargets;
5266
5282
  type messages_DevInfoTypes = DevInfoTypes;
5267
5283
  type messages_DevStatus = DevStatus;
5268
5284
  type messages_DevGetDeviceInfo = DevGetDeviceInfo;
5285
+ type messages_DeviceGetDeviceInfo = DeviceGetDeviceInfo;
5269
5286
  type messages_ProtocolV2DeviceInfo = ProtocolV2DeviceInfo;
5270
5287
  type messages_DevFirmwareTargetType = DevFirmwareTargetType;
5271
5288
  declare const messages_DevFirmwareTargetType: typeof DevFirmwareTargetType;
5289
+ type messages_DeviceFirmwareTargetType = DeviceFirmwareTargetType;
5290
+ declare const messages_DeviceFirmwareTargetType: typeof DeviceFirmwareTargetType;
5272
5291
  type messages_DevFirmwareTarget = DevFirmwareTarget;
5292
+ type messages_DeviceFirmwareTarget = DeviceFirmwareTarget;
5273
5293
  type messages_DevFirmwareUpdate = DevFirmwareUpdate;
5294
+ type messages_DeviceFirmwareUpdate = DeviceFirmwareUpdate;
5274
5295
  type messages_DevFirmwareInstallProgress = DevFirmwareInstallProgress;
5296
+ type messages_DeviceFirmwareInstallProgress = DeviceFirmwareInstallProgress;
5275
5297
  type messages_DevFirmwareUpdateStatusEntry = DevFirmwareUpdateStatusEntry;
5298
+ type messages_DeviceFirmwareUpdateStatusEntry = DeviceFirmwareUpdateStatusEntry;
5276
5299
  type messages_DevGetFirmwareUpdateStatus = DevGetFirmwareUpdateStatus;
5300
+ type messages_DeviceGetFirmwareUpdateStatus = DeviceGetFirmwareUpdateStatus;
5277
5301
  type messages_DevFirmwareUpdateStatus = DevFirmwareUpdateStatus;
5302
+ type messages_DeviceFirmwareUpdateStatus = DeviceFirmwareUpdateStatus;
5278
5303
  type messages_FactoryDeviceInfoSettings = FactoryDeviceInfoSettings;
5279
5304
  type messages_FactoryGetDeviceInfo = FactoryGetDeviceInfo;
5280
5305
  type messages_FactoryDeviceInfo = FactoryDeviceInfo;
@@ -5941,31 +5966,27 @@ declare namespace messages {
5941
5966
  messages_CoinPurchaseMemo as CoinPurchaseMemo,
5942
5967
  messages_PaymentRequestMemo as PaymentRequestMemo,
5943
5968
  messages_TxAckPaymentRequest as TxAckPaymentRequest,
5944
- messages_DebugLinkInput as DebugLinkInput,
5945
- messages_InternalMyAddressRequest as InternalMyAddressRequest,
5946
5969
  messages_SetBusy as SetBusy,
5947
5970
  messages_GetFirmwareHash as GetFirmwareHash,
5948
5971
  messages_FirmwareHash as FirmwareHash,
5949
5972
  messages_GetNonce as GetNonce,
5950
5973
  messages_Nonce as Nonce,
5951
5974
  messages_WriteSEPrivateKey as WriteSEPrivateKey,
5952
- messages_WallpaperTarget as WallpaperTarget,
5953
- messages_SetWallpaper as SetWallpaper,
5954
- messages_GetWallpaper as GetWallpaper,
5955
- messages_Wallpaper as Wallpaper,
5956
5975
  messages_UnlockPath as UnlockPath,
5957
5976
  messages_UnlockedPathRequest as UnlockedPathRequest,
5958
5977
  messages_MoneroNetworkType as MoneroNetworkType,
5959
- messages_ViewAmount as ViewAmount,
5960
- messages_ViewDetail as ViewDetail,
5961
- messages_ViewTipType as ViewTipType,
5962
- messages_ViewTip as ViewTip,
5963
- messages_ViewSignPage as ViewSignPage,
5964
- messages_ViewVerifyPage as ViewVerifyPage,
5978
+ messages_TxDetailsAmount as TxDetailsAmount,
5979
+ messages_TxDetailsAddress as TxDetailsAddress,
5980
+ messages_TxDetailsNetwork as TxDetailsNetwork,
5981
+ messages_TxDetailsGeneral as TxDetailsGeneral,
5982
+ messages_TxDetailsDisplayType as TxDetailsDisplayType,
5983
+ messages_TxDetailsPage as TxDetailsPage,
5965
5984
  messages_GetProtoVersion as GetProtoVersion,
5966
5985
  messages_ProtoVersion as ProtoVersion,
5967
5986
  messages_DevRebootType as DevRebootType,
5987
+ messages_DeviceRebootType as DeviceRebootType,
5968
5988
  messages_DevReboot as DevReboot,
5989
+ messages_DeviceReboot as DeviceReboot,
5969
5990
  messages_DeviceType as DeviceType,
5970
5991
  messages_DevSeType as DevSeType,
5971
5992
  messages_DevSEState as DevSEState,
@@ -5978,14 +5999,22 @@ declare namespace messages {
5978
5999
  messages_DevInfoTypes as DevInfoTypes,
5979
6000
  messages_DevStatus as DevStatus,
5980
6001
  messages_DevGetDeviceInfo as DevGetDeviceInfo,
6002
+ messages_DeviceGetDeviceInfo as DeviceGetDeviceInfo,
5981
6003
  messages_ProtocolV2DeviceInfo as ProtocolV2DeviceInfo,
5982
6004
  messages_DevFirmwareTargetType as DevFirmwareTargetType,
6005
+ messages_DeviceFirmwareTargetType as DeviceFirmwareTargetType,
5983
6006
  messages_DevFirmwareTarget as DevFirmwareTarget,
6007
+ messages_DeviceFirmwareTarget as DeviceFirmwareTarget,
5984
6008
  messages_DevFirmwareUpdate as DevFirmwareUpdate,
6009
+ messages_DeviceFirmwareUpdate as DeviceFirmwareUpdate,
5985
6010
  messages_DevFirmwareInstallProgress as DevFirmwareInstallProgress,
6011
+ messages_DeviceFirmwareInstallProgress as DeviceFirmwareInstallProgress,
5986
6012
  messages_DevFirmwareUpdateStatusEntry as DevFirmwareUpdateStatusEntry,
6013
+ messages_DeviceFirmwareUpdateStatusEntry as DeviceFirmwareUpdateStatusEntry,
5987
6014
  messages_DevGetFirmwareUpdateStatus as DevGetFirmwareUpdateStatus,
6015
+ messages_DeviceGetFirmwareUpdateStatus as DeviceGetFirmwareUpdateStatus,
5988
6016
  messages_DevFirmwareUpdateStatus as DevFirmwareUpdateStatus,
6017
+ messages_DeviceFirmwareUpdateStatus as DeviceFirmwareUpdateStatus,
5989
6018
  messages_FactoryDeviceInfoSettings as FactoryDeviceInfoSettings,
5990
6019
  messages_FactoryGetDeviceInfo as FactoryGetDeviceInfo,
5991
6020
  messages_FactoryDeviceInfo as FactoryDeviceInfo,
@@ -6174,4 +6203,4 @@ declare const _default: {
6174
6203
  withProtocolTimeout: typeof withProtocolTimeout;
6175
6204
  };
6176
6205
 
6177
- export { AcquireInput, Address, AlephiumAddress, AlephiumBytecodeAck, AlephiumBytecodeRequest, AlephiumGetAddress, AlephiumMessageSignature, AlephiumSignMessage, AlephiumSignTx, AlephiumSignedTx, AlephiumTxAck, AlephiumTxRequest, AlgorandAddress, AlgorandGetAddress, AlgorandSignTx, AlgorandSignedTx, AmountUnit, ApplyFlags, ApplySettings, AptosAddress, AptosGetAddress, AptosMessagePayload, AptosMessageSignature, AptosSignMessage, AptosSignSIWAMessage, AptosSignTx, AptosSignedTx, AptosTransactionType, AuthorizeCoinJoin, BIP32Address, BackupDevice, BackupType, BatchGetPublickeys, BenfenAddress, BenfenGetAddress, BenfenMessageSignature, BenfenSignMessage, BenfenSignTx, BenfenSignedTx, BenfenTxAck, BenfenTxRequest, BinanceAddress, BinanceCancelMsg, BinanceCoin, BinanceGetAddress, BinanceGetPublicKey, BinanceInputOutput, BinanceOrderMsg, BinanceOrderSide, BinanceOrderType, BinancePublicKey, BinanceSignTx, BinanceSignedTx, BinanceTimeInForce, BinanceTransferMsg, BinanceTxRequest, BixinBackupAck, BixinBackupDevice, BixinBackupDeviceAck, BixinBackupRequest, BixinLoadDevice, BixinMessageSE, BixinOutMessageSE, BixinPinInputOnDevice, BixinRestoreAck, BixinRestoreRequest, BixinSeedOperate, BixinVerifyDeviceAck, BixinVerifyDeviceRequest, BixinWhiteListAck, BixinWhiteListRequest, BlurRequest, ButtonAck, ButtonRequest, ButtonRequestType, Cancel, CancelAuthorization, Capability, CardanoAddress, CardanoAddressParametersType, CardanoAddressType, CardanoAssetGroup, CardanoBlockchainPointerType, CardanoCVoteRegistrationDelegation, CardanoCVoteRegistrationFormat, CardanoCVoteRegistrationParametersType, CardanoCertificateType, CardanoDRep, CardanoDRepType, CardanoDerivationType, CardanoGetAddress, CardanoGetNativeScriptHash, CardanoGetPublicKey, CardanoMessageSignature, CardanoNativeScript, CardanoNativeScriptHash, CardanoNativeScriptHashDisplayFormat, CardanoNativeScriptType, CardanoPoolMetadataType, CardanoPoolOwner, CardanoPoolParametersType, CardanoPoolRelayParameters, CardanoPoolRelayType, CardanoPublicKey, CardanoSignMessage, CardanoSignTxFinished, CardanoSignTxInit, CardanoToken, CardanoTxAuxiliaryData, CardanoTxAuxiliaryDataSupplement, CardanoTxAuxiliaryDataSupplementType, CardanoTxBodyHash, CardanoTxCertificate, CardanoTxCollateralInput, CardanoTxHostAck, CardanoTxInlineDatumChunk, CardanoTxInput, CardanoTxItemAck, CardanoTxMint, CardanoTxOutput, CardanoTxOutputSerializationFormat, CardanoTxReferenceInput, CardanoTxReferenceScriptChunk, CardanoTxRequiredSigner, CardanoTxSigningMode, CardanoTxWithdrawal, CardanoTxWitnessRequest, CardanoTxWitnessResponse, CardanoTxWitnessType, ChangeOutputScriptType, ChangePin, ChangeWipeCode, CipherKeyValue, CipheredKeyValue, CoinJoinRequest, CoinPurchaseMemo, CommandFlags, ConfluxAddress, ConfluxGetAddress, ConfluxMessageSignature, ConfluxSignMessage, ConfluxSignMessageCIP23, ConfluxSignTx, ConfluxTxAck, ConfluxTxRequest, CosmosAddress, CosmosGetAddress, CosmosSignTx, CosmosSignedTx, DebugLinkInput, DecredStakingSpendType, Deprecated_PassphraseStateAck, Deprecated_PassphraseStateRequest, DevBluetoothInfo, DevFirmwareImageInfo, DevFirmwareInstallProgress, DevFirmwareTarget, DevFirmwareTargetType, DevFirmwareUpdate, DevFirmwareUpdateStatus, DevFirmwareUpdateStatusEntry, DevGetDeviceInfo, DevGetFirmwareUpdateStatus, DevHardwareInfo, DevInfoTargets, DevInfoTypes, DevMainMcuInfo, DevReboot, DevRebootType, DevSEInfo, DevSEState, DevSeType, DevStatus, DeviceBackToBoot, DeviceEraseSector, DeviceInfo, DeviceInfoSettings, DeviceType, DnxAddress, DnxComputedKeyImage, DnxGetAddress, DnxInputAck, DnxInputRequest, DnxRTSigsRequest, DnxSignTx, DnxSignedTx, DnxTxKey, DoPreauthorized, ECDHSessionKey, EcdsaPublicKeys, EmmcDir, EmmcDirList, EmmcDirMake, EmmcDirRemove, EmmcFile, EmmcFileDelete, EmmcFileRead, EmmcFileWrite, EmmcFixPermission, EmmcPath, EmmcPathInfo, EndSession, Entropy, EntropyAck, EntropyRequest, Enum_BackupType, Enum_ButtonRequestType, Enum_Capability, Enum_InputScriptType, Enum_OutputScriptType, Enum_PinMatrixRequestType, Enum_RequestType, Enum_SafetyCheckLevel, Enum_WordRequestType, EosActionBuyRam, EosActionBuyRamBytes, EosActionCommon, EosActionDelegate, EosActionDeleteAuth, EosActionLinkAuth, EosActionNewAccount, EosActionRefund, EosActionSellRam, EosActionTransfer, EosActionUndelegate, EosActionUnknown, EosActionUnlinkAuth, EosActionUpdateAuth, EosActionVoteProducer, EosAsset, EosAuthorization, EosAuthorizationAccount, EosAuthorizationKey, EosAuthorizationWait, EosGetPublicKey, EosPermissionLevel, EosPublicKey, EosSignTx, EosSignedTx, EosTxActionAck, EosTxActionRequest, EosTxHeader, EthereumAccessList, EthereumAccessListOneKey, EthereumAddress, EthereumAddressOneKey, EthereumAuthorizationOneKey, EthereumAuthorizationSignature, EthereumDataType, EthereumDataTypeOneKey, EthereumDefinitionType, EthereumDefinitions, EthereumFieldType, EthereumFieldTypeOneKey, EthereumGetAddress, EthereumGetAddressOneKey, EthereumGetPublicKey, EthereumGetPublicKeyOneKey, EthereumGnosisSafeTxAck, EthereumGnosisSafeTxOperation, EthereumGnosisSafeTxRequest, EthereumMessageSignature, EthereumMessageSignatureOneKey, EthereumNetworkInfo, EthereumPublicKey, EthereumPublicKeyOneKey, EthereumSignMessage, EthereumSignMessageEIP712, EthereumSignMessageOneKey, EthereumSignTx, EthereumSignTxEIP1559, EthereumSignTxEIP1559OneKey, EthereumSignTxEIP7702OneKey, EthereumSignTxOneKey, EthereumSignTypedData, EthereumSignTypedDataOneKey, EthereumSignTypedHash, EthereumSignTypedHashOneKey, EthereumStructMember, EthereumStructMemberOneKey, EthereumTokenInfo, EthereumTxAck, EthereumTxAckOneKey, EthereumTxRequest, EthereumTxRequestOneKey, EthereumTypedDataSignature, EthereumTypedDataSignatureOneKey, EthereumTypedDataStructAck, EthereumTypedDataStructAckOneKey, EthereumTypedDataStructRequest, EthereumTypedDataStructRequestOneKey, EthereumTypedDataValueAck, EthereumTypedDataValueAckOneKey, EthereumTypedDataValueRequest, EthereumTypedDataValueRequestOneKey, EthereumVerifyMessage, EthereumVerifyMessageOneKey, ExportType, FactoryDeviceInfo, FactoryDeviceInfoSettings, FactoryGetDeviceInfo, Failure, FailureType, Features, FileInfo, FileInfoList, FilecoinAddress, FilecoinGetAddress, FilecoinSignTx, FilecoinSignedTx, FilesystemDir, FilesystemDirList, FilesystemDirMake, FilesystemDirRemove, FilesystemFile, FilesystemFileDelete, FilesystemFileRead, FilesystemFileWrite, FilesystemFixPermission, FilesystemFormat, FilesystemPathInfo, FilesystemPathInfoQuery, FirmwareErase, FirmwareErase_ex, FirmwareHash, FirmwareRequest, FirmwareUpdateEmmc, FirmwareUpload, GetAddress, GetDeviceInfo, GetECDHSessionKey, GetEntropy, GetFeatures, GetFirmwareHash, GetNextU2FCounter, GetNonce, GetOnboardingStatus, GetOwnershipId, GetOwnershipProof, GetPassphraseState, GetProtoVersion, GetPublicKey, GetPublicKeyMultiple, GetWallpaper, HDNodePathType, HDNodeType, IdentityType, Initialize, InputScriptType, InternalInputScriptType, InternalMyAddressRequest, KaspaAddress, KaspaGetAddress, KaspaSignTx, KaspaSignedTx, KaspaTxInputAck, KaspaTxInputRequest, ListResDir, LnurlAuth, LnurlAuthResp, LockDevice, LogBlockCommand, LowLevelDevice, LowlevelTransportSharedPlugin, MessageFromOneKey, MessageKey, MessageResponse, MessageResponseMap, MessageSignature, MessageType, messages as Messages, MoneroAccountPublicAddress, MoneroAddress, MoneroExportedKeyImage, MoneroGetAddress, MoneroGetTxKeyAck, MoneroGetTxKeyRequest, MoneroGetWatchKey, MoneroKeyImageExportInitAck, MoneroKeyImageExportInitRequest, MoneroKeyImageSyncFinalAck, MoneroKeyImageSyncFinalRequest, MoneroKeyImageSyncStepAck, MoneroKeyImageSyncStepRequest, MoneroLiveRefreshFinalAck, MoneroLiveRefreshFinalRequest, MoneroLiveRefreshStartAck, MoneroLiveRefreshStartRequest, MoneroLiveRefreshStepAck, MoneroLiveRefreshStepRequest, MoneroMultisigKLRki, MoneroNetworkType, MoneroOutputEntry, MoneroRctKeyPublic, MoneroRingCtSig, MoneroSubAddressIndicesList, MoneroTransactionAllInputsSetAck, MoneroTransactionAllInputsSetRequest, MoneroTransactionAllOutSetAck, MoneroTransactionAllOutSetRequest, MoneroTransactionData, MoneroTransactionDestinationEntry, MoneroTransactionFinalAck, MoneroTransactionFinalRequest, MoneroTransactionInitAck, MoneroTransactionInitRequest, MoneroTransactionInputViniAck, MoneroTransactionInputViniRequest, MoneroTransactionInputsPermutationAck, MoneroTransactionInputsPermutationRequest, MoneroTransactionRsigData, MoneroTransactionSetInputAck, MoneroTransactionSetInputRequest, MoneroTransactionSetOutputAck, MoneroTransactionSetOutputRequest, MoneroTransactionSignInputAck, MoneroTransactionSignInputRequest, MoneroTransactionSourceEntry, MoneroTransferDetails, MoneroWatchKey, MultisigRedeemScriptType, NEMAddress, NEMAggregateModification, NEMCosignatoryModification, NEMDecryptMessage, NEMDecryptedMessage, NEMGetAddress, NEMImportanceTransfer, NEMImportanceTransferMode, NEMModificationType, NEMMosaic, NEMMosaicCreation, NEMMosaicDefinition, NEMMosaicLevy, NEMMosaicSupplyChange, NEMProvisionNamespace, NEMSignTx, NEMSignedTx, NEMSupplyChangeType, NEMTransactionCommon, NEMTransfer, NFTWriteData, NFTWriteInfo, NearAddress, NearGetAddress, NearSignTx, NearSignedTx, NeoAddress, NeoGetAddress, NeoSignTx, NeoSignedTx, NervosAddress, NervosGetAddress, NervosSignTx, NervosSignedTx, NervosTxAck, NervosTxRequest, NewDevice, NexaAddress, NexaGetAddress, NexaSignTx, NexaSignedTx, NexaTxInputAck, NexaTxInputRequest, NextU2FCounter, Nonce, NostrDecryptMessage, NostrDecryptedMessage, NostrEncryptMessage, NostrEncryptedMessage, NostrGetPublicKey, NostrPublicKey, NostrSignEvent, NostrSignSchnorr, NostrSignedEvent, NostrSignedSchnorr, OnboardingStatus, OnboardingStep, OneKeyDeviceCommType, OneKeyDeviceInfo, OneKeyDeviceInfoBase, OneKeyDeviceInfoWithSession, OneKeyDeviceType, OneKeyMobileDeviceInfo, OneKeySEState, OneKeySeType, OnekeyFeatures, OnekeyGetFeatures, OutputScriptType, OwnershipId, OwnershipProof, PROTOCOL_V1_CHUNK_PAYLOAD_SIZE, PROTOCOL_V1_ENVELOPE_HEADER_SIZE, PROTOCOL_V1_HEADER_BYTE, PROTOCOL_V1_MESSAGE_HEADER_SIZE, PROTOCOL_V1_REPORT_ID, PROTOCOL_V1_USB_PACKET_SIZE, PROTOCOL_V2_BLE_FILE_CHUNK_SIZE, PROTOCOL_V2_CHANNEL_BLE_UART, PROTOCOL_V2_CHANNEL_SOCKET, PROTOCOL_V2_CHANNEL_USB, PROTOCOL_V2_FILE_CHUNK_SIZE, PROTOCOL_V2_FRAME_MAX_BYTES, PROTOCOL_V2_PACKET_SRC_COMMAND, PROTOCOL_V2_SYS_MESSAGE_THRESHOLD, PROTOCOL_V2_WEBUSB_FILE_CHUNK_SIZE, PROTOCOL_V2_WRITE_WATCHDOG_TIMEOUT_MS, PassphraseAck, PassphraseRequest, PassphraseState, Path, PaymentRequestMemo, PinMatrixAck, PinMatrixRequest, PinMatrixRequestType, Ping, PolkadotAddress, PolkadotGetAddress, PolkadotSignTx, PolkadotSignedTx, PreauthorizedRequest, PrevInput, PrevOutput, PrevTx, ProtoVersion, ProtocolType, ProtocolV1, ProtocolV2, ProtocolV2CallOptions, ProtocolV2DeviceInfo, ProtocolV2FrameAssembler, ProtocolV2Schemas, ProtocolV2Session, ProtocolV2SessionOptions, PublicKey, PublicKeyMultiple, ReadSEPublicCert, ReadSEPublicKey, Reboot, RebootToBoardloader, RebootToBootloader, RebootType, RecoveryDevice, RecoveryDeviceType, RefundMemo, RequestType, ResetDevice, ResourceAck, ResourceRequest, ResourceType, ResourceUpdate, ResourceUpload, Restore, RippleAddress, RippleGetAddress, RipplePayment, RippleSignTx, RippleSignedTx, SEMessageSignature, SEPublicCert, SEPublicKey, SESignMessage, SafetyCheckLevel, ScdoAddress, ScdoGetAddress, ScdoSignMessage, ScdoSignTx, ScdoSignedMessage, ScdoSignedTx, ScdoTxAck, SdProtect, SdProtectOperationType, SeedRequestType, SelfTest, SetBusy, SetU2FCounter, SetWallpaper, Setup, SignIdentity, SignMessage, SignPsbt, SignTx, SignedIdentity, SignedPsbt, SolanaAddress, SolanaGetAddress, SolanaMessageSignature, SolanaOffChainMessageFormat, SolanaOffChainMessageVersion, SolanaSignOffChainMessage, SolanaSignTx, SolanaSignUnsafeMessage, SolanaSignedTx, SolanaTxATADetails, SolanaTxExtraInfo, SpiFlashData, SpiFlashRead, SpiFlashWrite, StarcoinAddress, StarcoinGetAddress, StarcoinGetPublicKey, StarcoinMessageSignature, StarcoinPublicKey, StarcoinSignMessage, StarcoinSignTx, StarcoinSignedTx, StarcoinVerifyMessage, StellarAccountMergeOp, StellarAddress, StellarAllowTrustOp, StellarAsset, StellarAssetType, StellarBumpSequenceOp, StellarChangeTrustOp, StellarCreateAccountOp, StellarCreatePassiveSellOfferOp, StellarGetAddress, StellarInvokeHostFunctionOp, StellarManageBuyOfferOp, StellarManageDataOp, StellarManageSellOfferOp, StellarMemoType, StellarPathPaymentStrictReceiveOp, StellarPathPaymentStrictSendOp, StellarPaymentOp, StellarRequestType, StellarSetOptionsOp, StellarSignTx, StellarSignedTx, StellarSignerType, StellarSorobanDataAck, StellarSorobanDataRequest, StellarTxOpRequest, Success, SuiAddress, SuiGetAddress, SuiMessageSignature, SuiSignMessage, SuiSignTx, SuiSignedTx, SuiTxAck, SuiTxRequest, TextMemo, TezosAddress, TezosBallotOp, TezosBallotType, TezosContractID, TezosContractType, TezosDelegationOp, TezosGetAddress, TezosGetPublicKey, TezosManagerTransfer, TezosOriginationOp, TezosParametersManager, TezosProposalOp, TezosPublicKey, TezosRevealOp, TezosSignTx, TezosSignedTx, TezosTransactionOp, TonAddress, TonGetAddress, TonSignData, TonSignDataType, TonSignMessage, TonSignProof, TonSignedData, TonSignedMessage, TonSignedProof, TonTxAck, TonWalletVersion, TonWorkChain, Transport, TransportCallOptions, TronAddress, TronCancelAllUnfreezeV2Contract, TronContract, TronDelegateResourceContract, TronFreezeBalanceContract, TronFreezeBalanceV2Contract, TronGetAddress, TronMessageSignature, TronMessageType, TronResourceCode, TronSignMessage, TronSignTx, TronSignedTx, TronTransferContract, TronTriggerSmartContract, TronUnDelegateResourceContract, TronUnfreezeBalanceContract, TronUnfreezeBalanceV2Contract, TronVoteWitnessContract, TronWithdrawBalanceContract, TronWithdrawExpireUnfreezeContract, TxAck, TxAckInput, TxAckInputWrapper, TxAckOutput, TxAckOutputWrapper, TxAckPaymentRequest, TxAckPrevExtraData, TxAckPrevExtraDataWrapper, TxAckPrevInput, TxAckPrevInputWrapper, TxAckPrevMeta, TxAckPrevOutput, TxAckPrevOutputWrapper, TxAckResponse, TxInput, TxInputType, TxOutput, TxOutputBinType, TxOutputType, TxRequest, TxRequestDetailsType, TxRequestSerializedType, TypedCall, UintType, UnLockDevice, UnLockDeviceResponse, UnlockPath, UnlockedPathRequest, UpgradeFileHeader, VerifyMessage, ViewAmount, ViewDetail, ViewSignPage, ViewTip, ViewTipType, ViewVerifyPage, Vote, WL_OperationType, Wallpaper, WallpaperTarget, WipeDevice, WordAck, WordRequest, WordRequestType, WriteSEPrivateKey, WriteSEPublicCert, ZoomRequest, bytesToHex, concatUint8Arrays, _default as default, experimental_field, experimental_message, facotry, getErrorMessage, hexToBytes, probeProtocolV2, index as protocolV1, protocolV2Codec as protocolV2, withProtocolTimeout };
6206
+ 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, DevBluetoothInfo, DevFirmwareImageInfo, DevFirmwareInstallProgress, DevFirmwareTarget, DevFirmwareTargetType, DevFirmwareUpdate, DevFirmwareUpdateStatus, DevFirmwareUpdateStatusEntry, DevGetDeviceInfo, DevGetFirmwareUpdateStatus, DevHardwareInfo, DevInfoTargets, DevInfoTypes, DevMainMcuInfo, DevReboot, DevRebootType, DevSEInfo, DevSEState, DevSeType, DevStatus, DeviceBackToBoot, DeviceEraseSector, DeviceFirmwareInstallProgress, DeviceFirmwareTarget, DeviceFirmwareTargetType, DeviceFirmwareUpdate, DeviceFirmwareUpdateStatus, DeviceFirmwareUpdateStatusEntry, DeviceGetDeviceInfo, DeviceGetFirmwareUpdateStatus, DeviceInfo, DeviceInfoSettings, DeviceReboot, DeviceRebootType, 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, 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, NewDevice, NexaAddress, NexaGetAddress, NexaSignTx, NexaSignedTx, NexaTxInputAck, NexaTxInputRequest, NextU2FCounter, Nonce, NostrDecryptMessage, NostrDecryptedMessage, NostrEncryptMessage, NostrEncryptedMessage, NostrGetPublicKey, NostrPublicKey, NostrSignEvent, NostrSignSchnorr, NostrSignedEvent, NostrSignedSchnorr, OnboardingStatus, OnboardingStep, OneKeyDeviceCommType, OneKeyDeviceInfo, OneKeyDeviceInfoBase, OneKeyDeviceInfoWithSession, OneKeyDeviceType, OneKeyMobileDeviceInfo, OneKeySEState, OneKeySeType, OnekeyFeatures, OnekeyGetFeatures, OutputScriptType, OwnershipId, OwnershipProof, PROTOCOL_V1_CHUNK_PAYLOAD_SIZE, PROTOCOL_V1_ENVELOPE_HEADER_SIZE, PROTOCOL_V1_HEADER_BYTE, PROTOCOL_V1_MESSAGE_HEADER_SIZE, PROTOCOL_V1_REPORT_ID, PROTOCOL_V1_USB_PACKET_SIZE, PROTOCOL_V2_BLE_FILE_CHUNK_SIZE, PROTOCOL_V2_CHANNEL_BLE_UART, PROTOCOL_V2_CHANNEL_SOCKET, PROTOCOL_V2_CHANNEL_USB, PROTOCOL_V2_FILE_CHUNK_SIZE, PROTOCOL_V2_FRAME_MAX_BYTES, PROTOCOL_V2_PACKET_SRC_COMMAND, PROTOCOL_V2_SYS_MESSAGE_THRESHOLD, PROTOCOL_V2_WEBUSB_FILE_CHUNK_SIZE, PROTOCOL_V2_WRITE_WATCHDOG_TIMEOUT_MS, PassphraseAck, PassphraseRequest, PassphraseState, Path, PaymentRequestMemo, PinMatrixAck, PinMatrixRequest, PinMatrixRequestType, Ping, PolkadotAddress, PolkadotGetAddress, PolkadotSignTx, PolkadotSignedTx, PreauthorizedRequest, PrevInput, PrevOutput, PrevTx, ProtoVersion, ProtocolType, ProtocolV1, ProtocolV2, ProtocolV2CallOptions, ProtocolV2DeviceInfo, ProtocolV2FrameAssembler, ProtocolV2Schemas, ProtocolV2Session, ProtocolV2SessionOptions, PublicKey, PublicKeyMultiple, ReadSEPublicCert, ReadSEPublicKey, Reboot, RebootToBoardloader, RebootToBootloader, RebootType, RecoveryDevice, RecoveryDeviceType, RefundMemo, RequestType, ResetDevice, ResourceAck, ResourceRequest, ResourceType, ResourceUpdate, ResourceUpload, Restore, RippleAddress, RippleGetAddress, RipplePayment, RippleSignTx, RippleSignedTx, SEMessageSignature, SEPublicCert, SEPublicKey, SESignMessage, SafetyCheckLevel, ScdoAddress, ScdoGetAddress, ScdoSignMessage, ScdoSignTx, ScdoSignedMessage, ScdoSignedTx, ScdoTxAck, SdProtect, SdProtectOperationType, SeedRequestType, SelfTest, SetBusy, SetU2FCounter, 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, 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 };
package/dist/index.js CHANGED
@@ -1488,11 +1488,6 @@ exports.CommandFlags = void 0;
1488
1488
  CommandFlags[CommandFlags["Default"] = 0] = "Default";
1489
1489
  CommandFlags[CommandFlags["Factory_Only"] = 1] = "Factory_Only";
1490
1490
  })(exports.CommandFlags || (exports.CommandFlags = {}));
1491
- exports.WallpaperTarget = void 0;
1492
- (function (WallpaperTarget) {
1493
- WallpaperTarget[WallpaperTarget["Home"] = 0] = "Home";
1494
- WallpaperTarget[WallpaperTarget["Lock"] = 1] = "Lock";
1495
- })(exports.WallpaperTarget || (exports.WallpaperTarget = {}));
1496
1491
  exports.MoneroNetworkType = void 0;
1497
1492
  (function (MoneroNetworkType) {
1498
1493
  MoneroNetworkType[MoneroNetworkType["MAINNET"] = 0] = "MAINNET";
@@ -1500,20 +1495,23 @@ exports.MoneroNetworkType = void 0;
1500
1495
  MoneroNetworkType[MoneroNetworkType["STAGENET"] = 2] = "STAGENET";
1501
1496
  MoneroNetworkType[MoneroNetworkType["FAKECHAIN"] = 3] = "FAKECHAIN";
1502
1497
  })(exports.MoneroNetworkType || (exports.MoneroNetworkType = {}));
1503
- exports.ViewTipType = void 0;
1504
- (function (ViewTipType) {
1505
- ViewTipType[ViewTipType["Default"] = 0] = "Default";
1506
- ViewTipType[ViewTipType["Highlight"] = 1] = "Highlight";
1507
- ViewTipType[ViewTipType["Recommend"] = 2] = "Recommend";
1508
- ViewTipType[ViewTipType["Warning"] = 3] = "Warning";
1509
- ViewTipType[ViewTipType["Danger"] = 4] = "Danger";
1510
- })(exports.ViewTipType || (exports.ViewTipType = {}));
1498
+ exports.TxDetailsDisplayType = void 0;
1499
+ (function (TxDetailsDisplayType) {
1500
+ TxDetailsDisplayType[TxDetailsDisplayType["DISPLAY_TYPE_INFO"] = 0] = "DISPLAY_TYPE_INFO";
1501
+ TxDetailsDisplayType[TxDetailsDisplayType["DISPLAY_TYPE_SIGN"] = 1] = "DISPLAY_TYPE_SIGN";
1502
+ })(exports.TxDetailsDisplayType || (exports.TxDetailsDisplayType = {}));
1511
1503
  exports.DevRebootType = void 0;
1512
1504
  (function (DevRebootType) {
1513
1505
  DevRebootType[DevRebootType["Normal"] = 0] = "Normal";
1514
1506
  DevRebootType[DevRebootType["Boardloader"] = 1] = "Boardloader";
1515
1507
  DevRebootType[DevRebootType["Bootloader"] = 2] = "Bootloader";
1516
1508
  })(exports.DevRebootType || (exports.DevRebootType = {}));
1509
+ exports.DeviceRebootType = void 0;
1510
+ (function (DeviceRebootType) {
1511
+ DeviceRebootType[DeviceRebootType["Normal"] = 0] = "Normal";
1512
+ DeviceRebootType[DeviceRebootType["Romloader"] = 1] = "Romloader";
1513
+ DeviceRebootType[DeviceRebootType["Bootloader"] = 2] = "Bootloader";
1514
+ })(exports.DeviceRebootType || (exports.DeviceRebootType = {}));
1517
1515
  exports.DeviceType = void 0;
1518
1516
  (function (DeviceType) {
1519
1517
  DeviceType[DeviceType["CLASSIC1"] = 0] = "CLASSIC1";
@@ -1536,15 +1534,32 @@ exports.DevSEState = void 0;
1536
1534
  })(exports.DevSEState || (exports.DevSEState = {}));
1537
1535
  exports.DevFirmwareTargetType = void 0;
1538
1536
  (function (DevFirmwareTargetType) {
1539
- DevFirmwareTargetType[DevFirmwareTargetType["TARGET_MAIN_APP"] = 0] = "TARGET_MAIN_APP";
1540
- DevFirmwareTargetType[DevFirmwareTargetType["TARGET_MAIN_BOOT"] = 1] = "TARGET_MAIN_BOOT";
1541
- DevFirmwareTargetType[DevFirmwareTargetType["TARGET_BT"] = 2] = "TARGET_BT";
1542
- DevFirmwareTargetType[DevFirmwareTargetType["TARGET_SE1"] = 3] = "TARGET_SE1";
1543
- DevFirmwareTargetType[DevFirmwareTargetType["TARGET_SE2"] = 4] = "TARGET_SE2";
1544
- DevFirmwareTargetType[DevFirmwareTargetType["TARGET_SE3"] = 5] = "TARGET_SE3";
1545
- DevFirmwareTargetType[DevFirmwareTargetType["TARGET_SE4"] = 6] = "TARGET_SE4";
1537
+ DevFirmwareTargetType[DevFirmwareTargetType["TARGET_INVALID"] = 0] = "TARGET_INVALID";
1538
+ DevFirmwareTargetType[DevFirmwareTargetType["TARGET_ROMLOADER"] = 1] = "TARGET_ROMLOADER";
1539
+ DevFirmwareTargetType[DevFirmwareTargetType["TARGET_BOOTLOADER"] = 2] = "TARGET_BOOTLOADER";
1540
+ DevFirmwareTargetType[DevFirmwareTargetType["TARGET_APPLICATION_P1"] = 3] = "TARGET_APPLICATION_P1";
1541
+ DevFirmwareTargetType[DevFirmwareTargetType["TARGET_APPLICATION_P2"] = 4] = "TARGET_APPLICATION_P2";
1542
+ DevFirmwareTargetType[DevFirmwareTargetType["TARGET_COPROCESSOR"] = 5] = "TARGET_COPROCESSOR";
1543
+ DevFirmwareTargetType[DevFirmwareTargetType["TARGET_SE01"] = 6] = "TARGET_SE01";
1544
+ DevFirmwareTargetType[DevFirmwareTargetType["TARGET_SE02"] = 7] = "TARGET_SE02";
1545
+ DevFirmwareTargetType[DevFirmwareTargetType["TARGET_SE03"] = 8] = "TARGET_SE03";
1546
+ DevFirmwareTargetType[DevFirmwareTargetType["TARGET_SE04"] = 9] = "TARGET_SE04";
1546
1547
  DevFirmwareTargetType[DevFirmwareTargetType["TARGET_RESOURCE"] = 10] = "TARGET_RESOURCE";
1547
1548
  })(exports.DevFirmwareTargetType || (exports.DevFirmwareTargetType = {}));
1549
+ exports.DeviceFirmwareTargetType = void 0;
1550
+ (function (DeviceFirmwareTargetType) {
1551
+ DeviceFirmwareTargetType[DeviceFirmwareTargetType["TARGET_INVALID"] = 0] = "TARGET_INVALID";
1552
+ DeviceFirmwareTargetType[DeviceFirmwareTargetType["TARGET_ROMLOADER"] = 1] = "TARGET_ROMLOADER";
1553
+ DeviceFirmwareTargetType[DeviceFirmwareTargetType["TARGET_BOOTLOADER"] = 2] = "TARGET_BOOTLOADER";
1554
+ DeviceFirmwareTargetType[DeviceFirmwareTargetType["TARGET_APPLICATION_P1"] = 3] = "TARGET_APPLICATION_P1";
1555
+ DeviceFirmwareTargetType[DeviceFirmwareTargetType["TARGET_APPLICATION_P2"] = 4] = "TARGET_APPLICATION_P2";
1556
+ DeviceFirmwareTargetType[DeviceFirmwareTargetType["TARGET_COPROCESSOR"] = 5] = "TARGET_COPROCESSOR";
1557
+ DeviceFirmwareTargetType[DeviceFirmwareTargetType["TARGET_SE01"] = 6] = "TARGET_SE01";
1558
+ DeviceFirmwareTargetType[DeviceFirmwareTargetType["TARGET_SE02"] = 7] = "TARGET_SE02";
1559
+ DeviceFirmwareTargetType[DeviceFirmwareTargetType["TARGET_SE03"] = 8] = "TARGET_SE03";
1560
+ DeviceFirmwareTargetType[DeviceFirmwareTargetType["TARGET_SE04"] = 9] = "TARGET_SE04";
1561
+ DeviceFirmwareTargetType[DeviceFirmwareTargetType["TARGET_RESOURCE"] = 10] = "TARGET_RESOURCE";
1562
+ })(exports.DeviceFirmwareTargetType || (exports.DeviceFirmwareTargetType = {}));
1548
1563
  exports.OnboardingStep = void 0;
1549
1564
  (function (OnboardingStep) {
1550
1565
  OnboardingStep[OnboardingStep["ONBOARDING_STEP_UNKNOWN"] = 0] = "ONBOARDING_STEP_UNKNOWN";
@@ -1616,14 +1631,15 @@ var messages = /*#__PURE__*/Object.freeze({
1616
1631
  get TronResourceCode () { return exports.TronResourceCode; },
1617
1632
  get TronMessageType () { return exports.TronMessageType; },
1618
1633
  get CommandFlags () { return exports.CommandFlags; },
1619
- get WallpaperTarget () { return exports.WallpaperTarget; },
1620
1634
  get MoneroNetworkType () { return exports.MoneroNetworkType; },
1621
- get ViewTipType () { return exports.ViewTipType; },
1635
+ get TxDetailsDisplayType () { return exports.TxDetailsDisplayType; },
1622
1636
  get DevRebootType () { return exports.DevRebootType; },
1637
+ get DeviceRebootType () { return exports.DeviceRebootType; },
1623
1638
  get DeviceType () { return exports.DeviceType; },
1624
1639
  get DevSeType () { return exports.DevSeType; },
1625
1640
  get DevSEState () { return exports.DevSEState; },
1626
1641
  get DevFirmwareTargetType () { return exports.DevFirmwareTargetType; },
1642
+ get DeviceFirmwareTargetType () { return exports.DeviceFirmwareTargetType; },
1627
1643
  get OnboardingStep () { return exports.OnboardingStep; }
1628
1644
  });
1629
1645