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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -150,11 +150,6 @@ describe('messages', () => {
150
150
  expect(v2Messages.nested.DeviceSessionGet.fields).toEqual({
151
151
  session_id: { id: 1, type: 'bytes' },
152
152
  btc_test_address: { id: 2, type: 'string' },
153
- seed_domains: {
154
- id: 3,
155
- rule: 'repeated',
156
- type: 'DeviceSessionSeedDomain',
157
- },
158
153
  });
159
154
  expect(v2Messages.nested.DeviceSessionSeedDomain.values).toEqual({
160
155
  SeedDomain_Standard: 1,
@@ -195,6 +190,11 @@ describe('messages', () => {
195
190
  type: 'bool',
196
191
  id: 2,
197
192
  },
193
+ seed_domains: {
194
+ rule: 'repeated',
195
+ type: 'DeviceSessionSeedDomain',
196
+ id: 3,
197
+ },
198
198
  },
199
199
  });
200
200
  expect(v2Messages.nested.DeviceSessionAskPin_FailureSubCodes.values).toEqual({
@@ -212,42 +212,57 @@ describe('messages', () => {
212
212
  const messages = parseConfigure(v2Messages);
213
213
  const { Message } = createMessageFromName(messages, 'DeviceSessionAskPassphrase');
214
214
 
215
- const standardWallet = encode(Message, { passphrase: '', on_device: false });
215
+ const standardWallet = encode(Message, {
216
+ passphrase: '',
217
+ on_device: false,
218
+ seed_domains: [],
219
+ });
216
220
  const onHost = Message.encode(
217
- Message.create({ passphrase: 'host hidden wallet', on_device: false })
221
+ Message.create({
222
+ passphrase: 'host hidden wallet',
223
+ on_device: false,
224
+ seed_domains: [
225
+ generatedTypes.DeviceSessionSeedDomain.SeedDomain_Standard,
226
+ generatedTypes.DeviceSessionSeedDomain.SeedDomain_Cardano,
227
+ ],
228
+ })
229
+ ).finish();
230
+ const onDevice = Message.encode(
231
+ Message.create({
232
+ on_device: true,
233
+ seed_domains: [generatedTypes.DeviceSessionSeedDomain.SeedDomain_Standard],
234
+ })
218
235
  ).finish();
219
- const onDevice = Message.encode(Message.create({ on_device: true })).finish();
220
236
 
221
237
  expect(standardWallet.toString('hex')).toBe('0a001000');
222
238
  expect(Buffer.from(onHost).toString('hex')).toBe(
223
- '0a12686f73742068696464656e2077616c6c65741000'
239
+ '0a12686f73742068696464656e2077616c6c657410001a020102'
224
240
  );
225
- expect(Buffer.from(onDevice).toString('hex')).toBe('1001');
241
+ expect(Buffer.from(onDevice).toString('hex')).toBe('10011a0101');
226
242
  expect(Message.decode(onHost)).toMatchObject({
227
243
  passphrase: 'host hidden wallet',
228
244
  on_device: false,
245
+ seed_domains: [
246
+ generatedTypes.DeviceSessionSeedDomain.SeedDomain_Standard,
247
+ generatedTypes.DeviceSessionSeedDomain.SeedDomain_Cardano,
248
+ ],
249
+ });
250
+ expect(Message.decode(onDevice)).toMatchObject({
251
+ on_device: true,
252
+ seed_domains: [generatedTypes.DeviceSessionSeedDomain.SeedDomain_Standard],
229
253
  });
230
- expect(Message.decode(onDevice)).toMatchObject({ on_device: true });
231
254
  });
232
255
 
233
- test('Protocol V2 wallet recovery carries the expected wallet and seed domains on wire', () => {
256
+ test('Protocol V2 wallet recovery carries the expected wallet on wire', () => {
234
257
  const messages = parseConfigure(v2Messages);
235
258
  const { Message } = createMessageFromName(messages, 'DeviceSessionGet');
236
259
  const payload = encode(Message, {
237
260
  btc_test_address: 'tb1qwallet',
238
- seed_domains: [
239
- generatedTypes.DeviceSessionSeedDomain.SeedDomain_Standard,
240
- generatedTypes.DeviceSessionSeedDomain.SeedDomain_Cardano,
241
- ],
242
261
  });
243
262
 
244
- expect(payload.toString('hex')).toBe('120a7462317177616c6c65741a020102');
263
+ expect(payload.toString('hex')).toBe('120a7462317177616c6c6574');
245
264
  expect(Message.decode(payload.toBuffer())).toMatchObject({
246
265
  btc_test_address: 'tb1qwallet',
247
- seed_domains: [
248
- generatedTypes.DeviceSessionSeedDomain.SeedDomain_Standard,
249
- generatedTypes.DeviceSessionSeedDomain.SeedDomain_Cardano,
250
- ],
251
266
  });
252
267
  });
253
268
 
package/dist/index.d.ts CHANGED
@@ -3832,8 +3832,6 @@ declare enum CommandFlags {
3832
3832
  Default = 0,
3833
3833
  Factory_Only = 1
3834
3834
  }
3835
- type experimental_message = {};
3836
- type experimental_field = {};
3837
3835
  type TextMemo = {
3838
3836
  text: string;
3839
3837
  };
@@ -3910,6 +3908,8 @@ type UiAnimationRequest = {
3910
3908
  command: UiAnimationCommand;
3911
3909
  type?: UiAnimationType;
3912
3910
  };
3911
+ type experimental_message = {};
3912
+ type experimental_field = {};
3913
3913
  type ProtocolInfoRequest = {
3914
3914
  eventless_wallet_session?: boolean;
3915
3915
  };
@@ -4182,7 +4182,6 @@ declare enum DeviceSessionSeedDomain {
4182
4182
  type DeviceSessionGet = {
4183
4183
  session_id?: string;
4184
4184
  btc_test_address?: string;
4185
- seed_domains: DeviceSessionSeedDomain[];
4186
4185
  };
4187
4186
  type DeviceSession = {
4188
4187
  session_id?: string;
@@ -4199,6 +4198,7 @@ type DeviceSessionAskPin = {
4199
4198
  type DeviceSessionAskPassphrase = {
4200
4199
  passphrase?: string;
4201
4200
  on_device: boolean;
4201
+ seed_domains: DeviceSessionSeedDomain[];
4202
4202
  };
4203
4203
  declare enum DeviceSessionAskPin_FailureSubCodes {
4204
4204
  UserCancel = 1
@@ -4340,6 +4340,10 @@ type ViewDetail = {
4340
4340
  is_overview: boolean;
4341
4341
  has_icon: boolean;
4342
4342
  };
4343
+ type ViewCustomField = {
4344
+ key: string;
4345
+ value: string;
4346
+ };
4343
4347
  declare enum ViewTipType {
4344
4348
  Default = 0,
4345
4349
  Highlight = 1,
@@ -4353,9 +4357,23 @@ type ViewTip = {
4353
4357
  text_id?: number;
4354
4358
  text_arg?: string;
4355
4359
  };
4356
- type ViewRawData = {
4360
+ type ViewActionCard = {
4357
4361
  initial_data: string;
4358
- placeholder: number;
4362
+ };
4363
+ type ViewContentPreview = {
4364
+ content_key: number;
4365
+ preview: string;
4366
+ total_bytes?: number;
4367
+ };
4368
+ type ViewContentEntry = {
4369
+ entry_key: number;
4370
+ value: string;
4371
+ };
4372
+ type ViewContentPage = {
4373
+ page_index: number;
4374
+ page_count: number;
4375
+ chunk?: string;
4376
+ entry?: ViewContentEntry;
4359
4377
  };
4360
4378
  declare enum ViewSignLayout {
4361
4379
  LayoutDefault = 0,
@@ -4370,11 +4388,19 @@ type ViewSignPage = {
4370
4388
  amount?: UintType;
4371
4389
  general: ViewDetail[];
4372
4390
  tip?: ViewTip;
4373
- raw_data?: ViewRawData;
4391
+ action_card?: ViewActionCard;
4374
4392
  slide_to_confirm?: boolean;
4375
4393
  layout?: ViewSignLayout;
4376
4394
  title_id?: number;
4377
4395
  title_arg?: string;
4396
+ content?: ViewContentPreview;
4397
+ custom_field?: ViewCustomField;
4398
+ };
4399
+ type ViewWarningPage = {
4400
+ title_id: number;
4401
+ text_id: number;
4402
+ text_arg?: string;
4403
+ cancellable?: boolean;
4378
4404
  };
4379
4405
  type ViewVerifyPage = {
4380
4406
  title?: string;
@@ -4385,6 +4411,7 @@ type ViewVerifyPage = {
4385
4411
  value_key?: number;
4386
4412
  title_id?: number;
4387
4413
  chain_id?: number;
4414
+ content?: ViewContentPreview;
4388
4415
  };
4389
4416
  declare enum ProtocolV2FailureType {
4390
4417
  Failure_InvalidMessage = 1,
@@ -4980,8 +5007,6 @@ type MessageType = {
4980
5007
  TronSignMessage: TronSignMessage;
4981
5008
  TronMessageSignature: TronMessageSignature;
4982
5009
  facotry: facotry;
4983
- experimental_message: experimental_message;
4984
- experimental_field: experimental_field;
4985
5010
  TextMemo: TextMemo;
4986
5011
  RefundMemo: RefundMemo;
4987
5012
  CoinPurchaseMemo: CoinPurchaseMemo;
@@ -4997,6 +5022,8 @@ type MessageType = {
4997
5022
  UnlockPath: UnlockPath;
4998
5023
  UnlockedPathRequest: UnlockedPathRequest;
4999
5024
  UiAnimationRequest: UiAnimationRequest;
5025
+ experimental_message: experimental_message;
5026
+ experimental_field: experimental_field;
5000
5027
  ProtocolInfoRequest: ProtocolInfoRequest;
5001
5028
  ProtocolInfo: ProtocolInfo;
5002
5029
  DeviceReboot: DeviceReboot;
@@ -5061,9 +5088,14 @@ type MessageType = {
5061
5088
  PortfolioUpdate: PortfolioUpdate;
5062
5089
  ViewAmount: ViewAmount;
5063
5090
  ViewDetail: ViewDetail;
5091
+ ViewCustomField: ViewCustomField;
5064
5092
  ViewTip: ViewTip;
5065
- ViewRawData: ViewRawData;
5093
+ ViewActionCard: ViewActionCard;
5094
+ ViewContentPreview: ViewContentPreview;
5095
+ ViewContentEntry: ViewContentEntry;
5096
+ ViewContentPage: ViewContentPage;
5066
5097
  ViewSignPage: ViewSignPage;
5098
+ ViewWarningPage: ViewWarningPage;
5067
5099
  ViewVerifyPage: ViewVerifyPage;
5068
5100
  };
5069
5101
  type MessageKey = keyof MessageType;
@@ -5787,8 +5819,6 @@ type messages_TronMessageSignature = TronMessageSignature;
5787
5819
  type messages_facotry = facotry;
5788
5820
  type messages_CommandFlags = CommandFlags;
5789
5821
  declare const messages_CommandFlags: typeof CommandFlags;
5790
- type messages_experimental_message = experimental_message;
5791
- type messages_experimental_field = experimental_field;
5792
5822
  type messages_TextMemo = TextMemo;
5793
5823
  type messages_RefundMemo = RefundMemo;
5794
5824
  type messages_CoinPurchaseMemo = CoinPurchaseMemo;
@@ -5810,6 +5840,8 @@ declare const messages_UiAnimationType: typeof UiAnimationType;
5810
5840
  type messages_UiAnimationCommand = UiAnimationCommand;
5811
5841
  declare const messages_UiAnimationCommand: typeof UiAnimationCommand;
5812
5842
  type messages_UiAnimationRequest = UiAnimationRequest;
5843
+ type messages_experimental_message = experimental_message;
5844
+ type messages_experimental_field = experimental_field;
5813
5845
  type messages_ProtocolInfoRequest = ProtocolInfoRequest;
5814
5846
  type messages_ProtocolInfo = ProtocolInfo;
5815
5847
  type messages_DeviceErrorCode = DeviceErrorCode;
@@ -5911,13 +5943,18 @@ type messages_OnboardingStatus = OnboardingStatus;
5911
5943
  type messages_PortfolioUpdate = PortfolioUpdate;
5912
5944
  type messages_ViewAmount = ViewAmount;
5913
5945
  type messages_ViewDetail = ViewDetail;
5946
+ type messages_ViewCustomField = ViewCustomField;
5914
5947
  type messages_ViewTipType = ViewTipType;
5915
5948
  declare const messages_ViewTipType: typeof ViewTipType;
5916
5949
  type messages_ViewTip = ViewTip;
5917
- type messages_ViewRawData = ViewRawData;
5950
+ type messages_ViewActionCard = ViewActionCard;
5951
+ type messages_ViewContentPreview = ViewContentPreview;
5952
+ type messages_ViewContentEntry = ViewContentEntry;
5953
+ type messages_ViewContentPage = ViewContentPage;
5918
5954
  type messages_ViewSignLayout = ViewSignLayout;
5919
5955
  declare const messages_ViewSignLayout: typeof ViewSignLayout;
5920
5956
  type messages_ViewSignPage = ViewSignPage;
5957
+ type messages_ViewWarningPage = ViewWarningPage;
5921
5958
  type messages_ViewVerifyPage = ViewVerifyPage;
5922
5959
  type messages_ProtocolV2FailureType = ProtocolV2FailureType;
5923
5960
  declare const messages_ProtocolV2FailureType: typeof ProtocolV2FailureType;
@@ -6576,8 +6613,6 @@ declare namespace messages {
6576
6613
  messages_TronMessageSignature as TronMessageSignature,
6577
6614
  messages_facotry as facotry,
6578
6615
  messages_CommandFlags as CommandFlags,
6579
- messages_experimental_message as experimental_message,
6580
- messages_experimental_field as experimental_field,
6581
6616
  messages_TextMemo as TextMemo,
6582
6617
  messages_RefundMemo as RefundMemo,
6583
6618
  messages_CoinPurchaseMemo as CoinPurchaseMemo,
@@ -6596,6 +6631,8 @@ declare namespace messages {
6596
6631
  messages_UiAnimationType as UiAnimationType,
6597
6632
  messages_UiAnimationCommand as UiAnimationCommand,
6598
6633
  messages_UiAnimationRequest as UiAnimationRequest,
6634
+ messages_experimental_message as experimental_message,
6635
+ messages_experimental_field as experimental_field,
6599
6636
  messages_ProtocolInfoRequest as ProtocolInfoRequest,
6600
6637
  messages_ProtocolInfo as ProtocolInfo,
6601
6638
  messages_DeviceErrorCode as DeviceErrorCode,
@@ -6679,11 +6716,16 @@ declare namespace messages {
6679
6716
  messages_PortfolioUpdate as PortfolioUpdate,
6680
6717
  messages_ViewAmount as ViewAmount,
6681
6718
  messages_ViewDetail as ViewDetail,
6719
+ messages_ViewCustomField as ViewCustomField,
6682
6720
  messages_ViewTipType as ViewTipType,
6683
6721
  messages_ViewTip as ViewTip,
6684
- messages_ViewRawData as ViewRawData,
6722
+ messages_ViewActionCard as ViewActionCard,
6723
+ messages_ViewContentPreview as ViewContentPreview,
6724
+ messages_ViewContentEntry as ViewContentEntry,
6725
+ messages_ViewContentPage as ViewContentPage,
6685
6726
  messages_ViewSignLayout as ViewSignLayout,
6686
6727
  messages_ViewSignPage as ViewSignPage,
6728
+ messages_ViewWarningPage as ViewWarningPage,
6687
6729
  messages_ViewVerifyPage as ViewVerifyPage,
6688
6730
  messages_ProtocolV2FailureType as ProtocolV2FailureType,
6689
6731
  messages_Enum_ProtocolV2Capability as Enum_ProtocolV2Capability,
@@ -7016,4 +7058,4 @@ declare const _default: {
7016
7058
  withProtocolTimeout: typeof withProtocolTimeout;
7017
7059
  };
7018
7060
 
7019
- export { AcquireInput, Address, AlephiumAddress, AlephiumBytecodeAck, AlephiumBytecodeRequest, AlephiumGetAddress, AlephiumMessageSignature, AlephiumSignMessage, AlephiumSignTx, AlephiumSignedTx, AlephiumTxAck, AlephiumTxRequest, AlgorandAddress, AlgorandGetAddress, AlgorandSignTx, AlgorandSignedTx, AmountUnit, ApplyFlags, ApplySettings, AptosAddress, AptosGetAddress, AptosMessagePayload, AptosMessageSignature, AptosSignMessage, AptosSignSIWAMessage, AptosSignTx, AptosSignedTx, AptosTransactionType, AuthorizeCoinJoin, BIP32Address, BackupDevice, BackupType, BatchGetPublickeys, BenfenAddress, BenfenGetAddress, BenfenMessageSignature, BenfenSignMessage, BenfenSignTx, BenfenSignedTx, BenfenTxAck, BenfenTxRequest, BinanceAddress, BinanceCancelMsg, BinanceCoin, BinanceGetAddress, BinanceGetPublicKey, BinanceInputOutput, BinanceOrderMsg, BinanceOrderSide, BinanceOrderType, BinancePublicKey, BinanceSignTx, BinanceSignedTx, BinanceTimeInForce, BinanceTransferMsg, BinanceTxRequest, BixinBackupAck, BixinBackupDevice, BixinBackupDeviceAck, BixinBackupRequest, BixinLoadDevice, BixinMessageSE, BixinOutMessageSE, BixinPinInputOnDevice, BixinRestoreAck, BixinRestoreRequest, BixinSeedOperate, BixinVerifyDeviceAck, BixinVerifyDeviceRequest, BixinWhiteListAck, BixinWhiteListRequest, BlurRequest, ButtonAck, ButtonRequest, ButtonRequestType, Cancel, CancelAuthorization, Capability, CardanoAddress, CardanoAddressParametersType, CardanoAddressType, CardanoAssetGroup, CardanoBlockchainPointerType, CardanoCVoteRegistrationDelegation, CardanoCVoteRegistrationFormat, CardanoCVoteRegistrationParametersType, CardanoCertificateType, CardanoDRep, CardanoDRepType, CardanoDerivationType, CardanoGetAddress, CardanoGetNativeScriptHash, CardanoGetPublicKey, CardanoMessageSignature, CardanoNativeScript, CardanoNativeScriptHash, CardanoNativeScriptHashDisplayFormat, CardanoNativeScriptType, CardanoPoolMetadataType, CardanoPoolOwner, CardanoPoolParametersType, CardanoPoolRelayParameters, CardanoPoolRelayType, CardanoPublicKey, CardanoSignMessage, CardanoSignTxFinished, CardanoSignTxInit, CardanoToken, CardanoTxAuxiliaryData, CardanoTxAuxiliaryDataSupplement, CardanoTxAuxiliaryDataSupplementType, CardanoTxBodyHash, CardanoTxCertificate, CardanoTxCollateralInput, CardanoTxHostAck, CardanoTxInlineDatumChunk, CardanoTxInput, CardanoTxItemAck, CardanoTxMint, CardanoTxOutput, CardanoTxOutputSerializationFormat, CardanoTxReferenceInput, CardanoTxReferenceScriptChunk, CardanoTxRequiredSigner, CardanoTxSigningMode, CardanoTxWithdrawal, CardanoTxWitnessRequest, CardanoTxWitnessResponse, CardanoTxWitnessType, ChangeOutputScriptType, ChangePin, ChangeWipeCode, CipherKeyValue, CipheredKeyValue, CoinJoinRequest, CoinPurchaseMemo, CommandFlags, ConfluxAddress, ConfluxGetAddress, ConfluxMessageSignature, ConfluxSignMessage, ConfluxSignMessageCIP23, ConfluxSignTx, ConfluxTxAck, ConfluxTxRequest, CosmosAddress, CosmosGetAddress, CosmosSignTx, CosmosSignedTx, DecredStakingSpendType, Deprecated_PassphraseStateAck, Deprecated_PassphraseStateRequest, DeviceBackToBoot, DeviceCertificate, DeviceCertificateRead, DeviceCertificateSign, DeviceCertificateSignature, DeviceCertificateWrite, DeviceCoprocessorInfo, DeviceEraseSector, DeviceErrorCode, DeviceFactoryAck, DeviceFactoryInfo, DeviceFactoryInfoGet, DeviceFactoryInfoManufactureTime, DeviceFactoryInfoSet, DeviceFactoryPermanentLock, DeviceFactoryTest, DeviceFindMyTokenState, DeviceFindMyTokenStateGet, DeviceFindMyTokenUpdate, DeviceFirmwareImageInfo, DeviceFirmwareTarget, DeviceFirmwareTargetType, DeviceFirmwareUpdatePhase, DeviceFirmwareUpdatePhaseInfo, DeviceFirmwareUpdateRecord, DeviceFirmwareUpdateRecordFields, DeviceFirmwareUpdateRequest, DeviceFirmwareUpdateStage, DeviceFirmwareUpdateStatus, DeviceFirmwareUpdateStatusGet, DeviceFirmwareUpdateTaskStatus, DeviceHardwareInfo, DeviceInfo, DeviceInfoGet, DeviceInfoSettings, DeviceInfoTargets, DeviceInfoTypes, DeviceMainMcuInfo, DeviceMiscUsbMscControl, DeviceReboot, DeviceRebootType, DeviceSEInfo, DeviceSEState, DeviceSeType, DeviceSession, DeviceSessionAskPassphrase, DeviceSessionAskPin, DeviceSessionAskPin_FailureSubCodes, DeviceSessionErrorCode, DeviceSessionGet, DeviceSessionPinType, DeviceSessionSeedDomain, DeviceSettings, DeviceSettingsGet, DeviceSettingsPage, DeviceSettingsPageShow, DeviceSettingsSet, DeviceStatus, DeviceStatusGet, DeviceType, DnxAddress, DnxComputedKeyImage, DnxGetAddress, DnxInputAck, DnxInputRequest, DnxRTSigsRequest, DnxSignTx, DnxSignedTx, DnxTxKey, DoPreauthorized, ECDHSessionKey, EcdsaPublicKeys, EmmcDir, EmmcDirList, EmmcDirMake, EmmcDirRemove, EmmcFile, EmmcFileDelete, EmmcFileRead, EmmcFileWrite, EmmcFixPermission, EmmcPath, EmmcPathInfo, EndSession, Entropy, EntropyAck, EntropyRequest, Enum_BackupType, Enum_ButtonRequestType, Enum_Capability, Enum_InputScriptType, Enum_KaspaInputScriptType, Enum_KaspaOutputScriptType, Enum_KaspaRequestType, Enum_OutputScriptType, Enum_PinMatrixRequestType, Enum_ProtocolV2Capability, Enum_RequestType, Enum_SafetyCheckLevel, Enum_WordRequestType, EosActionBuyRam, EosActionBuyRamBytes, EosActionCommon, EosActionDelegate, EosActionDeleteAuth, EosActionLinkAuth, EosActionNewAccount, EosActionRefund, EosActionSellRam, EosActionTransfer, EosActionUndelegate, EosActionUnknown, EosActionUnlinkAuth, EosActionUpdateAuth, EosActionVoteProducer, EosAsset, EosAuthorization, EosAuthorizationAccount, EosAuthorizationKey, EosAuthorizationWait, EosGetPublicKey, EosPermissionLevel, EosPublicKey, EosSignTx, EosSignedTx, EosTxActionAck, EosTxActionRequest, EosTxHeader, EthereumAccessList, EthereumAccessListOneKey, EthereumAddress, EthereumAddressOneKey, EthereumAuthorizationOneKey, EthereumAuthorizationSignature, EthereumDataType, EthereumDataTypeOneKey, EthereumDefinitionType, EthereumDefinitions, EthereumFieldType, EthereumFieldTypeOneKey, EthereumGetAddress, EthereumGetAddressOneKey, EthereumGetPublicKey, EthereumGetPublicKeyOneKey, EthereumGnosisSafeTxAck, EthereumGnosisSafeTxOperation, EthereumGnosisSafeTxRequest, EthereumMessageSignature, EthereumMessageSignatureOneKey, EthereumNetworkInfo, EthereumPublicKey, EthereumPublicKeyOneKey, EthereumSignMessage, EthereumSignMessageEIP712, EthereumSignMessageOneKey, EthereumSignTx, EthereumSignTxEIP1559, EthereumSignTxEIP1559OneKey, EthereumSignTxEIP7702OneKey, EthereumSignTxOneKey, EthereumSignTypedData, EthereumSignTypedDataOneKey, EthereumSignTypedDataQR, EthereumSignTypedHash, EthereumSignTypedHashOneKey, EthereumStructMember, EthereumStructMemberOneKey, EthereumTokenInfo, EthereumTxAck, EthereumTxAckOneKey, EthereumTxRequest, EthereumTxRequestOneKey, EthereumTypedDataSignature, EthereumTypedDataSignatureOneKey, EthereumTypedDataStructAck, EthereumTypedDataStructAckOneKey, EthereumTypedDataStructRequest, EthereumTypedDataStructRequestOneKey, EthereumTypedDataValueAck, EthereumTypedDataValueAckOneKey, EthereumTypedDataValueRequest, EthereumTypedDataValueRequestOneKey, EthereumVerifyMessage, EthereumVerifyMessageOneKey, ExportType, Failure, FailureType, Features, FileInfo, FileInfoList, FilecoinAddress, FilecoinGetAddress, FilecoinSignTx, FilecoinSignedTx, FilesystemDir, FilesystemDirList, FilesystemDirMake, FilesystemDirRemove, FilesystemFile, FilesystemFileDelete, FilesystemFileRead, FilesystemFileWrite, FilesystemFormat, FilesystemPathInfo, FilesystemPathInfoQuery, FilesystemPermissionFix, FirmwareErase, FirmwareErase_ex, FirmwareHash, FirmwareRequest, FirmwareUpdateEmmc, FirmwareUpload, GetAddress, GetDeviceInfo, GetECDHSessionKey, GetEntropy, GetFeatures, GetFirmwareHash, GetNextU2FCounter, GetNonce, GetOwnershipId, GetOwnershipProof, GetPassphraseState, GetPublicKey, GetPublicKeyMultiple, HDNodePathType, HDNodeType, IdentityType, Initialize, InputScriptType, InternalInputScriptType, InternalMyAddressRequest, KaspaAddress, KaspaGetAddress, KaspaInputScriptType, KaspaOutpoint, KaspaOutputScriptType, KaspaRequestType, KaspaSignTx, KaspaSignedTx, KaspaTxAckInput, KaspaTxAckOutput, KaspaTxAckPayloadChunk, KaspaTxAckPrevInput, KaspaTxAckPrevMeta, KaspaTxAckPrevOutput, KaspaTxInputAck, KaspaTxInputRequest, KaspaTxRequest, KaspaTxRequestSignature, ListResDir, LnurlAuth, LnurlAuthResp, LockDevice, LogBlockCommand, LowLevelDevice, LowlevelTransportSharedPlugin, MessageFromOneKey, MessageKey, MessageResponse, MessageResponseMap, MessageSignature, MessageType, messages as Messages, MoneroAccountPublicAddress, MoneroAddress, MoneroExportedKeyImage, MoneroGetAddress, MoneroGetTxKeyAck, MoneroGetTxKeyRequest, MoneroGetWatchKey, MoneroKeyImageExportInitAck, MoneroKeyImageExportInitRequest, MoneroKeyImageSyncFinalAck, MoneroKeyImageSyncFinalRequest, MoneroKeyImageSyncStepAck, MoneroKeyImageSyncStepRequest, MoneroLiveRefreshFinalAck, MoneroLiveRefreshFinalRequest, MoneroLiveRefreshStartAck, MoneroLiveRefreshStartRequest, MoneroLiveRefreshStepAck, MoneroLiveRefreshStepRequest, MoneroMultisigKLRki, MoneroNetworkType, MoneroOutputEntry, MoneroRctKeyPublic, MoneroRingCtSig, MoneroSubAddressIndicesList, MoneroTransactionAllInputsSetAck, MoneroTransactionAllInputsSetRequest, MoneroTransactionAllOutSetAck, MoneroTransactionAllOutSetRequest, MoneroTransactionData, MoneroTransactionDestinationEntry, MoneroTransactionFinalAck, MoneroTransactionFinalRequest, MoneroTransactionInitAck, MoneroTransactionInitRequest, MoneroTransactionInputViniAck, MoneroTransactionInputViniRequest, MoneroTransactionInputsPermutationAck, MoneroTransactionInputsPermutationRequest, MoneroTransactionRsigData, MoneroTransactionSetInputAck, MoneroTransactionSetInputRequest, MoneroTransactionSetOutputAck, MoneroTransactionSetOutputRequest, MoneroTransactionSignInputAck, MoneroTransactionSignInputRequest, MoneroTransactionSourceEntry, MoneroTransferDetails, MoneroWatchKey, MultisigRedeemScriptType, NEMAddress, NEMAggregateModification, NEMCosignatoryModification, NEMDecryptMessage, NEMDecryptedMessage, NEMGetAddress, NEMImportanceTransfer, NEMImportanceTransferMode, NEMModificationType, NEMMosaic, NEMMosaicCreation, NEMMosaicDefinition, NEMMosaicLevy, NEMMosaicSupplyChange, NEMProvisionNamespace, NEMSignTx, NEMSignedTx, NEMSupplyChangeType, NEMTransactionCommon, NEMTransfer, NFTWriteData, NFTWriteInfo, NearAddress, NearGetAddress, NearSignTx, NearSignedTx, NeoAddress, NeoGetAddress, NeoSignTx, NeoSignedTx, NervosAddress, NervosGetAddress, NervosSignTx, NervosSignedTx, NervosTxAck, NervosTxRequest, NexaAddress, NexaGetAddress, NexaSignTx, NexaSignedTx, NexaTxInputAck, NexaTxInputRequest, NextU2FCounter, NftUpdate, Nonce, NostrDecryptMessage, NostrDecryptedMessage, NostrEncryptMessage, NostrEncryptedMessage, NostrGetPublicKey, NostrPublicKey, NostrSignEvent, NostrSignSchnorr, NostrSignedEvent, NostrSignedSchnorr, OnboardingPhase, OnboardingSetupKind, OnboardingSetupMethod, OnboardingSetupStatus, OnboardingStatus, OnboardingStatusGet, OnboardingStep, OneKeyDeviceCommType, OneKeyDeviceInfo, OneKeyDeviceInfoBase, OneKeyDeviceInfoWithSession, OneKeyDeviceType, OneKeyMobileDeviceInfo, OneKeySEState, OneKeySeType, OnekeyFeatures, OnekeyGetFeatures, OutputScriptType, OwnershipId, OwnershipProof, PROTOCOL_V1_CHUNK_PAYLOAD_SIZE, PROTOCOL_V1_ENVELOPE_HEADER_SIZE, PROTOCOL_V1_HEADER_BYTE, PROTOCOL_V1_MESSAGE_HEADER_SIZE, PROTOCOL_V1_REPORT_ID, PROTOCOL_V1_USB_PACKET_SIZE, PROTOCOL_V2_BLE_FILE_CHUNK_SIZE, PROTOCOL_V2_BLE_FILE_READ_CHUNK_SIZE, PROTOCOL_V2_BLE_FIRMWARE_FILE_CHUNK_SIZE, PROTOCOL_V2_BLE_FRAME_MAX_BYTES, PROTOCOL_V2_CHANNEL_BLE_UART, PROTOCOL_V2_CHANNEL_SOCKET, PROTOCOL_V2_CHANNEL_USB, PROTOCOL_V2_DEFAULT_RESPONSE_TIMEOUT_MS, PROTOCOL_V2_FILE_CHUNK_SIZE, PROTOCOL_V2_FRAME_MAX_BYTES, PROTOCOL_V2_PACKET_SRC_COMMAND, PROTOCOL_V2_SYS_MESSAGE_THRESHOLD, PROTOCOL_V2_WEBUSB_FILE_CHUNK_SIZE, PassphraseAck, PassphraseRequest, PassphraseState, Path, PaymentRequestMemo, PinMatrixAck, PinMatrixRequest, PinMatrixRequestType, Ping, PolkadotAddress, PolkadotGetAddress, PolkadotSignTx, PolkadotSignedTx, PortfolioUpdate, PreauthorizedRequest, PrevInput, PrevOutput, PrevTx, ProtocolInfo, ProtocolInfoRequest, ProtocolType, ProtocolV1, ProtocolV2, ProtocolV2BleFrameWriterOptions, ProtocolV2CallContext, ProtocolV2CallOptions, ProtocolV2Capability, ProtocolV2DeviceInfo, ProtocolV2FailureType, ProtocolV2FrameAssembler, ProtocolV2LinkAdapter, ProtocolV2LinkDisabledError, ProtocolV2LinkError, ProtocolV2LinkErrorClassification, ProtocolV2LinkErrorCode, ProtocolV2LinkManager, ProtocolV2LinkManagerOptions, ProtocolV2Schemas, ProtocolV2SequenceCursor, ProtocolV2Session, ProtocolV2SessionOptions, ProtocolV2UsbTransportBase, ProtocolV2UsbTransportBaseOptions, PublicKey, PublicKeyMultiple, ReadSEPublicCert, ReadSEPublicKey, Reboot, RebootToBoardloader, RebootToBootloader, RebootType, RecoveryDevice, RecoveryDeviceType, RefundMemo, RequestType, ResetDevice, ResourceAck, ResourceRequest, ResourceType, ResourceUpdate, ResourceUpload, RippleAddress, RippleGetAddress, RipplePayment, RippleSignTx, RippleSignedTx, SEMessageSignature, SEPublicCert, SEPublicKey, SESignMessage, SafetyCheckLevel, ScdoAddress, ScdoGetAddress, ScdoSignMessage, ScdoSignTx, ScdoSignedMessage, ScdoSignedTx, ScdoTxAck, SdProtect, SdProtectOperationType, SeedRequestType, SelfTest, SetBusy, SetU2FCounter, SignIdentity, SignMessage, SignPsbt, SignTx, SignedIdentity, SignedPsbt, SolanaAddress, SolanaGetAddress, SolanaMessageSignature, SolanaOffChainMessageFormat, SolanaOffChainMessageVersion, SolanaSignOffChainMessage, SolanaSignTx, SolanaSignUnsafeMessage, SolanaSignedTx, SolanaTxATADetails, SolanaTxExtraInfo, SpiFlashData, SpiFlashRead, SpiFlashWrite, StarcoinAddress, StarcoinGetAddress, StarcoinGetPublicKey, StarcoinMessageSignature, StarcoinPublicKey, StarcoinSignMessage, StarcoinSignTx, StarcoinSignedTx, StarcoinVerifyMessage, StellarAccountMergeOp, StellarAddress, StellarAllowTrustOp, StellarAsset, StellarAssetType, StellarBumpSequenceOp, StellarChangeTrustOp, StellarCreateAccountOp, StellarCreatePassiveSellOfferOp, StellarGetAddress, StellarInvokeHostFunctionOp, StellarManageBuyOfferOp, StellarManageDataOp, StellarManageSellOfferOp, StellarMemoType, StellarPathPaymentStrictReceiveOp, StellarPathPaymentStrictSendOp, StellarPaymentOp, StellarRequestType, StellarSetOptionsOp, StellarSignTx, StellarSignedTx, StellarSignerType, StellarSorobanDataAck, StellarSorobanDataRequest, StellarTxOpRequest, Success, SuiAddress, SuiGetAddress, SuiMessageSignature, SuiSignMessage, SuiSignTx, SuiSignedTx, SuiTxAck, SuiTxRequest, TRANSPORT_EVENT, TextMemo, TezosAddress, TezosBallotOp, TezosBallotType, TezosContractID, TezosContractType, TezosDelegationOp, TezosGetAddress, TezosGetPublicKey, TezosManagerTransfer, TezosOriginationOp, TezosParametersManager, TezosProposalOp, TezosPublicKey, TezosRevealOp, TezosSignTx, TezosSignedTx, TezosTransactionOp, TonAddress, TonGetAddress, TonSignData, TonSignDataType, TonSignMessage, TonSignProof, TonSignedData, TonSignedMessage, TonSignedProof, TonTxAck, TonWalletVersion, TonWorkChain, Transport, TransportCallOptions, TransportDeviceDisconnectEvent, TransportWriteMetrics, TronAddress, TronCancelAllUnfreezeV2Contract, TronContract, TronDelegateResourceContract, TronFreezeBalanceContract, TronFreezeBalanceV2Contract, TronGetAddress, TronMessageSignature, TronMessageType, TronResourceCode, TronSignMessage, TronSignTx, TronSignedTx, TronTransferContract, TronTriggerSmartContract, TronUnDelegateResourceContract, TronUnfreezeBalanceContract, TronUnfreezeBalanceV2Contract, TronVoteWitnessContract, TronWithdrawBalanceContract, TronWithdrawExpireUnfreezeContract, TxAck, TxAckInput, TxAckInputWrapper, TxAckOutput, TxAckOutputWrapper, TxAckPaymentRequest, TxAckPrevExtraData, TxAckPrevExtraDataWrapper, TxAckPrevInput, TxAckPrevInputWrapper, TxAckPrevMeta, TxAckPrevOutput, TxAckPrevOutputWrapper, TxAckResponse, TxInput, TxInputType, TxOutput, TxOutputBinType, TxOutputType, TxRequest, TxRequestDetailsType, TxRequestSerializedType, TypedCall, UiAnimationCommand, UiAnimationRequest, UiAnimationType, UintType, UnLockDevice, UnLockDeviceResponse, UnlockPath, UnlockedPathRequest, UpgradeFileHeader, VerifyMessage, ViewAmount, ViewDetail, ViewRawData, ViewSignLayout, ViewSignPage, ViewTip, ViewTipType, ViewVerifyPage, Vote, WL_OperationType, WipeDevice, WordAck, WordRequest, WordRequestType, WriteSEPrivateKey, WriteSEPublicCert, ZoomRequest, bytesToHex, concatUint8Arrays, createProtocolV2LinkDisabledError, createTransportCallLog, _default as default, detectProtocolV2LinkDisabledError, experimental_field, experimental_message, facotry, getErrorMessage, getSafeTransportLogPayload, hexToBytes, isProtocolV2HighThroughputCall, isProtocolV2LinkDisabledError, isProtocolV2LinkDisabledFailure, isProtocolV2LinkError, probeProtocolV2, index as protocolV1, protocolV2Codec as protocolV2, shouldSuppressHighVolumeCallLog, withProtocolTimeout, writeProtocolV2BleFrame };
7061
+ export { AcquireInput, Address, AlephiumAddress, AlephiumBytecodeAck, AlephiumBytecodeRequest, AlephiumGetAddress, AlephiumMessageSignature, AlephiumSignMessage, AlephiumSignTx, AlephiumSignedTx, AlephiumTxAck, AlephiumTxRequest, AlgorandAddress, AlgorandGetAddress, AlgorandSignTx, AlgorandSignedTx, AmountUnit, ApplyFlags, ApplySettings, AptosAddress, AptosGetAddress, AptosMessagePayload, AptosMessageSignature, AptosSignMessage, AptosSignSIWAMessage, AptosSignTx, AptosSignedTx, AptosTransactionType, AuthorizeCoinJoin, BIP32Address, BackupDevice, BackupType, BatchGetPublickeys, BenfenAddress, BenfenGetAddress, BenfenMessageSignature, BenfenSignMessage, BenfenSignTx, BenfenSignedTx, BenfenTxAck, BenfenTxRequest, BinanceAddress, BinanceCancelMsg, BinanceCoin, BinanceGetAddress, BinanceGetPublicKey, BinanceInputOutput, BinanceOrderMsg, BinanceOrderSide, BinanceOrderType, BinancePublicKey, BinanceSignTx, BinanceSignedTx, BinanceTimeInForce, BinanceTransferMsg, BinanceTxRequest, BixinBackupAck, BixinBackupDevice, BixinBackupDeviceAck, BixinBackupRequest, BixinLoadDevice, BixinMessageSE, BixinOutMessageSE, BixinPinInputOnDevice, BixinRestoreAck, BixinRestoreRequest, BixinSeedOperate, BixinVerifyDeviceAck, BixinVerifyDeviceRequest, BixinWhiteListAck, BixinWhiteListRequest, BlurRequest, ButtonAck, ButtonRequest, ButtonRequestType, Cancel, CancelAuthorization, Capability, CardanoAddress, CardanoAddressParametersType, CardanoAddressType, CardanoAssetGroup, CardanoBlockchainPointerType, CardanoCVoteRegistrationDelegation, CardanoCVoteRegistrationFormat, CardanoCVoteRegistrationParametersType, CardanoCertificateType, CardanoDRep, CardanoDRepType, CardanoDerivationType, CardanoGetAddress, CardanoGetNativeScriptHash, CardanoGetPublicKey, CardanoMessageSignature, CardanoNativeScript, CardanoNativeScriptHash, CardanoNativeScriptHashDisplayFormat, CardanoNativeScriptType, CardanoPoolMetadataType, CardanoPoolOwner, CardanoPoolParametersType, CardanoPoolRelayParameters, CardanoPoolRelayType, CardanoPublicKey, CardanoSignMessage, CardanoSignTxFinished, CardanoSignTxInit, CardanoToken, CardanoTxAuxiliaryData, CardanoTxAuxiliaryDataSupplement, CardanoTxAuxiliaryDataSupplementType, CardanoTxBodyHash, CardanoTxCertificate, CardanoTxCollateralInput, CardanoTxHostAck, CardanoTxInlineDatumChunk, CardanoTxInput, CardanoTxItemAck, CardanoTxMint, CardanoTxOutput, CardanoTxOutputSerializationFormat, CardanoTxReferenceInput, CardanoTxReferenceScriptChunk, CardanoTxRequiredSigner, CardanoTxSigningMode, CardanoTxWithdrawal, CardanoTxWitnessRequest, CardanoTxWitnessResponse, CardanoTxWitnessType, ChangeOutputScriptType, ChangePin, ChangeWipeCode, CipherKeyValue, CipheredKeyValue, CoinJoinRequest, CoinPurchaseMemo, CommandFlags, ConfluxAddress, ConfluxGetAddress, ConfluxMessageSignature, ConfluxSignMessage, ConfluxSignMessageCIP23, ConfluxSignTx, ConfluxTxAck, ConfluxTxRequest, CosmosAddress, CosmosGetAddress, CosmosSignTx, CosmosSignedTx, DecredStakingSpendType, Deprecated_PassphraseStateAck, Deprecated_PassphraseStateRequest, DeviceBackToBoot, DeviceCertificate, DeviceCertificateRead, DeviceCertificateSign, DeviceCertificateSignature, DeviceCertificateWrite, DeviceCoprocessorInfo, DeviceEraseSector, DeviceErrorCode, DeviceFactoryAck, DeviceFactoryInfo, DeviceFactoryInfoGet, DeviceFactoryInfoManufactureTime, DeviceFactoryInfoSet, DeviceFactoryPermanentLock, DeviceFactoryTest, DeviceFindMyTokenState, DeviceFindMyTokenStateGet, DeviceFindMyTokenUpdate, DeviceFirmwareImageInfo, DeviceFirmwareTarget, DeviceFirmwareTargetType, DeviceFirmwareUpdatePhase, DeviceFirmwareUpdatePhaseInfo, DeviceFirmwareUpdateRecord, DeviceFirmwareUpdateRecordFields, DeviceFirmwareUpdateRequest, DeviceFirmwareUpdateStage, DeviceFirmwareUpdateStatus, DeviceFirmwareUpdateStatusGet, DeviceFirmwareUpdateTaskStatus, DeviceHardwareInfo, DeviceInfo, DeviceInfoGet, DeviceInfoSettings, DeviceInfoTargets, DeviceInfoTypes, DeviceMainMcuInfo, DeviceMiscUsbMscControl, DeviceReboot, DeviceRebootType, DeviceSEInfo, DeviceSEState, DeviceSeType, DeviceSession, DeviceSessionAskPassphrase, DeviceSessionAskPin, DeviceSessionAskPin_FailureSubCodes, DeviceSessionErrorCode, DeviceSessionGet, DeviceSessionPinType, DeviceSessionSeedDomain, DeviceSettings, DeviceSettingsGet, DeviceSettingsPage, DeviceSettingsPageShow, DeviceSettingsSet, DeviceStatus, DeviceStatusGet, DeviceType, DnxAddress, DnxComputedKeyImage, DnxGetAddress, DnxInputAck, DnxInputRequest, DnxRTSigsRequest, DnxSignTx, DnxSignedTx, DnxTxKey, DoPreauthorized, ECDHSessionKey, EcdsaPublicKeys, EmmcDir, EmmcDirList, EmmcDirMake, EmmcDirRemove, EmmcFile, EmmcFileDelete, EmmcFileRead, EmmcFileWrite, EmmcFixPermission, EmmcPath, EmmcPathInfo, EndSession, Entropy, EntropyAck, EntropyRequest, Enum_BackupType, Enum_ButtonRequestType, Enum_Capability, Enum_InputScriptType, Enum_KaspaInputScriptType, Enum_KaspaOutputScriptType, Enum_KaspaRequestType, Enum_OutputScriptType, Enum_PinMatrixRequestType, Enum_ProtocolV2Capability, Enum_RequestType, Enum_SafetyCheckLevel, Enum_WordRequestType, EosActionBuyRam, EosActionBuyRamBytes, EosActionCommon, EosActionDelegate, EosActionDeleteAuth, EosActionLinkAuth, EosActionNewAccount, EosActionRefund, EosActionSellRam, EosActionTransfer, EosActionUndelegate, EosActionUnknown, EosActionUnlinkAuth, EosActionUpdateAuth, EosActionVoteProducer, EosAsset, EosAuthorization, EosAuthorizationAccount, EosAuthorizationKey, EosAuthorizationWait, EosGetPublicKey, EosPermissionLevel, EosPublicKey, EosSignTx, EosSignedTx, EosTxActionAck, EosTxActionRequest, EosTxHeader, EthereumAccessList, EthereumAccessListOneKey, EthereumAddress, EthereumAddressOneKey, EthereumAuthorizationOneKey, EthereumAuthorizationSignature, EthereumDataType, EthereumDataTypeOneKey, EthereumDefinitionType, EthereumDefinitions, EthereumFieldType, EthereumFieldTypeOneKey, EthereumGetAddress, EthereumGetAddressOneKey, EthereumGetPublicKey, EthereumGetPublicKeyOneKey, EthereumGnosisSafeTxAck, EthereumGnosisSafeTxOperation, EthereumGnosisSafeTxRequest, EthereumMessageSignature, EthereumMessageSignatureOneKey, EthereumNetworkInfo, EthereumPublicKey, EthereumPublicKeyOneKey, EthereumSignMessage, EthereumSignMessageEIP712, EthereumSignMessageOneKey, EthereumSignTx, EthereumSignTxEIP1559, EthereumSignTxEIP1559OneKey, EthereumSignTxEIP7702OneKey, EthereumSignTxOneKey, EthereumSignTypedData, EthereumSignTypedDataOneKey, EthereumSignTypedDataQR, EthereumSignTypedHash, EthereumSignTypedHashOneKey, EthereumStructMember, EthereumStructMemberOneKey, EthereumTokenInfo, EthereumTxAck, EthereumTxAckOneKey, EthereumTxRequest, EthereumTxRequestOneKey, EthereumTypedDataSignature, EthereumTypedDataSignatureOneKey, EthereumTypedDataStructAck, EthereumTypedDataStructAckOneKey, EthereumTypedDataStructRequest, EthereumTypedDataStructRequestOneKey, EthereumTypedDataValueAck, EthereumTypedDataValueAckOneKey, EthereumTypedDataValueRequest, EthereumTypedDataValueRequestOneKey, EthereumVerifyMessage, EthereumVerifyMessageOneKey, ExportType, Failure, FailureType, Features, FileInfo, FileInfoList, FilecoinAddress, FilecoinGetAddress, FilecoinSignTx, FilecoinSignedTx, FilesystemDir, FilesystemDirList, FilesystemDirMake, FilesystemDirRemove, FilesystemFile, FilesystemFileDelete, FilesystemFileRead, FilesystemFileWrite, FilesystemFormat, FilesystemPathInfo, FilesystemPathInfoQuery, FilesystemPermissionFix, FirmwareErase, FirmwareErase_ex, FirmwareHash, FirmwareRequest, FirmwareUpdateEmmc, FirmwareUpload, GetAddress, GetDeviceInfo, GetECDHSessionKey, GetEntropy, GetFeatures, GetFirmwareHash, GetNextU2FCounter, GetNonce, GetOwnershipId, GetOwnershipProof, GetPassphraseState, GetPublicKey, GetPublicKeyMultiple, HDNodePathType, HDNodeType, IdentityType, Initialize, InputScriptType, InternalInputScriptType, InternalMyAddressRequest, KaspaAddress, KaspaGetAddress, KaspaInputScriptType, KaspaOutpoint, KaspaOutputScriptType, KaspaRequestType, KaspaSignTx, KaspaSignedTx, KaspaTxAckInput, KaspaTxAckOutput, KaspaTxAckPayloadChunk, KaspaTxAckPrevInput, KaspaTxAckPrevMeta, KaspaTxAckPrevOutput, KaspaTxInputAck, KaspaTxInputRequest, KaspaTxRequest, KaspaTxRequestSignature, ListResDir, LnurlAuth, LnurlAuthResp, LockDevice, LogBlockCommand, LowLevelDevice, LowlevelTransportSharedPlugin, MessageFromOneKey, MessageKey, MessageResponse, MessageResponseMap, MessageSignature, MessageType, messages as Messages, MoneroAccountPublicAddress, MoneroAddress, MoneroExportedKeyImage, MoneroGetAddress, MoneroGetTxKeyAck, MoneroGetTxKeyRequest, MoneroGetWatchKey, MoneroKeyImageExportInitAck, MoneroKeyImageExportInitRequest, MoneroKeyImageSyncFinalAck, MoneroKeyImageSyncFinalRequest, MoneroKeyImageSyncStepAck, MoneroKeyImageSyncStepRequest, MoneroLiveRefreshFinalAck, MoneroLiveRefreshFinalRequest, MoneroLiveRefreshStartAck, MoneroLiveRefreshStartRequest, MoneroLiveRefreshStepAck, MoneroLiveRefreshStepRequest, MoneroMultisigKLRki, MoneroNetworkType, MoneroOutputEntry, MoneroRctKeyPublic, MoneroRingCtSig, MoneroSubAddressIndicesList, MoneroTransactionAllInputsSetAck, MoneroTransactionAllInputsSetRequest, MoneroTransactionAllOutSetAck, MoneroTransactionAllOutSetRequest, MoneroTransactionData, MoneroTransactionDestinationEntry, MoneroTransactionFinalAck, MoneroTransactionFinalRequest, MoneroTransactionInitAck, MoneroTransactionInitRequest, MoneroTransactionInputViniAck, MoneroTransactionInputViniRequest, MoneroTransactionInputsPermutationAck, MoneroTransactionInputsPermutationRequest, MoneroTransactionRsigData, MoneroTransactionSetInputAck, MoneroTransactionSetInputRequest, MoneroTransactionSetOutputAck, MoneroTransactionSetOutputRequest, MoneroTransactionSignInputAck, MoneroTransactionSignInputRequest, MoneroTransactionSourceEntry, MoneroTransferDetails, MoneroWatchKey, MultisigRedeemScriptType, NEMAddress, NEMAggregateModification, NEMCosignatoryModification, NEMDecryptMessage, NEMDecryptedMessage, NEMGetAddress, NEMImportanceTransfer, NEMImportanceTransferMode, NEMModificationType, NEMMosaic, NEMMosaicCreation, NEMMosaicDefinition, NEMMosaicLevy, NEMMosaicSupplyChange, NEMProvisionNamespace, NEMSignTx, NEMSignedTx, NEMSupplyChangeType, NEMTransactionCommon, NEMTransfer, NFTWriteData, NFTWriteInfo, NearAddress, NearGetAddress, NearSignTx, NearSignedTx, NeoAddress, NeoGetAddress, NeoSignTx, NeoSignedTx, NervosAddress, NervosGetAddress, NervosSignTx, NervosSignedTx, NervosTxAck, NervosTxRequest, NexaAddress, NexaGetAddress, NexaSignTx, NexaSignedTx, NexaTxInputAck, NexaTxInputRequest, NextU2FCounter, NftUpdate, Nonce, NostrDecryptMessage, NostrDecryptedMessage, NostrEncryptMessage, NostrEncryptedMessage, NostrGetPublicKey, NostrPublicKey, NostrSignEvent, NostrSignSchnorr, NostrSignedEvent, NostrSignedSchnorr, OnboardingPhase, OnboardingSetupKind, OnboardingSetupMethod, OnboardingSetupStatus, OnboardingStatus, OnboardingStatusGet, OnboardingStep, OneKeyDeviceCommType, OneKeyDeviceInfo, OneKeyDeviceInfoBase, OneKeyDeviceInfoWithSession, OneKeyDeviceType, OneKeyMobileDeviceInfo, OneKeySEState, OneKeySeType, OnekeyFeatures, OnekeyGetFeatures, OutputScriptType, OwnershipId, OwnershipProof, PROTOCOL_V1_CHUNK_PAYLOAD_SIZE, PROTOCOL_V1_ENVELOPE_HEADER_SIZE, PROTOCOL_V1_HEADER_BYTE, PROTOCOL_V1_MESSAGE_HEADER_SIZE, PROTOCOL_V1_REPORT_ID, PROTOCOL_V1_USB_PACKET_SIZE, PROTOCOL_V2_BLE_FILE_CHUNK_SIZE, PROTOCOL_V2_BLE_FILE_READ_CHUNK_SIZE, PROTOCOL_V2_BLE_FIRMWARE_FILE_CHUNK_SIZE, PROTOCOL_V2_BLE_FRAME_MAX_BYTES, PROTOCOL_V2_CHANNEL_BLE_UART, PROTOCOL_V2_CHANNEL_SOCKET, PROTOCOL_V2_CHANNEL_USB, PROTOCOL_V2_DEFAULT_RESPONSE_TIMEOUT_MS, PROTOCOL_V2_FILE_CHUNK_SIZE, PROTOCOL_V2_FRAME_MAX_BYTES, PROTOCOL_V2_PACKET_SRC_COMMAND, PROTOCOL_V2_SYS_MESSAGE_THRESHOLD, PROTOCOL_V2_WEBUSB_FILE_CHUNK_SIZE, PassphraseAck, PassphraseRequest, PassphraseState, Path, PaymentRequestMemo, PinMatrixAck, PinMatrixRequest, PinMatrixRequestType, Ping, PolkadotAddress, PolkadotGetAddress, PolkadotSignTx, PolkadotSignedTx, PortfolioUpdate, PreauthorizedRequest, PrevInput, PrevOutput, PrevTx, ProtocolInfo, ProtocolInfoRequest, ProtocolType, ProtocolV1, ProtocolV2, ProtocolV2BleFrameWriterOptions, ProtocolV2CallContext, ProtocolV2CallOptions, ProtocolV2Capability, ProtocolV2DeviceInfo, ProtocolV2FailureType, ProtocolV2FrameAssembler, ProtocolV2LinkAdapter, ProtocolV2LinkDisabledError, ProtocolV2LinkError, ProtocolV2LinkErrorClassification, ProtocolV2LinkErrorCode, ProtocolV2LinkManager, ProtocolV2LinkManagerOptions, ProtocolV2Schemas, ProtocolV2SequenceCursor, ProtocolV2Session, ProtocolV2SessionOptions, ProtocolV2UsbTransportBase, ProtocolV2UsbTransportBaseOptions, PublicKey, PublicKeyMultiple, ReadSEPublicCert, ReadSEPublicKey, Reboot, RebootToBoardloader, RebootToBootloader, RebootType, RecoveryDevice, RecoveryDeviceType, RefundMemo, RequestType, ResetDevice, ResourceAck, ResourceRequest, ResourceType, ResourceUpdate, ResourceUpload, RippleAddress, RippleGetAddress, RipplePayment, RippleSignTx, RippleSignedTx, SEMessageSignature, SEPublicCert, SEPublicKey, SESignMessage, SafetyCheckLevel, ScdoAddress, ScdoGetAddress, ScdoSignMessage, ScdoSignTx, ScdoSignedMessage, ScdoSignedTx, ScdoTxAck, SdProtect, SdProtectOperationType, SeedRequestType, SelfTest, SetBusy, SetU2FCounter, SignIdentity, SignMessage, SignPsbt, SignTx, SignedIdentity, SignedPsbt, SolanaAddress, SolanaGetAddress, SolanaMessageSignature, SolanaOffChainMessageFormat, SolanaOffChainMessageVersion, SolanaSignOffChainMessage, SolanaSignTx, SolanaSignUnsafeMessage, SolanaSignedTx, SolanaTxATADetails, SolanaTxExtraInfo, SpiFlashData, SpiFlashRead, SpiFlashWrite, StarcoinAddress, StarcoinGetAddress, StarcoinGetPublicKey, StarcoinMessageSignature, StarcoinPublicKey, StarcoinSignMessage, StarcoinSignTx, StarcoinSignedTx, StarcoinVerifyMessage, StellarAccountMergeOp, StellarAddress, StellarAllowTrustOp, StellarAsset, StellarAssetType, StellarBumpSequenceOp, StellarChangeTrustOp, StellarCreateAccountOp, StellarCreatePassiveSellOfferOp, StellarGetAddress, StellarInvokeHostFunctionOp, StellarManageBuyOfferOp, StellarManageDataOp, StellarManageSellOfferOp, StellarMemoType, StellarPathPaymentStrictReceiveOp, StellarPathPaymentStrictSendOp, StellarPaymentOp, StellarRequestType, StellarSetOptionsOp, StellarSignTx, StellarSignedTx, StellarSignerType, StellarSorobanDataAck, StellarSorobanDataRequest, StellarTxOpRequest, Success, SuiAddress, SuiGetAddress, SuiMessageSignature, SuiSignMessage, SuiSignTx, SuiSignedTx, SuiTxAck, SuiTxRequest, TRANSPORT_EVENT, TextMemo, TezosAddress, TezosBallotOp, TezosBallotType, TezosContractID, TezosContractType, TezosDelegationOp, TezosGetAddress, TezosGetPublicKey, TezosManagerTransfer, TezosOriginationOp, TezosParametersManager, TezosProposalOp, TezosPublicKey, TezosRevealOp, TezosSignTx, TezosSignedTx, TezosTransactionOp, TonAddress, TonGetAddress, TonSignData, TonSignDataType, TonSignMessage, TonSignProof, TonSignedData, TonSignedMessage, TonSignedProof, TonTxAck, TonWalletVersion, TonWorkChain, Transport, TransportCallOptions, TransportDeviceDisconnectEvent, TransportWriteMetrics, TronAddress, TronCancelAllUnfreezeV2Contract, TronContract, TronDelegateResourceContract, TronFreezeBalanceContract, TronFreezeBalanceV2Contract, TronGetAddress, TronMessageSignature, TronMessageType, TronResourceCode, TronSignMessage, TronSignTx, TronSignedTx, TronTransferContract, TronTriggerSmartContract, TronUnDelegateResourceContract, TronUnfreezeBalanceContract, TronUnfreezeBalanceV2Contract, TronVoteWitnessContract, TronWithdrawBalanceContract, TronWithdrawExpireUnfreezeContract, TxAck, TxAckInput, TxAckInputWrapper, TxAckOutput, TxAckOutputWrapper, TxAckPaymentRequest, TxAckPrevExtraData, TxAckPrevExtraDataWrapper, TxAckPrevInput, TxAckPrevInputWrapper, TxAckPrevMeta, TxAckPrevOutput, TxAckPrevOutputWrapper, TxAckResponse, TxInput, TxInputType, TxOutput, TxOutputBinType, TxOutputType, TxRequest, TxRequestDetailsType, TxRequestSerializedType, TypedCall, UiAnimationCommand, UiAnimationRequest, UiAnimationType, UintType, UnLockDevice, UnLockDeviceResponse, UnlockPath, UnlockedPathRequest, UpgradeFileHeader, VerifyMessage, ViewActionCard, ViewAmount, ViewContentEntry, ViewContentPage, ViewContentPreview, ViewCustomField, ViewDetail, ViewSignLayout, ViewSignPage, ViewTip, ViewTipType, ViewVerifyPage, ViewWarningPage, Vote, WL_OperationType, WipeDevice, WordAck, WordRequest, WordRequestType, WriteSEPrivateKey, WriteSEPublicCert, ZoomRequest, bytesToHex, concatUint8Arrays, createProtocolV2LinkDisabledError, createTransportCallLog, _default as default, detectProtocolV2LinkDisabledError, experimental_field, experimental_message, facotry, getErrorMessage, getSafeTransportLogPayload, hexToBytes, isProtocolV2HighThroughputCall, isProtocolV2LinkDisabledError, isProtocolV2LinkDisabledFailure, isProtocolV2LinkError, probeProtocolV2, index as protocolV1, protocolV2Codec as protocolV2, shouldSuppressHighVolumeCallLog, withProtocolTimeout, writeProtocolV2BleFrame };
@@ -3420,8 +3420,6 @@ export declare enum CommandFlags {
3420
3420
  Default = 0,
3421
3421
  Factory_Only = 1
3422
3422
  }
3423
- export type experimental_message = {};
3424
- export type experimental_field = {};
3425
3423
  export type TextMemo = {
3426
3424
  text: string;
3427
3425
  };
@@ -3498,6 +3496,8 @@ export type UiAnimationRequest = {
3498
3496
  command: UiAnimationCommand;
3499
3497
  type?: UiAnimationType;
3500
3498
  };
3499
+ export type experimental_message = {};
3500
+ export type experimental_field = {};
3501
3501
  export type ProtocolInfoRequest = {
3502
3502
  eventless_wallet_session?: boolean;
3503
3503
  };
@@ -3770,7 +3770,6 @@ export declare enum DeviceSessionSeedDomain {
3770
3770
  export type DeviceSessionGet = {
3771
3771
  session_id?: string;
3772
3772
  btc_test_address?: string;
3773
- seed_domains: DeviceSessionSeedDomain[];
3774
3773
  };
3775
3774
  export type DeviceSession = {
3776
3775
  session_id?: string;
@@ -3787,6 +3786,7 @@ export type DeviceSessionAskPin = {
3787
3786
  export type DeviceSessionAskPassphrase = {
3788
3787
  passphrase?: string;
3789
3788
  on_device: boolean;
3789
+ seed_domains: DeviceSessionSeedDomain[];
3790
3790
  };
3791
3791
  export declare enum DeviceSessionAskPin_FailureSubCodes {
3792
3792
  UserCancel = 1
@@ -3928,6 +3928,10 @@ export type ViewDetail = {
3928
3928
  is_overview: boolean;
3929
3929
  has_icon: boolean;
3930
3930
  };
3931
+ export type ViewCustomField = {
3932
+ key: string;
3933
+ value: string;
3934
+ };
3931
3935
  export declare enum ViewTipType {
3932
3936
  Default = 0,
3933
3937
  Highlight = 1,
@@ -3941,9 +3945,23 @@ export type ViewTip = {
3941
3945
  text_id?: number;
3942
3946
  text_arg?: string;
3943
3947
  };
3944
- export type ViewRawData = {
3948
+ export type ViewActionCard = {
3945
3949
  initial_data: string;
3946
- placeholder: number;
3950
+ };
3951
+ export type ViewContentPreview = {
3952
+ content_key: number;
3953
+ preview: string;
3954
+ total_bytes?: number;
3955
+ };
3956
+ export type ViewContentEntry = {
3957
+ entry_key: number;
3958
+ value: string;
3959
+ };
3960
+ export type ViewContentPage = {
3961
+ page_index: number;
3962
+ page_count: number;
3963
+ chunk?: string;
3964
+ entry?: ViewContentEntry;
3947
3965
  };
3948
3966
  export declare enum ViewSignLayout {
3949
3967
  LayoutDefault = 0,
@@ -3958,11 +3976,19 @@ export type ViewSignPage = {
3958
3976
  amount?: UintType;
3959
3977
  general: ViewDetail[];
3960
3978
  tip?: ViewTip;
3961
- raw_data?: ViewRawData;
3979
+ action_card?: ViewActionCard;
3962
3980
  slide_to_confirm?: boolean;
3963
3981
  layout?: ViewSignLayout;
3964
3982
  title_id?: number;
3965
3983
  title_arg?: string;
3984
+ content?: ViewContentPreview;
3985
+ custom_field?: ViewCustomField;
3986
+ };
3987
+ export type ViewWarningPage = {
3988
+ title_id: number;
3989
+ text_id: number;
3990
+ text_arg?: string;
3991
+ cancellable?: boolean;
3966
3992
  };
3967
3993
  export type ViewVerifyPage = {
3968
3994
  title?: string;
@@ -3973,6 +3999,7 @@ export type ViewVerifyPage = {
3973
3999
  value_key?: number;
3974
4000
  title_id?: number;
3975
4001
  chain_id?: number;
4002
+ content?: ViewContentPreview;
3976
4003
  };
3977
4004
  export declare enum ProtocolV2FailureType {
3978
4005
  Failure_InvalidMessage = 1,
@@ -4568,8 +4595,6 @@ export type MessageType = {
4568
4595
  TronSignMessage: TronSignMessage;
4569
4596
  TronMessageSignature: TronMessageSignature;
4570
4597
  facotry: facotry;
4571
- experimental_message: experimental_message;
4572
- experimental_field: experimental_field;
4573
4598
  TextMemo: TextMemo;
4574
4599
  RefundMemo: RefundMemo;
4575
4600
  CoinPurchaseMemo: CoinPurchaseMemo;
@@ -4585,6 +4610,8 @@ export type MessageType = {
4585
4610
  UnlockPath: UnlockPath;
4586
4611
  UnlockedPathRequest: UnlockedPathRequest;
4587
4612
  UiAnimationRequest: UiAnimationRequest;
4613
+ experimental_message: experimental_message;
4614
+ experimental_field: experimental_field;
4588
4615
  ProtocolInfoRequest: ProtocolInfoRequest;
4589
4616
  ProtocolInfo: ProtocolInfo;
4590
4617
  DeviceReboot: DeviceReboot;
@@ -4649,9 +4676,14 @@ export type MessageType = {
4649
4676
  PortfolioUpdate: PortfolioUpdate;
4650
4677
  ViewAmount: ViewAmount;
4651
4678
  ViewDetail: ViewDetail;
4679
+ ViewCustomField: ViewCustomField;
4652
4680
  ViewTip: ViewTip;
4653
- ViewRawData: ViewRawData;
4681
+ ViewActionCard: ViewActionCard;
4682
+ ViewContentPreview: ViewContentPreview;
4683
+ ViewContentEntry: ViewContentEntry;
4684
+ ViewContentPage: ViewContentPage;
4654
4685
  ViewSignPage: ViewSignPage;
4686
+ ViewWarningPage: ViewWarningPage;
4655
4687
  ViewVerifyPage: ViewVerifyPage;
4656
4688
  };
4657
4689
  export type MessageKey = keyof MessageType;