@ukeyfe/hardware-transport 1.1.25 → 1.1.26
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/README.md +1 -1
- package/__tests__/build-receive.test.js +0 -1
- package/__tests__/decode-features.test.js +2 -2
- package/__tests__/encode-decode-basic.test.js +1 -0
- package/dist/index.d.ts +46 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/serialization/protobuf/decode.d.ts +1 -1
- package/dist/serialization/protobuf/decode.d.ts.map +1 -1
- package/dist/serialization/protobuf/encode.d.ts +1 -1
- package/dist/serialization/protobuf/encode.d.ts.map +1 -1
- package/dist/serialization/protocol/decode.d.ts.map +1 -1
- package/dist/serialization/receive.d.ts +1 -1
- package/dist/serialization/receive.d.ts.map +1 -1
- package/dist/serialization/send.d.ts +1 -1
- package/dist/serialization/send.d.ts.map +1 -1
- package/dist/types/messages.d.ts +30 -0
- package/dist/types/messages.d.ts.map +1 -1
- package/dist/types/transport.d.ts +7 -2
- package/dist/types/transport.d.ts.map +1 -1
- package/dist/utils/highlevel-checks.d.ts +1 -1
- package/dist/utils/highlevel-checks.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/index.ts +3 -0
- package/src/serialization/protobuf/decode.ts +3 -1
- package/src/serialization/protobuf/encode.ts +2 -1
- package/src/serialization/protocol/decode.ts +1 -0
- package/src/serialization/protocol/encode.ts +1 -1
- package/src/serialization/receive.ts +2 -1
- package/src/serialization/send.ts +3 -1
- package/src/types/messages.ts +38 -0
- package/src/types/transport.ts +22 -2
- package/src/utils/highlevel-checks.ts +1 -1
package/README.md
CHANGED
|
@@ -26,4 +26,4 @@ yarn update:protobuf to generate new ./messages.json and ./src/types/messages.ts
|
|
|
26
26
|
|
|
27
27
|
## Docs
|
|
28
28
|
|
|
29
|
-
Documentation is available [hardware-js-sdk](https://developer.ukey.
|
|
29
|
+
Documentation is available [hardware-js-sdk](https://developer.ukey.io/connect-to-hardware/hardware-sdk/start)
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
const { parseConfigure } = require('../src/serialization/protobuf/messages');
|
|
2
2
|
const { buildOne } = require('../src/serialization/send');
|
|
3
3
|
const { receiveOne } = require('../src/serialization/receive');
|
|
4
|
-
|
|
5
4
|
const { buildEncodeBuffers } = require('../src/serialization/send');
|
|
6
5
|
|
|
7
6
|
const messages = {
|
|
@@ -13,7 +13,7 @@ const fixtures = [
|
|
|
13
13
|
encodeMessage:
|
|
14
14
|
'0011000000260a096f6e656b65792e736f1002180020002801900101aa010131b00101b80163c00163c020ff',
|
|
15
15
|
out: {
|
|
16
|
-
vendor: 'ukey.
|
|
16
|
+
vendor: 'ukey.io',
|
|
17
17
|
major_version: 2,
|
|
18
18
|
minor_version: 0,
|
|
19
19
|
patch_version: 0,
|
|
@@ -32,7 +32,7 @@ const fixtures = [
|
|
|
32
32
|
encodeMessage:
|
|
33
33
|
'0011000000260a096f6e656b65792e736f1002180020002801900101aa010131b00102b80163c00163c02004',
|
|
34
34
|
out: {
|
|
35
|
-
vendor: 'ukey.
|
|
35
|
+
vendor: 'ukey.io',
|
|
36
36
|
major_version: 2,
|
|
37
37
|
minor_version: 0,
|
|
38
38
|
patch_version: 0,
|
package/dist/index.d.ts
CHANGED
|
@@ -34,6 +34,7 @@ declare namespace decodeProtocol {
|
|
|
34
34
|
};
|
|
35
35
|
}
|
|
36
36
|
|
|
37
|
+
type UKeyDeviceCommType = 'usb' | 'webusb' | 'ble' | 'webble' | 'electron-ble' | 'bridge' | 'emulator';
|
|
37
38
|
type UKeyUsbDeviceInfo = {
|
|
38
39
|
path: string;
|
|
39
40
|
};
|
|
@@ -46,7 +47,10 @@ type UKeyMobileDeviceInfo = {
|
|
|
46
47
|
id: string;
|
|
47
48
|
name: string | null;
|
|
48
49
|
};
|
|
49
|
-
type
|
|
50
|
+
type UKeyDeviceInfoBase = {
|
|
51
|
+
commType: UKeyDeviceCommType;
|
|
52
|
+
};
|
|
53
|
+
type UKeyDeviceInfo = UKeyDeviceInfoBase & UKeyDeviceInfoWithSession & UKeyMobileDeviceInfo;
|
|
50
54
|
type AcquireInput = {
|
|
51
55
|
path?: string;
|
|
52
56
|
previous?: string | null;
|
|
@@ -68,6 +72,7 @@ type Transport = {
|
|
|
68
72
|
post(session: string, name: string, data: Record<string, any>): Promise<void>;
|
|
69
73
|
read(session: string): Promise<MessageFromUKey>;
|
|
70
74
|
cancel(): Promise<void>;
|
|
75
|
+
disconnect?: (session: string) => Promise<void>;
|
|
71
76
|
promptDeviceAccess?: () => Promise<USBDevice | BluetoothDevice | null>;
|
|
72
77
|
init: ITransportInitFn;
|
|
73
78
|
stop(): void;
|
|
@@ -77,7 +82,7 @@ type Transport = {
|
|
|
77
82
|
activeName?: string;
|
|
78
83
|
isOutdated: boolean;
|
|
79
84
|
};
|
|
80
|
-
type LowLevelDevice = {
|
|
85
|
+
type LowLevelDevice = UKeyDeviceInfoBase & {
|
|
81
86
|
id: string;
|
|
82
87
|
name: string;
|
|
83
88
|
};
|
|
@@ -647,6 +652,9 @@ type FirmwareUpdateEmmc = {
|
|
|
647
652
|
path: string;
|
|
648
653
|
reboot_on_success?: boolean;
|
|
649
654
|
};
|
|
655
|
+
type UpgradeFileHeader = {
|
|
656
|
+
data: string;
|
|
657
|
+
};
|
|
650
658
|
declare enum CardanoDerivationType {
|
|
651
659
|
LEDGER = 0,
|
|
652
660
|
ICARUS = 1,
|
|
@@ -1862,6 +1870,10 @@ type Features = {
|
|
|
1862
1870
|
build_id?: string;
|
|
1863
1871
|
boardloader_version?: string;
|
|
1864
1872
|
battery_level?: number;
|
|
1873
|
+
product?: string;
|
|
1874
|
+
brightness_prcent?: number;
|
|
1875
|
+
haptic_feedback?: boolean;
|
|
1876
|
+
auto_shutdown_delay_ms?: number;
|
|
1865
1877
|
ukey_device_type?: string | null;
|
|
1866
1878
|
ukey_se_type?: string | null;
|
|
1867
1879
|
ukey_board_version?: string;
|
|
@@ -1961,6 +1973,9 @@ type ApplySettings = {
|
|
|
1961
1973
|
fastpay_confirm?: boolean;
|
|
1962
1974
|
fastpay_money_limit?: number;
|
|
1963
1975
|
fastpay_times?: number;
|
|
1976
|
+
auto_shutdown_delay_ms?: number;
|
|
1977
|
+
change_brightness?: boolean;
|
|
1978
|
+
haptic_feedback?: boolean;
|
|
1964
1979
|
};
|
|
1965
1980
|
type ApplyFlags = {
|
|
1966
1981
|
flags: number;
|
|
@@ -2156,11 +2171,16 @@ type ResourceUpload = {
|
|
|
2156
2171
|
nft_meta_data?: string;
|
|
2157
2172
|
zoom_data_length: number;
|
|
2158
2173
|
file_name_no_ext?: string;
|
|
2174
|
+
blur_data_length?: number;
|
|
2159
2175
|
};
|
|
2160
2176
|
type ZoomRequest = {
|
|
2161
2177
|
offset?: number;
|
|
2162
2178
|
data_length: number;
|
|
2163
2179
|
};
|
|
2180
|
+
type BlurRequest = {
|
|
2181
|
+
offset?: number;
|
|
2182
|
+
data_length: number;
|
|
2183
|
+
};
|
|
2164
2184
|
type ResourceRequest = {
|
|
2165
2185
|
offset?: number;
|
|
2166
2186
|
data_length: number;
|
|
@@ -2704,6 +2724,7 @@ type PolkadotSignTx = {
|
|
|
2704
2724
|
address_n: number[];
|
|
2705
2725
|
raw_tx: string;
|
|
2706
2726
|
network: string;
|
|
2727
|
+
prefix?: number;
|
|
2707
2728
|
};
|
|
2708
2729
|
type PolkadotSignedTx = {
|
|
2709
2730
|
signature: string;
|
|
@@ -2773,9 +2794,19 @@ type SolanaGetAddress = {
|
|
|
2773
2794
|
type SolanaAddress = {
|
|
2774
2795
|
address?: string;
|
|
2775
2796
|
};
|
|
2797
|
+
type SolanaTxATADetails = {
|
|
2798
|
+
owner_address: string;
|
|
2799
|
+
program_id: string;
|
|
2800
|
+
mint_address: string;
|
|
2801
|
+
associated_token_address: string;
|
|
2802
|
+
};
|
|
2803
|
+
type SolanaTxExtraInfo = {
|
|
2804
|
+
ata_details: SolanaTxATADetails[];
|
|
2805
|
+
};
|
|
2776
2806
|
type SolanaSignTx = {
|
|
2777
2807
|
address_n: number[];
|
|
2778
2808
|
raw_tx: string;
|
|
2809
|
+
extra_info?: SolanaTxExtraInfo;
|
|
2779
2810
|
};
|
|
2780
2811
|
type SolanaSignedTx = {
|
|
2781
2812
|
signature?: string;
|
|
@@ -3389,6 +3420,7 @@ type MessageType = {
|
|
|
3389
3420
|
FirmwareErase_ex: FirmwareErase_ex;
|
|
3390
3421
|
Reboot: Reboot;
|
|
3391
3422
|
FirmwareUpdateEmmc: FirmwareUpdateEmmc;
|
|
3423
|
+
UpgradeFileHeader: UpgradeFileHeader;
|
|
3392
3424
|
CardanoBlockchainPointerType: CardanoBlockchainPointerType;
|
|
3393
3425
|
CardanoNativeScript: CardanoNativeScript;
|
|
3394
3426
|
CardanoGetNativeScriptHash: CardanoGetNativeScriptHash;
|
|
@@ -3632,6 +3664,7 @@ type MessageType = {
|
|
|
3632
3664
|
SEMessageSignature: SEMessageSignature;
|
|
3633
3665
|
ResourceUpload: ResourceUpload;
|
|
3634
3666
|
ZoomRequest: ZoomRequest;
|
|
3667
|
+
BlurRequest: BlurRequest;
|
|
3635
3668
|
ResourceRequest: ResourceRequest;
|
|
3636
3669
|
ResourceAck: ResourceAck;
|
|
3637
3670
|
ResourceUpdate: ResourceUpdate;
|
|
@@ -3759,6 +3792,8 @@ type MessageType = {
|
|
|
3759
3792
|
ScdoSignedMessage: ScdoSignedMessage;
|
|
3760
3793
|
SolanaGetAddress: SolanaGetAddress;
|
|
3761
3794
|
SolanaAddress: SolanaAddress;
|
|
3795
|
+
SolanaTxATADetails: SolanaTxATADetails;
|
|
3796
|
+
SolanaTxExtraInfo: SolanaTxExtraInfo;
|
|
3762
3797
|
SolanaSignTx: SolanaSignTx;
|
|
3763
3798
|
SolanaSignedTx: SolanaSignedTx;
|
|
3764
3799
|
SolanaSignOffChainMessage: SolanaSignOffChainMessage;
|
|
@@ -3971,6 +4006,7 @@ type messages_RebootType = RebootType;
|
|
|
3971
4006
|
declare const messages_RebootType: typeof RebootType;
|
|
3972
4007
|
type messages_Reboot = Reboot;
|
|
3973
4008
|
type messages_FirmwareUpdateEmmc = FirmwareUpdateEmmc;
|
|
4009
|
+
type messages_UpgradeFileHeader = UpgradeFileHeader;
|
|
3974
4010
|
type messages_CardanoDerivationType = CardanoDerivationType;
|
|
3975
4011
|
declare const messages_CardanoDerivationType: typeof CardanoDerivationType;
|
|
3976
4012
|
type messages_CardanoAddressType = CardanoAddressType;
|
|
@@ -4284,6 +4320,7 @@ type messages_ResourceType = ResourceType;
|
|
|
4284
4320
|
declare const messages_ResourceType: typeof ResourceType;
|
|
4285
4321
|
type messages_ResourceUpload = ResourceUpload;
|
|
4286
4322
|
type messages_ZoomRequest = ZoomRequest;
|
|
4323
|
+
type messages_BlurRequest = BlurRequest;
|
|
4287
4324
|
type messages_ResourceRequest = ResourceRequest;
|
|
4288
4325
|
type messages_ResourceAck = ResourceAck;
|
|
4289
4326
|
type messages_ResourceUpdate = ResourceUpdate;
|
|
@@ -4419,6 +4456,8 @@ type messages_ScdoSignMessage = ScdoSignMessage;
|
|
|
4419
4456
|
type messages_ScdoSignedMessage = ScdoSignedMessage;
|
|
4420
4457
|
type messages_SolanaGetAddress = SolanaGetAddress;
|
|
4421
4458
|
type messages_SolanaAddress = SolanaAddress;
|
|
4459
|
+
type messages_SolanaTxATADetails = SolanaTxATADetails;
|
|
4460
|
+
type messages_SolanaTxExtraInfo = SolanaTxExtraInfo;
|
|
4422
4461
|
type messages_SolanaSignTx = SolanaSignTx;
|
|
4423
4462
|
type messages_SolanaSignedTx = SolanaSignedTx;
|
|
4424
4463
|
type messages_SolanaOffChainMessageVersion = SolanaOffChainMessageVersion;
|
|
@@ -4643,6 +4682,7 @@ declare namespace messages {
|
|
|
4643
4682
|
messages_RebootType as RebootType,
|
|
4644
4683
|
messages_Reboot as Reboot,
|
|
4645
4684
|
messages_FirmwareUpdateEmmc as FirmwareUpdateEmmc,
|
|
4685
|
+
messages_UpgradeFileHeader as UpgradeFileHeader,
|
|
4646
4686
|
messages_CardanoDerivationType as CardanoDerivationType,
|
|
4647
4687
|
messages_CardanoAddressType as CardanoAddressType,
|
|
4648
4688
|
messages_CardanoNativeScriptType as CardanoNativeScriptType,
|
|
@@ -4924,6 +4964,7 @@ declare namespace messages {
|
|
|
4924
4964
|
messages_ResourceType as ResourceType,
|
|
4925
4965
|
messages_ResourceUpload as ResourceUpload,
|
|
4926
4966
|
messages_ZoomRequest as ZoomRequest,
|
|
4967
|
+
messages_BlurRequest as BlurRequest,
|
|
4927
4968
|
messages_ResourceRequest as ResourceRequest,
|
|
4928
4969
|
messages_ResourceAck as ResourceAck,
|
|
4929
4970
|
messages_ResourceUpdate as ResourceUpdate,
|
|
@@ -5055,6 +5096,8 @@ declare namespace messages {
|
|
|
5055
5096
|
messages_ScdoSignedMessage as ScdoSignedMessage,
|
|
5056
5097
|
messages_SolanaGetAddress as SolanaGetAddress,
|
|
5057
5098
|
messages_SolanaAddress as SolanaAddress,
|
|
5099
|
+
messages_SolanaTxATADetails as SolanaTxATADetails,
|
|
5100
|
+
messages_SolanaTxExtraInfo as SolanaTxExtraInfo,
|
|
5058
5101
|
messages_SolanaSignTx as SolanaSignTx,
|
|
5059
5102
|
messages_SolanaSignedTx as SolanaSignedTx,
|
|
5060
5103
|
messages_SolanaOffChainMessageVersion as SolanaOffChainMessageVersion,
|
|
@@ -5200,4 +5243,4 @@ declare const _default: {
|
|
|
5200
5243
|
decodeProtocol: typeof decodeProtocol;
|
|
5201
5244
|
};
|
|
5202
5245
|
|
|
5203
|
-
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, BUFFER_SIZE, 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, ButtonAck, ButtonRequest, ButtonRequestType, COMMON_HEADER_SIZE, 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, CommandFlags, ConfluxAddress, ConfluxGetAddress, ConfluxMessageSignature, ConfluxSignMessage, ConfluxSignMessageCIP23, ConfluxSignTx, ConfluxTxAck, ConfluxTxRequest, CosmosAddress, CosmosGetAddress, CosmosSignTx, CosmosSignedTx, DecredStakingSpendType, Deprecated_PassphraseStateAck, Deprecated_PassphraseStateRequest, DeviceBackToBoot, DeviceEraseSector, DeviceInfo, DeviceInfoSettings, DnxAddress, DnxComputedKeyImage, DnxGetAddress, DnxInputAck, DnxInputRequest, DnxRTSigsRequest, DnxSignTx, DnxSignedTx, DnxTxKey, DoPreauthorized, ECDHSessionKey, EcdsaPublicKeys, EmmcDir, EmmcDirList, EmmcDirMake, EmmcDirRemove, EmmcFile, EmmcFileDelete, EmmcFileRead, EmmcFileWrite, EmmcFixPermission, EmmcPath, EmmcPathInfo, EndSession, Entropy, EntropyAck, EntropyRequest, Enum_BackupType, Enum_ButtonRequestType, Enum_Capability, Enum_InputScriptType, Enum_OutputScriptType, Enum_PinMatrixRequestType, Enum_RequestType, Enum_SafetyCheckLevel, Enum_WordRequestType, EosActionBuyRam, EosActionBuyRamBytes, EosActionCommon, EosActionDelegate, EosActionDeleteAuth, EosActionLinkAuth, EosActionNewAccount, EosActionRefund, EosActionSellRam, EosActionTransfer, EosActionUndelegate, EosActionUnknown, EosActionUnlinkAuth, EosActionUpdateAuth, EosActionVoteProducer, EosAsset, EosAuthorization, EosAuthorizationAccount, EosAuthorizationKey, EosAuthorizationWait, EosGetPublicKey, EosPermissionLevel, EosPublicKey, EosSignTx, EosSignedTx, EosTxActionAck, EosTxActionRequest, EosTxHeader, EthereumAccessList, EthereumAccessListUKey, EthereumAddress, EthereumAddressUKey, EthereumAuthorizationSignature, EthereumAuthorizationUKey, EthereumDataType, EthereumDataTypeUKey, EthereumDefinitionType, EthereumDefinitions, EthereumFieldType, EthereumFieldTypeUKey, EthereumGetAddress, EthereumGetAddressUKey, EthereumGetPublicKey, EthereumGetPublicKeyUKey, EthereumGnosisSafeTxAck, EthereumGnosisSafeTxOperation, EthereumGnosisSafeTxRequest, EthereumMessageSignature, EthereumMessageSignatureUKey, EthereumNetworkInfo, EthereumPublicKey, EthereumPublicKeyUKey, EthereumSignMessage, EthereumSignMessageEIP712, EthereumSignMessageUKey, EthereumSignTx, EthereumSignTxEIP1559, EthereumSignTxEIP1559UKey, EthereumSignTxEIP7702UKey, EthereumSignTxUKey, EthereumSignTypedData, EthereumSignTypedDataUKey, EthereumSignTypedHash, EthereumSignTypedHashUKey, EthereumStructMember, EthereumStructMemberUKey, EthereumTokenInfo, EthereumTxAck, EthereumTxAckUKey, EthereumTxRequest, EthereumTxRequestUKey, EthereumTypedDataSignature, EthereumTypedDataSignatureUKey, EthereumTypedDataStructAck, EthereumTypedDataStructAckUKey, EthereumTypedDataStructRequest, EthereumTypedDataStructRequestUKey, EthereumTypedDataValueAck, EthereumTypedDataValueAckUKey, EthereumTypedDataValueRequest, EthereumTypedDataValueRequestUKey, EthereumVerifyMessage, EthereumVerifyMessageUKey, ExportType, Failure, FailureType, Features, FileInfo, FileInfoList, FilecoinAddress, FilecoinGetAddress, FilecoinSignTx, FilecoinSignedTx, FirmwareErase, FirmwareErase_ex, FirmwareRequest, FirmwareUpdateEmmc, FirmwareUpload, GetAddress, GetDeviceInfo, GetECDHSessionKey, GetEntropy, GetFeatures, GetNextU2FCounter, GetOwnershipId, GetOwnershipProof, GetPassphraseState, GetPublicKey, GetPublicKeyMultiple, HDNodePathType, HDNodeType, HEADER_SIZE, IdentityType, Initialize, InputScriptType, InternalInputScriptType, KaspaAddress, KaspaGetAddress, KaspaSignTx, KaspaSignedTx, KaspaTxInputAck, KaspaTxInputRequest, ListResDir, LnurlAuth, LnurlAuthResp, LockDevice, LogBlockCommand, LowLevelDevice, LowlevelTransportSharedPlugin, MESSAGE_HEADER_BYTE, MESSAGE_TOP_CHAR, MessageFromUKey, MessageKey, MessageResponse, 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, 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, NostrDecryptMessage, NostrDecryptedMessage, NostrEncryptMessage, NostrEncryptedMessage, NostrGetPublicKey, NostrPublicKey, NostrSignEvent, NostrSignSchnorr, NostrSignedEvent, NostrSignedSchnorr, OutputScriptType, OwnershipId, OwnershipProof, PassphraseAck, PassphraseRequest, PassphraseState, Path, PinMatrixAck, PinMatrixRequest, PinMatrixRequestType, Ping, PolkadotAddress, PolkadotGetAddress, PolkadotSignTx, PolkadotSignedTx, PreauthorizedRequest, PrevInput, PrevOutput, PrevTx, PublicKey, PublicKeyMultiple, ReadSEPublicCert, ReadSEPublicKey, Reboot, RebootToBoardloader, RebootToBootloader, RebootType, RecoveryDevice, RecoveryDeviceType, 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, SetU2FCounter, SignIdentity, SignMessage, SignPsbt, SignTx, SignedIdentity, SignedPsbt, SolanaAddress, SolanaGetAddress, SolanaMessageSignature, SolanaOffChainMessageFormat, SolanaOffChainMessageVersion, SolanaSignOffChainMessage, SolanaSignTx, SolanaSignUnsafeMessage, SolanaSignedTx, SpiFlashData, SpiFlashRead, SpiFlashWrite, StarcoinAddress, StarcoinGetAddress, StarcoinGetPublicKey, StarcoinMessageSignature, StarcoinPublicKey, StarcoinSignMessage, StarcoinSignTx, StarcoinSignedTx, StarcoinVerifyMessage, StellarAccountMergeOp, StellarAddress, StellarAllowTrustOp, StellarAsset, StellarAssetType, StellarBumpSequenceOp, StellarChangeTrustOp, StellarCreateAccountOp, StellarCreatePassiveSellOfferOp, StellarGetAddress, StellarManageBuyOfferOp, StellarManageDataOp, StellarManageSellOfferOp, StellarMemoType, StellarPathPaymentStrictReceiveOp, StellarPathPaymentStrictSendOp, StellarPaymentOp, StellarSetOptionsOp, StellarSignTx, StellarSignedTx, StellarSignerType, StellarTxOpRequest, Success, SuiAddress, SuiGetAddress, SuiMessageSignature, SuiSignMessage, SuiSignTx, SuiSignedTx, SuiTxAck, SuiTxRequest, TezosAddress, TezosBallotOp, TezosBallotType, TezosContractID, TezosContractType, TezosDelegationOp, TezosGetAddress, TezosGetPublicKey, TezosManagerTransfer, TezosOriginationOp, TezosParametersManager, TezosProposalOp, TezosPublicKey, TezosRevealOp, TezosSignTx, TezosSignedTx, TezosTransactionOp, TonAddress, TonGetAddress, TonSignMessage, TonSignProof, TonSignedMessage, TonSignedProof, TonTxAck, TonWalletVersion, TonWorkChain, Transport, 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, TxAckPrevExtraData, TxAckPrevExtraDataWrapper, TxAckPrevInput, TxAckPrevInputWrapper, TxAckPrevMeta, TxAckPrevOutput, TxAckPrevOutputWrapper, TxAckResponse, TxInput, TxInputType, TxOutput, TxOutputBinType, TxOutputType, TxRequest, TxRequestDetailsType, TxRequestSerializedType, TypedCall, UKeyDeviceInfo, UKeyDeviceInfoWithSession, UKeyDeviceType, UKeyMobileDeviceInfo, UKeySEState, UKeySeType, UintType, UkeyFeatures, UkeyGetFeatures, UnLockDevice, UnLockDeviceResponse, VerifyMessage, Vote, WL_OperationType, WipeDevice, WordAck, WordRequest, WordRequestType, WriteSEPublicCert, ZoomRequest, _default as default, facotry };
|
|
5246
|
+
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, BUFFER_SIZE, 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, COMMON_HEADER_SIZE, 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, CommandFlags, ConfluxAddress, ConfluxGetAddress, ConfluxMessageSignature, ConfluxSignMessage, ConfluxSignMessageCIP23, ConfluxSignTx, ConfluxTxAck, ConfluxTxRequest, CosmosAddress, CosmosGetAddress, CosmosSignTx, CosmosSignedTx, DecredStakingSpendType, Deprecated_PassphraseStateAck, Deprecated_PassphraseStateRequest, DeviceBackToBoot, DeviceEraseSector, DeviceInfo, DeviceInfoSettings, DnxAddress, DnxComputedKeyImage, DnxGetAddress, DnxInputAck, DnxInputRequest, DnxRTSigsRequest, DnxSignTx, DnxSignedTx, DnxTxKey, DoPreauthorized, ECDHSessionKey, EcdsaPublicKeys, EmmcDir, EmmcDirList, EmmcDirMake, EmmcDirRemove, EmmcFile, EmmcFileDelete, EmmcFileRead, EmmcFileWrite, EmmcFixPermission, EmmcPath, EmmcPathInfo, EndSession, Entropy, EntropyAck, EntropyRequest, Enum_BackupType, Enum_ButtonRequestType, Enum_Capability, Enum_InputScriptType, Enum_OutputScriptType, Enum_PinMatrixRequestType, Enum_RequestType, Enum_SafetyCheckLevel, Enum_WordRequestType, EosActionBuyRam, EosActionBuyRamBytes, EosActionCommon, EosActionDelegate, EosActionDeleteAuth, EosActionLinkAuth, EosActionNewAccount, EosActionRefund, EosActionSellRam, EosActionTransfer, EosActionUndelegate, EosActionUnknown, EosActionUnlinkAuth, EosActionUpdateAuth, EosActionVoteProducer, EosAsset, EosAuthorization, EosAuthorizationAccount, EosAuthorizationKey, EosAuthorizationWait, EosGetPublicKey, EosPermissionLevel, EosPublicKey, EosSignTx, EosSignedTx, EosTxActionAck, EosTxActionRequest, EosTxHeader, EthereumAccessList, EthereumAccessListUKey, EthereumAddress, EthereumAddressUKey, EthereumAuthorizationSignature, EthereumAuthorizationUKey, EthereumDataType, EthereumDataTypeUKey, EthereumDefinitionType, EthereumDefinitions, EthereumFieldType, EthereumFieldTypeUKey, EthereumGetAddress, EthereumGetAddressUKey, EthereumGetPublicKey, EthereumGetPublicKeyUKey, EthereumGnosisSafeTxAck, EthereumGnosisSafeTxOperation, EthereumGnosisSafeTxRequest, EthereumMessageSignature, EthereumMessageSignatureUKey, EthereumNetworkInfo, EthereumPublicKey, EthereumPublicKeyUKey, EthereumSignMessage, EthereumSignMessageEIP712, EthereumSignMessageUKey, EthereumSignTx, EthereumSignTxEIP1559, EthereumSignTxEIP1559UKey, EthereumSignTxEIP7702UKey, EthereumSignTxUKey, EthereumSignTypedData, EthereumSignTypedDataUKey, EthereumSignTypedHash, EthereumSignTypedHashUKey, EthereumStructMember, EthereumStructMemberUKey, EthereumTokenInfo, EthereumTxAck, EthereumTxAckUKey, EthereumTxRequest, EthereumTxRequestUKey, EthereumTypedDataSignature, EthereumTypedDataSignatureUKey, EthereumTypedDataStructAck, EthereumTypedDataStructAckUKey, EthereumTypedDataStructRequest, EthereumTypedDataStructRequestUKey, EthereumTypedDataValueAck, EthereumTypedDataValueAckUKey, EthereumTypedDataValueRequest, EthereumTypedDataValueRequestUKey, EthereumVerifyMessage, EthereumVerifyMessageUKey, ExportType, Failure, FailureType, Features, FileInfo, FileInfoList, FilecoinAddress, FilecoinGetAddress, FilecoinSignTx, FilecoinSignedTx, FirmwareErase, FirmwareErase_ex, FirmwareRequest, FirmwareUpdateEmmc, FirmwareUpload, GetAddress, GetDeviceInfo, GetECDHSessionKey, GetEntropy, GetFeatures, GetNextU2FCounter, GetOwnershipId, GetOwnershipProof, GetPassphraseState, GetPublicKey, GetPublicKeyMultiple, HDNodePathType, HDNodeType, HEADER_SIZE, IdentityType, Initialize, InputScriptType, InternalInputScriptType, KaspaAddress, KaspaGetAddress, KaspaSignTx, KaspaSignedTx, KaspaTxInputAck, KaspaTxInputRequest, ListResDir, LnurlAuth, LnurlAuthResp, LockDevice, LogBlockCommand, LowLevelDevice, LowlevelTransportSharedPlugin, MESSAGE_HEADER_BYTE, MESSAGE_TOP_CHAR, MessageFromUKey, MessageKey, MessageResponse, 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, 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, NostrDecryptMessage, NostrDecryptedMessage, NostrEncryptMessage, NostrEncryptedMessage, NostrGetPublicKey, NostrPublicKey, NostrSignEvent, NostrSignSchnorr, NostrSignedEvent, NostrSignedSchnorr, OutputScriptType, OwnershipId, OwnershipProof, PassphraseAck, PassphraseRequest, PassphraseState, Path, PinMatrixAck, PinMatrixRequest, PinMatrixRequestType, Ping, PolkadotAddress, PolkadotGetAddress, PolkadotSignTx, PolkadotSignedTx, PreauthorizedRequest, PrevInput, PrevOutput, PrevTx, PublicKey, PublicKeyMultiple, ReadSEPublicCert, ReadSEPublicKey, Reboot, RebootToBoardloader, RebootToBootloader, RebootType, RecoveryDevice, RecoveryDeviceType, 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, 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, StellarManageBuyOfferOp, StellarManageDataOp, StellarManageSellOfferOp, StellarMemoType, StellarPathPaymentStrictReceiveOp, StellarPathPaymentStrictSendOp, StellarPaymentOp, StellarSetOptionsOp, StellarSignTx, StellarSignedTx, StellarSignerType, StellarTxOpRequest, Success, SuiAddress, SuiGetAddress, SuiMessageSignature, SuiSignMessage, SuiSignTx, SuiSignedTx, SuiTxAck, SuiTxRequest, TezosAddress, TezosBallotOp, TezosBallotType, TezosContractID, TezosContractType, TezosDelegationOp, TezosGetAddress, TezosGetPublicKey, TezosManagerTransfer, TezosOriginationOp, TezosParametersManager, TezosProposalOp, TezosPublicKey, TezosRevealOp, TezosSignTx, TezosSignedTx, TezosTransactionOp, TonAddress, TonGetAddress, TonSignMessage, TonSignProof, TonSignedMessage, TonSignedProof, TonTxAck, TonWalletVersion, TonWorkChain, Transport, 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, TxAckPrevExtraData, TxAckPrevExtraDataWrapper, TxAckPrevInput, TxAckPrevInputWrapper, TxAckPrevMeta, TxAckPrevOutput, TxAckPrevOutputWrapper, TxAckResponse, TxInput, TxInputType, TxOutput, TxOutputBinType, TxOutputType, TxRequest, TxRequestDetailsType, TxRequestSerializedType, TypedCall, UKeyDeviceCommType, UKeyDeviceInfo, UKeyDeviceInfoBase, UKeyDeviceInfoWithSession, UKeyDeviceType, UKeyMobileDeviceInfo, UKeySEState, UKeySeType, UintType, UkeyFeatures, UkeyGetFeatures, UnLockDevice, UnLockDeviceResponse, UpgradeFileHeader, VerifyMessage, Vote, WL_OperationType, WipeDevice, WordAck, WordRequest, WordRequestType, WriteSEPublicCert, ZoomRequest, _default as default, facotry };
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA,OAAO,KAAK,QAAQ,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA,OAAO,KAAK,QAAQ,MAAM,kBAAkB,CAAC;AAG7C,OAAO,EAGL,QAAQ,EACR,cAAc,EACd,cAAc,EACd,UAAU,EACX,MAAM,iBAAiB,CAAC;AACzB,OAAO,KAAK,KAAK,MAAM,0BAA0B,CAAC;AAKlD,YAAY,EACV,SAAS,EACT,YAAY,EACZ,cAAc,EACd,oBAAoB,EACpB,yBAAyB,EACzB,eAAe,EACf,6BAA6B,EAC7B,cAAc,EACd,kBAAkB,EAClB,kBAAkB,GACnB,MAAM,SAAS,CAAC;AAEjB,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AACnC,cAAc,kBAAkB,CAAC;AACjC,cAAc,yBAAyB,CAAC;AAExC,cAAc,aAAa,CAAC;;;;;;;;;;AAE5B,wBAQE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"decode.d.ts","sourceRoot":"","sources":["../../../src/serialization/protobuf/decode.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"decode.d.ts","sourceRoot":"","sources":["../../../src/serialization/protobuf/decode.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,YAAY,CAAC;AAIpC,OAAO,KAAK,EAAkB,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAsE7D,eAAO,MAAM,MAAM,YAAa,IAAI,QAAQ,UAAU;;CAsBrD,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Type } from 'protobufjs/light';
|
|
2
1
|
import ByteBuffer from 'bytebuffer';
|
|
2
|
+
import type { Type } from 'protobufjs/light';
|
|
3
3
|
export declare function patch(Message: Type, payload: any): any;
|
|
4
4
|
export declare const encode: (Message: Type, data: Record<string, unknown>) => ByteBuffer;
|
|
5
5
|
//# sourceMappingURL=encode.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"encode.d.ts","sourceRoot":"","sources":["../../../src/serialization/protobuf/encode.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"encode.d.ts","sourceRoot":"","sources":["../../../src/serialization/protobuf/encode.ts"],"names":[],"mappings":"AACA,OAAO,UAAU,MAAM,YAAY,CAAC;AAIpC,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAmB7C,wBAAgB,KAAK,CAAC,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,GAAG,OA4ChD;AAED,eAAO,MAAM,MAAM,YAAa,IAAI,QAAQ,OAAO,MAAM,EAAE,OAAO,CAAC,eASlE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"decode.d.ts","sourceRoot":"","sources":["../../../src/serialization/protocol/decode.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"decode.d.ts","sourceRoot":"","sources":["../../../src/serialization/protocol/decode.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,YAAY,CAAC;AA0BpC,eAAO,MAAM,MAAM,eAAgB,UAAU;;;CAO5C,CAAC;AAIF,eAAO,MAAM,aAAa,UAAW,WAAW;;;;CAW/C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"receive.d.ts","sourceRoot":"","sources":["../../src/serialization/receive.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"receive.d.ts","sourceRoot":"","sources":["../../src/serialization/receive.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAE7C,wBAAgB,UAAU,CAAC,QAAQ,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM;;;;;EAUtD"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="node" />
|
|
2
|
-
import { Root } from 'protobufjs/light';
|
|
3
2
|
import ByteBuffer from 'bytebuffer';
|
|
3
|
+
import type { Root } from 'protobufjs/light';
|
|
4
4
|
export declare function buildOne(messages: Root, name: string, data: Record<string, unknown>): Buffer;
|
|
5
5
|
export declare const buildEncodeBuffers: (messages: Root, name: string, data: Record<string, unknown>) => Buffer[];
|
|
6
6
|
export declare const buildBuffers: (messages: Root, name: string, data: Record<string, unknown>) => ByteBuffer[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"send.d.ts","sourceRoot":"","sources":["../../src/serialization/send.ts"],"names":[],"mappings":";AAGA,OAAO,
|
|
1
|
+
{"version":3,"file":"send.d.ts","sourceRoot":"","sources":["../../src/serialization/send.ts"],"names":[],"mappings":";AAGA,OAAO,UAAU,MAAM,YAAY,CAAC;AAOpC,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAI7C,wBAAgB,QAAQ,CAAC,QAAQ,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,UASnF;AAED,eAAO,MAAM,kBAAkB,aAAc,IAAI,QAAQ,MAAM,QAAQ,OAAO,MAAM,EAAE,OAAO,CAAC,aAQ7F,CAAC;AAEF,eAAO,MAAM,YAAY,aAAc,IAAI,QAAQ,MAAM,QAAQ,OAAO,MAAM,EAAE,OAAO,CAAC,iBAsBvF,CAAC"}
|
package/dist/types/messages.d.ts
CHANGED
|
@@ -555,6 +555,9 @@ export type FirmwareUpdateEmmc = {
|
|
|
555
555
|
path: string;
|
|
556
556
|
reboot_on_success?: boolean;
|
|
557
557
|
};
|
|
558
|
+
export type UpgradeFileHeader = {
|
|
559
|
+
data: string;
|
|
560
|
+
};
|
|
558
561
|
export declare enum CardanoDerivationType {
|
|
559
562
|
LEDGER = 0,
|
|
560
563
|
ICARUS = 1,
|
|
@@ -1770,6 +1773,10 @@ export type Features = {
|
|
|
1770
1773
|
build_id?: string;
|
|
1771
1774
|
boardloader_version?: string;
|
|
1772
1775
|
battery_level?: number;
|
|
1776
|
+
product?: string;
|
|
1777
|
+
brightness_prcent?: number;
|
|
1778
|
+
haptic_feedback?: boolean;
|
|
1779
|
+
auto_shutdown_delay_ms?: number;
|
|
1773
1780
|
ukey_device_type?: string | null;
|
|
1774
1781
|
ukey_se_type?: string | null;
|
|
1775
1782
|
ukey_board_version?: string;
|
|
@@ -1869,6 +1876,9 @@ export type ApplySettings = {
|
|
|
1869
1876
|
fastpay_confirm?: boolean;
|
|
1870
1877
|
fastpay_money_limit?: number;
|
|
1871
1878
|
fastpay_times?: number;
|
|
1879
|
+
auto_shutdown_delay_ms?: number;
|
|
1880
|
+
change_brightness?: boolean;
|
|
1881
|
+
haptic_feedback?: boolean;
|
|
1872
1882
|
};
|
|
1873
1883
|
export type ApplyFlags = {
|
|
1874
1884
|
flags: number;
|
|
@@ -2064,11 +2074,16 @@ export type ResourceUpload = {
|
|
|
2064
2074
|
nft_meta_data?: string;
|
|
2065
2075
|
zoom_data_length: number;
|
|
2066
2076
|
file_name_no_ext?: string;
|
|
2077
|
+
blur_data_length?: number;
|
|
2067
2078
|
};
|
|
2068
2079
|
export type ZoomRequest = {
|
|
2069
2080
|
offset?: number;
|
|
2070
2081
|
data_length: number;
|
|
2071
2082
|
};
|
|
2083
|
+
export type BlurRequest = {
|
|
2084
|
+
offset?: number;
|
|
2085
|
+
data_length: number;
|
|
2086
|
+
};
|
|
2072
2087
|
export type ResourceRequest = {
|
|
2073
2088
|
offset?: number;
|
|
2074
2089
|
data_length: number;
|
|
@@ -2612,6 +2627,7 @@ export type PolkadotSignTx = {
|
|
|
2612
2627
|
address_n: number[];
|
|
2613
2628
|
raw_tx: string;
|
|
2614
2629
|
network: string;
|
|
2630
|
+
prefix?: number;
|
|
2615
2631
|
};
|
|
2616
2632
|
export type PolkadotSignedTx = {
|
|
2617
2633
|
signature: string;
|
|
@@ -2681,9 +2697,19 @@ export type SolanaGetAddress = {
|
|
|
2681
2697
|
export type SolanaAddress = {
|
|
2682
2698
|
address?: string;
|
|
2683
2699
|
};
|
|
2700
|
+
export type SolanaTxATADetails = {
|
|
2701
|
+
owner_address: string;
|
|
2702
|
+
program_id: string;
|
|
2703
|
+
mint_address: string;
|
|
2704
|
+
associated_token_address: string;
|
|
2705
|
+
};
|
|
2706
|
+
export type SolanaTxExtraInfo = {
|
|
2707
|
+
ata_details: SolanaTxATADetails[];
|
|
2708
|
+
};
|
|
2684
2709
|
export type SolanaSignTx = {
|
|
2685
2710
|
address_n: number[];
|
|
2686
2711
|
raw_tx: string;
|
|
2712
|
+
extra_info?: SolanaTxExtraInfo;
|
|
2687
2713
|
};
|
|
2688
2714
|
export type SolanaSignedTx = {
|
|
2689
2715
|
signature?: string;
|
|
@@ -3297,6 +3323,7 @@ export type MessageType = {
|
|
|
3297
3323
|
FirmwareErase_ex: FirmwareErase_ex;
|
|
3298
3324
|
Reboot: Reboot;
|
|
3299
3325
|
FirmwareUpdateEmmc: FirmwareUpdateEmmc;
|
|
3326
|
+
UpgradeFileHeader: UpgradeFileHeader;
|
|
3300
3327
|
CardanoBlockchainPointerType: CardanoBlockchainPointerType;
|
|
3301
3328
|
CardanoNativeScript: CardanoNativeScript;
|
|
3302
3329
|
CardanoGetNativeScriptHash: CardanoGetNativeScriptHash;
|
|
@@ -3540,6 +3567,7 @@ export type MessageType = {
|
|
|
3540
3567
|
SEMessageSignature: SEMessageSignature;
|
|
3541
3568
|
ResourceUpload: ResourceUpload;
|
|
3542
3569
|
ZoomRequest: ZoomRequest;
|
|
3570
|
+
BlurRequest: BlurRequest;
|
|
3543
3571
|
ResourceRequest: ResourceRequest;
|
|
3544
3572
|
ResourceAck: ResourceAck;
|
|
3545
3573
|
ResourceUpdate: ResourceUpdate;
|
|
@@ -3667,6 +3695,8 @@ export type MessageType = {
|
|
|
3667
3695
|
ScdoSignedMessage: ScdoSignedMessage;
|
|
3668
3696
|
SolanaGetAddress: SolanaGetAddress;
|
|
3669
3697
|
SolanaAddress: SolanaAddress;
|
|
3698
|
+
SolanaTxATADetails: SolanaTxATADetails;
|
|
3699
|
+
SolanaTxExtraInfo: SolanaTxExtraInfo;
|
|
3670
3700
|
SolanaSignTx: SolanaSignTx;
|
|
3671
3701
|
SolanaSignedTx: SolanaSignedTx;
|
|
3672
3702
|
SolanaSignOffChainMessage: SolanaSignOffChainMessage;
|