@onekeyfe/hd-transport 1.2.8-alpha.126 → 1.2.8-alpha.127
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/__tests__/transport-log.test.js +142 -0
- package/dist/index.d.ts +68 -1
- package/dist/index.js +26 -2
- package/dist/types/messages.d.ts +47 -0
- package/dist/types/messages.d.ts.map +1 -1
- package/dist/utils/transportLog.d.ts.map +1 -1
- package/messages-protocol-v2.json +138 -1
- package/package.json +2 -2
- package/src/types/messages.ts +63 -0
- package/src/utils/transportLog.ts +16 -2
|
@@ -82,4 +82,146 @@ describe('transport log sanitization', () => {
|
|
|
82
82
|
data: '[BINARY:128]',
|
|
83
83
|
});
|
|
84
84
|
});
|
|
85
|
+
|
|
86
|
+
test('redacts Zcash viewing keys and fingerprints in protocol and API field names', () => {
|
|
87
|
+
const payload = {
|
|
88
|
+
address: 'synthetic-address-marker',
|
|
89
|
+
ufvk: 'synthetic-viewing-key-marker',
|
|
90
|
+
seed_fingerprint: 'synthetic-fingerprint-marker',
|
|
91
|
+
nested: [{ seedFingerprint: 'synthetic-fingerprint-marker' }],
|
|
92
|
+
};
|
|
93
|
+
expect(getSafeTransportLogPayload(payload, 'ZcashAddress')).toEqual({
|
|
94
|
+
address: '[REDACTED]',
|
|
95
|
+
ufvk: '[REDACTED]',
|
|
96
|
+
seed_fingerprint: '[REDACTED]',
|
|
97
|
+
nested: [{ seedFingerprint: '[REDACTED]' }],
|
|
98
|
+
});
|
|
99
|
+
expect(payload.ufvk).toBe('synthetic-viewing-key-marker');
|
|
100
|
+
});
|
|
101
|
+
|
|
102
|
+
test('redacts Monero view keys in protocol and API field names', () => {
|
|
103
|
+
expect(
|
|
104
|
+
getSafeTransportLogPayload(
|
|
105
|
+
{
|
|
106
|
+
address: 'synthetic-address-marker',
|
|
107
|
+
watch_key: 'synthetic-view-key-marker',
|
|
108
|
+
nested: { watchKey: 'synthetic-view-key-marker' },
|
|
109
|
+
},
|
|
110
|
+
'MoneroWatchKey'
|
|
111
|
+
)
|
|
112
|
+
).toEqual({
|
|
113
|
+
address: '[REDACTED]',
|
|
114
|
+
watch_key: '[REDACTED]',
|
|
115
|
+
nested: { watchKey: '[REDACTED]' },
|
|
116
|
+
});
|
|
117
|
+
});
|
|
118
|
+
|
|
119
|
+
test.each([
|
|
120
|
+
[
|
|
121
|
+
'MoneroKeyImageExportInitRequest',
|
|
122
|
+
{ num: 1, hash: 'synthetic-hash-marker', subs: [{ account: 0, minor_indices: [2] }] },
|
|
123
|
+
],
|
|
124
|
+
[
|
|
125
|
+
'MoneroKeyImageSyncStepRequest',
|
|
126
|
+
{
|
|
127
|
+
tdis: [
|
|
128
|
+
{
|
|
129
|
+
out_key: 'synthetic-out-key-marker',
|
|
130
|
+
tx_pub_key: 'synthetic-tx-key-marker',
|
|
131
|
+
internal_output_index: 1,
|
|
132
|
+
},
|
|
133
|
+
],
|
|
134
|
+
},
|
|
135
|
+
],
|
|
136
|
+
[
|
|
137
|
+
'MoneroKeyImageSyncStepAck',
|
|
138
|
+
{ kis: [{ iv: 'synthetic-iv-marker', blob: 'synthetic-key-image-marker' }] },
|
|
139
|
+
],
|
|
140
|
+
['MoneroKeyImageSyncFinalAck', { enc_key: 'synthetic-enc-key-marker' }],
|
|
141
|
+
['MoneroGetTxKeyAck', { salt: 'synthetic-salt-marker', tx_keys: 'synthetic-tx-keys-marker' }],
|
|
142
|
+
[
|
|
143
|
+
'MoneroLiveRefreshStepAck',
|
|
144
|
+
{ salt: 'synthetic-salt-marker', key_image: 'synthetic-ki-marker' },
|
|
145
|
+
],
|
|
146
|
+
])('redacts the complete Monero key image message %s', (name, payload) => {
|
|
147
|
+
expect(createTransportCallLog(name, 'V1', payload).request).toBe('[REDACTED]');
|
|
148
|
+
expect(getSafeTransportLogPayload(payload, name)).toBe('[REDACTED]');
|
|
149
|
+
});
|
|
150
|
+
|
|
151
|
+
test('redacts Monero key image fields even without protocol message context', () => {
|
|
152
|
+
expect(
|
|
153
|
+
getSafeTransportLogPayload({
|
|
154
|
+
encKey: 'synthetic-enc-key-marker',
|
|
155
|
+
transfers: [
|
|
156
|
+
{
|
|
157
|
+
outKey: 'synthetic-out-key-marker',
|
|
158
|
+
txPubKey: 'synthetic-tx-key-marker',
|
|
159
|
+
additional_tx_pub_keys: ['synthetic-additional-key-marker'],
|
|
160
|
+
internalOutputIndex: 1,
|
|
161
|
+
},
|
|
162
|
+
],
|
|
163
|
+
})
|
|
164
|
+
).toEqual({
|
|
165
|
+
encKey: '[REDACTED]',
|
|
166
|
+
transfers: [
|
|
167
|
+
{
|
|
168
|
+
outKey: '[REDACTED]',
|
|
169
|
+
txPubKey: '[REDACTED]',
|
|
170
|
+
additional_tx_pub_keys: '[REDACTED]',
|
|
171
|
+
internalOutputIndex: 1,
|
|
172
|
+
},
|
|
173
|
+
],
|
|
174
|
+
});
|
|
175
|
+
});
|
|
176
|
+
|
|
177
|
+
test.each([
|
|
178
|
+
'MoneroTransactionInitRequest',
|
|
179
|
+
'MoneroTransactionInitAck',
|
|
180
|
+
'MoneroTransactionSetInputRequest',
|
|
181
|
+
'MoneroTransactionSetInputAck',
|
|
182
|
+
'MoneroTransactionInputViniRequest',
|
|
183
|
+
'MoneroTransactionInputViniAck',
|
|
184
|
+
'MoneroTransactionAllInputsSetRequest',
|
|
185
|
+
'MoneroTransactionAllInputsSetAck',
|
|
186
|
+
'MoneroTransactionSetOutputRequest',
|
|
187
|
+
'MoneroTransactionSetOutputAck',
|
|
188
|
+
'MoneroTransactionAllOutSetRequest',
|
|
189
|
+
'MoneroTransactionAllOutSetAck',
|
|
190
|
+
'MoneroTransactionSignInputRequest',
|
|
191
|
+
'MoneroTransactionSignInputAck',
|
|
192
|
+
'MoneroTransactionFinalRequest',
|
|
193
|
+
'MoneroTransactionFinalAck',
|
|
194
|
+
])('redacts the complete Monero signing message %s', name => {
|
|
195
|
+
const payload = { src_entr: { mask: 'synthetic-mask-marker' }, opening_key: 'synthetic-key' };
|
|
196
|
+
expect(createTransportCallLog(name, 'V1', payload).request).toBe('[REDACTED]');
|
|
197
|
+
expect(getSafeTransportLogPayload(payload, name)).toBe('[REDACTED]');
|
|
198
|
+
});
|
|
199
|
+
|
|
200
|
+
test.each([
|
|
201
|
+
'ZcashSignPczt',
|
|
202
|
+
'ZcashPcztChunkRequest',
|
|
203
|
+
'ZcashPcztChunkAck',
|
|
204
|
+
'ZcashSignedPczt',
|
|
205
|
+
'ZcashSignedPcztChunkRequest',
|
|
206
|
+
])('redacts the complete %s request and response', name => {
|
|
207
|
+
const payload = { data_chunk: 'synthetic-pczt-marker', chunk_length: 64 };
|
|
208
|
+
expect(createTransportCallLog(name, 'V2', payload).request).toBe('[REDACTED]');
|
|
209
|
+
expect(getSafeTransportLogPayload(payload, name)).toBe('[REDACTED]');
|
|
210
|
+
});
|
|
211
|
+
|
|
212
|
+
test('redacts named PCZT fields even without protocol message context', () => {
|
|
213
|
+
expect(
|
|
214
|
+
getSafeTransportLogPayload({
|
|
215
|
+
pczt: 'synthetic-pczt-marker',
|
|
216
|
+
signedPczt: 'synthetic-signed-pczt-marker',
|
|
217
|
+
data_chunk: 'synthetic-chunk-marker',
|
|
218
|
+
nested: { dataChunk: 'synthetic-chunk-marker' },
|
|
219
|
+
})
|
|
220
|
+
).toEqual({
|
|
221
|
+
pczt: '[REDACTED]',
|
|
222
|
+
signedPczt: '[REDACTED]',
|
|
223
|
+
data_chunk: '[REDACTED]',
|
|
224
|
+
nested: { dataChunk: '[REDACTED]' },
|
|
225
|
+
});
|
|
226
|
+
});
|
|
85
227
|
});
|
package/dist/index.d.ts
CHANGED
|
@@ -3946,6 +3946,23 @@ type UiAnimationRequest = {
|
|
|
3946
3946
|
command: UiAnimationCommand;
|
|
3947
3947
|
type?: UiAnimationType;
|
|
3948
3948
|
};
|
|
3949
|
+
type ZcashSignPczt = {
|
|
3950
|
+
pczt_length: number;
|
|
3951
|
+
pczt_initial_chunk: string;
|
|
3952
|
+
};
|
|
3953
|
+
type ZcashPcztChunkRequest = {
|
|
3954
|
+
chunk_length: number;
|
|
3955
|
+
};
|
|
3956
|
+
type ZcashPcztChunkAck = {
|
|
3957
|
+
data_chunk: string;
|
|
3958
|
+
};
|
|
3959
|
+
type ZcashSignedPczt = {
|
|
3960
|
+
pczt_length: number;
|
|
3961
|
+
pczt_initial_chunk: string;
|
|
3962
|
+
};
|
|
3963
|
+
type ZcashSignedPcztChunkRequest = {
|
|
3964
|
+
chunk_length: number;
|
|
3965
|
+
};
|
|
3949
3966
|
type experimental_message = {};
|
|
3950
3967
|
type experimental_field = {};
|
|
3951
3968
|
type ProtocolInfoRequest = {
|
|
@@ -4465,6 +4482,29 @@ type ViewVerifyPage = {
|
|
|
4465
4482
|
chain_id?: number;
|
|
4466
4483
|
content?: ViewContentPreview;
|
|
4467
4484
|
};
|
|
4485
|
+
declare enum ZcashAddressType {
|
|
4486
|
+
UNIFIED_ORCHARD_P2PKH = 0,
|
|
4487
|
+
TRANSPARENT_P2PKH = 1,
|
|
4488
|
+
UNIFIED_ORCHARD = 2
|
|
4489
|
+
}
|
|
4490
|
+
declare enum ZcashAddressScope {
|
|
4491
|
+
EXTERNAL = 0,
|
|
4492
|
+
INTERNAL = 1
|
|
4493
|
+
}
|
|
4494
|
+
type ZcashGetAddress = {
|
|
4495
|
+
address_n: number[];
|
|
4496
|
+
show_display?: boolean;
|
|
4497
|
+
include_seed_fingerprint?: boolean;
|
|
4498
|
+
include_ufvk?: boolean;
|
|
4499
|
+
diversifier_index?: number;
|
|
4500
|
+
address_type?: ZcashAddressType;
|
|
4501
|
+
scope?: ZcashAddressScope;
|
|
4502
|
+
};
|
|
4503
|
+
type ZcashAddress = {
|
|
4504
|
+
address: string;
|
|
4505
|
+
ufvk?: string;
|
|
4506
|
+
seed_fingerprint?: string;
|
|
4507
|
+
};
|
|
4468
4508
|
declare enum ProtocolV2FailureType {
|
|
4469
4509
|
Failure_InvalidMessage = 1,
|
|
4470
4510
|
Failure_UndefinedError = 2,
|
|
@@ -5076,6 +5116,11 @@ type MessageType = {
|
|
|
5076
5116
|
UnlockPath: UnlockPath;
|
|
5077
5117
|
UnlockedPathRequest: UnlockedPathRequest;
|
|
5078
5118
|
UiAnimationRequest: UiAnimationRequest;
|
|
5119
|
+
ZcashSignPczt: ZcashSignPczt;
|
|
5120
|
+
ZcashPcztChunkRequest: ZcashPcztChunkRequest;
|
|
5121
|
+
ZcashPcztChunkAck: ZcashPcztChunkAck;
|
|
5122
|
+
ZcashSignedPczt: ZcashSignedPczt;
|
|
5123
|
+
ZcashSignedPcztChunkRequest: ZcashSignedPcztChunkRequest;
|
|
5079
5124
|
experimental_message: experimental_message;
|
|
5080
5125
|
experimental_field: experimental_field;
|
|
5081
5126
|
ProtocolInfoRequest: ProtocolInfoRequest;
|
|
@@ -5152,6 +5197,8 @@ type MessageType = {
|
|
|
5152
5197
|
ViewSignPage: ViewSignPage;
|
|
5153
5198
|
ViewWarningPage: ViewWarningPage;
|
|
5154
5199
|
ViewVerifyPage: ViewVerifyPage;
|
|
5200
|
+
ZcashGetAddress: ZcashGetAddress;
|
|
5201
|
+
ZcashAddress: ZcashAddress;
|
|
5155
5202
|
};
|
|
5156
5203
|
type MessageKey = keyof MessageType;
|
|
5157
5204
|
type MessageResponse<T extends MessageKey> = {
|
|
@@ -5900,6 +5947,11 @@ declare const messages_UiAnimationType: typeof UiAnimationType;
|
|
|
5900
5947
|
type messages_UiAnimationCommand = UiAnimationCommand;
|
|
5901
5948
|
declare const messages_UiAnimationCommand: typeof UiAnimationCommand;
|
|
5902
5949
|
type messages_UiAnimationRequest = UiAnimationRequest;
|
|
5950
|
+
type messages_ZcashSignPczt = ZcashSignPczt;
|
|
5951
|
+
type messages_ZcashPcztChunkRequest = ZcashPcztChunkRequest;
|
|
5952
|
+
type messages_ZcashPcztChunkAck = ZcashPcztChunkAck;
|
|
5953
|
+
type messages_ZcashSignedPczt = ZcashSignedPczt;
|
|
5954
|
+
type messages_ZcashSignedPcztChunkRequest = ZcashSignedPcztChunkRequest;
|
|
5903
5955
|
type messages_experimental_message = experimental_message;
|
|
5904
5956
|
type messages_experimental_field = experimental_field;
|
|
5905
5957
|
type messages_ProtocolInfoRequest = ProtocolInfoRequest;
|
|
@@ -6019,6 +6071,12 @@ declare const messages_ViewSignLayout: typeof ViewSignLayout;
|
|
|
6019
6071
|
type messages_ViewSignPage = ViewSignPage;
|
|
6020
6072
|
type messages_ViewWarningPage = ViewWarningPage;
|
|
6021
6073
|
type messages_ViewVerifyPage = ViewVerifyPage;
|
|
6074
|
+
type messages_ZcashAddressType = ZcashAddressType;
|
|
6075
|
+
declare const messages_ZcashAddressType: typeof ZcashAddressType;
|
|
6076
|
+
type messages_ZcashAddressScope = ZcashAddressScope;
|
|
6077
|
+
declare const messages_ZcashAddressScope: typeof ZcashAddressScope;
|
|
6078
|
+
type messages_ZcashGetAddress = ZcashGetAddress;
|
|
6079
|
+
type messages_ZcashAddress = ZcashAddress;
|
|
6022
6080
|
type messages_ProtocolV2FailureType = ProtocolV2FailureType;
|
|
6023
6081
|
declare const messages_ProtocolV2FailureType: typeof ProtocolV2FailureType;
|
|
6024
6082
|
type messages_Enum_ProtocolV2Capability = Enum_ProtocolV2Capability;
|
|
@@ -6698,6 +6756,11 @@ declare namespace messages {
|
|
|
6698
6756
|
messages_UiAnimationType as UiAnimationType,
|
|
6699
6757
|
messages_UiAnimationCommand as UiAnimationCommand,
|
|
6700
6758
|
messages_UiAnimationRequest as UiAnimationRequest,
|
|
6759
|
+
messages_ZcashSignPczt as ZcashSignPczt,
|
|
6760
|
+
messages_ZcashPcztChunkRequest as ZcashPcztChunkRequest,
|
|
6761
|
+
messages_ZcashPcztChunkAck as ZcashPcztChunkAck,
|
|
6762
|
+
messages_ZcashSignedPczt as ZcashSignedPczt,
|
|
6763
|
+
messages_ZcashSignedPcztChunkRequest as ZcashSignedPcztChunkRequest,
|
|
6701
6764
|
messages_experimental_message as experimental_message,
|
|
6702
6765
|
messages_experimental_field as experimental_field,
|
|
6703
6766
|
messages_ProtocolInfoRequest as ProtocolInfoRequest,
|
|
@@ -6796,6 +6859,10 @@ declare namespace messages {
|
|
|
6796
6859
|
messages_ViewSignPage as ViewSignPage,
|
|
6797
6860
|
messages_ViewWarningPage as ViewWarningPage,
|
|
6798
6861
|
messages_ViewVerifyPage as ViewVerifyPage,
|
|
6862
|
+
messages_ZcashAddressType as ZcashAddressType,
|
|
6863
|
+
messages_ZcashAddressScope as ZcashAddressScope,
|
|
6864
|
+
messages_ZcashGetAddress as ZcashGetAddress,
|
|
6865
|
+
messages_ZcashAddress as ZcashAddress,
|
|
6799
6866
|
messages_ProtocolV2FailureType as ProtocolV2FailureType,
|
|
6800
6867
|
messages_Enum_ProtocolV2Capability as Enum_ProtocolV2Capability,
|
|
6801
6868
|
messages_ProtocolV2Capability as ProtocolV2Capability,
|
|
@@ -7153,4 +7220,4 @@ declare const _default: {
|
|
|
7153
7220
|
withProtocolTimeout: typeof withProtocolTimeout;
|
|
7154
7221
|
};
|
|
7155
7222
|
|
|
7156
|
-
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, BabylonDeriveContextHash, BabylonDerivedContextHash, 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, CanonicalBitcoinNetwork, 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, DeviceAnimationAction, DeviceAnimationControl, DeviceBackToBoot, DeviceCertificate, DeviceCertificateRead, DeviceCertificateSign, DeviceCertificateSignature, DeviceCertificateWrite, DeviceCoprocessorInfo, DeviceEraseSector, DeviceErrorCode, DeviceFactoryAck, DeviceFactoryInfo, DeviceFactoryInfoGet, DeviceFactoryInfoManufactureTime, DeviceFactoryInfoSet, DeviceFactoryPermanentLock, DeviceFactoryTest, DeviceFindMyTokenState, DeviceFindMyTokenStateGet, DeviceFindMyTokenUpdate, DeviceFirmwareImageInfo, DeviceFirmwareTarget, DeviceFirmwareTargetType, DeviceFirmwareUpdatePhase, DeviceFirmwareUpdatePhaseInfo, DeviceFirmwareUpdateRecord, DeviceFirmwareUpdateRecordFields, DeviceFirmwareUpdateRequest, DeviceFirmwareUpdateStage, DeviceFirmwareUpdateStatus, DeviceFirmwareUpdateStatusGet, DeviceFirmwareUpdateTaskStatus, DeviceHardwareInfo, DeviceInfo, DeviceInfoGet, DeviceInfoSettings, DeviceInfoTargets, DeviceInfoTypes, DeviceMainMcuInfo, DeviceMiscUsbMscControl, DeviceReboot, DeviceRebootType, DeviceSEInfo, DeviceSEState, DeviceSeType, DeviceSession, DeviceSessionAskPassphrase, DeviceSessionAskPin, DeviceSessionAskPin_FailureSubCodes, DeviceSessionErrorCode, DeviceSessionGet, DeviceSessionPinType, DeviceSessionSeedDomain, DeviceSettings, DeviceSettingsGet, DeviceSettingsPage, DeviceSettingsPageShow, DeviceSettingsSet, DeviceStatus, DeviceStatusGet, DeviceType, DnxAddress, DnxComputedKeyImage, DnxGetAddress, DnxInputAck, DnxInputRequest, DnxRTSigsRequest, DnxSignTx, DnxSignedTx, DnxTxKey, DoPreauthorized, ECDHSessionKey, EcdsaPublicKeys, EmmcDir, EmmcDirList, EmmcDirMake, EmmcDirRemove, EmmcFile, EmmcFileDelete, EmmcFileRead, EmmcFileWrite, EmmcFixPermission, EmmcPath, EmmcPathInfo, EndSession, Entropy, EntropyAck, EntropyRequest, Enum_BackupType, Enum_ButtonRequestType, Enum_CanonicalBitcoinNetwork, Enum_Capability, Enum_InputScriptType, Enum_KaspaInputScriptType, Enum_KaspaOutputScriptType, Enum_KaspaRequestType, Enum_OutputScriptType, Enum_PinMatrixRequestType, Enum_ProtocolV2Capability, Enum_RequestType, Enum_SafetyCheckLevel, Enum_WordRequestType, EosActionBuyRam, EosActionBuyRamBytes, EosActionCommon, EosActionDelegate, EosActionDeleteAuth, EosActionLinkAuth, EosActionNewAccount, EosActionRefund, EosActionSellRam, EosActionTransfer, EosActionUndelegate, EosActionUnknown, EosActionUnlinkAuth, EosActionUpdateAuth, EosActionVoteProducer, EosAsset, EosAuthorization, EosAuthorizationAccount, EosAuthorizationKey, EosAuthorizationWait, EosGetPublicKey, EosPermissionLevel, EosPublicKey, EosSignTx, EosSignedTx, EosTxActionAck, EosTxActionRequest, EosTxHeader, EthereumAccessList, EthereumAccessListOneKey, EthereumAddress, EthereumAddressOneKey, EthereumAuthorizationOneKey, EthereumAuthorizationSignature, EthereumDataType, EthereumDataTypeOneKey, EthereumDefinitionType, EthereumDefinitions, EthereumFieldType, EthereumFieldTypeOneKey, EthereumGetAddress, EthereumGetAddressOneKey, EthereumGetPublicKey, EthereumGetPublicKeyOneKey, EthereumGnosisSafeTxAck, EthereumGnosisSafeTxOperation, EthereumGnosisSafeTxRequest, EthereumMessageSignature, EthereumMessageSignatureOneKey, EthereumNetworkInfo, EthereumPublicKey, EthereumPublicKeyOneKey, EthereumSignMessage, EthereumSignMessageEIP712, EthereumSignMessageOneKey, EthereumSignTx, EthereumSignTxEIP1559, EthereumSignTxEIP1559OneKey, EthereumSignTxEIP7702OneKey, EthereumSignTxOneKey, EthereumSignTypedData, EthereumSignTypedDataOneKey, EthereumSignTypedDataQR, EthereumSignTypedHash, EthereumSignTypedHashOneKey, EthereumStructMember, EthereumStructMemberOneKey, EthereumTokenInfo, EthereumTxAck, EthereumTxAckOneKey, EthereumTxRequest, EthereumTxRequestOneKey, EthereumTypedDataSignature, EthereumTypedDataSignatureOneKey, EthereumTypedDataStructAck, EthereumTypedDataStructAckOneKey, EthereumTypedDataStructRequest, EthereumTypedDataStructRequestOneKey, EthereumTypedDataValueAck, EthereumTypedDataValueAckOneKey, EthereumTypedDataValueRequest, EthereumTypedDataValueRequestOneKey, EthereumVerifyMessage, EthereumVerifyMessageOneKey, ExportType, Failure, FailureType, Features, FileInfo, FileInfoList, FilecoinAddress, FilecoinGetAddress, FilecoinSignTx, FilecoinSignedTx, FilesystemDir, FilesystemDirList, FilesystemDirMake, FilesystemDirRemove, FilesystemFile, FilesystemFileDelete, FilesystemFileRead, FilesystemFileWrite, FilesystemFormat, FilesystemPathInfo, FilesystemPathInfoQuery, FilesystemPermissionFix, FirmwareErase, FirmwareErase_ex, FirmwareHash, FirmwareRequest, FirmwareUpdateEmmc, FirmwareUpload, GetAddress, GetDeviceInfo, GetECDHSessionKey, GetEntropy, GetFeatures, GetFirmwareHash, GetNextU2FCounter, GetNonce, GetOwnershipId, GetOwnershipProof, GetPassphraseState, GetPublicKey, GetPublicKeyMultiple, HDNodePathType, HDNodeType, IdentityType, Initialize, InputScriptType, InternalInputScriptType, InternalMyAddressRequest, KaspaAddress, KaspaGetAddress, KaspaInputScriptType, KaspaOutpoint, KaspaOutputScriptType, KaspaRequestType, KaspaSignTx, KaspaSignedTx, KaspaTxAckInput, KaspaTxAckOutput, KaspaTxAckPayloadChunk, KaspaTxAckPrevInput, KaspaTxAckPrevMeta, KaspaTxAckPrevOutput, KaspaTxInputAck, KaspaTxInputRequest, KaspaTxRequest, KaspaTxRequestSignature, ListResDir, LnurlAuth, LnurlAuthResp, LockDevice, LogBlockCommand, LowLevelDevice, LowlevelTransportSharedPlugin, MessageFromOneKey, MessageKey, MessageResponse, MessageResponseMap, MessageSignature, MessageType, messages as Messages, MoneroAccountPublicAddress, MoneroAddress, MoneroExportedKeyImage, MoneroGetAddress, MoneroGetTxKeyAck, MoneroGetTxKeyRequest, MoneroGetWatchKey, MoneroKeyImageExportInitAck, MoneroKeyImageExportInitRequest, MoneroKeyImageSyncFinalAck, MoneroKeyImageSyncFinalRequest, MoneroKeyImageSyncStepAck, MoneroKeyImageSyncStepRequest, MoneroLiveRefreshFinalAck, MoneroLiveRefreshFinalRequest, MoneroLiveRefreshStartAck, MoneroLiveRefreshStartRequest, MoneroLiveRefreshStepAck, MoneroLiveRefreshStepRequest, MoneroMultisigKLRki, MoneroNetworkType, MoneroOutputEntry, MoneroRctKeyPublic, MoneroRingCtSig, MoneroSubAddressIndicesList, MoneroTransactionAllInputsSetAck, MoneroTransactionAllInputsSetRequest, MoneroTransactionAllOutSetAck, MoneroTransactionAllOutSetRequest, MoneroTransactionData, MoneroTransactionDestinationEntry, MoneroTransactionFinalAck, MoneroTransactionFinalRequest, MoneroTransactionInitAck, MoneroTransactionInitRequest, MoneroTransactionInputViniAck, MoneroTransactionInputViniRequest, MoneroTransactionInputsPermutationAck, MoneroTransactionInputsPermutationRequest, MoneroTransactionRsigData, MoneroTransactionSetInputAck, MoneroTransactionSetInputRequest, MoneroTransactionSetOutputAck, MoneroTransactionSetOutputRequest, MoneroTransactionSignInputAck, MoneroTransactionSignInputRequest, MoneroTransactionSourceEntry, MoneroTransferDetails, MoneroWatchKey, MultisigRedeemScriptType, NEMAddress, NEMAggregateModification, NEMCosignatoryModification, NEMDecryptMessage, NEMDecryptedMessage, NEMGetAddress, NEMImportanceTransfer, NEMImportanceTransferMode, NEMModificationType, NEMMosaic, NEMMosaicCreation, NEMMosaicDefinition, NEMMosaicLevy, NEMMosaicSupplyChange, NEMProvisionNamespace, NEMSignTx, NEMSignedTx, NEMSupplyChangeType, NEMTransactionCommon, NEMTransfer, NFTWriteData, NFTWriteInfo, NearAddress, NearGetAddress, NearSignTx, NearSignedTx, NeoAddress, NeoGetAddress, NeoSignTx, NeoSignedTx, NervosAddress, NervosGetAddress, NervosSignTx, NervosSignedTx, NervosTxAck, NervosTxRequest, NexaAddress, NexaGetAddress, NexaSignTx, NexaSignedTx, NexaTxInputAck, NexaTxInputRequest, NextU2FCounter, NftUpdate, Nonce, NostrDecryptMessage, NostrDecryptedMessage, NostrEncryptMessage, NostrEncryptedMessage, NostrGetPublicKey, NostrPublicKey, NostrSignEvent, NostrSignSchnorr, NostrSignedEvent, NostrSignedSchnorr, OnboardingPhase, OnboardingSetupKind, OnboardingSetupMethod, OnboardingSetupStatus, OnboardingStatus, OnboardingStatusGet, OnboardingStep, OneKeyDeviceCommType, OneKeyDeviceInfo, OneKeyDeviceInfoBase, OneKeyDeviceInfoWithSession, OneKeyDeviceType, OneKeyMobileDeviceInfo, OneKeySEState, OneKeySeType, OnekeyFeatures, OnekeyGetFeatures, OutputScriptType, OwnershipId, OwnershipProof, PROTOCOL_V1_CHUNK_PAYLOAD_SIZE, PROTOCOL_V1_ENVELOPE_HEADER_SIZE, PROTOCOL_V1_HEADER_BYTE, PROTOCOL_V1_MESSAGE_HEADER_SIZE, PROTOCOL_V1_REPORT_ID, PROTOCOL_V1_USB_PACKET_SIZE, PROTOCOL_V2_BLE_FILE_CHUNK_SIZE, PROTOCOL_V2_BLE_FILE_READ_CHUNK_SIZE, PROTOCOL_V2_BLE_FIRMWARE_FILE_CHUNK_SIZE, PROTOCOL_V2_BLE_FRAME_MAX_BYTES, PROTOCOL_V2_CHANNEL_BLE_UART, PROTOCOL_V2_CHANNEL_SOCKET, PROTOCOL_V2_CHANNEL_USB, PROTOCOL_V2_DEFAULT_RESPONSE_TIMEOUT_MS, PROTOCOL_V2_FILE_CHUNK_SIZE, PROTOCOL_V2_FILE_WRITE_PIPELINE_WINDOW, 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, ProtocolV2FileWritePipeline, ProtocolV2FrameAssembler, ProtocolV2LinkAdapter, ProtocolV2LinkDisabledError, ProtocolV2LinkError, ProtocolV2LinkErrorClassification, ProtocolV2LinkErrorCode, ProtocolV2LinkManager, ProtocolV2LinkManagerOptions, ProtocolV2Schemas, ProtocolV2SequenceCursor, ProtocolV2Session, ProtocolV2SessionOptions, ProtocolV2UsbTransportBase, ProtocolV2UsbTransportBaseOptions, PublicKey, PublicKeyMultiple, ReadSEPublicCert, ReadSEPublicKey, Reboot, RebootToBoardloader, RebootToBootloader, RebootType, RecoveryDevice, RecoveryDeviceType, RefundMemo, RequestType, ResetDevice, ResourceAck, ResourceRequest, ResourceType, ResourceUpdate, ResourceUpload, RippleAddress, RippleGetAddress, RipplePayment, RippleSignTx, RippleSignedTx, SEMessageSignature, SEPublicCert, SEPublicKey, SESignMessage, SafetyCheckLevel, ScdoAddress, ScdoGetAddress, ScdoSignMessage, ScdoSignTx, ScdoSignedMessage, ScdoSignedTx, ScdoTxAck, SdProtect, SdProtectOperationType, SeedRequestType, SelfTest, SetBusy, SetU2FCounter, SignIdentity, SignMessage, SignPsbt, SignTx, SignedIdentity, SignedPsbt, SolanaAddress, SolanaGetAddress, SolanaMessageSignature, SolanaOffChainMessageFormat, SolanaOffChainMessageVersion, SolanaSignOffChainMessage, SolanaSignTx, SolanaSignUnsafeMessage, SolanaSignedTx, SolanaTxATADetails, SolanaTxExtraInfo, SpiFlashData, SpiFlashRead, SpiFlashWrite, StarcoinAddress, StarcoinGetAddress, StarcoinGetPublicKey, StarcoinMessageSignature, StarcoinPublicKey, StarcoinSignMessage, StarcoinSignTx, StarcoinSignedTx, StarcoinVerifyMessage, StellarAccountMergeOp, StellarAddress, StellarAllowTrustOp, StellarAsset, StellarAssetType, StellarBumpSequenceOp, StellarChangeTrustOp, StellarCreateAccountOp, StellarCreatePassiveSellOfferOp, StellarGetAddress, StellarInvokeHostFunctionOp, StellarManageBuyOfferOp, StellarManageDataOp, StellarManageSellOfferOp, StellarMemoType, StellarPathPaymentStrictReceiveOp, StellarPathPaymentStrictSendOp, StellarPaymentOp, StellarRequestType, StellarSetOptionsOp, StellarSignTx, StellarSignedTx, StellarSignerType, StellarSorobanDataAck, StellarSorobanDataRequest, StellarTxOpRequest, Success, SuiAddress, SuiGetAddress, SuiMessageSignature, SuiSignMessage, SuiSignTx, SuiSignedTx, SuiTxAck, SuiTxRequest, TRANSPORT_EVENT, TextMemo, TezosAddress, TezosBallotOp, TezosBallotType, TezosContractID, TezosContractType, TezosDelegationOp, TezosGetAddress, TezosGetPublicKey, TezosManagerTransfer, TezosOriginationOp, TezosParametersManager, TezosProposalOp, TezosPublicKey, TezosRevealOp, TezosSignTx, TezosSignedTx, TezosTransactionOp, TonAddress, TonGetAddress, TonSignData, TonSignDataType, TonSignMessage, TonSignProof, TonSignedData, TonSignedMessage, TonSignedProof, TonTxAck, TonWalletVersion, TonWorkChain, Transport, TransportCallOptions, TransportDeviceDisconnectEvent, TransportWriteMetrics, TronAddress, TronCancelAllUnfreezeV2Contract, TronContract, TronDelegateResourceContract, TronFreezeBalanceContract, TronFreezeBalanceV2Contract, TronGetAddress, TronMessageSignature, TronMessageType, TronResourceCode, TronSignMessage, TronSignTx, TronSignedTx, TronTransferContract, TronTriggerSmartContract, TronUnDelegateResourceContract, TronUnfreezeBalanceContract, TronUnfreezeBalanceV2Contract, TronVoteWitnessContract, TronWithdrawBalanceContract, TronWithdrawExpireUnfreezeContract, TxAck, TxAckInput, TxAckInputWrapper, TxAckOutput, TxAckOutputWrapper, TxAckPaymentRequest, TxAckPrevExtraData, TxAckPrevExtraDataWrapper, TxAckPrevInput, TxAckPrevInputWrapper, TxAckPrevMeta, TxAckPrevOutput, TxAckPrevOutputWrapper, TxAckResponse, TxInput, TxInputType, TxOutput, TxOutputBinType, TxOutputType, TxRequest, TxRequestDetailsType, TxRequestSerializedType, TypedCall, UiAnimationCommand, UiAnimationRequest, UiAnimationType, UintType, UnLockDevice, UnLockDeviceResponse, UnlockPath, UnlockedPathRequest, UpgradeFileHeader, VerifyMessage, ViewActionCard, ViewAmount, ViewContentEntry, ViewContentPage, ViewContentPreview, ViewCustomField, ViewDetail, ViewSignLayout, ViewSignPage, ViewTip, ViewTipType, ViewVerifyPage, ViewWarningPage, Vote, WL_OperationType, WipeDevice, WordAck, WordRequest, WordRequestType, WriteSEPrivateKey, WriteSEPublicCert, ZoomRequest, bytesToHex, concatUint8Arrays, createProtocolV2LinkDisabledError, createTransportCallLog, _default as default, detectProtocolV2LinkDisabledError, experimental_field, experimental_message, facotry, getErrorMessage, getSafeTransportLogPayload, hexToBytes, isProtocolV2HighThroughputCall, isProtocolV2LinkDisabledError, isProtocolV2LinkDisabledFailure, isProtocolV2LinkError, probeProtocolV2, index as protocolV1, protocolV2Codec as protocolV2, shouldSuppressHighVolumeCallLog, withProtocolTimeout, writeProtocolV2BleFrame };
|
|
7223
|
+
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, BabylonDeriveContextHash, BabylonDerivedContextHash, 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, CanonicalBitcoinNetwork, 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, DeviceAnimationAction, DeviceAnimationControl, DeviceBackToBoot, DeviceCertificate, DeviceCertificateRead, DeviceCertificateSign, DeviceCertificateSignature, DeviceCertificateWrite, DeviceCoprocessorInfo, DeviceEraseSector, DeviceErrorCode, DeviceFactoryAck, DeviceFactoryInfo, DeviceFactoryInfoGet, DeviceFactoryInfoManufactureTime, DeviceFactoryInfoSet, DeviceFactoryPermanentLock, DeviceFactoryTest, DeviceFindMyTokenState, DeviceFindMyTokenStateGet, DeviceFindMyTokenUpdate, DeviceFirmwareImageInfo, DeviceFirmwareTarget, DeviceFirmwareTargetType, DeviceFirmwareUpdatePhase, DeviceFirmwareUpdatePhaseInfo, DeviceFirmwareUpdateRecord, DeviceFirmwareUpdateRecordFields, DeviceFirmwareUpdateRequest, DeviceFirmwareUpdateStage, DeviceFirmwareUpdateStatus, DeviceFirmwareUpdateStatusGet, DeviceFirmwareUpdateTaskStatus, DeviceHardwareInfo, DeviceInfo, DeviceInfoGet, DeviceInfoSettings, DeviceInfoTargets, DeviceInfoTypes, DeviceMainMcuInfo, DeviceMiscUsbMscControl, DeviceReboot, DeviceRebootType, DeviceSEInfo, DeviceSEState, DeviceSeType, DeviceSession, DeviceSessionAskPassphrase, DeviceSessionAskPin, DeviceSessionAskPin_FailureSubCodes, DeviceSessionErrorCode, DeviceSessionGet, DeviceSessionPinType, DeviceSessionSeedDomain, DeviceSettings, DeviceSettingsGet, DeviceSettingsPage, DeviceSettingsPageShow, DeviceSettingsSet, DeviceStatus, DeviceStatusGet, DeviceType, DnxAddress, DnxComputedKeyImage, DnxGetAddress, DnxInputAck, DnxInputRequest, DnxRTSigsRequest, DnxSignTx, DnxSignedTx, DnxTxKey, DoPreauthorized, ECDHSessionKey, EcdsaPublicKeys, EmmcDir, EmmcDirList, EmmcDirMake, EmmcDirRemove, EmmcFile, EmmcFileDelete, EmmcFileRead, EmmcFileWrite, EmmcFixPermission, EmmcPath, EmmcPathInfo, EndSession, Entropy, EntropyAck, EntropyRequest, Enum_BackupType, Enum_ButtonRequestType, Enum_CanonicalBitcoinNetwork, Enum_Capability, Enum_InputScriptType, Enum_KaspaInputScriptType, Enum_KaspaOutputScriptType, Enum_KaspaRequestType, Enum_OutputScriptType, Enum_PinMatrixRequestType, Enum_ProtocolV2Capability, Enum_RequestType, Enum_SafetyCheckLevel, Enum_WordRequestType, EosActionBuyRam, EosActionBuyRamBytes, EosActionCommon, EosActionDelegate, EosActionDeleteAuth, EosActionLinkAuth, EosActionNewAccount, EosActionRefund, EosActionSellRam, EosActionTransfer, EosActionUndelegate, EosActionUnknown, EosActionUnlinkAuth, EosActionUpdateAuth, EosActionVoteProducer, EosAsset, EosAuthorization, EosAuthorizationAccount, EosAuthorizationKey, EosAuthorizationWait, EosGetPublicKey, EosPermissionLevel, EosPublicKey, EosSignTx, EosSignedTx, EosTxActionAck, EosTxActionRequest, EosTxHeader, EthereumAccessList, EthereumAccessListOneKey, EthereumAddress, EthereumAddressOneKey, EthereumAuthorizationOneKey, EthereumAuthorizationSignature, EthereumDataType, EthereumDataTypeOneKey, EthereumDefinitionType, EthereumDefinitions, EthereumFieldType, EthereumFieldTypeOneKey, EthereumGetAddress, EthereumGetAddressOneKey, EthereumGetPublicKey, EthereumGetPublicKeyOneKey, EthereumGnosisSafeTxAck, EthereumGnosisSafeTxOperation, EthereumGnosisSafeTxRequest, EthereumMessageSignature, EthereumMessageSignatureOneKey, EthereumNetworkInfo, EthereumPublicKey, EthereumPublicKeyOneKey, EthereumSignMessage, EthereumSignMessageEIP712, EthereumSignMessageOneKey, EthereumSignTx, EthereumSignTxEIP1559, EthereumSignTxEIP1559OneKey, EthereumSignTxEIP7702OneKey, EthereumSignTxOneKey, EthereumSignTypedData, EthereumSignTypedDataOneKey, EthereumSignTypedDataQR, EthereumSignTypedHash, EthereumSignTypedHashOneKey, EthereumStructMember, EthereumStructMemberOneKey, EthereumTokenInfo, EthereumTxAck, EthereumTxAckOneKey, EthereumTxRequest, EthereumTxRequestOneKey, EthereumTypedDataSignature, EthereumTypedDataSignatureOneKey, EthereumTypedDataStructAck, EthereumTypedDataStructAckOneKey, EthereumTypedDataStructRequest, EthereumTypedDataStructRequestOneKey, EthereumTypedDataValueAck, EthereumTypedDataValueAckOneKey, EthereumTypedDataValueRequest, EthereumTypedDataValueRequestOneKey, EthereumVerifyMessage, EthereumVerifyMessageOneKey, ExportType, Failure, FailureType, Features, FileInfo, FileInfoList, FilecoinAddress, FilecoinGetAddress, FilecoinSignTx, FilecoinSignedTx, FilesystemDir, FilesystemDirList, FilesystemDirMake, FilesystemDirRemove, FilesystemFile, FilesystemFileDelete, FilesystemFileRead, FilesystemFileWrite, FilesystemFormat, FilesystemPathInfo, FilesystemPathInfoQuery, FilesystemPermissionFix, FirmwareErase, FirmwareErase_ex, FirmwareHash, FirmwareRequest, FirmwareUpdateEmmc, FirmwareUpload, GetAddress, GetDeviceInfo, GetECDHSessionKey, GetEntropy, GetFeatures, GetFirmwareHash, GetNextU2FCounter, GetNonce, GetOwnershipId, GetOwnershipProof, GetPassphraseState, GetPublicKey, GetPublicKeyMultiple, HDNodePathType, HDNodeType, IdentityType, Initialize, InputScriptType, InternalInputScriptType, InternalMyAddressRequest, KaspaAddress, KaspaGetAddress, KaspaInputScriptType, KaspaOutpoint, KaspaOutputScriptType, KaspaRequestType, KaspaSignTx, KaspaSignedTx, KaspaTxAckInput, KaspaTxAckOutput, KaspaTxAckPayloadChunk, KaspaTxAckPrevInput, KaspaTxAckPrevMeta, KaspaTxAckPrevOutput, KaspaTxInputAck, KaspaTxInputRequest, KaspaTxRequest, KaspaTxRequestSignature, ListResDir, LnurlAuth, LnurlAuthResp, LockDevice, LogBlockCommand, LowLevelDevice, LowlevelTransportSharedPlugin, MessageFromOneKey, MessageKey, MessageResponse, MessageResponseMap, MessageSignature, MessageType, messages as Messages, MoneroAccountPublicAddress, MoneroAddress, MoneroExportedKeyImage, MoneroGetAddress, MoneroGetTxKeyAck, MoneroGetTxKeyRequest, MoneroGetWatchKey, MoneroKeyImageExportInitAck, MoneroKeyImageExportInitRequest, MoneroKeyImageSyncFinalAck, MoneroKeyImageSyncFinalRequest, MoneroKeyImageSyncStepAck, MoneroKeyImageSyncStepRequest, MoneroLiveRefreshFinalAck, MoneroLiveRefreshFinalRequest, MoneroLiveRefreshStartAck, MoneroLiveRefreshStartRequest, MoneroLiveRefreshStepAck, MoneroLiveRefreshStepRequest, MoneroMultisigKLRki, MoneroNetworkType, MoneroOutputEntry, MoneroRctKeyPublic, MoneroRingCtSig, MoneroSubAddressIndicesList, MoneroTransactionAllInputsSetAck, MoneroTransactionAllInputsSetRequest, MoneroTransactionAllOutSetAck, MoneroTransactionAllOutSetRequest, MoneroTransactionData, MoneroTransactionDestinationEntry, MoneroTransactionFinalAck, MoneroTransactionFinalRequest, MoneroTransactionInitAck, MoneroTransactionInitRequest, MoneroTransactionInputViniAck, MoneroTransactionInputViniRequest, MoneroTransactionInputsPermutationAck, MoneroTransactionInputsPermutationRequest, MoneroTransactionRsigData, MoneroTransactionSetInputAck, MoneroTransactionSetInputRequest, MoneroTransactionSetOutputAck, MoneroTransactionSetOutputRequest, MoneroTransactionSignInputAck, MoneroTransactionSignInputRequest, MoneroTransactionSourceEntry, MoneroTransferDetails, MoneroWatchKey, MultisigRedeemScriptType, NEMAddress, NEMAggregateModification, NEMCosignatoryModification, NEMDecryptMessage, NEMDecryptedMessage, NEMGetAddress, NEMImportanceTransfer, NEMImportanceTransferMode, NEMModificationType, NEMMosaic, NEMMosaicCreation, NEMMosaicDefinition, NEMMosaicLevy, NEMMosaicSupplyChange, NEMProvisionNamespace, NEMSignTx, NEMSignedTx, NEMSupplyChangeType, NEMTransactionCommon, NEMTransfer, NFTWriteData, NFTWriteInfo, NearAddress, NearGetAddress, NearSignTx, NearSignedTx, NeoAddress, NeoGetAddress, NeoSignTx, NeoSignedTx, NervosAddress, NervosGetAddress, NervosSignTx, NervosSignedTx, NervosTxAck, NervosTxRequest, NexaAddress, NexaGetAddress, NexaSignTx, NexaSignedTx, NexaTxInputAck, NexaTxInputRequest, NextU2FCounter, NftUpdate, Nonce, NostrDecryptMessage, NostrDecryptedMessage, NostrEncryptMessage, NostrEncryptedMessage, NostrGetPublicKey, NostrPublicKey, NostrSignEvent, NostrSignSchnorr, NostrSignedEvent, NostrSignedSchnorr, OnboardingPhase, OnboardingSetupKind, OnboardingSetupMethod, OnboardingSetupStatus, OnboardingStatus, OnboardingStatusGet, OnboardingStep, OneKeyDeviceCommType, OneKeyDeviceInfo, OneKeyDeviceInfoBase, OneKeyDeviceInfoWithSession, OneKeyDeviceType, OneKeyMobileDeviceInfo, OneKeySEState, OneKeySeType, OnekeyFeatures, OnekeyGetFeatures, OutputScriptType, OwnershipId, OwnershipProof, PROTOCOL_V1_CHUNK_PAYLOAD_SIZE, PROTOCOL_V1_ENVELOPE_HEADER_SIZE, PROTOCOL_V1_HEADER_BYTE, PROTOCOL_V1_MESSAGE_HEADER_SIZE, PROTOCOL_V1_REPORT_ID, PROTOCOL_V1_USB_PACKET_SIZE, PROTOCOL_V2_BLE_FILE_CHUNK_SIZE, PROTOCOL_V2_BLE_FILE_READ_CHUNK_SIZE, PROTOCOL_V2_BLE_FIRMWARE_FILE_CHUNK_SIZE, PROTOCOL_V2_BLE_FRAME_MAX_BYTES, PROTOCOL_V2_CHANNEL_BLE_UART, PROTOCOL_V2_CHANNEL_SOCKET, PROTOCOL_V2_CHANNEL_USB, PROTOCOL_V2_DEFAULT_RESPONSE_TIMEOUT_MS, PROTOCOL_V2_FILE_CHUNK_SIZE, PROTOCOL_V2_FILE_WRITE_PIPELINE_WINDOW, 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, ProtocolV2FileWritePipeline, ProtocolV2FrameAssembler, ProtocolV2LinkAdapter, ProtocolV2LinkDisabledError, ProtocolV2LinkError, ProtocolV2LinkErrorClassification, ProtocolV2LinkErrorCode, ProtocolV2LinkManager, ProtocolV2LinkManagerOptions, ProtocolV2Schemas, ProtocolV2SequenceCursor, ProtocolV2Session, ProtocolV2SessionOptions, ProtocolV2UsbTransportBase, ProtocolV2UsbTransportBaseOptions, PublicKey, PublicKeyMultiple, ReadSEPublicCert, ReadSEPublicKey, Reboot, RebootToBoardloader, RebootToBootloader, RebootType, RecoveryDevice, RecoveryDeviceType, RefundMemo, RequestType, ResetDevice, ResourceAck, ResourceRequest, ResourceType, ResourceUpdate, ResourceUpload, RippleAddress, RippleGetAddress, RipplePayment, RippleSignTx, RippleSignedTx, SEMessageSignature, SEPublicCert, SEPublicKey, SESignMessage, SafetyCheckLevel, ScdoAddress, ScdoGetAddress, ScdoSignMessage, ScdoSignTx, ScdoSignedMessage, ScdoSignedTx, ScdoTxAck, SdProtect, SdProtectOperationType, SeedRequestType, SelfTest, SetBusy, SetU2FCounter, SignIdentity, SignMessage, SignPsbt, SignTx, SignedIdentity, SignedPsbt, SolanaAddress, SolanaGetAddress, SolanaMessageSignature, SolanaOffChainMessageFormat, SolanaOffChainMessageVersion, SolanaSignOffChainMessage, SolanaSignTx, SolanaSignUnsafeMessage, SolanaSignedTx, SolanaTxATADetails, SolanaTxExtraInfo, SpiFlashData, SpiFlashRead, SpiFlashWrite, StarcoinAddress, StarcoinGetAddress, StarcoinGetPublicKey, StarcoinMessageSignature, StarcoinPublicKey, StarcoinSignMessage, StarcoinSignTx, StarcoinSignedTx, StarcoinVerifyMessage, StellarAccountMergeOp, StellarAddress, StellarAllowTrustOp, StellarAsset, StellarAssetType, StellarBumpSequenceOp, StellarChangeTrustOp, StellarCreateAccountOp, StellarCreatePassiveSellOfferOp, StellarGetAddress, StellarInvokeHostFunctionOp, StellarManageBuyOfferOp, StellarManageDataOp, StellarManageSellOfferOp, StellarMemoType, StellarPathPaymentStrictReceiveOp, StellarPathPaymentStrictSendOp, StellarPaymentOp, StellarRequestType, StellarSetOptionsOp, StellarSignTx, StellarSignedTx, StellarSignerType, StellarSorobanDataAck, StellarSorobanDataRequest, StellarTxOpRequest, Success, SuiAddress, SuiGetAddress, SuiMessageSignature, SuiSignMessage, SuiSignTx, SuiSignedTx, SuiTxAck, SuiTxRequest, TRANSPORT_EVENT, TextMemo, TezosAddress, TezosBallotOp, TezosBallotType, TezosContractID, TezosContractType, TezosDelegationOp, TezosGetAddress, TezosGetPublicKey, TezosManagerTransfer, TezosOriginationOp, TezosParametersManager, TezosProposalOp, TezosPublicKey, TezosRevealOp, TezosSignTx, TezosSignedTx, TezosTransactionOp, TonAddress, TonGetAddress, TonSignData, TonSignDataType, TonSignMessage, TonSignProof, TonSignedData, TonSignedMessage, TonSignedProof, TonTxAck, TonWalletVersion, TonWorkChain, Transport, TransportCallOptions, TransportDeviceDisconnectEvent, TransportWriteMetrics, TronAddress, TronCancelAllUnfreezeV2Contract, TronContract, TronDelegateResourceContract, TronFreezeBalanceContract, TronFreezeBalanceV2Contract, TronGetAddress, TronMessageSignature, TronMessageType, TronResourceCode, TronSignMessage, TronSignTx, TronSignedTx, TronTransferContract, TronTriggerSmartContract, TronUnDelegateResourceContract, TronUnfreezeBalanceContract, TronUnfreezeBalanceV2Contract, TronVoteWitnessContract, TronWithdrawBalanceContract, TronWithdrawExpireUnfreezeContract, TxAck, TxAckInput, TxAckInputWrapper, TxAckOutput, TxAckOutputWrapper, TxAckPaymentRequest, TxAckPrevExtraData, TxAckPrevExtraDataWrapper, TxAckPrevInput, TxAckPrevInputWrapper, TxAckPrevMeta, TxAckPrevOutput, TxAckPrevOutputWrapper, TxAckResponse, TxInput, TxInputType, TxOutput, TxOutputBinType, TxOutputType, TxRequest, TxRequestDetailsType, TxRequestSerializedType, TypedCall, UiAnimationCommand, UiAnimationRequest, UiAnimationType, UintType, UnLockDevice, UnLockDeviceResponse, UnlockPath, UnlockedPathRequest, UpgradeFileHeader, VerifyMessage, ViewActionCard, ViewAmount, ViewContentEntry, ViewContentPage, ViewContentPreview, ViewCustomField, ViewDetail, ViewSignLayout, ViewSignPage, ViewTip, ViewTipType, ViewVerifyPage, ViewWarningPage, Vote, WL_OperationType, WipeDevice, WordAck, WordRequest, WordRequestType, WriteSEPrivateKey, WriteSEPublicCert, ZcashAddress, ZcashAddressScope, ZcashAddressType, ZcashGetAddress, ZcashPcztChunkAck, ZcashPcztChunkRequest, ZcashSignPczt, ZcashSignedPczt, ZcashSignedPcztChunkRequest, ZoomRequest, bytesToHex, concatUint8Arrays, createProtocolV2LinkDisabledError, createTransportCallLog, _default as default, detectProtocolV2LinkDisabledError, experimental_field, experimental_message, facotry, getErrorMessage, getSafeTransportLogPayload, hexToBytes, isProtocolV2HighThroughputCall, isProtocolV2LinkDisabledError, isProtocolV2LinkDisabledFailure, isProtocolV2LinkError, probeProtocolV2, index as protocolV1, protocolV2Codec as protocolV2, shouldSuppressHighVolumeCallLog, withProtocolTimeout, writeProtocolV2BleFrame };
|
package/dist/index.js
CHANGED
|
@@ -2451,6 +2451,17 @@ exports.ViewSignLayout = void 0;
|
|
|
2451
2451
|
ViewSignLayout[ViewSignLayout["LayoutFlat"] = 4] = "LayoutFlat";
|
|
2452
2452
|
ViewSignLayout[ViewSignLayout["LayoutEthApprove"] = 5] = "LayoutEthApprove";
|
|
2453
2453
|
})(exports.ViewSignLayout || (exports.ViewSignLayout = {}));
|
|
2454
|
+
exports.ZcashAddressType = void 0;
|
|
2455
|
+
(function (ZcashAddressType) {
|
|
2456
|
+
ZcashAddressType[ZcashAddressType["UNIFIED_ORCHARD_P2PKH"] = 0] = "UNIFIED_ORCHARD_P2PKH";
|
|
2457
|
+
ZcashAddressType[ZcashAddressType["TRANSPARENT_P2PKH"] = 1] = "TRANSPARENT_P2PKH";
|
|
2458
|
+
ZcashAddressType[ZcashAddressType["UNIFIED_ORCHARD"] = 2] = "UNIFIED_ORCHARD";
|
|
2459
|
+
})(exports.ZcashAddressType || (exports.ZcashAddressType = {}));
|
|
2460
|
+
exports.ZcashAddressScope = void 0;
|
|
2461
|
+
(function (ZcashAddressScope) {
|
|
2462
|
+
ZcashAddressScope[ZcashAddressScope["EXTERNAL"] = 0] = "EXTERNAL";
|
|
2463
|
+
ZcashAddressScope[ZcashAddressScope["INTERNAL"] = 1] = "INTERNAL";
|
|
2464
|
+
})(exports.ZcashAddressScope || (exports.ZcashAddressScope = {}));
|
|
2454
2465
|
exports.ProtocolV2FailureType = void 0;
|
|
2455
2466
|
(function (ProtocolV2FailureType) {
|
|
2456
2467
|
ProtocolV2FailureType[ProtocolV2FailureType["Failure_InvalidMessage"] = 1] = "Failure_InvalidMessage";
|
|
@@ -2572,6 +2583,8 @@ var messages = /*#__PURE__*/Object.freeze({
|
|
|
2572
2583
|
get OnboardingSetupMethod () { return exports.OnboardingSetupMethod; },
|
|
2573
2584
|
get ViewTipType () { return exports.ViewTipType; },
|
|
2574
2585
|
get ViewSignLayout () { return exports.ViewSignLayout; },
|
|
2586
|
+
get ZcashAddressType () { return exports.ZcashAddressType; },
|
|
2587
|
+
get ZcashAddressScope () { return exports.ZcashAddressScope; },
|
|
2575
2588
|
get ProtocolV2FailureType () { return exports.ProtocolV2FailureType; },
|
|
2576
2589
|
get Enum_ProtocolV2Capability () { return exports.Enum_ProtocolV2Capability; }
|
|
2577
2590
|
});
|
|
@@ -2579,29 +2592,39 @@ var messages = /*#__PURE__*/Object.freeze({
|
|
|
2579
2592
|
const REDACTED = '[REDACTED]';
|
|
2580
2593
|
const SENSITIVE_LOG_KEYS = new Set([
|
|
2581
2594
|
'accesstoken',
|
|
2595
|
+
'additionaltxpubkeys',
|
|
2582
2596
|
'address',
|
|
2583
2597
|
'apikey',
|
|
2584
2598
|
'connectid',
|
|
2599
|
+
'datachunk',
|
|
2585
2600
|
'devicestate',
|
|
2586
2601
|
'deviceid',
|
|
2602
|
+
'enckey',
|
|
2587
2603
|
'entropy',
|
|
2588
2604
|
'expectedpassphrasestate',
|
|
2589
2605
|
'mnemonic',
|
|
2606
|
+
'outkey',
|
|
2590
2607
|
'passphrase',
|
|
2591
2608
|
'passphrasestate',
|
|
2592
2609
|
'password',
|
|
2610
|
+
'pczt',
|
|
2593
2611
|
'pin',
|
|
2594
2612
|
'privatekey',
|
|
2595
2613
|
'publickey',
|
|
2596
2614
|
'seed',
|
|
2597
2615
|
'secret',
|
|
2616
|
+
'seedfingerprint',
|
|
2598
2617
|
'serialnumber',
|
|
2599
2618
|
'session',
|
|
2600
2619
|
'sessionid',
|
|
2601
2620
|
'signature',
|
|
2621
|
+
'signedpczt',
|
|
2602
2622
|
'token',
|
|
2623
|
+
'txpubkey',
|
|
2624
|
+
'ufvk',
|
|
2603
2625
|
'uuid',
|
|
2604
2626
|
'walletsessionid',
|
|
2627
|
+
'watchkey',
|
|
2605
2628
|
'xprv',
|
|
2606
2629
|
'xpub',
|
|
2607
2630
|
]);
|
|
@@ -2614,7 +2637,8 @@ const isSensitiveLogKey = (key) => {
|
|
|
2614
2637
|
normalizedKey.endsWith('publickey') ||
|
|
2615
2638
|
normalizedKey.endsWith('signature'));
|
|
2616
2639
|
};
|
|
2617
|
-
const isSigningMessage = (messageName) => Boolean(messageName && /(?:sign|txack|transaction)/i.test(messageName));
|
|
2640
|
+
const isSigningMessage = (messageName) => Boolean(messageName && /(?:sign|txack|transaction|pczt)/i.test(messageName));
|
|
2641
|
+
const isMoneroSecretMessage = (messageName) => Boolean(messageName && /^Monero(?:KeyImage|GetTxKey|LiveRefresh)/.test(messageName));
|
|
2618
2642
|
const redactLogValue = (value, seen) => {
|
|
2619
2643
|
if (ArrayBuffer.isView(value)) {
|
|
2620
2644
|
return `[BINARY:${value.byteLength}]`;
|
|
@@ -2642,7 +2666,7 @@ const redactLogValue = (value, seen) => {
|
|
|
2642
2666
|
return redacted;
|
|
2643
2667
|
};
|
|
2644
2668
|
function getSafeTransportLogPayload(value, messageName) {
|
|
2645
|
-
if (isSigningMessage(messageName)) {
|
|
2669
|
+
if (isSigningMessage(messageName) || isMoneroSecretMessage(messageName)) {
|
|
2646
2670
|
return REDACTED;
|
|
2647
2671
|
}
|
|
2648
2672
|
return redactLogValue(value, new WeakSet());
|
package/dist/types/messages.d.ts
CHANGED
|
@@ -3508,6 +3508,23 @@ export type UiAnimationRequest = {
|
|
|
3508
3508
|
command: UiAnimationCommand;
|
|
3509
3509
|
type?: UiAnimationType;
|
|
3510
3510
|
};
|
|
3511
|
+
export type ZcashSignPczt = {
|
|
3512
|
+
pczt_length: number;
|
|
3513
|
+
pczt_initial_chunk: string;
|
|
3514
|
+
};
|
|
3515
|
+
export type ZcashPcztChunkRequest = {
|
|
3516
|
+
chunk_length: number;
|
|
3517
|
+
};
|
|
3518
|
+
export type ZcashPcztChunkAck = {
|
|
3519
|
+
data_chunk: string;
|
|
3520
|
+
};
|
|
3521
|
+
export type ZcashSignedPczt = {
|
|
3522
|
+
pczt_length: number;
|
|
3523
|
+
pczt_initial_chunk: string;
|
|
3524
|
+
};
|
|
3525
|
+
export type ZcashSignedPcztChunkRequest = {
|
|
3526
|
+
chunk_length: number;
|
|
3527
|
+
};
|
|
3511
3528
|
export type experimental_message = {};
|
|
3512
3529
|
export type experimental_field = {};
|
|
3513
3530
|
export type ProtocolInfoRequest = {
|
|
@@ -4027,6 +4044,29 @@ export type ViewVerifyPage = {
|
|
|
4027
4044
|
chain_id?: number;
|
|
4028
4045
|
content?: ViewContentPreview;
|
|
4029
4046
|
};
|
|
4047
|
+
export declare enum ZcashAddressType {
|
|
4048
|
+
UNIFIED_ORCHARD_P2PKH = 0,
|
|
4049
|
+
TRANSPARENT_P2PKH = 1,
|
|
4050
|
+
UNIFIED_ORCHARD = 2
|
|
4051
|
+
}
|
|
4052
|
+
export declare enum ZcashAddressScope {
|
|
4053
|
+
EXTERNAL = 0,
|
|
4054
|
+
INTERNAL = 1
|
|
4055
|
+
}
|
|
4056
|
+
export type ZcashGetAddress = {
|
|
4057
|
+
address_n: number[];
|
|
4058
|
+
show_display?: boolean;
|
|
4059
|
+
include_seed_fingerprint?: boolean;
|
|
4060
|
+
include_ufvk?: boolean;
|
|
4061
|
+
diversifier_index?: number;
|
|
4062
|
+
address_type?: ZcashAddressType;
|
|
4063
|
+
scope?: ZcashAddressScope;
|
|
4064
|
+
};
|
|
4065
|
+
export type ZcashAddress = {
|
|
4066
|
+
address: string;
|
|
4067
|
+
ufvk?: string;
|
|
4068
|
+
seed_fingerprint?: string;
|
|
4069
|
+
};
|
|
4030
4070
|
export declare enum ProtocolV2FailureType {
|
|
4031
4071
|
Failure_InvalidMessage = 1,
|
|
4032
4072
|
Failure_UndefinedError = 2,
|
|
@@ -4638,6 +4678,11 @@ export type MessageType = {
|
|
|
4638
4678
|
UnlockPath: UnlockPath;
|
|
4639
4679
|
UnlockedPathRequest: UnlockedPathRequest;
|
|
4640
4680
|
UiAnimationRequest: UiAnimationRequest;
|
|
4681
|
+
ZcashSignPczt: ZcashSignPczt;
|
|
4682
|
+
ZcashPcztChunkRequest: ZcashPcztChunkRequest;
|
|
4683
|
+
ZcashPcztChunkAck: ZcashPcztChunkAck;
|
|
4684
|
+
ZcashSignedPczt: ZcashSignedPczt;
|
|
4685
|
+
ZcashSignedPcztChunkRequest: ZcashSignedPcztChunkRequest;
|
|
4641
4686
|
experimental_message: experimental_message;
|
|
4642
4687
|
experimental_field: experimental_field;
|
|
4643
4688
|
ProtocolInfoRequest: ProtocolInfoRequest;
|
|
@@ -4714,6 +4759,8 @@ export type MessageType = {
|
|
|
4714
4759
|
ViewSignPage: ViewSignPage;
|
|
4715
4760
|
ViewWarningPage: ViewWarningPage;
|
|
4716
4761
|
ViewVerifyPage: ViewVerifyPage;
|
|
4762
|
+
ZcashGetAddress: ZcashGetAddress;
|
|
4763
|
+
ZcashAddress: ZcashAddress;
|
|
4717
4764
|
};
|
|
4718
4765
|
export type MessageKey = keyof MessageType;
|
|
4719
4766
|
export type MessageResponse<T extends MessageKey> = {
|