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

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.
@@ -483,7 +483,7 @@ describe('Protocol V2 framing and session', () => {
483
483
  });
484
484
  });
485
485
 
486
- test('probeProtocolV2 accepts Ping success as a normal V2 probe response', async () => {
486
+ test('probeProtocolV2 accepts Success as a normal V2 probe response', async () => {
487
487
  await expect(
488
488
  probeProtocolV2({
489
489
  call: () => Promise.resolve({ type: 'Success', message: {} }),
@@ -729,7 +729,7 @@ describe('Protocol V2 framing and session', () => {
729
729
  });
730
730
 
731
731
  test('probeProtocolV2 only uses Ping for acquire probing', async () => {
732
- const call = jest.fn().mockRejectedValue(new Error('ping timeout'));
732
+ const call = jest.fn().mockRejectedValue(new Error('Ping timeout'));
733
733
  const onProbeFailed = jest.fn();
734
734
 
735
735
  await expect(
@@ -742,7 +742,7 @@ describe('Protocol V2 framing and session', () => {
742
742
  expect(call).toHaveBeenNthCalledWith(
743
743
  1,
744
744
  'Ping',
745
- { message: 'probe' },
745
+ { message: 'protocol-v2-probe' },
746
746
  {
747
747
  timeoutMs: 1,
748
748
  expectedTypes: ['Success'],
package/dist/index.d.ts CHANGED
@@ -3580,6 +3580,19 @@ 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
+ };
3583
3596
  type SetBusy = {
3584
3597
  expiry_ms?: number;
3585
3598
  };
@@ -3596,6 +3609,21 @@ type Nonce = {
3596
3609
  type WriteSEPrivateKey = {
3597
3610
  private_key: string;
3598
3611
  };
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
+ };
3599
3627
  type UnlockPath = {
3600
3628
  address_n: number[];
3601
3629
  mac?: string;
@@ -3609,37 +3637,37 @@ declare enum MoneroNetworkType {
3609
3637
  STAGENET = 2,
3610
3638
  FAKECHAIN = 3
3611
3639
  }
3612
- type TxDetailsAmount = {
3640
+ type ViewAmount = {
3641
+ is_unlimited: boolean;
3613
3642
  num: string;
3614
- decimals: number;
3615
- symbol: string;
3616
3643
  };
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 = {
3644
+ type ViewDetail = {
3628
3645
  key: number;
3629
3646
  value: string;
3630
3647
  is_overview: boolean;
3648
+ has_icon: boolean;
3631
3649
  };
3632
- declare enum TxDetailsDisplayType {
3633
- DISPLAY_TYPE_INFO = 0,
3634
- DISPLAY_TYPE_SIGN = 1
3650
+ declare enum ViewTipType {
3651
+ Default = 0,
3652
+ Highlight = 1,
3653
+ Recommend = 2,
3654
+ Warning = 3,
3655
+ Danger = 4
3635
3656
  }
3636
- type TxDetailsPage = {
3657
+ type ViewTip = {
3658
+ type: ViewTipType;
3659
+ text: string;
3660
+ };
3661
+ type ViewSignPage = {
3637
3662
  title: string;
3638
- display_type: TxDetailsDisplayType;
3639
3663
  amount?: UintType;
3640
- network?: TxDetailsNetwork;
3641
- address: TxDetailsAddress[];
3642
- general: TxDetailsGeneral[];
3664
+ general: ViewDetail[];
3665
+ tip?: ViewTip;
3666
+ };
3667
+ type ViewVerifyPage = {
3668
+ title: string;
3669
+ address: string;
3670
+ path: string;
3643
3671
  };
3644
3672
  type GetProtoVersion = {};
3645
3673
  type ProtoVersion = {
@@ -3650,17 +3678,9 @@ declare enum DevRebootType {
3650
3678
  Boardloader = 1,
3651
3679
  Bootloader = 2
3652
3680
  }
3653
- declare enum DeviceRebootType {
3654
- Normal = 0,
3655
- Romloader = 1,
3656
- Bootloader = 2
3657
- }
3658
3681
  type DevReboot = {
3659
3682
  reboot_type: DevRebootType;
3660
3683
  };
3661
- type DeviceReboot = {
3662
- reboot_type: DeviceRebootType;
3663
- };
3664
3684
  declare enum DeviceType {
3665
3685
  CLASSIC1 = 0,
3666
3686
  CLASSIC1S = 1,
@@ -3686,6 +3706,7 @@ type DevFirmwareImageInfo = {
3686
3706
  type DevHardwareInfo = {
3687
3707
  device_type?: DeviceType;
3688
3708
  serial_no?: string;
3709
+ device_id?: string;
3689
3710
  hardware_version?: string;
3690
3711
  hardware_version_raw_adc?: number;
3691
3712
  };
@@ -3734,7 +3755,6 @@ type DevGetDeviceInfo = {
3734
3755
  targets?: DevInfoTargets;
3735
3756
  types?: DevInfoTypes;
3736
3757
  };
3737
- type DeviceGetDeviceInfo = DevGetDeviceInfo;
3738
3758
  type ProtocolV2DeviceInfo = {
3739
3759
  protocol_version: number;
3740
3760
  hw?: DevHardwareInfo;
@@ -3747,72 +3767,35 @@ type ProtocolV2DeviceInfo = {
3747
3767
  status?: DevStatus;
3748
3768
  };
3749
3769
  declare enum DevFirmwareTargetType {
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,
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,
3773
3777
  TARGET_RESOURCE = 10
3774
3778
  }
3775
3779
  type DevFirmwareTarget = {
3776
3780
  target_id: DevFirmwareTargetType;
3777
3781
  path: string;
3778
3782
  };
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
- };
3790
3786
  type DevFirmwareInstallProgress = {
3791
3787
  target_id: DevFirmwareTargetType;
3792
3788
  progress: number;
3793
3789
  stage?: string;
3794
3790
  };
3795
- type DeviceFirmwareInstallProgress = {
3796
- target_id: DeviceFirmwareTargetType;
3797
- progress: number;
3798
- stage?: string;
3799
- };
3800
3791
  type DevFirmwareUpdateStatusEntry = {
3801
3792
  target_id: DevFirmwareTargetType;
3802
3793
  status: number;
3803
3794
  };
3804
- type DeviceFirmwareUpdateStatusEntry = {
3805
- target_id: DeviceFirmwareTargetType;
3806
- status: number;
3807
- };
3808
3795
  type DevGetFirmwareUpdateStatus = {};
3809
- type DeviceGetFirmwareUpdateStatus = {};
3810
3796
  type DevFirmwareUpdateStatus = {
3811
3797
  targets: DevFirmwareUpdateStatusEntry[];
3812
3798
  };
3813
- type DeviceFirmwareUpdateStatus = {
3814
- targets: DeviceFirmwareUpdateStatusEntry[];
3815
- };
3816
3799
  type FactoryDeviceInfoSettings = {
3817
3800
  serial_no?: string;
3818
3801
  cpu_info?: string;
@@ -4472,23 +4455,27 @@ type MessageType = {
4472
4455
  CoinPurchaseMemo: CoinPurchaseMemo;
4473
4456
  PaymentRequestMemo: PaymentRequestMemo;
4474
4457
  TxAckPaymentRequest: TxAckPaymentRequest;
4458
+ DebugLinkInput: DebugLinkInput;
4459
+ InternalMyAddressRequest: InternalMyAddressRequest;
4475
4460
  SetBusy: SetBusy;
4476
4461
  GetFirmwareHash: GetFirmwareHash;
4477
4462
  FirmwareHash: FirmwareHash;
4478
4463
  GetNonce: GetNonce;
4479
4464
  Nonce: Nonce;
4480
4465
  WriteSEPrivateKey: WriteSEPrivateKey;
4466
+ SetWallpaper: SetWallpaper;
4467
+ GetWallpaper: GetWallpaper;
4468
+ Wallpaper: Wallpaper;
4481
4469
  UnlockPath: UnlockPath;
4482
4470
  UnlockedPathRequest: UnlockedPathRequest;
4483
- TxDetailsAmount: TxDetailsAmount;
4484
- TxDetailsAddress: TxDetailsAddress;
4485
- TxDetailsNetwork: TxDetailsNetwork;
4486
- TxDetailsGeneral: TxDetailsGeneral;
4487
- TxDetailsPage: TxDetailsPage;
4471
+ ViewAmount: ViewAmount;
4472
+ ViewDetail: ViewDetail;
4473
+ ViewTip: ViewTip;
4474
+ ViewSignPage: ViewSignPage;
4475
+ ViewVerifyPage: ViewVerifyPage;
4488
4476
  GetProtoVersion: GetProtoVersion;
4489
4477
  ProtoVersion: ProtoVersion;
4490
4478
  DevReboot: DevReboot;
4491
- DeviceReboot: DeviceReboot;
4492
4479
  DevFirmwareImageInfo: DevFirmwareImageInfo;
4493
4480
  DevHardwareInfo: DevHardwareInfo;
4494
4481
  DevMainMcuInfo: DevMainMcuInfo;
@@ -4498,19 +4485,12 @@ type MessageType = {
4498
4485
  DevInfoTypes: DevInfoTypes;
4499
4486
  DevStatus: DevStatus;
4500
4487
  DevGetDeviceInfo: DevGetDeviceInfo;
4501
- DeviceGetDeviceInfo: DeviceGetDeviceInfo;
4502
4488
  DevFirmwareTarget: DevFirmwareTarget;
4503
- DeviceFirmwareTarget: DeviceFirmwareTarget;
4504
4489
  DevFirmwareUpdate: DevFirmwareUpdate;
4505
- DeviceFirmwareUpdate: DeviceFirmwareUpdate;
4506
4490
  DevFirmwareInstallProgress: DevFirmwareInstallProgress;
4507
- DeviceFirmwareInstallProgress: DeviceFirmwareInstallProgress;
4508
4491
  DevFirmwareUpdateStatusEntry: DevFirmwareUpdateStatusEntry;
4509
- DeviceFirmwareUpdateStatusEntry: DeviceFirmwareUpdateStatusEntry;
4510
4492
  DevGetFirmwareUpdateStatus: DevGetFirmwareUpdateStatus;
4511
- DeviceGetFirmwareUpdateStatus: DeviceGetFirmwareUpdateStatus;
4512
4493
  DevFirmwareUpdateStatus: DevFirmwareUpdateStatus;
4513
- DeviceFirmwareUpdateStatus: DeviceFirmwareUpdateStatus;
4514
4494
  FactoryDeviceInfoSettings: FactoryDeviceInfoSettings;
4515
4495
  FactoryGetDeviceInfo: FactoryGetDeviceInfo;
4516
4496
  FactoryDeviceInfo: FactoryDeviceInfo;
@@ -5242,31 +5222,35 @@ type messages_RefundMemo = RefundMemo;
5242
5222
  type messages_CoinPurchaseMemo = CoinPurchaseMemo;
5243
5223
  type messages_PaymentRequestMemo = PaymentRequestMemo;
5244
5224
  type messages_TxAckPaymentRequest = TxAckPaymentRequest;
5225
+ type messages_DebugLinkInput = DebugLinkInput;
5226
+ type messages_InternalMyAddressRequest = InternalMyAddressRequest;
5245
5227
  type messages_SetBusy = SetBusy;
5246
5228
  type messages_GetFirmwareHash = GetFirmwareHash;
5247
5229
  type messages_FirmwareHash = FirmwareHash;
5248
5230
  type messages_GetNonce = GetNonce;
5249
5231
  type messages_Nonce = Nonce;
5250
5232
  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;
5251
5238
  type messages_UnlockPath = UnlockPath;
5252
5239
  type messages_UnlockedPathRequest = UnlockedPathRequest;
5253
5240
  type messages_MoneroNetworkType = MoneroNetworkType;
5254
5241
  declare const messages_MoneroNetworkType: typeof MoneroNetworkType;
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;
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;
5262
5249
  type messages_GetProtoVersion = GetProtoVersion;
5263
5250
  type messages_ProtoVersion = ProtoVersion;
5264
5251
  type messages_DevRebootType = DevRebootType;
5265
5252
  declare const messages_DevRebootType: typeof DevRebootType;
5266
- type messages_DeviceRebootType = DeviceRebootType;
5267
- declare const messages_DeviceRebootType: typeof DeviceRebootType;
5268
5253
  type messages_DevReboot = DevReboot;
5269
- type messages_DeviceReboot = DeviceReboot;
5270
5254
  type messages_DeviceType = DeviceType;
5271
5255
  declare const messages_DeviceType: typeof DeviceType;
5272
5256
  type messages_DevSeType = DevSeType;
@@ -5282,24 +5266,15 @@ type messages_DevInfoTargets = DevInfoTargets;
5282
5266
  type messages_DevInfoTypes = DevInfoTypes;
5283
5267
  type messages_DevStatus = DevStatus;
5284
5268
  type messages_DevGetDeviceInfo = DevGetDeviceInfo;
5285
- type messages_DeviceGetDeviceInfo = DeviceGetDeviceInfo;
5286
5269
  type messages_ProtocolV2DeviceInfo = ProtocolV2DeviceInfo;
5287
5270
  type messages_DevFirmwareTargetType = DevFirmwareTargetType;
5288
5271
  declare const messages_DevFirmwareTargetType: typeof DevFirmwareTargetType;
5289
- type messages_DeviceFirmwareTargetType = DeviceFirmwareTargetType;
5290
- declare const messages_DeviceFirmwareTargetType: typeof DeviceFirmwareTargetType;
5291
5272
  type messages_DevFirmwareTarget = DevFirmwareTarget;
5292
- type messages_DeviceFirmwareTarget = DeviceFirmwareTarget;
5293
5273
  type messages_DevFirmwareUpdate = DevFirmwareUpdate;
5294
- type messages_DeviceFirmwareUpdate = DeviceFirmwareUpdate;
5295
5274
  type messages_DevFirmwareInstallProgress = DevFirmwareInstallProgress;
5296
- type messages_DeviceFirmwareInstallProgress = DeviceFirmwareInstallProgress;
5297
5275
  type messages_DevFirmwareUpdateStatusEntry = DevFirmwareUpdateStatusEntry;
5298
- type messages_DeviceFirmwareUpdateStatusEntry = DeviceFirmwareUpdateStatusEntry;
5299
5276
  type messages_DevGetFirmwareUpdateStatus = DevGetFirmwareUpdateStatus;
5300
- type messages_DeviceGetFirmwareUpdateStatus = DeviceGetFirmwareUpdateStatus;
5301
5277
  type messages_DevFirmwareUpdateStatus = DevFirmwareUpdateStatus;
5302
- type messages_DeviceFirmwareUpdateStatus = DeviceFirmwareUpdateStatus;
5303
5278
  type messages_FactoryDeviceInfoSettings = FactoryDeviceInfoSettings;
5304
5279
  type messages_FactoryGetDeviceInfo = FactoryGetDeviceInfo;
5305
5280
  type messages_FactoryDeviceInfo = FactoryDeviceInfo;
@@ -5966,27 +5941,31 @@ declare namespace messages {
5966
5941
  messages_CoinPurchaseMemo as CoinPurchaseMemo,
5967
5942
  messages_PaymentRequestMemo as PaymentRequestMemo,
5968
5943
  messages_TxAckPaymentRequest as TxAckPaymentRequest,
5944
+ messages_DebugLinkInput as DebugLinkInput,
5945
+ messages_InternalMyAddressRequest as InternalMyAddressRequest,
5969
5946
  messages_SetBusy as SetBusy,
5970
5947
  messages_GetFirmwareHash as GetFirmwareHash,
5971
5948
  messages_FirmwareHash as FirmwareHash,
5972
5949
  messages_GetNonce as GetNonce,
5973
5950
  messages_Nonce as Nonce,
5974
5951
  messages_WriteSEPrivateKey as WriteSEPrivateKey,
5952
+ messages_WallpaperTarget as WallpaperTarget,
5953
+ messages_SetWallpaper as SetWallpaper,
5954
+ messages_GetWallpaper as GetWallpaper,
5955
+ messages_Wallpaper as Wallpaper,
5975
5956
  messages_UnlockPath as UnlockPath,
5976
5957
  messages_UnlockedPathRequest as UnlockedPathRequest,
5977
5958
  messages_MoneroNetworkType as MoneroNetworkType,
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,
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,
5984
5965
  messages_GetProtoVersion as GetProtoVersion,
5985
5966
  messages_ProtoVersion as ProtoVersion,
5986
5967
  messages_DevRebootType as DevRebootType,
5987
- messages_DeviceRebootType as DeviceRebootType,
5988
5968
  messages_DevReboot as DevReboot,
5989
- messages_DeviceReboot as DeviceReboot,
5990
5969
  messages_DeviceType as DeviceType,
5991
5970
  messages_DevSeType as DevSeType,
5992
5971
  messages_DevSEState as DevSEState,
@@ -5999,22 +5978,14 @@ declare namespace messages {
5999
5978
  messages_DevInfoTypes as DevInfoTypes,
6000
5979
  messages_DevStatus as DevStatus,
6001
5980
  messages_DevGetDeviceInfo as DevGetDeviceInfo,
6002
- messages_DeviceGetDeviceInfo as DeviceGetDeviceInfo,
6003
5981
  messages_ProtocolV2DeviceInfo as ProtocolV2DeviceInfo,
6004
5982
  messages_DevFirmwareTargetType as DevFirmwareTargetType,
6005
- messages_DeviceFirmwareTargetType as DeviceFirmwareTargetType,
6006
5983
  messages_DevFirmwareTarget as DevFirmwareTarget,
6007
- messages_DeviceFirmwareTarget as DeviceFirmwareTarget,
6008
5984
  messages_DevFirmwareUpdate as DevFirmwareUpdate,
6009
- messages_DeviceFirmwareUpdate as DeviceFirmwareUpdate,
6010
5985
  messages_DevFirmwareInstallProgress as DevFirmwareInstallProgress,
6011
- messages_DeviceFirmwareInstallProgress as DeviceFirmwareInstallProgress,
6012
5986
  messages_DevFirmwareUpdateStatusEntry as DevFirmwareUpdateStatusEntry,
6013
- messages_DeviceFirmwareUpdateStatusEntry as DeviceFirmwareUpdateStatusEntry,
6014
5987
  messages_DevGetFirmwareUpdateStatus as DevGetFirmwareUpdateStatus,
6015
- messages_DeviceGetFirmwareUpdateStatus as DeviceGetFirmwareUpdateStatus,
6016
5988
  messages_DevFirmwareUpdateStatus as DevFirmwareUpdateStatus,
6017
- messages_DeviceFirmwareUpdateStatus as DeviceFirmwareUpdateStatus,
6018
5989
  messages_FactoryDeviceInfoSettings as FactoryDeviceInfoSettings,
6019
5990
  messages_FactoryGetDeviceInfo as FactoryGetDeviceInfo,
6020
5991
  messages_FactoryDeviceInfo as FactoryDeviceInfo,
@@ -6203,4 +6174,4 @@ declare const _default: {
6203
6174
  withProtocolTimeout: typeof withProtocolTimeout;
6204
6175
  };
6205
6176
 
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 };
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 };
package/dist/index.js CHANGED
@@ -1034,20 +1034,20 @@ class ProtocolV2Session {
1034
1034
  function probeProtocolV2({ call, timeoutMs, logger, logPrefix = 'ProtocolV2', onBeforeProbe, onProbeFailed, }) {
1035
1035
  var _a;
1036
1036
  return __awaiter(this, void 0, void 0, function* () {
1037
- let pingError;
1037
+ let probeError;
1038
1038
  try {
1039
1039
  yield (onBeforeProbe === null || onBeforeProbe === void 0 ? void 0 : onBeforeProbe());
1040
- const response = yield call('Ping', { message: 'probe' }, { timeoutMs, expectedTypes: ['Success'] });
1040
+ const response = yield call('Ping', { message: 'protocol-v2-probe' }, { timeoutMs, expectedTypes: ['Success'] });
1041
1041
  if (response.type === 'Success') {
1042
1042
  return true;
1043
1043
  }
1044
- pingError = new Error(`unexpected response type ${response.type}`);
1044
+ probeError = new Error(`unexpected response type ${response.type}`);
1045
1045
  }
1046
1046
  catch (error) {
1047
- pingError = error;
1047
+ probeError = error;
1048
1048
  }
1049
- (_a = logger === null || logger === void 0 ? void 0 : logger.debug) === null || _a === void 0 ? void 0 : _a.call(logger, `[${logPrefix}] Protocol V2 ping probe failed:`, getErrorMessage(pingError));
1050
- yield (onProbeFailed === null || onProbeFailed === void 0 ? void 0 : onProbeFailed(pingError));
1049
+ (_a = logger === null || logger === void 0 ? void 0 : logger.debug) === null || _a === void 0 ? void 0 : _a.call(logger, `[${logPrefix}] Protocol V2 probe failed:`, getErrorMessage(probeError));
1050
+ yield (onProbeFailed === null || onProbeFailed === void 0 ? void 0 : onProbeFailed(probeError));
1051
1051
  return false;
1052
1052
  });
1053
1053
  }
@@ -1488,6 +1488,11 @@ 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 = {}));
1491
1496
  exports.MoneroNetworkType = void 0;
1492
1497
  (function (MoneroNetworkType) {
1493
1498
  MoneroNetworkType[MoneroNetworkType["MAINNET"] = 0] = "MAINNET";
@@ -1495,23 +1500,20 @@ exports.MoneroNetworkType = void 0;
1495
1500
  MoneroNetworkType[MoneroNetworkType["STAGENET"] = 2] = "STAGENET";
1496
1501
  MoneroNetworkType[MoneroNetworkType["FAKECHAIN"] = 3] = "FAKECHAIN";
1497
1502
  })(exports.MoneroNetworkType || (exports.MoneroNetworkType = {}));
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 = {}));
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 = {}));
1503
1511
  exports.DevRebootType = void 0;
1504
1512
  (function (DevRebootType) {
1505
1513
  DevRebootType[DevRebootType["Normal"] = 0] = "Normal";
1506
1514
  DevRebootType[DevRebootType["Boardloader"] = 1] = "Boardloader";
1507
1515
  DevRebootType[DevRebootType["Bootloader"] = 2] = "Bootloader";
1508
1516
  })(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 = {}));
1515
1517
  exports.DeviceType = void 0;
1516
1518
  (function (DeviceType) {
1517
1519
  DeviceType[DeviceType["CLASSIC1"] = 0] = "CLASSIC1";
@@ -1534,32 +1536,15 @@ exports.DevSEState = void 0;
1534
1536
  })(exports.DevSEState || (exports.DevSEState = {}));
1535
1537
  exports.DevFirmwareTargetType = void 0;
1536
1538
  (function (DevFirmwareTargetType) {
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";
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";
1547
1546
  DevFirmwareTargetType[DevFirmwareTargetType["TARGET_RESOURCE"] = 10] = "TARGET_RESOURCE";
1548
1547
  })(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 = {}));
1563
1548
  exports.OnboardingStep = void 0;
1564
1549
  (function (OnboardingStep) {
1565
1550
  OnboardingStep[OnboardingStep["ONBOARDING_STEP_UNKNOWN"] = 0] = "ONBOARDING_STEP_UNKNOWN";
@@ -1631,15 +1616,14 @@ var messages = /*#__PURE__*/Object.freeze({
1631
1616
  get TronResourceCode () { return exports.TronResourceCode; },
1632
1617
  get TronMessageType () { return exports.TronMessageType; },
1633
1618
  get CommandFlags () { return exports.CommandFlags; },
1619
+ get WallpaperTarget () { return exports.WallpaperTarget; },
1634
1620
  get MoneroNetworkType () { return exports.MoneroNetworkType; },
1635
- get TxDetailsDisplayType () { return exports.TxDetailsDisplayType; },
1621
+ get ViewTipType () { return exports.ViewTipType; },
1636
1622
  get DevRebootType () { return exports.DevRebootType; },
1637
- get DeviceRebootType () { return exports.DeviceRebootType; },
1638
1623
  get DeviceType () { return exports.DeviceType; },
1639
1624
  get DevSeType () { return exports.DevSeType; },
1640
1625
  get DevSEState () { return exports.DevSEState; },
1641
1626
  get DevFirmwareTargetType () { return exports.DevFirmwareTargetType; },
1642
- get DeviceFirmwareTargetType () { return exports.DeviceFirmwareTargetType; },
1643
1627
  get OnboardingStep () { return exports.OnboardingStep; }
1644
1628
  });
1645
1629