@onekeyfe/hd-transport 1.2.2-alpha.0 → 1.2.2-alpha.10

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,
@@ -176,9 +171,14 @@ describe('messages', () => {
176
171
  expect(v2Messages.nested).not.toHaveProperty('DeviceWalletSelect');
177
172
  expect(v2Messages.nested).not.toHaveProperty('DeviceWalletType');
178
173
  expect(v2Messages.nested).not.toHaveProperty('DeviceHiddenWalletSelect');
179
- expect(v2Messages.nested.DeviceSession.fields).toMatchObject({
174
+ expect(v2Messages.nested.DeviceSession.fields).toEqual({
180
175
  session_id: { id: 1, type: 'bytes' },
181
176
  btc_test_address: { id: 2, type: 'string' },
177
+ seed_domains: {
178
+ rule: 'repeated',
179
+ type: 'DeviceSessionSeedDomain',
180
+ id: 3,
181
+ },
182
182
  });
183
183
  expect(v2Messages.nested.DeviceSessionAskPin.fields.type).toMatchObject({
184
184
  id: 1,
@@ -195,6 +195,11 @@ describe('messages', () => {
195
195
  type: 'bool',
196
196
  id: 2,
197
197
  },
198
+ seed_domains: {
199
+ rule: 'repeated',
200
+ type: 'DeviceSessionSeedDomain',
201
+ id: 3,
202
+ },
198
203
  },
199
204
  });
200
205
  expect(v2Messages.nested.DeviceSessionAskPin_FailureSubCodes.values).toEqual({
@@ -212,38 +217,77 @@ describe('messages', () => {
212
217
  const messages = parseConfigure(v2Messages);
213
218
  const { Message } = createMessageFromName(messages, 'DeviceSessionAskPassphrase');
214
219
 
215
- const standardWallet = encode(Message, { passphrase: '', on_device: false });
220
+ const standardWallet = encode(Message, {
221
+ passphrase: '',
222
+ on_device: false,
223
+ seed_domains: [],
224
+ });
216
225
  const onHost = Message.encode(
217
- Message.create({ passphrase: 'host hidden wallet', on_device: false })
226
+ Message.create({
227
+ passphrase: 'host hidden wallet',
228
+ on_device: false,
229
+ seed_domains: [
230
+ generatedTypes.DeviceSessionSeedDomain.SeedDomain_Standard,
231
+ generatedTypes.DeviceSessionSeedDomain.SeedDomain_Cardano,
232
+ ],
233
+ })
234
+ ).finish();
235
+ const onDevice = Message.encode(
236
+ Message.create({
237
+ on_device: true,
238
+ seed_domains: [generatedTypes.DeviceSessionSeedDomain.SeedDomain_Standard],
239
+ })
218
240
  ).finish();
219
- const onDevice = Message.encode(Message.create({ on_device: true })).finish();
220
241
 
221
242
  expect(standardWallet.toString('hex')).toBe('0a001000');
222
243
  expect(Buffer.from(onHost).toString('hex')).toBe(
223
- '0a12686f73742068696464656e2077616c6c65741000'
244
+ '0a12686f73742068696464656e2077616c6c657410001a020102'
224
245
  );
225
- expect(Buffer.from(onDevice).toString('hex')).toBe('1001');
246
+ expect(Buffer.from(onDevice).toString('hex')).toBe('10011a0101');
226
247
  expect(Message.decode(onHost)).toMatchObject({
227
248
  passphrase: 'host hidden wallet',
228
249
  on_device: false,
250
+ seed_domains: [
251
+ generatedTypes.DeviceSessionSeedDomain.SeedDomain_Standard,
252
+ generatedTypes.DeviceSessionSeedDomain.SeedDomain_Cardano,
253
+ ],
254
+ });
255
+ expect(Message.decode(onDevice)).toMatchObject({
256
+ on_device: true,
257
+ seed_domains: [generatedTypes.DeviceSessionSeedDomain.SeedDomain_Standard],
229
258
  });
230
- expect(Message.decode(onDevice)).toMatchObject({ on_device: true });
231
259
  });
232
260
 
233
- test('Protocol V2 wallet recovery carries the expected wallet and seed domains on wire', () => {
261
+ test('Protocol V2 wallet recovery carries the expected wallet on wire', () => {
234
262
  const messages = parseConfigure(v2Messages);
235
263
  const { Message } = createMessageFromName(messages, 'DeviceSessionGet');
236
264
  const payload = encode(Message, {
237
265
  btc_test_address: 'tb1qwallet',
238
- seed_domains: [
239
- generatedTypes.DeviceSessionSeedDomain.SeedDomain_Standard,
240
- generatedTypes.DeviceSessionSeedDomain.SeedDomain_Cardano,
241
- ],
242
266
  });
243
267
 
244
- expect(payload.toString('hex')).toBe('120a7462317177616c6c65741a020102');
268
+ expect(payload.toString('hex')).toBe('120a7462317177616c6c6574');
245
269
  expect(Message.decode(payload.toBuffer())).toMatchObject({
246
270
  btc_test_address: 'tb1qwallet',
271
+ });
272
+ expect(Message.decode(payload.toBuffer())).not.toHaveProperty('seed_domains');
273
+ });
274
+
275
+ test('Protocol V2 DeviceSession reports generated seed domains on wire', () => {
276
+ const messages = parseConfigure(v2Messages);
277
+ const { Message } = createMessageFromName(messages, 'DeviceSession');
278
+ const encoded = Message.encode(
279
+ Message.create({
280
+ btc_test_address: 'tb1qwallet',
281
+ seed_domains: [
282
+ generatedTypes.DeviceSessionSeedDomain.SeedDomain_Standard,
283
+ generatedTypes.DeviceSessionSeedDomain.SeedDomain_Cardano,
284
+ ],
285
+ })
286
+ ).finish();
287
+
288
+ expect(Buffer.from(encoded).toString('hex')).toBe('120a7462317177616c6c65741a020102');
289
+ expect(Message.decode(encoded)).toMatchObject({
290
+ btc_test_address: 'tb1qwallet',
247
291
  seed_domains: [
248
292
  generatedTypes.DeviceSessionSeedDomain.SeedDomain_Standard,
249
293
  generatedTypes.DeviceSessionSeedDomain.SeedDomain_Cardano,
@@ -13,6 +13,7 @@ const {
13
13
  } = require('../src/protocols/v2/session');
14
14
  const protocolV2 = require('../src/protocols/v2');
15
15
  const {
16
+ PROTOCOL_V2_BLE_FILE_CHUNK_SIZE,
16
17
  PROTOCOL_V2_BLE_FIRMWARE_FILE_CHUNK_SIZE,
17
18
  PROTOCOL_V2_BLE_FRAME_MAX_BYTES,
18
19
  PROTOCOL_V2_DEFAULT_RESPONSE_TIMEOUT_MS,
@@ -452,12 +453,13 @@ describe('Protocol V2 framing and session', () => {
452
453
  ).toThrow('Protocol V2 frame too large: 4201 > 4200');
453
454
  });
454
455
 
455
- test('keeps optimized BLE firmware chunks inside the transport frame boundary', () => {
456
+ test('keeps optimized BLE fixed-path chunks inside the transport frame boundary', () => {
456
457
  const productionSchemas = {
457
458
  protocolV1: protocolV1Messages,
458
459
  protocolV2: productionProtocolV2Messages,
459
460
  };
460
- const stagingPaths = [
461
+ const fixedPaths = [
462
+ 'vol1:/wallpapers/wallpaper.okpkg',
461
463
  'vol0:/bootloader.bin',
462
464
  'vol0:/application_p1.bin',
463
465
  'vol0:/application_p2.bin',
@@ -468,7 +470,7 @@ describe('Protocol V2 framing and session', () => {
468
470
  'vol0:/se04.bin',
469
471
  ];
470
472
 
471
- for (const path of stagingPaths) {
473
+ for (const path of fixedPaths) {
472
474
  const frame = ProtocolV2.encodeFrame(productionSchemas, 'FilesystemFileWrite', {
473
475
  file: {
474
476
  path,
@@ -485,6 +487,35 @@ describe('Protocol V2 framing and session', () => {
485
487
  }
486
488
  });
487
489
 
490
+ test('keeps the generic BLE chunk safe for the longest valid filesystem path', () => {
491
+ const productionSchemas = {
492
+ protocolV1: protocolV1Messages,
493
+ protocolV2: productionProtocolV2Messages,
494
+ };
495
+ const longestValidPath = `vol0:/${'a'.repeat(121)}`;
496
+ const encodeFileWrite = dataLength =>
497
+ ProtocolV2.encodeFrame(productionSchemas, 'FilesystemFileWrite', {
498
+ file: {
499
+ path: longestValidPath,
500
+ offset: 0xffffffff,
501
+ total_size: 0xffffffff,
502
+ data: new Uint8Array(dataLength),
503
+ },
504
+ overwrite: true,
505
+ append: true,
506
+ ui_percentage: 100,
507
+ });
508
+
509
+ expect(Buffer.byteLength(longestValidPath, 'utf8')).toBe(127);
510
+ expect(encodeFileWrite(PROTOCOL_V2_BLE_FILE_CHUNK_SIZE).length).toBeLessThanOrEqual(
511
+ PROTOCOL_V2_BLE_FRAME_MAX_BYTES
512
+ );
513
+ expect(encodeFileWrite(PROTOCOL_V2_BLE_FIRMWARE_FILE_CHUNK_SIZE).length).toBeGreaterThan(
514
+ PROTOCOL_V2_BLE_FRAME_MAX_BYTES
515
+ );
516
+ expect(encodeFileWrite(1885)).toHaveLength(PROTOCOL_V2_BLE_FRAME_MAX_BYTES);
517
+ });
518
+
488
519
  test('keeps bytes after the first complete frame for the next read', () => {
489
520
  const first = ProtocolV2.encodeFrame(schemas, 'ProtocolInfo', {
490
521
  version: 1,
package/dist/index.d.ts CHANGED
@@ -407,6 +407,8 @@ type LowlevelTransportSharedPlugin = {
407
407
  receive: (uuid?: string) => Promise<string>;
408
408
  connect: (uuid: string) => Promise<void>;
409
409
  disconnect: (uuid: string) => Promise<void>;
410
+ /** Maximum Protocol V2 bytes accepted by one BLE characteristic write. */
411
+ getProtocolV2PacketCapacity?: (uuid: string) => number | undefined | Promise<number | undefined>;
410
412
  init: () => Promise<void>;
411
413
  version: string;
412
414
  };
@@ -3832,8 +3834,6 @@ declare enum CommandFlags {
3832
3834
  Default = 0,
3833
3835
  Factory_Only = 1
3834
3836
  }
3835
- type experimental_message = {};
3836
- type experimental_field = {};
3837
3837
  type TextMemo = {
3838
3838
  text: string;
3839
3839
  };
@@ -3910,6 +3910,8 @@ type UiAnimationRequest = {
3910
3910
  command: UiAnimationCommand;
3911
3911
  type?: UiAnimationType;
3912
3912
  };
3913
+ type experimental_message = {};
3914
+ type experimental_field = {};
3913
3915
  type ProtocolInfoRequest = {
3914
3916
  eventless_wallet_session?: boolean;
3915
3917
  };
@@ -4182,11 +4184,11 @@ declare enum DeviceSessionSeedDomain {
4182
4184
  type DeviceSessionGet = {
4183
4185
  session_id?: string;
4184
4186
  btc_test_address?: string;
4185
- seed_domains: DeviceSessionSeedDomain[];
4186
4187
  };
4187
4188
  type DeviceSession = {
4188
4189
  session_id?: string;
4189
4190
  btc_test_address?: string;
4191
+ seed_domains: DeviceSessionSeedDomain[];
4190
4192
  };
4191
4193
  declare enum DeviceSessionPinType {
4192
4194
  Any = 1,
@@ -4199,6 +4201,7 @@ type DeviceSessionAskPin = {
4199
4201
  type DeviceSessionAskPassphrase = {
4200
4202
  passphrase?: string;
4201
4203
  on_device: boolean;
4204
+ seed_domains: DeviceSessionSeedDomain[];
4202
4205
  };
4203
4206
  declare enum DeviceSessionAskPin_FailureSubCodes {
4204
4207
  UserCancel = 1
@@ -4340,6 +4343,10 @@ type ViewDetail = {
4340
4343
  is_overview: boolean;
4341
4344
  has_icon: boolean;
4342
4345
  };
4346
+ type ViewCustomField = {
4347
+ key: string;
4348
+ value: string;
4349
+ };
4343
4350
  declare enum ViewTipType {
4344
4351
  Default = 0,
4345
4352
  Highlight = 1,
@@ -4353,9 +4360,23 @@ type ViewTip = {
4353
4360
  text_id?: number;
4354
4361
  text_arg?: string;
4355
4362
  };
4356
- type ViewRawData = {
4363
+ type ViewActionCard = {
4357
4364
  initial_data: string;
4358
- placeholder: number;
4365
+ };
4366
+ type ViewContentPreview = {
4367
+ content_key: number;
4368
+ preview: string;
4369
+ total_bytes?: number;
4370
+ };
4371
+ type ViewContentEntry = {
4372
+ entry_key: number;
4373
+ value: string;
4374
+ };
4375
+ type ViewContentPage = {
4376
+ page_index: number;
4377
+ page_count: number;
4378
+ chunk?: string;
4379
+ entry?: ViewContentEntry;
4359
4380
  };
4360
4381
  declare enum ViewSignLayout {
4361
4382
  LayoutDefault = 0,
@@ -4370,11 +4391,19 @@ type ViewSignPage = {
4370
4391
  amount?: UintType;
4371
4392
  general: ViewDetail[];
4372
4393
  tip?: ViewTip;
4373
- raw_data?: ViewRawData;
4394
+ action_card?: ViewActionCard;
4374
4395
  slide_to_confirm?: boolean;
4375
4396
  layout?: ViewSignLayout;
4376
4397
  title_id?: number;
4377
4398
  title_arg?: string;
4399
+ content?: ViewContentPreview;
4400
+ custom_field?: ViewCustomField;
4401
+ };
4402
+ type ViewWarningPage = {
4403
+ title_id: number;
4404
+ text_id: number;
4405
+ text_arg?: string;
4406
+ cancellable?: boolean;
4378
4407
  };
4379
4408
  type ViewVerifyPage = {
4380
4409
  title?: string;
@@ -4385,6 +4414,7 @@ type ViewVerifyPage = {
4385
4414
  value_key?: number;
4386
4415
  title_id?: number;
4387
4416
  chain_id?: number;
4417
+ content?: ViewContentPreview;
4388
4418
  };
4389
4419
  declare enum ProtocolV2FailureType {
4390
4420
  Failure_InvalidMessage = 1,
@@ -4980,8 +5010,6 @@ type MessageType = {
4980
5010
  TronSignMessage: TronSignMessage;
4981
5011
  TronMessageSignature: TronMessageSignature;
4982
5012
  facotry: facotry;
4983
- experimental_message: experimental_message;
4984
- experimental_field: experimental_field;
4985
5013
  TextMemo: TextMemo;
4986
5014
  RefundMemo: RefundMemo;
4987
5015
  CoinPurchaseMemo: CoinPurchaseMemo;
@@ -4997,6 +5025,8 @@ type MessageType = {
4997
5025
  UnlockPath: UnlockPath;
4998
5026
  UnlockedPathRequest: UnlockedPathRequest;
4999
5027
  UiAnimationRequest: UiAnimationRequest;
5028
+ experimental_message: experimental_message;
5029
+ experimental_field: experimental_field;
5000
5030
  ProtocolInfoRequest: ProtocolInfoRequest;
5001
5031
  ProtocolInfo: ProtocolInfo;
5002
5032
  DeviceReboot: DeviceReboot;
@@ -5061,9 +5091,14 @@ type MessageType = {
5061
5091
  PortfolioUpdate: PortfolioUpdate;
5062
5092
  ViewAmount: ViewAmount;
5063
5093
  ViewDetail: ViewDetail;
5094
+ ViewCustomField: ViewCustomField;
5064
5095
  ViewTip: ViewTip;
5065
- ViewRawData: ViewRawData;
5096
+ ViewActionCard: ViewActionCard;
5097
+ ViewContentPreview: ViewContentPreview;
5098
+ ViewContentEntry: ViewContentEntry;
5099
+ ViewContentPage: ViewContentPage;
5066
5100
  ViewSignPage: ViewSignPage;
5101
+ ViewWarningPage: ViewWarningPage;
5067
5102
  ViewVerifyPage: ViewVerifyPage;
5068
5103
  };
5069
5104
  type MessageKey = keyof MessageType;
@@ -5787,8 +5822,6 @@ type messages_TronMessageSignature = TronMessageSignature;
5787
5822
  type messages_facotry = facotry;
5788
5823
  type messages_CommandFlags = CommandFlags;
5789
5824
  declare const messages_CommandFlags: typeof CommandFlags;
5790
- type messages_experimental_message = experimental_message;
5791
- type messages_experimental_field = experimental_field;
5792
5825
  type messages_TextMemo = TextMemo;
5793
5826
  type messages_RefundMemo = RefundMemo;
5794
5827
  type messages_CoinPurchaseMemo = CoinPurchaseMemo;
@@ -5810,6 +5843,8 @@ declare const messages_UiAnimationType: typeof UiAnimationType;
5810
5843
  type messages_UiAnimationCommand = UiAnimationCommand;
5811
5844
  declare const messages_UiAnimationCommand: typeof UiAnimationCommand;
5812
5845
  type messages_UiAnimationRequest = UiAnimationRequest;
5846
+ type messages_experimental_message = experimental_message;
5847
+ type messages_experimental_field = experimental_field;
5813
5848
  type messages_ProtocolInfoRequest = ProtocolInfoRequest;
5814
5849
  type messages_ProtocolInfo = ProtocolInfo;
5815
5850
  type messages_DeviceErrorCode = DeviceErrorCode;
@@ -5911,13 +5946,18 @@ type messages_OnboardingStatus = OnboardingStatus;
5911
5946
  type messages_PortfolioUpdate = PortfolioUpdate;
5912
5947
  type messages_ViewAmount = ViewAmount;
5913
5948
  type messages_ViewDetail = ViewDetail;
5949
+ type messages_ViewCustomField = ViewCustomField;
5914
5950
  type messages_ViewTipType = ViewTipType;
5915
5951
  declare const messages_ViewTipType: typeof ViewTipType;
5916
5952
  type messages_ViewTip = ViewTip;
5917
- type messages_ViewRawData = ViewRawData;
5953
+ type messages_ViewActionCard = ViewActionCard;
5954
+ type messages_ViewContentPreview = ViewContentPreview;
5955
+ type messages_ViewContentEntry = ViewContentEntry;
5956
+ type messages_ViewContentPage = ViewContentPage;
5918
5957
  type messages_ViewSignLayout = ViewSignLayout;
5919
5958
  declare const messages_ViewSignLayout: typeof ViewSignLayout;
5920
5959
  type messages_ViewSignPage = ViewSignPage;
5960
+ type messages_ViewWarningPage = ViewWarningPage;
5921
5961
  type messages_ViewVerifyPage = ViewVerifyPage;
5922
5962
  type messages_ProtocolV2FailureType = ProtocolV2FailureType;
5923
5963
  declare const messages_ProtocolV2FailureType: typeof ProtocolV2FailureType;
@@ -6576,8 +6616,6 @@ declare namespace messages {
6576
6616
  messages_TronMessageSignature as TronMessageSignature,
6577
6617
  messages_facotry as facotry,
6578
6618
  messages_CommandFlags as CommandFlags,
6579
- messages_experimental_message as experimental_message,
6580
- messages_experimental_field as experimental_field,
6581
6619
  messages_TextMemo as TextMemo,
6582
6620
  messages_RefundMemo as RefundMemo,
6583
6621
  messages_CoinPurchaseMemo as CoinPurchaseMemo,
@@ -6596,6 +6634,8 @@ declare namespace messages {
6596
6634
  messages_UiAnimationType as UiAnimationType,
6597
6635
  messages_UiAnimationCommand as UiAnimationCommand,
6598
6636
  messages_UiAnimationRequest as UiAnimationRequest,
6637
+ messages_experimental_message as experimental_message,
6638
+ messages_experimental_field as experimental_field,
6599
6639
  messages_ProtocolInfoRequest as ProtocolInfoRequest,
6600
6640
  messages_ProtocolInfo as ProtocolInfo,
6601
6641
  messages_DeviceErrorCode as DeviceErrorCode,
@@ -6679,11 +6719,16 @@ declare namespace messages {
6679
6719
  messages_PortfolioUpdate as PortfolioUpdate,
6680
6720
  messages_ViewAmount as ViewAmount,
6681
6721
  messages_ViewDetail as ViewDetail,
6722
+ messages_ViewCustomField as ViewCustomField,
6682
6723
  messages_ViewTipType as ViewTipType,
6683
6724
  messages_ViewTip as ViewTip,
6684
- messages_ViewRawData as ViewRawData,
6725
+ messages_ViewActionCard as ViewActionCard,
6726
+ messages_ViewContentPreview as ViewContentPreview,
6727
+ messages_ViewContentEntry as ViewContentEntry,
6728
+ messages_ViewContentPage as ViewContentPage,
6685
6729
  messages_ViewSignLayout as ViewSignLayout,
6686
6730
  messages_ViewSignPage as ViewSignPage,
6731
+ messages_ViewWarningPage as ViewWarningPage,
6687
6732
  messages_ViewVerifyPage as ViewVerifyPage,
6688
6733
  messages_ProtocolV2FailureType as ProtocolV2FailureType,
6689
6734
  messages_Enum_ProtocolV2Capability as Enum_ProtocolV2Capability,
@@ -6895,7 +6940,7 @@ declare const PROTOCOL_V1_ENVELOPE_HEADER_SIZE: number;
6895
6940
  declare const PROTOCOL_V2_FRAME_MAX_BYTES = 4200;
6896
6941
  /** FilesystemFileWrite chunk size over WebUSB. */
6897
6942
  declare const PROTOCOL_V2_WEBUSB_FILE_CHUNK_SIZE = 4000;
6898
- /** FilesystemFileWrite chunk size over BLE. */
6943
+ /** Generic FilesystemFileWrite chunk size over BLE, including support for long filesystem paths. */
6899
6944
  declare const PROTOCOL_V2_BLE_FILE_CHUNK_SIZE = 1800;
6900
6945
  /**
6901
6946
  * FirmwareUpdateV4 chunk size for its fixed BLE staging paths.
@@ -7016,4 +7061,4 @@ declare const _default: {
7016
7061
  withProtocolTimeout: typeof withProtocolTimeout;
7017
7062
  };
7018
7063
 
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 };
7064
+ 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,11 +3770,11 @@ 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;
3777
3776
  btc_test_address?: string;
3777
+ seed_domains: DeviceSessionSeedDomain[];
3778
3778
  };
3779
3779
  export declare enum DeviceSessionPinType {
3780
3780
  Any = 1,
@@ -3787,6 +3787,7 @@ export type DeviceSessionAskPin = {
3787
3787
  export type DeviceSessionAskPassphrase = {
3788
3788
  passphrase?: string;
3789
3789
  on_device: boolean;
3790
+ seed_domains: DeviceSessionSeedDomain[];
3790
3791
  };
3791
3792
  export declare enum DeviceSessionAskPin_FailureSubCodes {
3792
3793
  UserCancel = 1
@@ -3928,6 +3929,10 @@ export type ViewDetail = {
3928
3929
  is_overview: boolean;
3929
3930
  has_icon: boolean;
3930
3931
  };
3932
+ export type ViewCustomField = {
3933
+ key: string;
3934
+ value: string;
3935
+ };
3931
3936
  export declare enum ViewTipType {
3932
3937
  Default = 0,
3933
3938
  Highlight = 1,
@@ -3941,9 +3946,23 @@ export type ViewTip = {
3941
3946
  text_id?: number;
3942
3947
  text_arg?: string;
3943
3948
  };
3944
- export type ViewRawData = {
3949
+ export type ViewActionCard = {
3945
3950
  initial_data: string;
3946
- placeholder: number;
3951
+ };
3952
+ export type ViewContentPreview = {
3953
+ content_key: number;
3954
+ preview: string;
3955
+ total_bytes?: number;
3956
+ };
3957
+ export type ViewContentEntry = {
3958
+ entry_key: number;
3959
+ value: string;
3960
+ };
3961
+ export type ViewContentPage = {
3962
+ page_index: number;
3963
+ page_count: number;
3964
+ chunk?: string;
3965
+ entry?: ViewContentEntry;
3947
3966
  };
3948
3967
  export declare enum ViewSignLayout {
3949
3968
  LayoutDefault = 0,
@@ -3958,11 +3977,19 @@ export type ViewSignPage = {
3958
3977
  amount?: UintType;
3959
3978
  general: ViewDetail[];
3960
3979
  tip?: ViewTip;
3961
- raw_data?: ViewRawData;
3980
+ action_card?: ViewActionCard;
3962
3981
  slide_to_confirm?: boolean;
3963
3982
  layout?: ViewSignLayout;
3964
3983
  title_id?: number;
3965
3984
  title_arg?: string;
3985
+ content?: ViewContentPreview;
3986
+ custom_field?: ViewCustomField;
3987
+ };
3988
+ export type ViewWarningPage = {
3989
+ title_id: number;
3990
+ text_id: number;
3991
+ text_arg?: string;
3992
+ cancellable?: boolean;
3966
3993
  };
3967
3994
  export type ViewVerifyPage = {
3968
3995
  title?: string;
@@ -3973,6 +4000,7 @@ export type ViewVerifyPage = {
3973
4000
  value_key?: number;
3974
4001
  title_id?: number;
3975
4002
  chain_id?: number;
4003
+ content?: ViewContentPreview;
3976
4004
  };
3977
4005
  export declare enum ProtocolV2FailureType {
3978
4006
  Failure_InvalidMessage = 1,
@@ -4568,8 +4596,6 @@ export type MessageType = {
4568
4596
  TronSignMessage: TronSignMessage;
4569
4597
  TronMessageSignature: TronMessageSignature;
4570
4598
  facotry: facotry;
4571
- experimental_message: experimental_message;
4572
- experimental_field: experimental_field;
4573
4599
  TextMemo: TextMemo;
4574
4600
  RefundMemo: RefundMemo;
4575
4601
  CoinPurchaseMemo: CoinPurchaseMemo;
@@ -4585,6 +4611,8 @@ export type MessageType = {
4585
4611
  UnlockPath: UnlockPath;
4586
4612
  UnlockedPathRequest: UnlockedPathRequest;
4587
4613
  UiAnimationRequest: UiAnimationRequest;
4614
+ experimental_message: experimental_message;
4615
+ experimental_field: experimental_field;
4588
4616
  ProtocolInfoRequest: ProtocolInfoRequest;
4589
4617
  ProtocolInfo: ProtocolInfo;
4590
4618
  DeviceReboot: DeviceReboot;
@@ -4649,9 +4677,14 @@ export type MessageType = {
4649
4677
  PortfolioUpdate: PortfolioUpdate;
4650
4678
  ViewAmount: ViewAmount;
4651
4679
  ViewDetail: ViewDetail;
4680
+ ViewCustomField: ViewCustomField;
4652
4681
  ViewTip: ViewTip;
4653
- ViewRawData: ViewRawData;
4682
+ ViewActionCard: ViewActionCard;
4683
+ ViewContentPreview: ViewContentPreview;
4684
+ ViewContentEntry: ViewContentEntry;
4685
+ ViewContentPage: ViewContentPage;
4654
4686
  ViewSignPage: ViewSignPage;
4687
+ ViewWarningPage: ViewWarningPage;
4655
4688
  ViewVerifyPage: ViewVerifyPage;
4656
4689
  };
4657
4690
  export type MessageKey = keyof MessageType;