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

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
@@ -1137,11 +1137,15 @@ declare enum FailureType {
1137
1137
  Failure_PinMismatch = 12,
1138
1138
  Failure_WipeCodeMismatch = 13,
1139
1139
  Failure_InvalidSession = 14,
1140
- Failure_FirmwareError = 99
1140
+ Failure_FirmwareError = 99,
1141
+ Failure_InvalidMessage = 1,
1142
+ Failure_UndefinedError = 2,
1143
+ Failure_UsageError = 3
1141
1144
  }
1142
1145
  type Failure = {
1143
1146
  code?: FailureType;
1144
1147
  message?: string;
1148
+ subcode?: number;
1145
1149
  };
1146
1150
  declare enum Enum_ButtonRequestType {
1147
1151
  ButtonRequest_Other = 1,
@@ -2124,6 +2128,28 @@ type OnekeyFeatures = {
2124
2128
  onekey_se02_boot_build_id?: string;
2125
2129
  onekey_se03_boot_build_id?: string;
2126
2130
  onekey_se04_boot_build_id?: string;
2131
+ onekey_romloader_version?: string;
2132
+ onekey_bootloader_version?: string;
2133
+ onekey_romloader_hash?: string;
2134
+ onekey_bootloader_hash?: string;
2135
+ onekey_romloader_build_id?: string;
2136
+ onekey_bootloader_build_id?: string;
2137
+ onekey_coprocessor_bt_name?: string;
2138
+ onekey_coprocessor_version?: string;
2139
+ onekey_coprocessor_build_id?: string;
2140
+ onekey_coprocessor_hash?: string;
2141
+ onekey_se01_bootloader_version?: string;
2142
+ onekey_se02_bootloader_version?: string;
2143
+ onekey_se03_bootloader_version?: string;
2144
+ onekey_se04_bootloader_version?: string;
2145
+ onekey_se01_bootloader_hash?: string;
2146
+ onekey_se02_bootloader_hash?: string;
2147
+ onekey_se03_bootloader_hash?: string;
2148
+ onekey_se04_bootloader_hash?: string;
2149
+ onekey_se01_bootloader_build_id?: string;
2150
+ onekey_se02_bootloader_build_id?: string;
2151
+ onekey_se03_bootloader_build_id?: string;
2152
+ onekey_se04_bootloader_build_id?: string;
2127
2153
  };
2128
2154
  type LockDevice = {};
2129
2155
  type EndSession = {};
@@ -3580,6 +3606,17 @@ type TxAckPaymentRequest = {
3580
3606
  amount?: UintType;
3581
3607
  signature: string;
3582
3608
  };
3609
+ type InternalMyAddressRequest = {
3610
+ coin_type: number;
3611
+ chain_id: number;
3612
+ account_index: number;
3613
+ derive_type: number;
3614
+ };
3615
+ type StartSession = {
3616
+ session_id?: string;
3617
+ _skip_passphrase?: boolean;
3618
+ derive_cardano?: boolean;
3619
+ };
3583
3620
  type SetBusy = {
3584
3621
  expiry_ms?: number;
3585
3622
  };
@@ -3596,6 +3633,21 @@ type Nonce = {
3596
3633
  type WriteSEPrivateKey = {
3597
3634
  private_key: string;
3598
3635
  };
3636
+ declare enum WallpaperTarget {
3637
+ Home = 0,
3638
+ Lock = 1
3639
+ }
3640
+ type SetWallpaper = {
3641
+ target: WallpaperTarget;
3642
+ path: string;
3643
+ };
3644
+ type GetWallpaper = {
3645
+ target: WallpaperTarget;
3646
+ };
3647
+ type Wallpaper = {
3648
+ target: WallpaperTarget;
3649
+ path: string;
3650
+ };
3599
3651
  type UnlockPath = {
3600
3652
  address_n: number[];
3601
3653
  mac?: string;
@@ -3609,225 +3661,251 @@ declare enum MoneroNetworkType {
3609
3661
  STAGENET = 2,
3610
3662
  FAKECHAIN = 3
3611
3663
  }
3612
- type TxDetailsAmount = {
3664
+ type ViewAmount = {
3665
+ is_unlimited: boolean;
3613
3666
  num: string;
3614
- decimals: number;
3615
- symbol: string;
3616
- };
3617
- type TxDetailsAddress = {
3618
- key: number;
3619
- address: string;
3620
- owner?: string;
3621
- icon?: string;
3622
3667
  };
3623
- type TxDetailsNetwork = {
3624
- coin_type: number;
3625
- chain_id?: number;
3626
- };
3627
- type TxDetailsGeneral = {
3668
+ type ViewDetail = {
3628
3669
  key: number;
3629
3670
  value: string;
3630
3671
  is_overview: boolean;
3672
+ has_icon: boolean;
3631
3673
  };
3632
- declare enum TxDetailsDisplayType {
3633
- DISPLAY_TYPE_INFO = 0,
3634
- DISPLAY_TYPE_SIGN = 1
3674
+ declare enum ViewTipType {
3675
+ Default = 0,
3676
+ Highlight = 1,
3677
+ Recommend = 2,
3678
+ Warning = 3,
3679
+ Danger = 4
3635
3680
  }
3636
- type TxDetailsPage = {
3681
+ type ViewTip = {
3682
+ type: ViewTipType;
3683
+ text: string;
3684
+ };
3685
+ type ViewSignPage = {
3637
3686
  title: string;
3638
- display_type: TxDetailsDisplayType;
3639
3687
  amount?: UintType;
3640
- network?: TxDetailsNetwork;
3641
- address: TxDetailsAddress[];
3642
- general: TxDetailsGeneral[];
3688
+ general: ViewDetail[];
3689
+ tip?: ViewTip;
3643
3690
  };
3644
- type GetProtoVersion = {};
3645
- type ProtoVersion = {
3646
- proto_version: number;
3691
+ type ViewVerifyPage = {
3692
+ title: string;
3693
+ address: string;
3694
+ path: string;
3695
+ };
3696
+ type ProtocolInfoRequest = {};
3697
+ type ProtocolInfo = {
3698
+ version: number;
3699
+ supported_messages: number[];
3700
+ protobuf_definition?: string;
3647
3701
  };
3648
- declare enum DevRebootType {
3649
- Normal = 0,
3650
- Boardloader = 1,
3651
- Bootloader = 2
3652
- }
3653
3702
  declare enum DeviceRebootType {
3654
3703
  Normal = 0,
3655
3704
  Romloader = 1,
3656
3705
  Bootloader = 2
3657
3706
  }
3658
- type DevReboot = {
3659
- reboot_type: DevRebootType;
3660
- };
3661
3707
  type DeviceReboot = {
3662
3708
  reboot_type: DeviceRebootType;
3663
3709
  };
3710
+ type DeviceSettings = {
3711
+ label?: string;
3712
+ bt_enable?: boolean;
3713
+ language?: string;
3714
+ };
3715
+ type DeviceSettingsGet = {};
3716
+ type DeviceSettingsSet = {
3717
+ settings: DeviceSettings;
3718
+ };
3719
+ type DeviceCertificate = {
3720
+ cert_and_pubkey: string;
3721
+ private_key?: string;
3722
+ };
3723
+ type DeviceCertificateWrite = {
3724
+ cert: DeviceCertificate;
3725
+ };
3726
+ type DeviceCertificateRead = {};
3727
+ type DeviceCertificateSignature = {
3728
+ data: string;
3729
+ };
3730
+ type DeviceCertificateSign = {
3731
+ data: string;
3732
+ };
3733
+ declare enum DeviceFirmwareTargetType {
3734
+ FW_MGMT_TARGET_INVALID = 0,
3735
+ FW_MGMT_TARGET_CRATE = 1,
3736
+ FW_MGMT_TARGET_ROMLOADER = 2,
3737
+ FW_MGMT_TARGET_BOOTLOADER = 3,
3738
+ FW_MGMT_TARGET_APPLICATION_P1 = 4,
3739
+ FW_MGMT_TARGET_APPLICATION_P2 = 5,
3740
+ FW_MGMT_TARGET_COPROCESSOR = 6,
3741
+ FW_MGMT_TARGET_SE01 = 7,
3742
+ FW_MGMT_TARGET_SE02 = 8,
3743
+ FW_MGMT_TARGET_SE03 = 9,
3744
+ FW_MGMT_TARGET_SE04 = 10
3745
+ }
3746
+ declare enum DeviceFirmwareUpdateTaskStatus {
3747
+ FW_MGMT_UPDATER_TASK_STATUS_PENDING = 0,
3748
+ FW_MGMT_UPDATER_TASK_STATUS_IN_PROGRESS = 1,
3749
+ FW_MGMT_UPDATER_TASK_STATUS_FINISHED = 2,
3750
+ FW_MGMT_UPDATER_TASK_STATUS_FAILED_FILE_NOT_FOUND = 3,
3751
+ FW_MGMT_UPDATER_TASK_STATUS_FAILED_FILE_READ = 4,
3752
+ FW_MGMT_UPDATER_TASK_STATUS_FAILED_FILE_WRITE = 5,
3753
+ FW_MGMT_UPDATER_TASK_STATUS_FAILED_VERIFY = 6,
3754
+ FW_MGMT_UPDATER_TASK_STATUS_FAILED_INSTALL = 7,
3755
+ FW_MGMT_UPDATER_TASK_STATUS_FAILED_ABORT = 8,
3756
+ FW_MGMT_UPDATER_TASK_STATUS_FAILED_BUSY = 9,
3757
+ FW_MGMT_UPDATER_TASK_STATUS_FAILED_ENTRY_OUT_OF_BOUNDS = 10
3758
+ }
3759
+ type DeviceFirmwareTarget = {
3760
+ target_id: DeviceFirmwareTargetType;
3761
+ path: string;
3762
+ };
3763
+ type DeviceFirmwareUpdateRequest = {
3764
+ targets: DeviceFirmwareTarget[];
3765
+ };
3766
+ type DeviceFirmwareUpdateRecord = {
3767
+ target_id: DeviceFirmwareTargetType;
3768
+ status?: DeviceFirmwareUpdateTaskStatus;
3769
+ payload_version?: number;
3770
+ path?: string;
3771
+ };
3772
+ type DeviceFirmwareUpdateRecordFields = {
3773
+ status?: boolean;
3774
+ payload_version?: boolean;
3775
+ path?: boolean;
3776
+ };
3777
+ type DeviceFirmwareUpdateStatusGet = {
3778
+ fields?: DeviceFirmwareUpdateRecordFields;
3779
+ };
3780
+ type DeviceFirmwareUpdateStatus = {
3781
+ records: DeviceFirmwareUpdateRecord[];
3782
+ };
3783
+ declare enum DeviceFactoryAck {
3784
+ FACTORY_ACK_SUCCESS = 0,
3785
+ FACTORY_ACK_FAIL = 1
3786
+ }
3787
+ type DeviceFactoryInfoManufactureTime = {
3788
+ year: number;
3789
+ month: number;
3790
+ day: number;
3791
+ hour: number;
3792
+ minute: number;
3793
+ second: number;
3794
+ };
3795
+ type DeviceFactoryInfo = {
3796
+ version?: number;
3797
+ serial_number?: string;
3798
+ burn_in_completed?: boolean;
3799
+ factory_test_completed?: boolean;
3800
+ manufacture_time?: DeviceFactoryInfoManufactureTime;
3801
+ };
3802
+ type DeviceFactoryInfoSet = {
3803
+ info: DeviceFactoryInfo;
3804
+ };
3805
+ type DeviceFactoryInfoGet = {};
3806
+ type DeviceFactoryPermanentLock = {
3807
+ check_a: string;
3808
+ check_b: string;
3809
+ };
3810
+ type DeviceFactoryTest = {
3811
+ burn_in_test: boolean;
3812
+ };
3664
3813
  declare enum DeviceType {
3665
3814
  CLASSIC1 = 0,
3666
3815
  CLASSIC1S = 1,
3667
3816
  MINI = 2,
3668
3817
  TOUCH = 3,
3669
3818
  PRO = 5,
3670
- CLASSIC1S_PURE = 6
3819
+ CLASSIC1S_PURE = 6,
3820
+ PRO2 = 7,
3821
+ NEO = 8
3671
3822
  }
3672
- declare enum DevSeType {
3823
+ declare enum DeviceSeType {
3673
3824
  THD89 = 0,
3674
3825
  SE608A = 1
3675
3826
  }
3676
- declare enum DevSEState {
3827
+ declare enum DeviceSEState {
3677
3828
  BOOT = 0,
3678
3829
  APP_FACTORY = 51,
3679
3830
  APP = 85
3680
3831
  }
3681
- type DevFirmwareImageInfo = {
3832
+ type DeviceFirmwareImageInfo = {
3682
3833
  version?: string;
3683
3834
  build_id?: string;
3684
3835
  hash?: string;
3685
3836
  };
3686
- type DevHardwareInfo = {
3687
- device_type?: DeviceType;
3837
+ type DeviceHardwareInfo = {
3838
+ Device_type?: DeviceType;
3688
3839
  serial_no?: string;
3689
3840
  hardware_version?: string;
3690
3841
  hardware_version_raw_adc?: number;
3691
3842
  };
3692
- type DevMainMcuInfo = {
3693
- board?: DevFirmwareImageInfo;
3694
- boot?: DevFirmwareImageInfo;
3695
- app?: DevFirmwareImageInfo;
3696
- };
3697
- type DevBluetoothInfo = {
3698
- boot?: DevFirmwareImageInfo;
3699
- app?: DevFirmwareImageInfo;
3700
- adv_name?: string;
3701
- mac?: string;
3702
- };
3703
- type DevSEInfo = {
3704
- boot?: DevFirmwareImageInfo;
3705
- app?: DevFirmwareImageInfo;
3706
- type?: DevSeType;
3707
- state?: DevSEState;
3708
- };
3709
- type DevInfoTargets = {
3843
+ type DeviceMainMcuInfo = {
3844
+ romloader?: DeviceFirmwareImageInfo;
3845
+ bootloader?: DeviceFirmwareImageInfo;
3846
+ application?: DeviceFirmwareImageInfo;
3847
+ application_data?: DeviceFirmwareImageInfo;
3848
+ };
3849
+ type DeviceCoprocessorInfo = {
3850
+ bootloader?: DeviceFirmwareImageInfo;
3851
+ application?: DeviceFirmwareImageInfo;
3852
+ bt_adv_name?: string;
3853
+ bt_mac?: string;
3854
+ };
3855
+ type DeviceSEInfo = {
3856
+ bootloader?: DeviceFirmwareImageInfo;
3857
+ application?: DeviceFirmwareImageInfo;
3858
+ type?: DeviceSeType;
3859
+ state?: DeviceSEState;
3860
+ };
3861
+ type DeviceInfoTargets = {
3710
3862
  hw?: boolean;
3711
3863
  fw?: boolean;
3712
- bt?: boolean;
3864
+ coprocessor?: boolean;
3713
3865
  se1?: boolean;
3714
3866
  se2?: boolean;
3715
3867
  se3?: boolean;
3716
3868
  se4?: boolean;
3717
3869
  status?: boolean;
3718
3870
  };
3719
- type DevInfoTypes = {
3871
+ type DeviceInfoTypes = {
3720
3872
  version?: boolean;
3721
3873
  build_id?: boolean;
3722
3874
  hash?: boolean;
3723
3875
  specific?: boolean;
3724
3876
  };
3725
- type DevStatus = {
3726
- language?: string;
3727
- bt_enable?: boolean;
3728
- init_states?: boolean;
3729
- backup_required?: boolean;
3730
- passphrase_protection?: boolean;
3731
- label?: string;
3732
- };
3733
- type DevGetDeviceInfo = {
3734
- targets?: DevInfoTargets;
3735
- types?: DevInfoTypes;
3877
+ type DeviceInfoGet = {
3878
+ targets?: DeviceInfoTargets;
3879
+ types?: DeviceInfoTypes;
3736
3880
  };
3737
- type DeviceGetDeviceInfo = DevGetDeviceInfo;
3738
3881
  type ProtocolV2DeviceInfo = {
3739
3882
  protocol_version: number;
3740
- hw?: DevHardwareInfo;
3741
- fw?: DevMainMcuInfo;
3742
- bt?: DevBluetoothInfo;
3743
- se1?: DevSEInfo;
3744
- se2?: DevSEInfo;
3745
- se3?: DevSEInfo;
3746
- se4?: DevSEInfo;
3747
- status?: DevStatus;
3748
- };
3749
- 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,
3773
- TARGET_RESOURCE = 10
3774
- }
3775
- type DevFirmwareTarget = {
3776
- target_id: DevFirmwareTargetType;
3777
- path: string;
3778
- };
3779
- type DeviceFirmwareTarget = {
3780
- target_id: DeviceFirmwareTargetType;
3781
- path: string;
3782
- };
3783
- type DevFirmwareUpdate = {
3784
- targets: DevFirmwareTarget[];
3785
- };
3786
- type DeviceFirmwareUpdate = {
3787
- targets: DeviceFirmwareTarget[];
3788
- max_concurrent?: number;
3789
- };
3790
- type DevFirmwareInstallProgress = {
3791
- target_id: DevFirmwareTargetType;
3792
- progress: number;
3793
- stage?: string;
3794
- };
3795
- type DeviceFirmwareInstallProgress = {
3796
- target_id: DeviceFirmwareTargetType;
3797
- progress: number;
3798
- stage?: string;
3799
- };
3800
- type DevFirmwareUpdateStatusEntry = {
3801
- target_id: DevFirmwareTargetType;
3802
- status: number;
3803
- };
3804
- type DeviceFirmwareUpdateStatusEntry = {
3805
- target_id: DeviceFirmwareTargetType;
3806
- status: number;
3807
- };
3808
- type DevGetFirmwareUpdateStatus = {};
3809
- type DeviceGetFirmwareUpdateStatus = {};
3810
- type DevFirmwareUpdateStatus = {
3811
- targets: DevFirmwareUpdateStatusEntry[];
3812
- };
3813
- type DeviceFirmwareUpdateStatus = {
3814
- targets: DeviceFirmwareUpdateStatusEntry[];
3883
+ hw?: DeviceHardwareInfo;
3884
+ fw?: DeviceMainMcuInfo;
3885
+ coprocessor?: DeviceCoprocessorInfo;
3886
+ se1?: DeviceSEInfo;
3887
+ se2?: DeviceSEInfo;
3888
+ se3?: DeviceSEInfo;
3889
+ se4?: DeviceSEInfo;
3890
+ status?: DeviceStatus;
3891
+ };
3892
+ type DeviceSessionGet = {
3893
+ session_id?: string;
3815
3894
  };
3816
- type FactoryDeviceInfoSettings = {
3817
- serial_no?: string;
3818
- cpu_info?: string;
3819
- pre_firmware?: string;
3895
+ type DeviceSession = {
3896
+ session_id?: string;
3897
+ btc_test_address?: string;
3820
3898
  };
3821
- type FactoryGetDeviceInfo = {};
3822
- type FactoryDeviceInfo = {
3823
- serial_no?: string;
3824
- spi_flash_info?: string;
3825
- se_info?: string;
3826
- nft_voucher?: string;
3827
- cpu_info?: string;
3828
- pre_firmware?: string;
3899
+ type DeviceStatus = {
3900
+ device_id?: string;
3901
+ unlocked?: boolean;
3902
+ init_states?: boolean;
3903
+ backup_required?: boolean;
3904
+ passphrase_enabled?: boolean;
3905
+ attach_to_pin_enabled?: boolean;
3906
+ unlocked_by_attach_to_pin?: boolean;
3829
3907
  };
3830
- type FilesystemFixPermission = {};
3908
+ type FilesystemPermissionFix = {};
3831
3909
  type FilesystemPathInfo = {
3832
3910
  exist: boolean;
3833
3911
  size: number;
@@ -3884,31 +3962,6 @@ type FilesystemDirRemove = {
3884
3962
  path: string;
3885
3963
  };
3886
3964
  type FilesystemFormat = {};
3887
- declare enum OnboardingStep {
3888
- ONBOARDING_STEP_UNKNOWN = 0,
3889
- ONBOARDING_STEP_DEVICE_VERIFICATION = 1,
3890
- ONBOARDING_STEP_PERSONALIZATION = 2,
3891
- ONBOARDING_STEP_SETUP = 3,
3892
- ONBOARDING_STEP_FIRMWARE = 4
3893
- }
3894
- type GetOnboardingStatus = {};
3895
- type NewDevice = {
3896
- seedcard_backup?: boolean;
3897
- };
3898
- type Restore = {
3899
- mnemonic?: boolean;
3900
- seedcard?: boolean;
3901
- };
3902
- type Setup = {
3903
- new_device?: NewDevice;
3904
- restore?: Restore;
3905
- };
3906
- type OnboardingStatus = {
3907
- step: OnboardingStep;
3908
- setup?: Setup;
3909
- detail_code?: number;
3910
- detail_str?: string;
3911
- };
3912
3965
  type MessageType = {
3913
3966
  AlephiumGetAddress: AlephiumGetAddress;
3914
3967
  AlephiumAddress: AlephiumAddress;
@@ -4472,49 +4525,59 @@ type MessageType = {
4472
4525
  CoinPurchaseMemo: CoinPurchaseMemo;
4473
4526
  PaymentRequestMemo: PaymentRequestMemo;
4474
4527
  TxAckPaymentRequest: TxAckPaymentRequest;
4528
+ InternalMyAddressRequest: InternalMyAddressRequest;
4529
+ StartSession: StartSession;
4475
4530
  SetBusy: SetBusy;
4476
4531
  GetFirmwareHash: GetFirmwareHash;
4477
4532
  FirmwareHash: FirmwareHash;
4478
4533
  GetNonce: GetNonce;
4479
4534
  Nonce: Nonce;
4480
4535
  WriteSEPrivateKey: WriteSEPrivateKey;
4536
+ SetWallpaper: SetWallpaper;
4537
+ GetWallpaper: GetWallpaper;
4538
+ Wallpaper: Wallpaper;
4481
4539
  UnlockPath: UnlockPath;
4482
4540
  UnlockedPathRequest: UnlockedPathRequest;
4483
- TxDetailsAmount: TxDetailsAmount;
4484
- TxDetailsAddress: TxDetailsAddress;
4485
- TxDetailsNetwork: TxDetailsNetwork;
4486
- TxDetailsGeneral: TxDetailsGeneral;
4487
- TxDetailsPage: TxDetailsPage;
4488
- GetProtoVersion: GetProtoVersion;
4489
- ProtoVersion: ProtoVersion;
4490
- DevReboot: DevReboot;
4541
+ ViewAmount: ViewAmount;
4542
+ ViewDetail: ViewDetail;
4543
+ ViewTip: ViewTip;
4544
+ ViewSignPage: ViewSignPage;
4545
+ ViewVerifyPage: ViewVerifyPage;
4546
+ ProtocolInfoRequest: ProtocolInfoRequest;
4547
+ ProtocolInfo: ProtocolInfo;
4491
4548
  DeviceReboot: DeviceReboot;
4492
- DevFirmwareImageInfo: DevFirmwareImageInfo;
4493
- DevHardwareInfo: DevHardwareInfo;
4494
- DevMainMcuInfo: DevMainMcuInfo;
4495
- DevBluetoothInfo: DevBluetoothInfo;
4496
- DevSEInfo: DevSEInfo;
4497
- DevInfoTargets: DevInfoTargets;
4498
- DevInfoTypes: DevInfoTypes;
4499
- DevStatus: DevStatus;
4500
- DevGetDeviceInfo: DevGetDeviceInfo;
4501
- DeviceGetDeviceInfo: DeviceGetDeviceInfo;
4502
- DevFirmwareTarget: DevFirmwareTarget;
4549
+ DeviceSettings: DeviceSettings;
4550
+ DeviceSettingsGet: DeviceSettingsGet;
4551
+ DeviceSettingsSet: DeviceSettingsSet;
4552
+ DeviceCertificate: DeviceCertificate;
4553
+ DeviceCertificateWrite: DeviceCertificateWrite;
4554
+ DeviceCertificateRead: DeviceCertificateRead;
4555
+ DeviceCertificateSignature: DeviceCertificateSignature;
4556
+ DeviceCertificateSign: DeviceCertificateSign;
4503
4557
  DeviceFirmwareTarget: DeviceFirmwareTarget;
4504
- DevFirmwareUpdate: DevFirmwareUpdate;
4505
- DeviceFirmwareUpdate: DeviceFirmwareUpdate;
4506
- DevFirmwareInstallProgress: DevFirmwareInstallProgress;
4507
- DeviceFirmwareInstallProgress: DeviceFirmwareInstallProgress;
4508
- DevFirmwareUpdateStatusEntry: DevFirmwareUpdateStatusEntry;
4509
- DeviceFirmwareUpdateStatusEntry: DeviceFirmwareUpdateStatusEntry;
4510
- DevGetFirmwareUpdateStatus: DevGetFirmwareUpdateStatus;
4511
- DeviceGetFirmwareUpdateStatus: DeviceGetFirmwareUpdateStatus;
4512
- DevFirmwareUpdateStatus: DevFirmwareUpdateStatus;
4558
+ DeviceFirmwareUpdateRequest: DeviceFirmwareUpdateRequest;
4559
+ DeviceFirmwareUpdateRecord: DeviceFirmwareUpdateRecord;
4560
+ DeviceFirmwareUpdateRecordFields: DeviceFirmwareUpdateRecordFields;
4561
+ DeviceFirmwareUpdateStatusGet: DeviceFirmwareUpdateStatusGet;
4513
4562
  DeviceFirmwareUpdateStatus: DeviceFirmwareUpdateStatus;
4514
- FactoryDeviceInfoSettings: FactoryDeviceInfoSettings;
4515
- FactoryGetDeviceInfo: FactoryGetDeviceInfo;
4516
- FactoryDeviceInfo: FactoryDeviceInfo;
4517
- FilesystemFixPermission: FilesystemFixPermission;
4563
+ DeviceFactoryInfoManufactureTime: DeviceFactoryInfoManufactureTime;
4564
+ DeviceFactoryInfo: DeviceFactoryInfo;
4565
+ DeviceFactoryInfoSet: DeviceFactoryInfoSet;
4566
+ DeviceFactoryInfoGet: DeviceFactoryInfoGet;
4567
+ DeviceFactoryPermanentLock: DeviceFactoryPermanentLock;
4568
+ DeviceFactoryTest: DeviceFactoryTest;
4569
+ DeviceFirmwareImageInfo: DeviceFirmwareImageInfo;
4570
+ DeviceHardwareInfo: DeviceHardwareInfo;
4571
+ DeviceMainMcuInfo: DeviceMainMcuInfo;
4572
+ DeviceCoprocessorInfo: DeviceCoprocessorInfo;
4573
+ DeviceSEInfo: DeviceSEInfo;
4574
+ DeviceInfoTargets: DeviceInfoTargets;
4575
+ DeviceInfoTypes: DeviceInfoTypes;
4576
+ DeviceInfoGet: DeviceInfoGet;
4577
+ DeviceSessionGet: DeviceSessionGet;
4578
+ DeviceSession: DeviceSession;
4579
+ DeviceStatus: DeviceStatus;
4580
+ FilesystemPermissionFix: FilesystemPermissionFix;
4518
4581
  FilesystemPathInfo: FilesystemPathInfo;
4519
4582
  FilesystemPathInfoQuery: FilesystemPathInfoQuery;
4520
4583
  FilesystemFile: FilesystemFile;
@@ -4526,11 +4589,6 @@ type MessageType = {
4526
4589
  FilesystemDirMake: FilesystemDirMake;
4527
4590
  FilesystemDirRemove: FilesystemDirRemove;
4528
4591
  FilesystemFormat: FilesystemFormat;
4529
- GetOnboardingStatus: GetOnboardingStatus;
4530
- NewDevice: NewDevice;
4531
- Restore: Restore;
4532
- Setup: Setup;
4533
- OnboardingStatus: OnboardingStatus;
4534
4592
  };
4535
4593
  type MessageKey = keyof MessageType;
4536
4594
  type MessageResponse<T extends MessageKey> = {
@@ -5242,68 +5300,80 @@ type messages_RefundMemo = RefundMemo;
5242
5300
  type messages_CoinPurchaseMemo = CoinPurchaseMemo;
5243
5301
  type messages_PaymentRequestMemo = PaymentRequestMemo;
5244
5302
  type messages_TxAckPaymentRequest = TxAckPaymentRequest;
5303
+ type messages_InternalMyAddressRequest = InternalMyAddressRequest;
5304
+ type messages_StartSession = StartSession;
5245
5305
  type messages_SetBusy = SetBusy;
5246
5306
  type messages_GetFirmwareHash = GetFirmwareHash;
5247
5307
  type messages_FirmwareHash = FirmwareHash;
5248
5308
  type messages_GetNonce = GetNonce;
5249
5309
  type messages_Nonce = Nonce;
5250
5310
  type messages_WriteSEPrivateKey = WriteSEPrivateKey;
5311
+ type messages_WallpaperTarget = WallpaperTarget;
5312
+ declare const messages_WallpaperTarget: typeof WallpaperTarget;
5313
+ type messages_SetWallpaper = SetWallpaper;
5314
+ type messages_GetWallpaper = GetWallpaper;
5315
+ type messages_Wallpaper = Wallpaper;
5251
5316
  type messages_UnlockPath = UnlockPath;
5252
5317
  type messages_UnlockedPathRequest = UnlockedPathRequest;
5253
5318
  type messages_MoneroNetworkType = MoneroNetworkType;
5254
5319
  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;
5262
- type messages_GetProtoVersion = GetProtoVersion;
5263
- type messages_ProtoVersion = ProtoVersion;
5264
- type messages_DevRebootType = DevRebootType;
5265
- declare const messages_DevRebootType: typeof DevRebootType;
5320
+ type messages_ViewAmount = ViewAmount;
5321
+ type messages_ViewDetail = ViewDetail;
5322
+ type messages_ViewTipType = ViewTipType;
5323
+ declare const messages_ViewTipType: typeof ViewTipType;
5324
+ type messages_ViewTip = ViewTip;
5325
+ type messages_ViewSignPage = ViewSignPage;
5326
+ type messages_ViewVerifyPage = ViewVerifyPage;
5327
+ type messages_ProtocolInfoRequest = ProtocolInfoRequest;
5328
+ type messages_ProtocolInfo = ProtocolInfo;
5266
5329
  type messages_DeviceRebootType = DeviceRebootType;
5267
5330
  declare const messages_DeviceRebootType: typeof DeviceRebootType;
5268
- type messages_DevReboot = DevReboot;
5269
5331
  type messages_DeviceReboot = DeviceReboot;
5270
- type messages_DeviceType = DeviceType;
5271
- declare const messages_DeviceType: typeof DeviceType;
5272
- type messages_DevSeType = DevSeType;
5273
- declare const messages_DevSeType: typeof DevSeType;
5274
- type messages_DevSEState = DevSEState;
5275
- declare const messages_DevSEState: typeof DevSEState;
5276
- type messages_DevFirmwareImageInfo = DevFirmwareImageInfo;
5277
- type messages_DevHardwareInfo = DevHardwareInfo;
5278
- type messages_DevMainMcuInfo = DevMainMcuInfo;
5279
- type messages_DevBluetoothInfo = DevBluetoothInfo;
5280
- type messages_DevSEInfo = DevSEInfo;
5281
- type messages_DevInfoTargets = DevInfoTargets;
5282
- type messages_DevInfoTypes = DevInfoTypes;
5283
- type messages_DevStatus = DevStatus;
5284
- type messages_DevGetDeviceInfo = DevGetDeviceInfo;
5285
- type messages_DeviceGetDeviceInfo = DeviceGetDeviceInfo;
5286
- type messages_ProtocolV2DeviceInfo = ProtocolV2DeviceInfo;
5287
- type messages_DevFirmwareTargetType = DevFirmwareTargetType;
5288
- declare const messages_DevFirmwareTargetType: typeof DevFirmwareTargetType;
5332
+ type messages_DeviceSettings = DeviceSettings;
5333
+ type messages_DeviceSettingsGet = DeviceSettingsGet;
5334
+ type messages_DeviceSettingsSet = DeviceSettingsSet;
5335
+ type messages_DeviceCertificate = DeviceCertificate;
5336
+ type messages_DeviceCertificateWrite = DeviceCertificateWrite;
5337
+ type messages_DeviceCertificateRead = DeviceCertificateRead;
5338
+ type messages_DeviceCertificateSignature = DeviceCertificateSignature;
5339
+ type messages_DeviceCertificateSign = DeviceCertificateSign;
5289
5340
  type messages_DeviceFirmwareTargetType = DeviceFirmwareTargetType;
5290
5341
  declare const messages_DeviceFirmwareTargetType: typeof DeviceFirmwareTargetType;
5291
- type messages_DevFirmwareTarget = DevFirmwareTarget;
5342
+ type messages_DeviceFirmwareUpdateTaskStatus = DeviceFirmwareUpdateTaskStatus;
5343
+ declare const messages_DeviceFirmwareUpdateTaskStatus: typeof DeviceFirmwareUpdateTaskStatus;
5292
5344
  type messages_DeviceFirmwareTarget = DeviceFirmwareTarget;
5293
- type messages_DevFirmwareUpdate = DevFirmwareUpdate;
5294
- type messages_DeviceFirmwareUpdate = DeviceFirmwareUpdate;
5295
- type messages_DevFirmwareInstallProgress = DevFirmwareInstallProgress;
5296
- type messages_DeviceFirmwareInstallProgress = DeviceFirmwareInstallProgress;
5297
- type messages_DevFirmwareUpdateStatusEntry = DevFirmwareUpdateStatusEntry;
5298
- type messages_DeviceFirmwareUpdateStatusEntry = DeviceFirmwareUpdateStatusEntry;
5299
- type messages_DevGetFirmwareUpdateStatus = DevGetFirmwareUpdateStatus;
5300
- type messages_DeviceGetFirmwareUpdateStatus = DeviceGetFirmwareUpdateStatus;
5301
- type messages_DevFirmwareUpdateStatus = DevFirmwareUpdateStatus;
5345
+ type messages_DeviceFirmwareUpdateRequest = DeviceFirmwareUpdateRequest;
5346
+ type messages_DeviceFirmwareUpdateRecord = DeviceFirmwareUpdateRecord;
5347
+ type messages_DeviceFirmwareUpdateRecordFields = DeviceFirmwareUpdateRecordFields;
5348
+ type messages_DeviceFirmwareUpdateStatusGet = DeviceFirmwareUpdateStatusGet;
5302
5349
  type messages_DeviceFirmwareUpdateStatus = DeviceFirmwareUpdateStatus;
5303
- type messages_FactoryDeviceInfoSettings = FactoryDeviceInfoSettings;
5304
- type messages_FactoryGetDeviceInfo = FactoryGetDeviceInfo;
5305
- type messages_FactoryDeviceInfo = FactoryDeviceInfo;
5306
- type messages_FilesystemFixPermission = FilesystemFixPermission;
5350
+ type messages_DeviceFactoryAck = DeviceFactoryAck;
5351
+ declare const messages_DeviceFactoryAck: typeof DeviceFactoryAck;
5352
+ type messages_DeviceFactoryInfoManufactureTime = DeviceFactoryInfoManufactureTime;
5353
+ type messages_DeviceFactoryInfo = DeviceFactoryInfo;
5354
+ type messages_DeviceFactoryInfoSet = DeviceFactoryInfoSet;
5355
+ type messages_DeviceFactoryInfoGet = DeviceFactoryInfoGet;
5356
+ type messages_DeviceFactoryPermanentLock = DeviceFactoryPermanentLock;
5357
+ type messages_DeviceFactoryTest = DeviceFactoryTest;
5358
+ type messages_DeviceType = DeviceType;
5359
+ declare const messages_DeviceType: typeof DeviceType;
5360
+ type messages_DeviceSeType = DeviceSeType;
5361
+ declare const messages_DeviceSeType: typeof DeviceSeType;
5362
+ type messages_DeviceSEState = DeviceSEState;
5363
+ declare const messages_DeviceSEState: typeof DeviceSEState;
5364
+ type messages_DeviceFirmwareImageInfo = DeviceFirmwareImageInfo;
5365
+ type messages_DeviceHardwareInfo = DeviceHardwareInfo;
5366
+ type messages_DeviceMainMcuInfo = DeviceMainMcuInfo;
5367
+ type messages_DeviceCoprocessorInfo = DeviceCoprocessorInfo;
5368
+ type messages_DeviceSEInfo = DeviceSEInfo;
5369
+ type messages_DeviceInfoTargets = DeviceInfoTargets;
5370
+ type messages_DeviceInfoTypes = DeviceInfoTypes;
5371
+ type messages_DeviceInfoGet = DeviceInfoGet;
5372
+ type messages_ProtocolV2DeviceInfo = ProtocolV2DeviceInfo;
5373
+ type messages_DeviceSessionGet = DeviceSessionGet;
5374
+ type messages_DeviceSession = DeviceSession;
5375
+ type messages_DeviceStatus = DeviceStatus;
5376
+ type messages_FilesystemPermissionFix = FilesystemPermissionFix;
5307
5377
  type messages_FilesystemPathInfo = FilesystemPathInfo;
5308
5378
  type messages_FilesystemPathInfoQuery = FilesystemPathInfoQuery;
5309
5379
  type messages_FilesystemFile = FilesystemFile;
@@ -5315,13 +5385,6 @@ type messages_FilesystemDirList = FilesystemDirList;
5315
5385
  type messages_FilesystemDirMake = FilesystemDirMake;
5316
5386
  type messages_FilesystemDirRemove = FilesystemDirRemove;
5317
5387
  type messages_FilesystemFormat = FilesystemFormat;
5318
- type messages_OnboardingStep = OnboardingStep;
5319
- declare const messages_OnboardingStep: typeof OnboardingStep;
5320
- type messages_GetOnboardingStatus = GetOnboardingStatus;
5321
- type messages_NewDevice = NewDevice;
5322
- type messages_Restore = Restore;
5323
- type messages_Setup = Setup;
5324
- type messages_OnboardingStatus = OnboardingStatus;
5325
5388
  type messages_MessageType = MessageType;
5326
5389
  type messages_MessageKey = MessageKey;
5327
5390
  type messages_MessageResponse<T extends MessageKey> = MessageResponse<T>;
@@ -5966,59 +6029,70 @@ declare namespace messages {
5966
6029
  messages_CoinPurchaseMemo as CoinPurchaseMemo,
5967
6030
  messages_PaymentRequestMemo as PaymentRequestMemo,
5968
6031
  messages_TxAckPaymentRequest as TxAckPaymentRequest,
6032
+ messages_InternalMyAddressRequest as InternalMyAddressRequest,
6033
+ messages_StartSession as StartSession,
5969
6034
  messages_SetBusy as SetBusy,
5970
6035
  messages_GetFirmwareHash as GetFirmwareHash,
5971
6036
  messages_FirmwareHash as FirmwareHash,
5972
6037
  messages_GetNonce as GetNonce,
5973
6038
  messages_Nonce as Nonce,
5974
6039
  messages_WriteSEPrivateKey as WriteSEPrivateKey,
6040
+ messages_WallpaperTarget as WallpaperTarget,
6041
+ messages_SetWallpaper as SetWallpaper,
6042
+ messages_GetWallpaper as GetWallpaper,
6043
+ messages_Wallpaper as Wallpaper,
5975
6044
  messages_UnlockPath as UnlockPath,
5976
6045
  messages_UnlockedPathRequest as UnlockedPathRequest,
5977
6046
  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,
5984
- messages_GetProtoVersion as GetProtoVersion,
5985
- messages_ProtoVersion as ProtoVersion,
5986
- messages_DevRebootType as DevRebootType,
6047
+ messages_ViewAmount as ViewAmount,
6048
+ messages_ViewDetail as ViewDetail,
6049
+ messages_ViewTipType as ViewTipType,
6050
+ messages_ViewTip as ViewTip,
6051
+ messages_ViewSignPage as ViewSignPage,
6052
+ messages_ViewVerifyPage as ViewVerifyPage,
6053
+ messages_ProtocolInfoRequest as ProtocolInfoRequest,
6054
+ messages_ProtocolInfo as ProtocolInfo,
5987
6055
  messages_DeviceRebootType as DeviceRebootType,
5988
- messages_DevReboot as DevReboot,
5989
6056
  messages_DeviceReboot as DeviceReboot,
5990
- messages_DeviceType as DeviceType,
5991
- messages_DevSeType as DevSeType,
5992
- messages_DevSEState as DevSEState,
5993
- messages_DevFirmwareImageInfo as DevFirmwareImageInfo,
5994
- messages_DevHardwareInfo as DevHardwareInfo,
5995
- messages_DevMainMcuInfo as DevMainMcuInfo,
5996
- messages_DevBluetoothInfo as DevBluetoothInfo,
5997
- messages_DevSEInfo as DevSEInfo,
5998
- messages_DevInfoTargets as DevInfoTargets,
5999
- messages_DevInfoTypes as DevInfoTypes,
6000
- messages_DevStatus as DevStatus,
6001
- messages_DevGetDeviceInfo as DevGetDeviceInfo,
6002
- messages_DeviceGetDeviceInfo as DeviceGetDeviceInfo,
6003
- messages_ProtocolV2DeviceInfo as ProtocolV2DeviceInfo,
6004
- messages_DevFirmwareTargetType as DevFirmwareTargetType,
6057
+ messages_DeviceSettings as DeviceSettings,
6058
+ messages_DeviceSettingsGet as DeviceSettingsGet,
6059
+ messages_DeviceSettingsSet as DeviceSettingsSet,
6060
+ messages_DeviceCertificate as DeviceCertificate,
6061
+ messages_DeviceCertificateWrite as DeviceCertificateWrite,
6062
+ messages_DeviceCertificateRead as DeviceCertificateRead,
6063
+ messages_DeviceCertificateSignature as DeviceCertificateSignature,
6064
+ messages_DeviceCertificateSign as DeviceCertificateSign,
6005
6065
  messages_DeviceFirmwareTargetType as DeviceFirmwareTargetType,
6006
- messages_DevFirmwareTarget as DevFirmwareTarget,
6066
+ messages_DeviceFirmwareUpdateTaskStatus as DeviceFirmwareUpdateTaskStatus,
6007
6067
  messages_DeviceFirmwareTarget as DeviceFirmwareTarget,
6008
- messages_DevFirmwareUpdate as DevFirmwareUpdate,
6009
- messages_DeviceFirmwareUpdate as DeviceFirmwareUpdate,
6010
- messages_DevFirmwareInstallProgress as DevFirmwareInstallProgress,
6011
- messages_DeviceFirmwareInstallProgress as DeviceFirmwareInstallProgress,
6012
- messages_DevFirmwareUpdateStatusEntry as DevFirmwareUpdateStatusEntry,
6013
- messages_DeviceFirmwareUpdateStatusEntry as DeviceFirmwareUpdateStatusEntry,
6014
- messages_DevGetFirmwareUpdateStatus as DevGetFirmwareUpdateStatus,
6015
- messages_DeviceGetFirmwareUpdateStatus as DeviceGetFirmwareUpdateStatus,
6016
- messages_DevFirmwareUpdateStatus as DevFirmwareUpdateStatus,
6068
+ messages_DeviceFirmwareUpdateRequest as DeviceFirmwareUpdateRequest,
6069
+ messages_DeviceFirmwareUpdateRecord as DeviceFirmwareUpdateRecord,
6070
+ messages_DeviceFirmwareUpdateRecordFields as DeviceFirmwareUpdateRecordFields,
6071
+ messages_DeviceFirmwareUpdateStatusGet as DeviceFirmwareUpdateStatusGet,
6017
6072
  messages_DeviceFirmwareUpdateStatus as DeviceFirmwareUpdateStatus,
6018
- messages_FactoryDeviceInfoSettings as FactoryDeviceInfoSettings,
6019
- messages_FactoryGetDeviceInfo as FactoryGetDeviceInfo,
6020
- messages_FactoryDeviceInfo as FactoryDeviceInfo,
6021
- messages_FilesystemFixPermission as FilesystemFixPermission,
6073
+ messages_DeviceFactoryAck as DeviceFactoryAck,
6074
+ messages_DeviceFactoryInfoManufactureTime as DeviceFactoryInfoManufactureTime,
6075
+ messages_DeviceFactoryInfo as DeviceFactoryInfo,
6076
+ messages_DeviceFactoryInfoSet as DeviceFactoryInfoSet,
6077
+ messages_DeviceFactoryInfoGet as DeviceFactoryInfoGet,
6078
+ messages_DeviceFactoryPermanentLock as DeviceFactoryPermanentLock,
6079
+ messages_DeviceFactoryTest as DeviceFactoryTest,
6080
+ messages_DeviceType as DeviceType,
6081
+ messages_DeviceSeType as DeviceSeType,
6082
+ messages_DeviceSEState as DeviceSEState,
6083
+ messages_DeviceFirmwareImageInfo as DeviceFirmwareImageInfo,
6084
+ messages_DeviceHardwareInfo as DeviceHardwareInfo,
6085
+ messages_DeviceMainMcuInfo as DeviceMainMcuInfo,
6086
+ messages_DeviceCoprocessorInfo as DeviceCoprocessorInfo,
6087
+ messages_DeviceSEInfo as DeviceSEInfo,
6088
+ messages_DeviceInfoTargets as DeviceInfoTargets,
6089
+ messages_DeviceInfoTypes as DeviceInfoTypes,
6090
+ messages_DeviceInfoGet as DeviceInfoGet,
6091
+ messages_ProtocolV2DeviceInfo as ProtocolV2DeviceInfo,
6092
+ messages_DeviceSessionGet as DeviceSessionGet,
6093
+ messages_DeviceSession as DeviceSession,
6094
+ messages_DeviceStatus as DeviceStatus,
6095
+ messages_FilesystemPermissionFix as FilesystemPermissionFix,
6022
6096
  messages_FilesystemPathInfo as FilesystemPathInfo,
6023
6097
  messages_FilesystemPathInfoQuery as FilesystemPathInfoQuery,
6024
6098
  messages_FilesystemFile as FilesystemFile,
@@ -6030,12 +6104,6 @@ declare namespace messages {
6030
6104
  messages_FilesystemDirMake as FilesystemDirMake,
6031
6105
  messages_FilesystemDirRemove as FilesystemDirRemove,
6032
6106
  messages_FilesystemFormat as FilesystemFormat,
6033
- messages_OnboardingStep as OnboardingStep,
6034
- messages_GetOnboardingStatus as GetOnboardingStatus,
6035
- messages_NewDevice as NewDevice,
6036
- messages_Restore as Restore,
6037
- messages_Setup as Setup,
6038
- messages_OnboardingStatus as OnboardingStatus,
6039
6107
  messages_MessageType as MessageType,
6040
6108
  messages_MessageKey as MessageKey,
6041
6109
  messages_MessageResponse as MessageResponse,
@@ -6073,7 +6141,7 @@ declare function hexToBytes(hex: string): Uint8Array;
6073
6141
  declare function bytesToHex(bytes: Uint8Array): string;
6074
6142
  declare function getErrorMessage(error: unknown): string;
6075
6143
  declare function withProtocolTimeout<T>(promise: Promise<T>, timeoutMs: number | undefined, createTimeoutError: () => Error, onTimeout?: () => void): Promise<T>;
6076
- declare const PROTOCOL_V2_WRITE_WATCHDOG_TIMEOUT_MS = 30000;
6144
+ declare const PROTOCOL_V2_WRITE_WATCHDOG_TIMEOUT_MS = 0;
6077
6145
  declare class ProtocolV2Session {
6078
6146
  private readonly options;
6079
6147
  private pendingCall;
@@ -6124,9 +6192,9 @@ declare const PROTOCOL_V1_USB_PACKET_SIZE: number;
6124
6192
  declare const PROTOCOL_V1_MESSAGE_HEADER_SIZE: number;
6125
6193
  declare const PROTOCOL_V1_ENVELOPE_HEADER_SIZE: number;
6126
6194
  declare const PROTOCOL_V2_FRAME_MAX_BYTES = 4608;
6127
- declare const PROTOCOL_V2_WEBUSB_FILE_CHUNK_SIZE = 4096;
6195
+ declare const PROTOCOL_V2_WEBUSB_FILE_CHUNK_SIZE = 4000;
6128
6196
  declare const PROTOCOL_V2_BLE_FILE_CHUNK_SIZE = 1800;
6129
- declare const PROTOCOL_V2_FILE_CHUNK_SIZE = 4096;
6197
+ declare const PROTOCOL_V2_FILE_CHUNK_SIZE = 4000;
6130
6198
  declare const PROTOCOL_V2_CHANNEL_USB = 0;
6131
6199
  declare const PROTOCOL_V2_CHANNEL_BLE_UART = 1;
6132
6200
  declare const PROTOCOL_V2_CHANNEL_SOCKET = 2;
@@ -6203,4 +6271,4 @@ declare const _default: {
6203
6271
  withProtocolTimeout: typeof withProtocolTimeout;
6204
6272
  };
6205
6273
 
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 };
6274
+ export { AcquireInput, Address, AlephiumAddress, AlephiumBytecodeAck, AlephiumBytecodeRequest, AlephiumGetAddress, AlephiumMessageSignature, AlephiumSignMessage, AlephiumSignTx, AlephiumSignedTx, AlephiumTxAck, AlephiumTxRequest, AlgorandAddress, AlgorandGetAddress, AlgorandSignTx, AlgorandSignedTx, AmountUnit, ApplyFlags, ApplySettings, AptosAddress, AptosGetAddress, AptosMessagePayload, AptosMessageSignature, AptosSignMessage, AptosSignSIWAMessage, AptosSignTx, AptosSignedTx, AptosTransactionType, AuthorizeCoinJoin, BIP32Address, BackupDevice, BackupType, BatchGetPublickeys, BenfenAddress, BenfenGetAddress, BenfenMessageSignature, BenfenSignMessage, BenfenSignTx, BenfenSignedTx, BenfenTxAck, BenfenTxRequest, BinanceAddress, BinanceCancelMsg, BinanceCoin, BinanceGetAddress, BinanceGetPublicKey, BinanceInputOutput, BinanceOrderMsg, BinanceOrderSide, BinanceOrderType, BinancePublicKey, BinanceSignTx, BinanceSignedTx, BinanceTimeInForce, BinanceTransferMsg, BinanceTxRequest, BixinBackupAck, BixinBackupDevice, BixinBackupDeviceAck, BixinBackupRequest, BixinLoadDevice, BixinMessageSE, BixinOutMessageSE, BixinPinInputOnDevice, BixinRestoreAck, BixinRestoreRequest, BixinSeedOperate, BixinVerifyDeviceAck, BixinVerifyDeviceRequest, BixinWhiteListAck, BixinWhiteListRequest, BlurRequest, ButtonAck, ButtonRequest, ButtonRequestType, Cancel, CancelAuthorization, Capability, CardanoAddress, CardanoAddressParametersType, CardanoAddressType, CardanoAssetGroup, CardanoBlockchainPointerType, CardanoCVoteRegistrationDelegation, CardanoCVoteRegistrationFormat, CardanoCVoteRegistrationParametersType, CardanoCertificateType, CardanoDRep, CardanoDRepType, CardanoDerivationType, CardanoGetAddress, CardanoGetNativeScriptHash, CardanoGetPublicKey, CardanoMessageSignature, CardanoNativeScript, CardanoNativeScriptHash, CardanoNativeScriptHashDisplayFormat, CardanoNativeScriptType, CardanoPoolMetadataType, CardanoPoolOwner, CardanoPoolParametersType, CardanoPoolRelayParameters, CardanoPoolRelayType, CardanoPublicKey, CardanoSignMessage, CardanoSignTxFinished, CardanoSignTxInit, CardanoToken, CardanoTxAuxiliaryData, CardanoTxAuxiliaryDataSupplement, CardanoTxAuxiliaryDataSupplementType, CardanoTxBodyHash, CardanoTxCertificate, CardanoTxCollateralInput, CardanoTxHostAck, CardanoTxInlineDatumChunk, CardanoTxInput, CardanoTxItemAck, CardanoTxMint, CardanoTxOutput, CardanoTxOutputSerializationFormat, CardanoTxReferenceInput, CardanoTxReferenceScriptChunk, CardanoTxRequiredSigner, CardanoTxSigningMode, CardanoTxWithdrawal, CardanoTxWitnessRequest, CardanoTxWitnessResponse, CardanoTxWitnessType, ChangeOutputScriptType, ChangePin, ChangeWipeCode, CipherKeyValue, CipheredKeyValue, CoinJoinRequest, CoinPurchaseMemo, CommandFlags, ConfluxAddress, ConfluxGetAddress, ConfluxMessageSignature, ConfluxSignMessage, ConfluxSignMessageCIP23, ConfluxSignTx, ConfluxTxAck, ConfluxTxRequest, CosmosAddress, CosmosGetAddress, CosmosSignTx, CosmosSignedTx, DecredStakingSpendType, Deprecated_PassphraseStateAck, Deprecated_PassphraseStateRequest, DeviceBackToBoot, DeviceCertificate, DeviceCertificateRead, DeviceCertificateSign, DeviceCertificateSignature, DeviceCertificateWrite, DeviceCoprocessorInfo, DeviceEraseSector, DeviceFactoryAck, DeviceFactoryInfo, DeviceFactoryInfoGet, DeviceFactoryInfoManufactureTime, DeviceFactoryInfoSet, DeviceFactoryPermanentLock, DeviceFactoryTest, DeviceFirmwareImageInfo, DeviceFirmwareTarget, DeviceFirmwareTargetType, DeviceFirmwareUpdateRecord, DeviceFirmwareUpdateRecordFields, DeviceFirmwareUpdateRequest, DeviceFirmwareUpdateStatus, DeviceFirmwareUpdateStatusGet, DeviceFirmwareUpdateTaskStatus, DeviceHardwareInfo, DeviceInfo, DeviceInfoGet, DeviceInfoSettings, DeviceInfoTargets, DeviceInfoTypes, DeviceMainMcuInfo, DeviceReboot, DeviceRebootType, DeviceSEInfo, DeviceSEState, DeviceSeType, DeviceSession, DeviceSessionGet, DeviceSettings, DeviceSettingsGet, DeviceSettingsSet, DeviceStatus, DeviceType, DnxAddress, DnxComputedKeyImage, DnxGetAddress, DnxInputAck, DnxInputRequest, DnxRTSigsRequest, DnxSignTx, DnxSignedTx, DnxTxKey, DoPreauthorized, ECDHSessionKey, EcdsaPublicKeys, EmmcDir, EmmcDirList, EmmcDirMake, EmmcDirRemove, EmmcFile, EmmcFileDelete, EmmcFileRead, EmmcFileWrite, EmmcFixPermission, EmmcPath, EmmcPathInfo, EndSession, Entropy, EntropyAck, EntropyRequest, Enum_BackupType, Enum_ButtonRequestType, Enum_Capability, Enum_InputScriptType, Enum_OutputScriptType, Enum_PinMatrixRequestType, Enum_RequestType, Enum_SafetyCheckLevel, Enum_WordRequestType, EosActionBuyRam, EosActionBuyRamBytes, EosActionCommon, EosActionDelegate, EosActionDeleteAuth, EosActionLinkAuth, EosActionNewAccount, EosActionRefund, EosActionSellRam, EosActionTransfer, EosActionUndelegate, EosActionUnknown, EosActionUnlinkAuth, EosActionUpdateAuth, EosActionVoteProducer, EosAsset, EosAuthorization, EosAuthorizationAccount, EosAuthorizationKey, EosAuthorizationWait, EosGetPublicKey, EosPermissionLevel, EosPublicKey, EosSignTx, EosSignedTx, EosTxActionAck, EosTxActionRequest, EosTxHeader, EthereumAccessList, EthereumAccessListOneKey, EthereumAddress, EthereumAddressOneKey, EthereumAuthorizationOneKey, EthereumAuthorizationSignature, EthereumDataType, EthereumDataTypeOneKey, EthereumDefinitionType, EthereumDefinitions, EthereumFieldType, EthereumFieldTypeOneKey, EthereumGetAddress, EthereumGetAddressOneKey, EthereumGetPublicKey, EthereumGetPublicKeyOneKey, EthereumGnosisSafeTxAck, EthereumGnosisSafeTxOperation, EthereumGnosisSafeTxRequest, EthereumMessageSignature, EthereumMessageSignatureOneKey, EthereumNetworkInfo, EthereumPublicKey, EthereumPublicKeyOneKey, EthereumSignMessage, EthereumSignMessageEIP712, EthereumSignMessageOneKey, EthereumSignTx, EthereumSignTxEIP1559, EthereumSignTxEIP1559OneKey, EthereumSignTxEIP7702OneKey, EthereumSignTxOneKey, EthereumSignTypedData, EthereumSignTypedDataOneKey, EthereumSignTypedHash, EthereumSignTypedHashOneKey, EthereumStructMember, EthereumStructMemberOneKey, EthereumTokenInfo, EthereumTxAck, EthereumTxAckOneKey, EthereumTxRequest, EthereumTxRequestOneKey, EthereumTypedDataSignature, EthereumTypedDataSignatureOneKey, EthereumTypedDataStructAck, EthereumTypedDataStructAckOneKey, EthereumTypedDataStructRequest, EthereumTypedDataStructRequestOneKey, EthereumTypedDataValueAck, EthereumTypedDataValueAckOneKey, EthereumTypedDataValueRequest, EthereumTypedDataValueRequestOneKey, EthereumVerifyMessage, EthereumVerifyMessageOneKey, ExportType, Failure, FailureType, Features, FileInfo, FileInfoList, FilecoinAddress, FilecoinGetAddress, FilecoinSignTx, FilecoinSignedTx, FilesystemDir, FilesystemDirList, FilesystemDirMake, FilesystemDirRemove, FilesystemFile, FilesystemFileDelete, FilesystemFileRead, FilesystemFileWrite, FilesystemFormat, FilesystemPathInfo, FilesystemPathInfoQuery, FilesystemPermissionFix, FirmwareErase, FirmwareErase_ex, FirmwareHash, FirmwareRequest, FirmwareUpdateEmmc, FirmwareUpload, GetAddress, GetDeviceInfo, GetECDHSessionKey, GetEntropy, GetFeatures, GetFirmwareHash, GetNextU2FCounter, GetNonce, GetOwnershipId, GetOwnershipProof, GetPassphraseState, GetPublicKey, GetPublicKeyMultiple, GetWallpaper, HDNodePathType, HDNodeType, IdentityType, Initialize, InputScriptType, InternalInputScriptType, InternalMyAddressRequest, KaspaAddress, KaspaGetAddress, KaspaSignTx, KaspaSignedTx, KaspaTxInputAck, KaspaTxInputRequest, ListResDir, LnurlAuth, LnurlAuthResp, LockDevice, LogBlockCommand, LowLevelDevice, LowlevelTransportSharedPlugin, MessageFromOneKey, MessageKey, MessageResponse, MessageResponseMap, MessageSignature, MessageType, messages as Messages, MoneroAccountPublicAddress, MoneroAddress, MoneroExportedKeyImage, MoneroGetAddress, MoneroGetTxKeyAck, MoneroGetTxKeyRequest, MoneroGetWatchKey, MoneroKeyImageExportInitAck, MoneroKeyImageExportInitRequest, MoneroKeyImageSyncFinalAck, MoneroKeyImageSyncFinalRequest, MoneroKeyImageSyncStepAck, MoneroKeyImageSyncStepRequest, MoneroLiveRefreshFinalAck, MoneroLiveRefreshFinalRequest, MoneroLiveRefreshStartAck, MoneroLiveRefreshStartRequest, MoneroLiveRefreshStepAck, MoneroLiveRefreshStepRequest, MoneroMultisigKLRki, MoneroNetworkType, MoneroOutputEntry, MoneroRctKeyPublic, MoneroRingCtSig, MoneroSubAddressIndicesList, MoneroTransactionAllInputsSetAck, MoneroTransactionAllInputsSetRequest, MoneroTransactionAllOutSetAck, MoneroTransactionAllOutSetRequest, MoneroTransactionData, MoneroTransactionDestinationEntry, MoneroTransactionFinalAck, MoneroTransactionFinalRequest, MoneroTransactionInitAck, MoneroTransactionInitRequest, MoneroTransactionInputViniAck, MoneroTransactionInputViniRequest, MoneroTransactionInputsPermutationAck, MoneroTransactionInputsPermutationRequest, MoneroTransactionRsigData, MoneroTransactionSetInputAck, MoneroTransactionSetInputRequest, MoneroTransactionSetOutputAck, MoneroTransactionSetOutputRequest, MoneroTransactionSignInputAck, MoneroTransactionSignInputRequest, MoneroTransactionSourceEntry, MoneroTransferDetails, MoneroWatchKey, MultisigRedeemScriptType, NEMAddress, NEMAggregateModification, NEMCosignatoryModification, NEMDecryptMessage, NEMDecryptedMessage, NEMGetAddress, NEMImportanceTransfer, NEMImportanceTransferMode, NEMModificationType, NEMMosaic, NEMMosaicCreation, NEMMosaicDefinition, NEMMosaicLevy, NEMMosaicSupplyChange, NEMProvisionNamespace, NEMSignTx, NEMSignedTx, NEMSupplyChangeType, NEMTransactionCommon, NEMTransfer, NFTWriteData, NFTWriteInfo, NearAddress, NearGetAddress, NearSignTx, NearSignedTx, NeoAddress, NeoGetAddress, NeoSignTx, NeoSignedTx, NervosAddress, NervosGetAddress, NervosSignTx, NervosSignedTx, NervosTxAck, NervosTxRequest, NexaAddress, NexaGetAddress, NexaSignTx, NexaSignedTx, NexaTxInputAck, NexaTxInputRequest, NextU2FCounter, Nonce, NostrDecryptMessage, NostrDecryptedMessage, NostrEncryptMessage, NostrEncryptedMessage, NostrGetPublicKey, NostrPublicKey, NostrSignEvent, NostrSignSchnorr, NostrSignedEvent, NostrSignedSchnorr, 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, ProtocolInfo, ProtocolInfoRequest, ProtocolType, ProtocolV1, ProtocolV2, ProtocolV2CallOptions, ProtocolV2DeviceInfo, ProtocolV2FrameAssembler, ProtocolV2Schemas, ProtocolV2Session, ProtocolV2SessionOptions, PublicKey, PublicKeyMultiple, ReadSEPublicCert, ReadSEPublicKey, Reboot, RebootToBoardloader, RebootToBootloader, RebootType, RecoveryDevice, RecoveryDeviceType, RefundMemo, RequestType, ResetDevice, ResourceAck, ResourceRequest, ResourceType, ResourceUpdate, ResourceUpload, RippleAddress, RippleGetAddress, RipplePayment, RippleSignTx, RippleSignedTx, SEMessageSignature, SEPublicCert, SEPublicKey, SESignMessage, SafetyCheckLevel, ScdoAddress, ScdoGetAddress, ScdoSignMessage, ScdoSignTx, ScdoSignedMessage, ScdoSignedTx, ScdoTxAck, SdProtect, SdProtectOperationType, SeedRequestType, SelfTest, SetBusy, SetU2FCounter, SetWallpaper, SignIdentity, SignMessage, SignPsbt, SignTx, SignedIdentity, SignedPsbt, SolanaAddress, SolanaGetAddress, SolanaMessageSignature, SolanaOffChainMessageFormat, SolanaOffChainMessageVersion, SolanaSignOffChainMessage, SolanaSignTx, SolanaSignUnsafeMessage, SolanaSignedTx, SolanaTxATADetails, SolanaTxExtraInfo, SpiFlashData, SpiFlashRead, SpiFlashWrite, StarcoinAddress, StarcoinGetAddress, StarcoinGetPublicKey, StarcoinMessageSignature, StarcoinPublicKey, StarcoinSignMessage, StarcoinSignTx, StarcoinSignedTx, StarcoinVerifyMessage, StartSession, StellarAccountMergeOp, StellarAddress, StellarAllowTrustOp, StellarAsset, StellarAssetType, StellarBumpSequenceOp, StellarChangeTrustOp, StellarCreateAccountOp, StellarCreatePassiveSellOfferOp, StellarGetAddress, StellarInvokeHostFunctionOp, StellarManageBuyOfferOp, StellarManageDataOp, StellarManageSellOfferOp, StellarMemoType, StellarPathPaymentStrictReceiveOp, StellarPathPaymentStrictSendOp, StellarPaymentOp, StellarRequestType, StellarSetOptionsOp, StellarSignTx, StellarSignedTx, StellarSignerType, StellarSorobanDataAck, StellarSorobanDataRequest, StellarTxOpRequest, Success, SuiAddress, SuiGetAddress, SuiMessageSignature, SuiSignMessage, SuiSignTx, SuiSignedTx, SuiTxAck, SuiTxRequest, 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 };