@onekeyfe/hd-transport 1.2.0-alpha.98 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -138,6 +138,14 @@ declare class ProtocolV2LinkError extends Error {
138
138
  constructor(code: ProtocolV2LinkErrorCode, message: string, cause?: unknown);
139
139
  }
140
140
  declare const isProtocolV2LinkError: (error: unknown) => error is ProtocolV2LinkError;
141
+ type ProtocolV2LinkDisabledError = Error & {
142
+ name: 'ProtocolV2LinkDisabledError';
143
+ failureCode: string | number;
144
+ firmwareMessage: string;
145
+ };
146
+ declare const createProtocolV2LinkDisabledError: (failureCode: string | number, firmwareMessage: string) => ProtocolV2LinkDisabledError;
147
+ declare const isProtocolV2LinkDisabledError: (error: unknown) => error is ProtocolV2LinkDisabledError;
148
+ declare const isProtocolV2LinkDisabledFailure: (failureCode: unknown, firmwareMessage: unknown) => boolean;
141
149
 
142
150
  declare function concatUint8Arrays(arrays: Uint8Array[]): Uint8Array;
143
151
  declare class ProtocolV2FrameAssembler {
@@ -192,6 +200,10 @@ type protocolV2Codec_ProtocolV2LinkErrorCode = ProtocolV2LinkErrorCode;
192
200
  type protocolV2Codec_ProtocolV2LinkError = ProtocolV2LinkError;
193
201
  declare const protocolV2Codec_ProtocolV2LinkError: typeof ProtocolV2LinkError;
194
202
  declare const protocolV2Codec_isProtocolV2LinkError: typeof isProtocolV2LinkError;
203
+ type protocolV2Codec_ProtocolV2LinkDisabledError = ProtocolV2LinkDisabledError;
204
+ declare const protocolV2Codec_createProtocolV2LinkDisabledError: typeof createProtocolV2LinkDisabledError;
205
+ declare const protocolV2Codec_isProtocolV2LinkDisabledError: typeof isProtocolV2LinkDisabledError;
206
+ declare const protocolV2Codec_isProtocolV2LinkDisabledFailure: typeof isProtocolV2LinkDisabledFailure;
195
207
  declare const protocolV2Codec_concatUint8Arrays: typeof concatUint8Arrays;
196
208
  type protocolV2Codec_ProtocolV2FrameAssembler = ProtocolV2FrameAssembler;
197
209
  declare const protocolV2Codec_ProtocolV2FrameAssembler: typeof ProtocolV2FrameAssembler;
@@ -219,6 +231,10 @@ declare namespace protocolV2Codec {
219
231
  protocolV2Codec_ProtocolV2LinkErrorCode as ProtocolV2LinkErrorCode,
220
232
  protocolV2Codec_ProtocolV2LinkError as ProtocolV2LinkError,
221
233
  protocolV2Codec_isProtocolV2LinkError as isProtocolV2LinkError,
234
+ protocolV2Codec_ProtocolV2LinkDisabledError as ProtocolV2LinkDisabledError,
235
+ protocolV2Codec_createProtocolV2LinkDisabledError as createProtocolV2LinkDisabledError,
236
+ protocolV2Codec_isProtocolV2LinkDisabledError as isProtocolV2LinkDisabledError,
237
+ protocolV2Codec_isProtocolV2LinkDisabledFailure as isProtocolV2LinkDisabledFailure,
222
238
  protocolV2Codec_concatUint8Arrays as concatUint8Arrays,
223
239
  protocolV2Codec_ProtocolV2FrameAssembler as ProtocolV2FrameAssembler,
224
240
  protocolV2Codec_ProtocolV2BleFrameWriterOptions as ProtocolV2BleFrameWriterOptions,
@@ -263,6 +279,18 @@ declare const ProtocolV2: {
263
279
  };
264
280
  encodeFrame(schemas: ProtocolV2Schemas$1, name: string, data: Record<string, unknown>, options?: ProtocolV2FrameOptions): Uint8Array;
265
281
  decodeFrame(schemas: ProtocolV2Schemas$1, frame: Uint8Array): {
282
+ message: {
283
+ version: any;
284
+ build_fingerprint: string;
285
+ supported_messages: any;
286
+ protobuf_definition: null;
287
+ };
288
+ messageName: string;
289
+ messageTypeId: number;
290
+ pbPayload: Uint8Array;
291
+ seq: number;
292
+ type: string;
293
+ } | {
266
294
  message: {
267
295
  [key: string]: any;
268
296
  };
@@ -309,6 +337,13 @@ type AcquireInput = {
309
337
  forceCleanRunPromise?: boolean;
310
338
  expectedProtocol?: ProtocolType;
311
339
  protocolHint?: ProtocolType;
340
+ /**
341
+ * Explicit recovery/discovery (e.g. detectDeviceConnectProtocol): the
342
+ * transport must probe the protocol on the wire, bypassing any cached result.
343
+ */
344
+ forceProtocolDetection?: boolean;
345
+ /** Reuse expectedProtocol only when this transport previously confirmed it for the same endpoint. */
346
+ skipProtocolProbe?: boolean;
312
347
  };
313
348
  type MessageFromOneKey = {
314
349
  type: string;
@@ -325,6 +360,10 @@ type TransportCallOptions = {
325
360
  onIntermediateResponse?: (response: MessageFromOneKey) => void;
326
361
  /** Called after the complete request frame has been submitted to the transport. */
327
362
  onWriteCompleted?: (metrics: TransportWriteMetrics) => void;
363
+ /** Resolve after the complete request frame is written without waiting for a response. */
364
+ returnAfterWrite?: boolean;
365
+ /** Observe the delayed terminal response of a write-only call while a later call is active. */
366
+ onResponseAfterWrite?: (response: MessageFromOneKey) => void;
328
367
  /** Prefer acknowledged BLE characteristic writes for this call when supported. */
329
368
  writeWithResponse?: boolean;
330
369
  };
@@ -1828,6 +1867,8 @@ type EthereumSignTxOneKey = {
1828
1867
  data_length?: number;
1829
1868
  chain_id: number;
1830
1869
  tx_type?: number;
1870
+ expected_address?: string;
1871
+ source_fingerprint?: number;
1831
1872
  };
1832
1873
  type EthereumAccessListOneKey = {
1833
1874
  address: string;
@@ -1845,6 +1886,8 @@ type EthereumSignTxEIP1559OneKey = {
1845
1886
  data_length: number;
1846
1887
  chain_id: number;
1847
1888
  access_list: EthereumAccessListOneKey[];
1889
+ expected_address?: string;
1890
+ source_fingerprint?: number;
1848
1891
  };
1849
1892
  type EthereumAuthorizationSignature = {
1850
1893
  y_parity: number;
@@ -1886,6 +1929,7 @@ type EthereumSignMessageOneKey = {
1886
1929
  address_n: number[];
1887
1930
  message: string;
1888
1931
  chain_id?: number;
1932
+ source_fingerprint?: number;
1889
1933
  };
1890
1934
  type EthereumMessageSignatureOneKey = {
1891
1935
  signature: string;
@@ -3218,6 +3262,7 @@ type SolanaSignTx = {
3218
3262
  address_n: number[];
3219
3263
  raw_tx: string;
3220
3264
  extra_info?: SolanaTxExtraInfo;
3265
+ source_fingerprint?: number;
3221
3266
  };
3222
3267
  type SolanaSignedTx = {
3223
3268
  signature?: string;
@@ -3235,10 +3280,12 @@ type SolanaSignOffChainMessage = {
3235
3280
  message_version?: SolanaOffChainMessageVersion;
3236
3281
  message_format?: SolanaOffChainMessageFormat;
3237
3282
  application_domain?: string;
3283
+ source_fingerprint?: number;
3238
3284
  };
3239
3285
  type SolanaSignUnsafeMessage = {
3240
3286
  address_n: number[];
3241
3287
  message: string;
3288
+ source_fingerprint?: number;
3242
3289
  };
3243
3290
  type SolanaMessageSignature = {
3244
3291
  signature: string;
@@ -3818,6 +3865,7 @@ type EthereumSignTypedDataQR = {
3818
3865
  chain_id?: number;
3819
3866
  metamask_v4_compat?: boolean;
3820
3867
  request_id?: string;
3868
+ source_fingerprint?: number;
3821
3869
  };
3822
3870
  type SetBusy = {
3823
3871
  expiry_ms?: number;
@@ -3939,6 +3987,13 @@ type DeviceCertificateSign = {
3939
3987
  type DeviceMiscUsbMscControl = {
3940
3988
  enable: boolean;
3941
3989
  };
3990
+ type DeviceFindMyTokenUpdate = {
3991
+ token: string;
3992
+ };
3993
+ type DeviceFindMyTokenStateGet = {};
3994
+ type DeviceFindMyTokenState = {
3995
+ burned: boolean;
3996
+ };
3942
3997
  declare enum DeviceFactoryAck {
3943
3998
  FACTORY_ACK_SUCCESS = 0,
3944
3999
  FACTORY_ACK_FAIL = 1
@@ -3954,8 +4009,8 @@ type DeviceFactoryInfoManufactureTime = {
3954
4009
  type DeviceFactoryInfo = {
3955
4010
  version?: number;
3956
4011
  serial_number?: string;
3957
- burn_in_completed?: boolean;
3958
4012
  factory_test_completed?: boolean;
4013
+ factory_burn_in_completed?: boolean;
3959
4014
  manufacture_time?: DeviceFactoryInfoManufactureTime;
3960
4015
  };
3961
4016
  type DeviceFactoryInfoSet = {
@@ -3995,21 +4050,37 @@ declare enum DeviceFirmwareUpdateTaskStatus {
3995
4050
  FW_MGMT_UPDATER_TASK_STATUS_FAILED_BUSY = 9,
3996
4051
  FW_MGMT_UPDATER_TASK_STATUS_FAILED_ENTRY_OUT_OF_BOUNDS = 10
3997
4052
  }
4053
+ declare enum DeviceFirmwareUpdatePhase {
4054
+ FW_MGMT_UPDATER_PHASE_PREPARE = 0,
4055
+ FW_MGMT_UPDATER_PHASE_INSTALL = 1,
4056
+ FW_MGMT_UPDATER_PHASE_VERIFY = 2
4057
+ }
3998
4058
  type DeviceFirmwareTarget = {
3999
4059
  target_id: DeviceFirmwareTargetType;
4000
4060
  path: string;
4001
4061
  };
4002
- type DeviceFirmwareUpdateRequest = {
4062
+ type DeviceFirmwareUpdateStage = {
4003
4063
  targets: DeviceFirmwareTarget[];
4004
4064
  };
4065
+ type DeviceFirmwareUpdateRequest = {
4066
+ reboot_after_update?: boolean;
4067
+ };
4068
+ type DeviceFirmwareUpdatePhaseInfo = {
4069
+ phase: DeviceFirmwareUpdatePhase;
4070
+ progress_percent: number;
4071
+ };
4005
4072
  type DeviceFirmwareUpdateRecord = {
4006
4073
  target_id: DeviceFirmwareTargetType;
4007
4074
  status?: DeviceFirmwareUpdateTaskStatus;
4075
+ progress_percent?: number;
4076
+ phase_info?: DeviceFirmwareUpdatePhaseInfo;
4008
4077
  payload_version?: number;
4009
4078
  path?: string;
4010
4079
  };
4011
4080
  type DeviceFirmwareUpdateRecordFields = {
4012
4081
  status?: boolean;
4082
+ progress_percent?: boolean;
4083
+ phase_info?: boolean;
4013
4084
  payload_version?: boolean;
4014
4085
  path?: boolean;
4015
4086
  };
@@ -4069,7 +4140,7 @@ type DeviceSEInfo = {
4069
4140
  };
4070
4141
  type DeviceInfoTargets = {
4071
4142
  hw?: boolean;
4072
- fw?: boolean;
4143
+ main_mcu?: boolean;
4073
4144
  coprocessor?: boolean;
4074
4145
  se1?: boolean;
4075
4146
  se2?: boolean;
@@ -4089,7 +4160,7 @@ type DeviceInfoGet = {
4089
4160
  type ProtocolV2DeviceInfo = {
4090
4161
  protocol_version: number;
4091
4162
  hw?: DeviceHardwareInfo;
4092
- fw?: DeviceMainMcuInfo;
4163
+ main_mcu?: DeviceMainMcuInfo;
4093
4164
  coprocessor?: DeviceCoprocessorInfo;
4094
4165
  se1?: DeviceSEInfo;
4095
4166
  se2?: DeviceSEInfo;
@@ -4278,7 +4349,9 @@ declare enum ViewTipType {
4278
4349
  }
4279
4350
  type ViewTip = {
4280
4351
  type: ViewTipType;
4281
- text: string;
4352
+ text?: string;
4353
+ text_id?: number;
4354
+ text_arg?: string;
4282
4355
  };
4283
4356
  type ViewRawData = {
4284
4357
  initial_data: string;
@@ -4293,21 +4366,25 @@ declare enum ViewSignLayout {
4293
4366
  LayoutEthApprove = 5
4294
4367
  }
4295
4368
  type ViewSignPage = {
4296
- title: string;
4369
+ title?: string;
4297
4370
  amount?: UintType;
4298
4371
  general: ViewDetail[];
4299
4372
  tip?: ViewTip;
4300
4373
  raw_data?: ViewRawData;
4301
4374
  slide_to_confirm?: boolean;
4302
4375
  layout?: ViewSignLayout;
4376
+ title_id?: number;
4377
+ title_arg?: string;
4303
4378
  };
4304
4379
  type ViewVerifyPage = {
4305
- title: string;
4380
+ title?: string;
4306
4381
  address: string;
4307
4382
  path: string;
4308
4383
  network?: string;
4309
4384
  derive_type?: string;
4310
4385
  value_key?: number;
4386
+ title_id?: number;
4387
+ chain_id?: number;
4311
4388
  };
4312
4389
  declare enum ProtocolV2FailureType {
4313
4390
  Failure_InvalidMessage = 1,
@@ -4933,6 +5010,9 @@ type MessageType = {
4933
5010
  DeviceCertificateSignature: DeviceCertificateSignature;
4934
5011
  DeviceCertificateSign: DeviceCertificateSign;
4935
5012
  DeviceMiscUsbMscControl: DeviceMiscUsbMscControl;
5013
+ DeviceFindMyTokenUpdate: DeviceFindMyTokenUpdate;
5014
+ DeviceFindMyTokenStateGet: DeviceFindMyTokenStateGet;
5015
+ DeviceFindMyTokenState: DeviceFindMyTokenState;
4936
5016
  DeviceFactoryInfoManufactureTime: DeviceFactoryInfoManufactureTime;
4937
5017
  DeviceFactoryInfo: DeviceFactoryInfo;
4938
5018
  DeviceFactoryInfoSet: DeviceFactoryInfoSet;
@@ -4940,7 +5020,9 @@ type MessageType = {
4940
5020
  DeviceFactoryPermanentLock: DeviceFactoryPermanentLock;
4941
5021
  DeviceFactoryTest: DeviceFactoryTest;
4942
5022
  DeviceFirmwareTarget: DeviceFirmwareTarget;
5023
+ DeviceFirmwareUpdateStage: DeviceFirmwareUpdateStage;
4943
5024
  DeviceFirmwareUpdateRequest: DeviceFirmwareUpdateRequest;
5025
+ DeviceFirmwareUpdatePhaseInfo: DeviceFirmwareUpdatePhaseInfo;
4944
5026
  DeviceFirmwareUpdateRecord: DeviceFirmwareUpdateRecord;
4945
5027
  DeviceFirmwareUpdateRecordFields: DeviceFirmwareUpdateRecordFields;
4946
5028
  DeviceFirmwareUpdateStatusGet: DeviceFirmwareUpdateStatusGet;
@@ -5747,6 +5829,9 @@ type messages_DeviceCertificateRead = DeviceCertificateRead;
5747
5829
  type messages_DeviceCertificateSignature = DeviceCertificateSignature;
5748
5830
  type messages_DeviceCertificateSign = DeviceCertificateSign;
5749
5831
  type messages_DeviceMiscUsbMscControl = DeviceMiscUsbMscControl;
5832
+ type messages_DeviceFindMyTokenUpdate = DeviceFindMyTokenUpdate;
5833
+ type messages_DeviceFindMyTokenStateGet = DeviceFindMyTokenStateGet;
5834
+ type messages_DeviceFindMyTokenState = DeviceFindMyTokenState;
5750
5835
  type messages_DeviceFactoryAck = DeviceFactoryAck;
5751
5836
  declare const messages_DeviceFactoryAck: typeof DeviceFactoryAck;
5752
5837
  type messages_DeviceFactoryInfoManufactureTime = DeviceFactoryInfoManufactureTime;
@@ -5759,8 +5844,12 @@ type messages_DeviceFirmwareTargetType = DeviceFirmwareTargetType;
5759
5844
  declare const messages_DeviceFirmwareTargetType: typeof DeviceFirmwareTargetType;
5760
5845
  type messages_DeviceFirmwareUpdateTaskStatus = DeviceFirmwareUpdateTaskStatus;
5761
5846
  declare const messages_DeviceFirmwareUpdateTaskStatus: typeof DeviceFirmwareUpdateTaskStatus;
5847
+ type messages_DeviceFirmwareUpdatePhase = DeviceFirmwareUpdatePhase;
5848
+ declare const messages_DeviceFirmwareUpdatePhase: typeof DeviceFirmwareUpdatePhase;
5762
5849
  type messages_DeviceFirmwareTarget = DeviceFirmwareTarget;
5850
+ type messages_DeviceFirmwareUpdateStage = DeviceFirmwareUpdateStage;
5763
5851
  type messages_DeviceFirmwareUpdateRequest = DeviceFirmwareUpdateRequest;
5852
+ type messages_DeviceFirmwareUpdatePhaseInfo = DeviceFirmwareUpdatePhaseInfo;
5764
5853
  type messages_DeviceFirmwareUpdateRecord = DeviceFirmwareUpdateRecord;
5765
5854
  type messages_DeviceFirmwareUpdateRecordFields = DeviceFirmwareUpdateRecordFields;
5766
5855
  type messages_DeviceFirmwareUpdateStatusGet = DeviceFirmwareUpdateStatusGet;
@@ -6523,6 +6612,9 @@ declare namespace messages {
6523
6612
  messages_DeviceCertificateSignature as DeviceCertificateSignature,
6524
6613
  messages_DeviceCertificateSign as DeviceCertificateSign,
6525
6614
  messages_DeviceMiscUsbMscControl as DeviceMiscUsbMscControl,
6615
+ messages_DeviceFindMyTokenUpdate as DeviceFindMyTokenUpdate,
6616
+ messages_DeviceFindMyTokenStateGet as DeviceFindMyTokenStateGet,
6617
+ messages_DeviceFindMyTokenState as DeviceFindMyTokenState,
6526
6618
  messages_DeviceFactoryAck as DeviceFactoryAck,
6527
6619
  messages_DeviceFactoryInfoManufactureTime as DeviceFactoryInfoManufactureTime,
6528
6620
  messages_DeviceFactoryInfo as DeviceFactoryInfo,
@@ -6532,8 +6624,11 @@ declare namespace messages {
6532
6624
  messages_DeviceFactoryTest as DeviceFactoryTest,
6533
6625
  messages_DeviceFirmwareTargetType as DeviceFirmwareTargetType,
6534
6626
  messages_DeviceFirmwareUpdateTaskStatus as DeviceFirmwareUpdateTaskStatus,
6627
+ messages_DeviceFirmwareUpdatePhase as DeviceFirmwareUpdatePhase,
6535
6628
  messages_DeviceFirmwareTarget as DeviceFirmwareTarget,
6629
+ messages_DeviceFirmwareUpdateStage as DeviceFirmwareUpdateStage,
6536
6630
  messages_DeviceFirmwareUpdateRequest as DeviceFirmwareUpdateRequest,
6631
+ messages_DeviceFirmwareUpdatePhaseInfo as DeviceFirmwareUpdatePhaseInfo,
6537
6632
  messages_DeviceFirmwareUpdateRecord as DeviceFirmwareUpdateRecord,
6538
6633
  messages_DeviceFirmwareUpdateRecordFields as DeviceFirmwareUpdateRecordFields,
6539
6634
  messages_DeviceFirmwareUpdateStatusGet as DeviceFirmwareUpdateStatusGet,
@@ -6642,10 +6737,17 @@ type ProtocolV2CallOptions = {
6642
6737
  intermediateTypes?: string[];
6643
6738
  onIntermediateResponse?: (response: MessageFromOneKey) => void;
6644
6739
  onWriteCompleted?: (metrics: TransportWriteMetrics) => void;
6740
+ returnAfterWrite?: boolean;
6741
+ onResponseAfterWrite?: (response: MessageFromOneKey) => void;
6645
6742
  writeWithResponse?: boolean;
6646
6743
  };
6647
6744
 
6648
6745
  declare function hexToBytes(hex: string): Uint8Array;
6746
+ declare function detectProtocolV2LinkDisabledError({ schemas, assembler, bytes, }: {
6747
+ schemas: ProtocolV2Schemas;
6748
+ assembler: ProtocolV2FrameAssembler;
6749
+ bytes: Uint8Array;
6750
+ }): ProtocolV2LinkDisabledError | undefined;
6649
6751
  declare function bytesToHex(bytes: Uint8Array): string;
6650
6752
  declare function isProtocolV2HighThroughputCall(name: string): boolean;
6651
6753
  declare function getErrorMessage(error: unknown): string;
@@ -6654,18 +6756,23 @@ declare class ProtocolV2Session {
6654
6756
  private readonly options;
6655
6757
  private readonly sequenceCursor;
6656
6758
  private pendingCall;
6759
+ private pendingWrite;
6760
+ private pendingResponseAfterWrite?;
6657
6761
  private lastResponseSequence?;
6658
6762
  constructor(options: ProtocolV2SessionOptions);
6659
6763
  call(name: string, data: Record<string, unknown>, callOptions?: ProtocolV2CallOptions): Promise<MessageFromOneKey>;
6764
+ sendFlowControl(name: string, data: Record<string, unknown>): Promise<MessageFromOneKey>;
6765
+ private serializeWrite;
6660
6766
  private executeCall;
6661
6767
  }
6662
- declare function probeProtocolV2({ call, timeoutMs, logger, logPrefix, onBeforeProbe, onProbeFailed, }: {
6768
+ declare function probeProtocolV2({ call, timeoutMs, logger, logPrefix, onBeforeProbe, onProbeFailed, shouldRethrow, }: {
6663
6769
  call: (name: string, data: Record<string, unknown>, options?: ProtocolV2CallOptions) => Promise<MessageFromOneKey>;
6664
6770
  timeoutMs: number;
6665
6771
  logger?: ProtocolLogger;
6666
6772
  logPrefix?: string;
6667
6773
  onBeforeProbe?: () => Promise<void> | void;
6668
6774
  onProbeFailed?: (error: unknown) => Promise<void> | void;
6775
+ shouldRethrow?: (error: unknown) => boolean;
6669
6776
  }): Promise<boolean>;
6670
6777
 
6671
6778
  type ProtocolV2LinkErrorClassification = 'link-fatal' | 'recoverable';
@@ -6696,12 +6803,14 @@ declare class ProtocolV2LinkManager<Key> {
6696
6803
  private readonly options;
6697
6804
  constructor(options: ProtocolV2LinkManagerOptions<Key>);
6698
6805
  call(key: Key, createAdapter: () => ProtocolV2LinkAdapter, name: string, data: Record<string, unknown>, options?: TransportCallOptions): Promise<MessageFromOneKey>;
6806
+ sendFlowControl(key: Key, createAdapter: () => ProtocolV2LinkAdapter, name: string, data: Record<string, unknown>): Promise<MessageFromOneKey>;
6699
6807
  invalidateLink(key: Key, reason: string): Promise<void>;
6700
6808
  invalidateAllLinks(reason: string): Promise<void>;
6701
6809
  dispose(reason: string): Promise<void>;
6702
6810
  private getOrCreateLink;
6703
6811
  private executeCall;
6704
6812
  private clearSettledCallQueue;
6813
+ private createQueuedCallTimeoutError;
6705
6814
  private assertCallGeneration;
6706
6815
  }
6707
6816
 
@@ -6726,6 +6835,7 @@ declare abstract class ProtocolV2UsbTransportBase<Key> {
6726
6835
  protected onProtocolV2UsbLinkInvalidated(_key: Key, _reason: string): Promise<void> | void;
6727
6836
  protected rotateProtocolV2UsbGeneration(key: Key, reason: string): Promise<number>;
6728
6837
  protected callProtocolV2Usb(key: Key, name: string, data: Record<string, unknown>, options?: TransportCallOptions): Promise<MessageFromOneKey>;
6838
+ protected sendProtocolV2UsbFlowControl(key: Key, name: string, data: Record<string, unknown>): Promise<MessageFromOneKey>;
6729
6839
  protected invalidateProtocolV2UsbLink(key: Key, reason: string): Promise<void>;
6730
6840
  protected invalidateAllProtocolV2UsbLinks(reason: string): Promise<void>;
6731
6841
  protected disposeProtocolV2UsbLinks(reason: string): Promise<void>;
@@ -6858,6 +6968,18 @@ declare const _default: {
6858
6968
  protocolV1: protobuf.Root;
6859
6969
  protocolV2: protobuf.Root;
6860
6970
  }, frame: Uint8Array): {
6971
+ message: {
6972
+ version: any;
6973
+ build_fingerprint: string;
6974
+ supported_messages: any;
6975
+ protobuf_definition: null;
6976
+ };
6977
+ messageName: string;
6978
+ messageTypeId: number;
6979
+ pbPayload: Uint8Array;
6980
+ seq: number;
6981
+ type: string;
6982
+ } | {
6861
6983
  message: {
6862
6984
  [key: string]: any;
6863
6985
  };
@@ -6894,4 +7016,4 @@ declare const _default: {
6894
7016
  withProtocolTimeout: typeof withProtocolTimeout;
6895
7017
  };
6896
7018
 
6897
- 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, DeviceFirmwareImageInfo, DeviceFirmwareTarget, DeviceFirmwareTargetType, DeviceFirmwareUpdateRecord, DeviceFirmwareUpdateRecordFields, DeviceFirmwareUpdateRequest, 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, 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, createTransportCallLog, _default as default, experimental_field, experimental_message, facotry, getErrorMessage, getSafeTransportLogPayload, hexToBytes, isProtocolV2HighThroughputCall, isProtocolV2LinkError, probeProtocolV2, index as protocolV1, protocolV2Codec as protocolV2, shouldSuppressHighVolumeCallLog, withProtocolTimeout, writeProtocolV2BleFrame };
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 };
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA,OAAO,KAAK,QAAQ,MAAM,kBAAkB,CAAC;AAG7C,OAAO,EAKL,cAAc,EACf,MAAM,iBAAiB,CAAC;AAEzB,OAAO,KAAK,eAAe,MAAM,gBAAgB,CAAC;AAClD,OAAO,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AACpE,OAAO,EAAE,0BAA0B,EAAE,MAAM,mCAAmC,CAAC;AAC/E,OAAO,EAEL,wBAAwB,EACxB,iBAAiB,EACjB,UAAU,EAEV,eAAe,EACf,UAAU,EACV,eAAe,EACf,mBAAmB,EACpB,MAAM,wBAAwB,CAAC;AAChC,OAAO,KAAK,KAAK,MAAM,0BAA0B,CAAC;AAKlD,YAAY,EACV,SAAS,EACT,YAAY,EACZ,gBAAgB,EAChB,sBAAsB,EACtB,2BAA2B,EAC3B,iBAAiB,EACjB,oBAAoB,EACpB,qBAAqB,EACrB,6BAA6B,EAC7B,cAAc,EACd,oBAAoB,EACpB,oBAAoB,EACpB,YAAY,EACZ,8BAA8B,GAC/B,MAAM,SAAS,CAAC;AAEjB,OAAO,EAAE,QAAQ,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AACpD,cAAc,kBAAkB,CAAC;AACjC,cAAc,yBAAyB,CAAC;AACxC,cAAc,sBAAsB,CAAC;AAErC,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,OAAO,KAAK,UAAU,MAAM,gBAAgB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,gBAAgB,CAAC;AAC7C,cAAc,wBAAwB,CAAC;AACvC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,iCAAiC,CAAC;AAChD,cAAc,mCAAmC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAElD,wBAsBE"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA,OAAO,KAAK,QAAQ,MAAM,kBAAkB,CAAC;AAG7C,OAAO,EAKL,cAAc,EACf,MAAM,iBAAiB,CAAC;AAEzB,OAAO,KAAK,eAAe,MAAM,gBAAgB,CAAC;AAClD,OAAO,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AACpE,OAAO,EAAE,0BAA0B,EAAE,MAAM,mCAAmC,CAAC;AAC/E,OAAO,EAEL,wBAAwB,EACxB,iBAAiB,EACjB,UAAU,EAEV,eAAe,EACf,UAAU,EACV,eAAe,EACf,mBAAmB,EACpB,MAAM,wBAAwB,CAAC;AAChC,OAAO,KAAK,KAAK,MAAM,0BAA0B,CAAC;AAKlD,YAAY,EACV,SAAS,EACT,YAAY,EACZ,gBAAgB,EAChB,sBAAsB,EACtB,2BAA2B,EAC3B,iBAAiB,EACjB,oBAAoB,EACpB,qBAAqB,EACrB,6BAA6B,EAC7B,cAAc,EACd,oBAAoB,EACpB,oBAAoB,EACpB,YAAY,EACZ,8BAA8B,GAC/B,MAAM,SAAS,CAAC;AAEjB,OAAO,EAAE,QAAQ,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AACpD,cAAc,kBAAkB,CAAC;AACjC,cAAc,yBAAyB,CAAC;AACxC,cAAc,sBAAsB,CAAC;AAErC,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,OAAO,KAAK,UAAU,MAAM,gBAAgB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,gBAAgB,CAAC;AAC7C,cAAc,wBAAwB,CAAC;AACvC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,iCAAiC,CAAC;AAChD,cAAc,mCAAmC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAElD,wBAsBE"}