@onekeyfe/hd-transport 1.2.0-alpha.56 → 1.2.0-alpha.57
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 +221 -1
- package/dist/index.js +8 -0
- package/dist/types/messages.d.ts +165 -0
- package/dist/types/messages.d.ts.map +1 -1
- package/package.json +2 -2
- package/scripts/protobuf-patches/index.js +0 -28
- package/src/types/messages.ts +217 -0
package/dist/index.d.ts
CHANGED
|
@@ -1414,6 +1414,23 @@ type ECDHSessionKey = {
|
|
|
1414
1414
|
session_key: string;
|
|
1415
1415
|
public_key?: string;
|
|
1416
1416
|
};
|
|
1417
|
+
type CosiCommit = {
|
|
1418
|
+
address_n: number[];
|
|
1419
|
+
data?: string;
|
|
1420
|
+
};
|
|
1421
|
+
type CosiCommitment = {
|
|
1422
|
+
commitment?: string;
|
|
1423
|
+
pubkey?: string;
|
|
1424
|
+
};
|
|
1425
|
+
type CosiSign = {
|
|
1426
|
+
address_n: number[];
|
|
1427
|
+
data?: string;
|
|
1428
|
+
global_commitment?: string;
|
|
1429
|
+
global_pubkey?: string;
|
|
1430
|
+
};
|
|
1431
|
+
type CosiSignature = {
|
|
1432
|
+
signature: string;
|
|
1433
|
+
};
|
|
1417
1434
|
type Path = {
|
|
1418
1435
|
address_n: number[];
|
|
1419
1436
|
};
|
|
@@ -1427,6 +1444,77 @@ type EcdsaPublicKeys = {
|
|
|
1427
1444
|
hd_nodes: HDNodeType[];
|
|
1428
1445
|
root_fingerprint?: number;
|
|
1429
1446
|
};
|
|
1447
|
+
declare enum DebugSwipeDirection {
|
|
1448
|
+
UP = 0,
|
|
1449
|
+
DOWN = 1,
|
|
1450
|
+
LEFT = 2,
|
|
1451
|
+
RIGHT = 3
|
|
1452
|
+
}
|
|
1453
|
+
type DebugLinkDecision = {
|
|
1454
|
+
yes_no?: boolean;
|
|
1455
|
+
swipe?: DebugSwipeDirection;
|
|
1456
|
+
input?: string;
|
|
1457
|
+
x?: number;
|
|
1458
|
+
y?: number;
|
|
1459
|
+
wait?: boolean;
|
|
1460
|
+
hold_ms?: number;
|
|
1461
|
+
};
|
|
1462
|
+
type DebugLinkLayout = {
|
|
1463
|
+
lines: string[];
|
|
1464
|
+
};
|
|
1465
|
+
type DebugLinkReseedRandom = {
|
|
1466
|
+
value?: number;
|
|
1467
|
+
};
|
|
1468
|
+
type DebugLinkRecordScreen = {
|
|
1469
|
+
target_directory?: string;
|
|
1470
|
+
};
|
|
1471
|
+
type DebugLinkGetState = {
|
|
1472
|
+
wait_word_list?: boolean;
|
|
1473
|
+
wait_word_pos?: boolean;
|
|
1474
|
+
wait_layout?: boolean;
|
|
1475
|
+
};
|
|
1476
|
+
type DebugLinkState = {
|
|
1477
|
+
layout?: string;
|
|
1478
|
+
pin?: string;
|
|
1479
|
+
matrix?: string;
|
|
1480
|
+
mnemonic_secret?: string;
|
|
1481
|
+
node?: HDNodeType;
|
|
1482
|
+
passphrase_protection?: boolean;
|
|
1483
|
+
reset_word?: string;
|
|
1484
|
+
reset_entropy?: string;
|
|
1485
|
+
recovery_fake_word?: string;
|
|
1486
|
+
recovery_word_pos?: number;
|
|
1487
|
+
reset_word_pos?: number;
|
|
1488
|
+
mnemonic_type?: BackupType;
|
|
1489
|
+
layout_lines: string[];
|
|
1490
|
+
};
|
|
1491
|
+
type DebugLinkStop = {};
|
|
1492
|
+
type DebugLinkLog = {
|
|
1493
|
+
level?: number;
|
|
1494
|
+
bucket?: string;
|
|
1495
|
+
text?: string;
|
|
1496
|
+
};
|
|
1497
|
+
type DebugLinkMemoryRead = {
|
|
1498
|
+
address?: number;
|
|
1499
|
+
length?: number;
|
|
1500
|
+
};
|
|
1501
|
+
type DebugLinkMemory = {
|
|
1502
|
+
memory?: string;
|
|
1503
|
+
};
|
|
1504
|
+
type DebugLinkMemoryWrite = {
|
|
1505
|
+
address?: number;
|
|
1506
|
+
memory?: string;
|
|
1507
|
+
flash?: boolean;
|
|
1508
|
+
};
|
|
1509
|
+
type DebugLinkFlashErase = {
|
|
1510
|
+
sector?: number;
|
|
1511
|
+
};
|
|
1512
|
+
type DebugLinkEraseSdCard = {
|
|
1513
|
+
format?: boolean;
|
|
1514
|
+
};
|
|
1515
|
+
type DebugLinkWatchLayout = {
|
|
1516
|
+
watch?: boolean;
|
|
1517
|
+
};
|
|
1430
1518
|
type DnxGetAddress = {
|
|
1431
1519
|
address_n: number[];
|
|
1432
1520
|
show_display?: boolean;
|
|
@@ -2406,6 +2494,17 @@ type Entropy = {
|
|
|
2406
2494
|
entropy: string;
|
|
2407
2495
|
};
|
|
2408
2496
|
type WipeDevice = {};
|
|
2497
|
+
type LoadDevice = {
|
|
2498
|
+
mnemonics: string[];
|
|
2499
|
+
pin?: string;
|
|
2500
|
+
passphrase_protection?: boolean;
|
|
2501
|
+
language?: string;
|
|
2502
|
+
label?: string;
|
|
2503
|
+
skip_checksum?: boolean;
|
|
2504
|
+
u2f_counter?: number;
|
|
2505
|
+
needs_backup?: boolean;
|
|
2506
|
+
no_backup?: boolean;
|
|
2507
|
+
};
|
|
2409
2508
|
type ResetDevice = {
|
|
2410
2509
|
display_random?: boolean;
|
|
2411
2510
|
strength?: number;
|
|
@@ -2872,6 +2971,22 @@ type MoneroLiveRefreshStepAck = {
|
|
|
2872
2971
|
};
|
|
2873
2972
|
type MoneroLiveRefreshFinalRequest = {};
|
|
2874
2973
|
type MoneroLiveRefreshFinalAck = {};
|
|
2974
|
+
type DebugMoneroDiagRequest = {
|
|
2975
|
+
ins?: number;
|
|
2976
|
+
p1?: number;
|
|
2977
|
+
p2?: number;
|
|
2978
|
+
pd: number[];
|
|
2979
|
+
data1?: string;
|
|
2980
|
+
data2?: string;
|
|
2981
|
+
};
|
|
2982
|
+
type DebugMoneroDiagAck = {
|
|
2983
|
+
ins?: number;
|
|
2984
|
+
p1?: number;
|
|
2985
|
+
p2?: number;
|
|
2986
|
+
pd: number[];
|
|
2987
|
+
data1?: string;
|
|
2988
|
+
data2?: string;
|
|
2989
|
+
};
|
|
2875
2990
|
type NearGetAddress = {
|
|
2876
2991
|
address_n: number[];
|
|
2877
2992
|
show_display?: boolean;
|
|
@@ -3769,6 +3884,30 @@ type TronMessageSignature = {
|
|
|
3769
3884
|
address: string;
|
|
3770
3885
|
signature: string;
|
|
3771
3886
|
};
|
|
3887
|
+
type WebAuthnListResidentCredentials = {};
|
|
3888
|
+
type WebAuthnAddResidentCredential = {
|
|
3889
|
+
credential_id?: string;
|
|
3890
|
+
};
|
|
3891
|
+
type WebAuthnRemoveResidentCredential = {
|
|
3892
|
+
index?: number;
|
|
3893
|
+
};
|
|
3894
|
+
type WebAuthnCredential = {
|
|
3895
|
+
index?: number;
|
|
3896
|
+
id?: string;
|
|
3897
|
+
rp_id?: string;
|
|
3898
|
+
rp_name?: string;
|
|
3899
|
+
user_id?: string;
|
|
3900
|
+
user_name?: string;
|
|
3901
|
+
user_display_name?: string;
|
|
3902
|
+
creation_time?: number;
|
|
3903
|
+
hmac_secret?: boolean;
|
|
3904
|
+
use_sign_count?: boolean;
|
|
3905
|
+
algorithm?: number;
|
|
3906
|
+
curve?: number;
|
|
3907
|
+
};
|
|
3908
|
+
type WebAuthnCredentials = {
|
|
3909
|
+
credentials: WebAuthnCredential[];
|
|
3910
|
+
};
|
|
3772
3911
|
type facotry = {};
|
|
3773
3912
|
declare enum CommandFlags {
|
|
3774
3913
|
Default = 0,
|
|
@@ -4490,9 +4629,27 @@ type MessageType = {
|
|
|
4490
4629
|
SignedIdentity: SignedIdentity;
|
|
4491
4630
|
GetECDHSessionKey: GetECDHSessionKey;
|
|
4492
4631
|
ECDHSessionKey: ECDHSessionKey;
|
|
4632
|
+
CosiCommit: CosiCommit;
|
|
4633
|
+
CosiCommitment: CosiCommitment;
|
|
4634
|
+
CosiSign: CosiSign;
|
|
4635
|
+
CosiSignature: CosiSignature;
|
|
4493
4636
|
Path: Path;
|
|
4494
4637
|
BatchGetPublickeys: BatchGetPublickeys;
|
|
4495
4638
|
EcdsaPublicKeys: EcdsaPublicKeys;
|
|
4639
|
+
DebugLinkDecision: DebugLinkDecision;
|
|
4640
|
+
DebugLinkLayout: DebugLinkLayout;
|
|
4641
|
+
DebugLinkReseedRandom: DebugLinkReseedRandom;
|
|
4642
|
+
DebugLinkRecordScreen: DebugLinkRecordScreen;
|
|
4643
|
+
DebugLinkGetState: DebugLinkGetState;
|
|
4644
|
+
DebugLinkState: DebugLinkState;
|
|
4645
|
+
DebugLinkStop: DebugLinkStop;
|
|
4646
|
+
DebugLinkLog: DebugLinkLog;
|
|
4647
|
+
DebugLinkMemoryRead: DebugLinkMemoryRead;
|
|
4648
|
+
DebugLinkMemory: DebugLinkMemory;
|
|
4649
|
+
DebugLinkMemoryWrite: DebugLinkMemoryWrite;
|
|
4650
|
+
DebugLinkFlashErase: DebugLinkFlashErase;
|
|
4651
|
+
DebugLinkEraseSdCard: DebugLinkEraseSdCard;
|
|
4652
|
+
DebugLinkWatchLayout: DebugLinkWatchLayout;
|
|
4496
4653
|
DnxGetAddress: DnxGetAddress;
|
|
4497
4654
|
DnxAddress: DnxAddress;
|
|
4498
4655
|
DnxSignTx: DnxSignTx;
|
|
@@ -4630,6 +4787,7 @@ type MessageType = {
|
|
|
4630
4787
|
GetEntropy: GetEntropy;
|
|
4631
4788
|
Entropy: Entropy;
|
|
4632
4789
|
WipeDevice: WipeDevice;
|
|
4790
|
+
LoadDevice: LoadDevice;
|
|
4633
4791
|
ResetDevice: ResetDevice;
|
|
4634
4792
|
BackupDevice: BackupDevice;
|
|
4635
4793
|
EntropyRequest: EntropyRequest;
|
|
@@ -4737,6 +4895,8 @@ type MessageType = {
|
|
|
4737
4895
|
MoneroLiveRefreshStepAck: MoneroLiveRefreshStepAck;
|
|
4738
4896
|
MoneroLiveRefreshFinalRequest: MoneroLiveRefreshFinalRequest;
|
|
4739
4897
|
MoneroLiveRefreshFinalAck: MoneroLiveRefreshFinalAck;
|
|
4898
|
+
DebugMoneroDiagRequest: DebugMoneroDiagRequest;
|
|
4899
|
+
DebugMoneroDiagAck: DebugMoneroDiagAck;
|
|
4740
4900
|
NearGetAddress: NearGetAddress;
|
|
4741
4901
|
NearAddress: NearAddress;
|
|
4742
4902
|
NearSignTx: NearSignTx;
|
|
@@ -4891,6 +5051,11 @@ type MessageType = {
|
|
|
4891
5051
|
TronSignedTx: TronSignedTx;
|
|
4892
5052
|
TronSignMessage: TronSignMessage;
|
|
4893
5053
|
TronMessageSignature: TronMessageSignature;
|
|
5054
|
+
WebAuthnListResidentCredentials: WebAuthnListResidentCredentials;
|
|
5055
|
+
WebAuthnAddResidentCredential: WebAuthnAddResidentCredential;
|
|
5056
|
+
WebAuthnRemoveResidentCredential: WebAuthnRemoveResidentCredential;
|
|
5057
|
+
WebAuthnCredential: WebAuthnCredential;
|
|
5058
|
+
WebAuthnCredentials: WebAuthnCredentials;
|
|
4894
5059
|
facotry: facotry;
|
|
4895
5060
|
experimental_message: experimental_message;
|
|
4896
5061
|
experimental_field: experimental_field;
|
|
@@ -5209,9 +5374,29 @@ type messages_SignIdentity = SignIdentity;
|
|
|
5209
5374
|
type messages_SignedIdentity = SignedIdentity;
|
|
5210
5375
|
type messages_GetECDHSessionKey = GetECDHSessionKey;
|
|
5211
5376
|
type messages_ECDHSessionKey = ECDHSessionKey;
|
|
5377
|
+
type messages_CosiCommit = CosiCommit;
|
|
5378
|
+
type messages_CosiCommitment = CosiCommitment;
|
|
5379
|
+
type messages_CosiSign = CosiSign;
|
|
5380
|
+
type messages_CosiSignature = CosiSignature;
|
|
5212
5381
|
type messages_Path = Path;
|
|
5213
5382
|
type messages_BatchGetPublickeys = BatchGetPublickeys;
|
|
5214
5383
|
type messages_EcdsaPublicKeys = EcdsaPublicKeys;
|
|
5384
|
+
type messages_DebugSwipeDirection = DebugSwipeDirection;
|
|
5385
|
+
declare const messages_DebugSwipeDirection: typeof DebugSwipeDirection;
|
|
5386
|
+
type messages_DebugLinkDecision = DebugLinkDecision;
|
|
5387
|
+
type messages_DebugLinkLayout = DebugLinkLayout;
|
|
5388
|
+
type messages_DebugLinkReseedRandom = DebugLinkReseedRandom;
|
|
5389
|
+
type messages_DebugLinkRecordScreen = DebugLinkRecordScreen;
|
|
5390
|
+
type messages_DebugLinkGetState = DebugLinkGetState;
|
|
5391
|
+
type messages_DebugLinkState = DebugLinkState;
|
|
5392
|
+
type messages_DebugLinkStop = DebugLinkStop;
|
|
5393
|
+
type messages_DebugLinkLog = DebugLinkLog;
|
|
5394
|
+
type messages_DebugLinkMemoryRead = DebugLinkMemoryRead;
|
|
5395
|
+
type messages_DebugLinkMemory = DebugLinkMemory;
|
|
5396
|
+
type messages_DebugLinkMemoryWrite = DebugLinkMemoryWrite;
|
|
5397
|
+
type messages_DebugLinkFlashErase = DebugLinkFlashErase;
|
|
5398
|
+
type messages_DebugLinkEraseSdCard = DebugLinkEraseSdCard;
|
|
5399
|
+
type messages_DebugLinkWatchLayout = DebugLinkWatchLayout;
|
|
5215
5400
|
type messages_DnxGetAddress = DnxGetAddress;
|
|
5216
5401
|
type messages_DnxAddress = DnxAddress;
|
|
5217
5402
|
type messages_DnxSignTx = DnxSignTx;
|
|
@@ -5385,6 +5570,7 @@ type messages_Cancel = Cancel;
|
|
|
5385
5570
|
type messages_GetEntropy = GetEntropy;
|
|
5386
5571
|
type messages_Entropy = Entropy;
|
|
5387
5572
|
type messages_WipeDevice = WipeDevice;
|
|
5573
|
+
type messages_LoadDevice = LoadDevice;
|
|
5388
5574
|
type messages_ResetDevice = ResetDevice;
|
|
5389
5575
|
type messages_BackupDevice = BackupDevice;
|
|
5390
5576
|
type messages_EntropyRequest = EntropyRequest;
|
|
@@ -5503,6 +5689,8 @@ type messages_MoneroLiveRefreshStepRequest = MoneroLiveRefreshStepRequest;
|
|
|
5503
5689
|
type messages_MoneroLiveRefreshStepAck = MoneroLiveRefreshStepAck;
|
|
5504
5690
|
type messages_MoneroLiveRefreshFinalRequest = MoneroLiveRefreshFinalRequest;
|
|
5505
5691
|
type messages_MoneroLiveRefreshFinalAck = MoneroLiveRefreshFinalAck;
|
|
5692
|
+
type messages_DebugMoneroDiagRequest = DebugMoneroDiagRequest;
|
|
5693
|
+
type messages_DebugMoneroDiagAck = DebugMoneroDiagAck;
|
|
5506
5694
|
type messages_NearGetAddress = NearGetAddress;
|
|
5507
5695
|
type messages_NearAddress = NearAddress;
|
|
5508
5696
|
type messages_NearSignTx = NearSignTx;
|
|
@@ -5691,6 +5879,11 @@ type messages_TronMessageType = TronMessageType;
|
|
|
5691
5879
|
declare const messages_TronMessageType: typeof TronMessageType;
|
|
5692
5880
|
type messages_TronSignMessage = TronSignMessage;
|
|
5693
5881
|
type messages_TronMessageSignature = TronMessageSignature;
|
|
5882
|
+
type messages_WebAuthnListResidentCredentials = WebAuthnListResidentCredentials;
|
|
5883
|
+
type messages_WebAuthnAddResidentCredential = WebAuthnAddResidentCredential;
|
|
5884
|
+
type messages_WebAuthnRemoveResidentCredential = WebAuthnRemoveResidentCredential;
|
|
5885
|
+
type messages_WebAuthnCredential = WebAuthnCredential;
|
|
5886
|
+
type messages_WebAuthnCredentials = WebAuthnCredentials;
|
|
5694
5887
|
type messages_facotry = facotry;
|
|
5695
5888
|
type messages_CommandFlags = CommandFlags;
|
|
5696
5889
|
declare const messages_CommandFlags: typeof CommandFlags;
|
|
@@ -6029,9 +6222,28 @@ declare namespace messages {
|
|
|
6029
6222
|
messages_SignedIdentity as SignedIdentity,
|
|
6030
6223
|
messages_GetECDHSessionKey as GetECDHSessionKey,
|
|
6031
6224
|
messages_ECDHSessionKey as ECDHSessionKey,
|
|
6225
|
+
messages_CosiCommit as CosiCommit,
|
|
6226
|
+
messages_CosiCommitment as CosiCommitment,
|
|
6227
|
+
messages_CosiSign as CosiSign,
|
|
6228
|
+
messages_CosiSignature as CosiSignature,
|
|
6032
6229
|
messages_Path as Path,
|
|
6033
6230
|
messages_BatchGetPublickeys as BatchGetPublickeys,
|
|
6034
6231
|
messages_EcdsaPublicKeys as EcdsaPublicKeys,
|
|
6232
|
+
messages_DebugSwipeDirection as DebugSwipeDirection,
|
|
6233
|
+
messages_DebugLinkDecision as DebugLinkDecision,
|
|
6234
|
+
messages_DebugLinkLayout as DebugLinkLayout,
|
|
6235
|
+
messages_DebugLinkReseedRandom as DebugLinkReseedRandom,
|
|
6236
|
+
messages_DebugLinkRecordScreen as DebugLinkRecordScreen,
|
|
6237
|
+
messages_DebugLinkGetState as DebugLinkGetState,
|
|
6238
|
+
messages_DebugLinkState as DebugLinkState,
|
|
6239
|
+
messages_DebugLinkStop as DebugLinkStop,
|
|
6240
|
+
messages_DebugLinkLog as DebugLinkLog,
|
|
6241
|
+
messages_DebugLinkMemoryRead as DebugLinkMemoryRead,
|
|
6242
|
+
messages_DebugLinkMemory as DebugLinkMemory,
|
|
6243
|
+
messages_DebugLinkMemoryWrite as DebugLinkMemoryWrite,
|
|
6244
|
+
messages_DebugLinkFlashErase as DebugLinkFlashErase,
|
|
6245
|
+
messages_DebugLinkEraseSdCard as DebugLinkEraseSdCard,
|
|
6246
|
+
messages_DebugLinkWatchLayout as DebugLinkWatchLayout,
|
|
6035
6247
|
messages_DnxGetAddress as DnxGetAddress,
|
|
6036
6248
|
messages_DnxAddress as DnxAddress,
|
|
6037
6249
|
messages_DnxSignTx as DnxSignTx,
|
|
@@ -6190,6 +6402,7 @@ declare namespace messages {
|
|
|
6190
6402
|
messages_GetEntropy as GetEntropy,
|
|
6191
6403
|
messages_Entropy as Entropy,
|
|
6192
6404
|
messages_WipeDevice as WipeDevice,
|
|
6405
|
+
messages_LoadDevice as LoadDevice,
|
|
6193
6406
|
messages_ResetDevice as ResetDevice,
|
|
6194
6407
|
messages_BackupDevice as BackupDevice,
|
|
6195
6408
|
messages_EntropyRequest as EntropyRequest,
|
|
@@ -6303,6 +6516,8 @@ declare namespace messages {
|
|
|
6303
6516
|
messages_MoneroLiveRefreshStepAck as MoneroLiveRefreshStepAck,
|
|
6304
6517
|
messages_MoneroLiveRefreshFinalRequest as MoneroLiveRefreshFinalRequest,
|
|
6305
6518
|
messages_MoneroLiveRefreshFinalAck as MoneroLiveRefreshFinalAck,
|
|
6519
|
+
messages_DebugMoneroDiagRequest as DebugMoneroDiagRequest,
|
|
6520
|
+
messages_DebugMoneroDiagAck as DebugMoneroDiagAck,
|
|
6306
6521
|
messages_NearGetAddress as NearGetAddress,
|
|
6307
6522
|
messages_NearAddress as NearAddress,
|
|
6308
6523
|
messages_NearSignTx as NearSignTx,
|
|
@@ -6474,6 +6689,11 @@ declare namespace messages {
|
|
|
6474
6689
|
messages_TronMessageType as TronMessageType,
|
|
6475
6690
|
messages_TronSignMessage as TronSignMessage,
|
|
6476
6691
|
messages_TronMessageSignature as TronMessageSignature,
|
|
6692
|
+
messages_WebAuthnListResidentCredentials as WebAuthnListResidentCredentials,
|
|
6693
|
+
messages_WebAuthnAddResidentCredential as WebAuthnAddResidentCredential,
|
|
6694
|
+
messages_WebAuthnRemoveResidentCredential as WebAuthnRemoveResidentCredential,
|
|
6695
|
+
messages_WebAuthnCredential as WebAuthnCredential,
|
|
6696
|
+
messages_WebAuthnCredentials as WebAuthnCredentials,
|
|
6477
6697
|
messages_facotry as facotry,
|
|
6478
6698
|
messages_CommandFlags as CommandFlags,
|
|
6479
6699
|
messages_experimental_message as experimental_message,
|
|
@@ -6876,4 +7096,4 @@ declare const _default: {
|
|
|
6876
7096
|
withProtocolTimeout: typeof withProtocolTimeout;
|
|
6877
7097
|
};
|
|
6878
7098
|
|
|
6879
|
-
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_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, 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, isProtocolV2LinkError, probeProtocolV2, index as protocolV1, protocolV2Codec as protocolV2, shouldSuppressHighVolumeCallLog, withProtocolTimeout, writeProtocolV2BleFrame };
|
|
7099
|
+
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, CosiCommit, CosiCommitment, CosiSign, CosiSignature, CosmosAddress, CosmosGetAddress, CosmosSignTx, CosmosSignedTx, DebugLinkDecision, DebugLinkEraseSdCard, DebugLinkFlashErase, DebugLinkGetState, DebugLinkLayout, DebugLinkLog, DebugLinkMemory, DebugLinkMemoryRead, DebugLinkMemoryWrite, DebugLinkRecordScreen, DebugLinkReseedRandom, DebugLinkState, DebugLinkStop, DebugLinkWatchLayout, DebugMoneroDiagAck, DebugMoneroDiagRequest, DebugSwipeDirection, 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, LoadDevice, 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_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, 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, WebAuthnAddResidentCredential, WebAuthnCredential, WebAuthnCredentials, WebAuthnListResidentCredentials, WebAuthnRemoveResidentCredential, WipeDevice, WordAck, WordRequest, WordRequestType, WriteSEPrivateKey, WriteSEPublicCert, ZoomRequest, bytesToHex, concatUint8Arrays, createTransportCallLog, _default as default, experimental_field, experimental_message, facotry, getErrorMessage, getSafeTransportLogPayload, hexToBytes, isProtocolV2LinkError, probeProtocolV2, index as protocolV1, protocolV2Codec as protocolV2, shouldSuppressHighVolumeCallLog, withProtocolTimeout, writeProtocolV2BleFrame };
|
package/dist/index.js
CHANGED
|
@@ -1605,6 +1605,13 @@ exports.Enum_PinMatrixRequestType = void 0;
|
|
|
1605
1605
|
Enum_PinMatrixRequestType[Enum_PinMatrixRequestType["PinMatrixRequestType_BackupSecond"] = 7] = "PinMatrixRequestType_BackupSecond";
|
|
1606
1606
|
Enum_PinMatrixRequestType[Enum_PinMatrixRequestType["PinMatrixRequestType_AttachToPin"] = 8000] = "PinMatrixRequestType_AttachToPin";
|
|
1607
1607
|
})(exports.Enum_PinMatrixRequestType || (exports.Enum_PinMatrixRequestType = {}));
|
|
1608
|
+
exports.DebugSwipeDirection = void 0;
|
|
1609
|
+
(function (DebugSwipeDirection) {
|
|
1610
|
+
DebugSwipeDirection[DebugSwipeDirection["UP"] = 0] = "UP";
|
|
1611
|
+
DebugSwipeDirection[DebugSwipeDirection["DOWN"] = 1] = "DOWN";
|
|
1612
|
+
DebugSwipeDirection[DebugSwipeDirection["LEFT"] = 2] = "LEFT";
|
|
1613
|
+
DebugSwipeDirection[DebugSwipeDirection["RIGHT"] = 3] = "RIGHT";
|
|
1614
|
+
})(exports.DebugSwipeDirection || (exports.DebugSwipeDirection = {}));
|
|
1608
1615
|
exports.EthereumDefinitionType = void 0;
|
|
1609
1616
|
(function (EthereumDefinitionType) {
|
|
1610
1617
|
EthereumDefinitionType[EthereumDefinitionType["NETWORK"] = 0] = "NETWORK";
|
|
@@ -2086,6 +2093,7 @@ var messages = /*#__PURE__*/Object.freeze({
|
|
|
2086
2093
|
get FailureType () { return exports.FailureType; },
|
|
2087
2094
|
get Enum_ButtonRequestType () { return exports.Enum_ButtonRequestType; },
|
|
2088
2095
|
get Enum_PinMatrixRequestType () { return exports.Enum_PinMatrixRequestType; },
|
|
2096
|
+
get DebugSwipeDirection () { return exports.DebugSwipeDirection; },
|
|
2089
2097
|
get EthereumDefinitionType () { return exports.EthereumDefinitionType; },
|
|
2090
2098
|
get EthereumGnosisSafeTxOperation () { return exports.EthereumGnosisSafeTxOperation; },
|
|
2091
2099
|
get EthereumDataTypeOneKey () { return exports.EthereumDataTypeOneKey; },
|
package/dist/types/messages.d.ts
CHANGED
|
@@ -1052,6 +1052,23 @@ export type ECDHSessionKey = {
|
|
|
1052
1052
|
session_key: string;
|
|
1053
1053
|
public_key?: string;
|
|
1054
1054
|
};
|
|
1055
|
+
export type CosiCommit = {
|
|
1056
|
+
address_n: number[];
|
|
1057
|
+
data?: string;
|
|
1058
|
+
};
|
|
1059
|
+
export type CosiCommitment = {
|
|
1060
|
+
commitment?: string;
|
|
1061
|
+
pubkey?: string;
|
|
1062
|
+
};
|
|
1063
|
+
export type CosiSign = {
|
|
1064
|
+
address_n: number[];
|
|
1065
|
+
data?: string;
|
|
1066
|
+
global_commitment?: string;
|
|
1067
|
+
global_pubkey?: string;
|
|
1068
|
+
};
|
|
1069
|
+
export type CosiSignature = {
|
|
1070
|
+
signature: string;
|
|
1071
|
+
};
|
|
1055
1072
|
export type Path = {
|
|
1056
1073
|
address_n: number[];
|
|
1057
1074
|
};
|
|
@@ -1065,6 +1082,77 @@ export type EcdsaPublicKeys = {
|
|
|
1065
1082
|
hd_nodes: HDNodeType[];
|
|
1066
1083
|
root_fingerprint?: number;
|
|
1067
1084
|
};
|
|
1085
|
+
export declare enum DebugSwipeDirection {
|
|
1086
|
+
UP = 0,
|
|
1087
|
+
DOWN = 1,
|
|
1088
|
+
LEFT = 2,
|
|
1089
|
+
RIGHT = 3
|
|
1090
|
+
}
|
|
1091
|
+
export type DebugLinkDecision = {
|
|
1092
|
+
yes_no?: boolean;
|
|
1093
|
+
swipe?: DebugSwipeDirection;
|
|
1094
|
+
input?: string;
|
|
1095
|
+
x?: number;
|
|
1096
|
+
y?: number;
|
|
1097
|
+
wait?: boolean;
|
|
1098
|
+
hold_ms?: number;
|
|
1099
|
+
};
|
|
1100
|
+
export type DebugLinkLayout = {
|
|
1101
|
+
lines: string[];
|
|
1102
|
+
};
|
|
1103
|
+
export type DebugLinkReseedRandom = {
|
|
1104
|
+
value?: number;
|
|
1105
|
+
};
|
|
1106
|
+
export type DebugLinkRecordScreen = {
|
|
1107
|
+
target_directory?: string;
|
|
1108
|
+
};
|
|
1109
|
+
export type DebugLinkGetState = {
|
|
1110
|
+
wait_word_list?: boolean;
|
|
1111
|
+
wait_word_pos?: boolean;
|
|
1112
|
+
wait_layout?: boolean;
|
|
1113
|
+
};
|
|
1114
|
+
export type DebugLinkState = {
|
|
1115
|
+
layout?: string;
|
|
1116
|
+
pin?: string;
|
|
1117
|
+
matrix?: string;
|
|
1118
|
+
mnemonic_secret?: string;
|
|
1119
|
+
node?: HDNodeType;
|
|
1120
|
+
passphrase_protection?: boolean;
|
|
1121
|
+
reset_word?: string;
|
|
1122
|
+
reset_entropy?: string;
|
|
1123
|
+
recovery_fake_word?: string;
|
|
1124
|
+
recovery_word_pos?: number;
|
|
1125
|
+
reset_word_pos?: number;
|
|
1126
|
+
mnemonic_type?: BackupType;
|
|
1127
|
+
layout_lines: string[];
|
|
1128
|
+
};
|
|
1129
|
+
export type DebugLinkStop = {};
|
|
1130
|
+
export type DebugLinkLog = {
|
|
1131
|
+
level?: number;
|
|
1132
|
+
bucket?: string;
|
|
1133
|
+
text?: string;
|
|
1134
|
+
};
|
|
1135
|
+
export type DebugLinkMemoryRead = {
|
|
1136
|
+
address?: number;
|
|
1137
|
+
length?: number;
|
|
1138
|
+
};
|
|
1139
|
+
export type DebugLinkMemory = {
|
|
1140
|
+
memory?: string;
|
|
1141
|
+
};
|
|
1142
|
+
export type DebugLinkMemoryWrite = {
|
|
1143
|
+
address?: number;
|
|
1144
|
+
memory?: string;
|
|
1145
|
+
flash?: boolean;
|
|
1146
|
+
};
|
|
1147
|
+
export type DebugLinkFlashErase = {
|
|
1148
|
+
sector?: number;
|
|
1149
|
+
};
|
|
1150
|
+
export type DebugLinkEraseSdCard = {
|
|
1151
|
+
format?: boolean;
|
|
1152
|
+
};
|
|
1153
|
+
export type DebugLinkWatchLayout = {
|
|
1154
|
+
watch?: boolean;
|
|
1155
|
+
};
|
|
1068
1156
|
export type DnxGetAddress = {
|
|
1069
1157
|
address_n: number[];
|
|
1070
1158
|
show_display?: boolean;
|
|
@@ -2044,6 +2132,17 @@ export type Entropy = {
|
|
|
2044
2132
|
entropy: string;
|
|
2045
2133
|
};
|
|
2046
2134
|
export type WipeDevice = {};
|
|
2135
|
+
export type LoadDevice = {
|
|
2136
|
+
mnemonics: string[];
|
|
2137
|
+
pin?: string;
|
|
2138
|
+
passphrase_protection?: boolean;
|
|
2139
|
+
language?: string;
|
|
2140
|
+
label?: string;
|
|
2141
|
+
skip_checksum?: boolean;
|
|
2142
|
+
u2f_counter?: number;
|
|
2143
|
+
needs_backup?: boolean;
|
|
2144
|
+
no_backup?: boolean;
|
|
2145
|
+
};
|
|
2047
2146
|
export type ResetDevice = {
|
|
2048
2147
|
display_random?: boolean;
|
|
2049
2148
|
strength?: number;
|
|
@@ -2510,6 +2609,22 @@ export type MoneroLiveRefreshStepAck = {
|
|
|
2510
2609
|
};
|
|
2511
2610
|
export type MoneroLiveRefreshFinalRequest = {};
|
|
2512
2611
|
export type MoneroLiveRefreshFinalAck = {};
|
|
2612
|
+
export type DebugMoneroDiagRequest = {
|
|
2613
|
+
ins?: number;
|
|
2614
|
+
p1?: number;
|
|
2615
|
+
p2?: number;
|
|
2616
|
+
pd: number[];
|
|
2617
|
+
data1?: string;
|
|
2618
|
+
data2?: string;
|
|
2619
|
+
};
|
|
2620
|
+
export type DebugMoneroDiagAck = {
|
|
2621
|
+
ins?: number;
|
|
2622
|
+
p1?: number;
|
|
2623
|
+
p2?: number;
|
|
2624
|
+
pd: number[];
|
|
2625
|
+
data1?: string;
|
|
2626
|
+
data2?: string;
|
|
2627
|
+
};
|
|
2513
2628
|
export type NearGetAddress = {
|
|
2514
2629
|
address_n: number[];
|
|
2515
2630
|
show_display?: boolean;
|
|
@@ -3407,6 +3522,30 @@ export type TronMessageSignature = {
|
|
|
3407
3522
|
address: string;
|
|
3408
3523
|
signature: string;
|
|
3409
3524
|
};
|
|
3525
|
+
export type WebAuthnListResidentCredentials = {};
|
|
3526
|
+
export type WebAuthnAddResidentCredential = {
|
|
3527
|
+
credential_id?: string;
|
|
3528
|
+
};
|
|
3529
|
+
export type WebAuthnRemoveResidentCredential = {
|
|
3530
|
+
index?: number;
|
|
3531
|
+
};
|
|
3532
|
+
export type WebAuthnCredential = {
|
|
3533
|
+
index?: number;
|
|
3534
|
+
id?: string;
|
|
3535
|
+
rp_id?: string;
|
|
3536
|
+
rp_name?: string;
|
|
3537
|
+
user_id?: string;
|
|
3538
|
+
user_name?: string;
|
|
3539
|
+
user_display_name?: string;
|
|
3540
|
+
creation_time?: number;
|
|
3541
|
+
hmac_secret?: boolean;
|
|
3542
|
+
use_sign_count?: boolean;
|
|
3543
|
+
algorithm?: number;
|
|
3544
|
+
curve?: number;
|
|
3545
|
+
};
|
|
3546
|
+
export type WebAuthnCredentials = {
|
|
3547
|
+
credentials: WebAuthnCredential[];
|
|
3548
|
+
};
|
|
3410
3549
|
export type facotry = {};
|
|
3411
3550
|
export declare enum CommandFlags {
|
|
3412
3551
|
Default = 0,
|
|
@@ -4128,9 +4267,27 @@ export type MessageType = {
|
|
|
4128
4267
|
SignedIdentity: SignedIdentity;
|
|
4129
4268
|
GetECDHSessionKey: GetECDHSessionKey;
|
|
4130
4269
|
ECDHSessionKey: ECDHSessionKey;
|
|
4270
|
+
CosiCommit: CosiCommit;
|
|
4271
|
+
CosiCommitment: CosiCommitment;
|
|
4272
|
+
CosiSign: CosiSign;
|
|
4273
|
+
CosiSignature: CosiSignature;
|
|
4131
4274
|
Path: Path;
|
|
4132
4275
|
BatchGetPublickeys: BatchGetPublickeys;
|
|
4133
4276
|
EcdsaPublicKeys: EcdsaPublicKeys;
|
|
4277
|
+
DebugLinkDecision: DebugLinkDecision;
|
|
4278
|
+
DebugLinkLayout: DebugLinkLayout;
|
|
4279
|
+
DebugLinkReseedRandom: DebugLinkReseedRandom;
|
|
4280
|
+
DebugLinkRecordScreen: DebugLinkRecordScreen;
|
|
4281
|
+
DebugLinkGetState: DebugLinkGetState;
|
|
4282
|
+
DebugLinkState: DebugLinkState;
|
|
4283
|
+
DebugLinkStop: DebugLinkStop;
|
|
4284
|
+
DebugLinkLog: DebugLinkLog;
|
|
4285
|
+
DebugLinkMemoryRead: DebugLinkMemoryRead;
|
|
4286
|
+
DebugLinkMemory: DebugLinkMemory;
|
|
4287
|
+
DebugLinkMemoryWrite: DebugLinkMemoryWrite;
|
|
4288
|
+
DebugLinkFlashErase: DebugLinkFlashErase;
|
|
4289
|
+
DebugLinkEraseSdCard: DebugLinkEraseSdCard;
|
|
4290
|
+
DebugLinkWatchLayout: DebugLinkWatchLayout;
|
|
4134
4291
|
DnxGetAddress: DnxGetAddress;
|
|
4135
4292
|
DnxAddress: DnxAddress;
|
|
4136
4293
|
DnxSignTx: DnxSignTx;
|
|
@@ -4268,6 +4425,7 @@ export type MessageType = {
|
|
|
4268
4425
|
GetEntropy: GetEntropy;
|
|
4269
4426
|
Entropy: Entropy;
|
|
4270
4427
|
WipeDevice: WipeDevice;
|
|
4428
|
+
LoadDevice: LoadDevice;
|
|
4271
4429
|
ResetDevice: ResetDevice;
|
|
4272
4430
|
BackupDevice: BackupDevice;
|
|
4273
4431
|
EntropyRequest: EntropyRequest;
|
|
@@ -4375,6 +4533,8 @@ export type MessageType = {
|
|
|
4375
4533
|
MoneroLiveRefreshStepAck: MoneroLiveRefreshStepAck;
|
|
4376
4534
|
MoneroLiveRefreshFinalRequest: MoneroLiveRefreshFinalRequest;
|
|
4377
4535
|
MoneroLiveRefreshFinalAck: MoneroLiveRefreshFinalAck;
|
|
4536
|
+
DebugMoneroDiagRequest: DebugMoneroDiagRequest;
|
|
4537
|
+
DebugMoneroDiagAck: DebugMoneroDiagAck;
|
|
4378
4538
|
NearGetAddress: NearGetAddress;
|
|
4379
4539
|
NearAddress: NearAddress;
|
|
4380
4540
|
NearSignTx: NearSignTx;
|
|
@@ -4529,6 +4689,11 @@ export type MessageType = {
|
|
|
4529
4689
|
TronSignedTx: TronSignedTx;
|
|
4530
4690
|
TronSignMessage: TronSignMessage;
|
|
4531
4691
|
TronMessageSignature: TronMessageSignature;
|
|
4692
|
+
WebAuthnListResidentCredentials: WebAuthnListResidentCredentials;
|
|
4693
|
+
WebAuthnAddResidentCredential: WebAuthnAddResidentCredential;
|
|
4694
|
+
WebAuthnRemoveResidentCredential: WebAuthnRemoveResidentCredential;
|
|
4695
|
+
WebAuthnCredential: WebAuthnCredential;
|
|
4696
|
+
WebAuthnCredentials: WebAuthnCredentials;
|
|
4532
4697
|
facotry: facotry;
|
|
4533
4698
|
experimental_message: experimental_message;
|
|
4534
4699
|
experimental_field: experimental_field;
|