@onekeyfe/hd-core 1.2.0-alpha.57 → 1.2.0-alpha.58
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__/AllNetworkGetAddressBase.tracing.test.ts +84 -2
- package/__tests__/DeviceCommands.test.ts +17 -6
- package/__tests__/core-initialization.test.ts +23 -0
- package/__tests__/device-connector-protocol.test.ts +81 -0
- package/__tests__/device-settings.test.ts +39 -18
- package/__tests__/protocol-v2-resources.test.ts +24 -0
- package/__tests__/protocol-v2.test.ts +49 -126
- package/__tests__/protocolV2FileWrite.test.ts +113 -0
- package/__tests__/public-pro2-api-boundary.test.ts +2 -98
- package/dist/api/FirmwareUpdateV4.d.ts +0 -1
- package/dist/api/FirmwareUpdateV4.d.ts.map +1 -1
- package/dist/api/allnetwork/AllNetworkGetAddressBase.d.ts.map +1 -1
- package/dist/api/device/DeviceSettings.d.ts.map +1 -1
- package/dist/api/device/DeviceVerify.d.ts.map +1 -1
- package/dist/api/firmware/FirmwareUpdateBaseMethod.d.ts +4 -2
- package/dist/api/firmware/FirmwareUpdateBaseMethod.d.ts.map +1 -1
- package/dist/api/helpers/protocolV2FileWrite.d.ts +7 -0
- package/dist/api/helpers/protocolV2FileWrite.d.ts.map +1 -1
- package/dist/api/index.d.ts +0 -3
- package/dist/api/index.d.ts.map +1 -1
- package/dist/api/protocol-v2/DeviceFactoryInfoGet.d.ts.map +1 -1
- package/dist/api/protocol-v2/DeviceFactoryInfoSet.d.ts.map +1 -1
- package/dist/api/protocol-v2/helpers.d.ts +5 -15
- package/dist/api/protocol-v2/helpers.d.ts.map +1 -1
- package/dist/api/stellar/StellarSignTransaction.d.ts +1 -1
- package/dist/api/utils.d.ts +1 -6
- package/dist/api/utils.d.ts.map +1 -1
- package/dist/core/index.d.ts +4 -10
- package/dist/core/index.d.ts.map +1 -1
- package/dist/data-manager/DataManager.d.ts +1 -0
- package/dist/data-manager/DataManager.d.ts.map +1 -1
- package/dist/data-manager/TransportManager.d.ts.map +1 -1
- package/dist/device/DeviceCommands.d.ts.map +1 -1
- package/dist/device/DeviceConnector.d.ts +2 -1
- package/dist/device/DeviceConnector.d.ts.map +1 -1
- package/dist/index.d.ts +44 -723
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +499 -2953
- package/dist/inject.d.ts +2 -6
- package/dist/inject.d.ts.map +1 -1
- package/dist/types/api/index.d.ts +3 -176
- package/dist/types/api/index.d.ts.map +1 -1
- package/dist/types/api/protocolV2.d.ts +2 -8
- package/dist/types/api/protocolV2.d.ts.map +1 -1
- package/dist/utils/patch.d.ts +1 -1
- package/dist/utils/patch.d.ts.map +1 -1
- package/package.json +4 -4
- package/src/api/FirmwareUpdateV4.ts +39 -69
- package/src/api/allnetwork/AllNetworkGetAddressBase.ts +3 -1
- package/src/api/device/DeviceSettings.ts +5 -4
- package/src/api/device/DeviceVerify.ts +0 -2
- package/src/api/firmware/FirmwareUpdateBaseMethod.ts +12 -1
- package/src/api/helpers/protocolV2FileWrite.ts +192 -73
- package/src/api/index.ts +0 -3
- package/src/api/protocol-v2/DeviceFactoryInfoGet.ts +0 -3
- package/src/api/protocol-v2/DeviceFactoryInfoSet.ts +7 -6
- package/src/api/protocol-v2/helpers.ts +5 -152
- package/src/api/utils.ts +1 -46
- package/src/core/index.ts +16 -28
- package/src/data-manager/DataManager.ts +25 -4
- package/src/data-manager/TransportManager.ts +6 -0
- package/src/device/DeviceCommands.ts +20 -2
- package/src/device/DeviceConnector.ts +33 -13
- package/src/index.ts +0 -5
- package/src/inject.ts +7 -209
- package/src/types/api/index.ts +2 -288
- package/src/types/api/protocolV2.ts +2 -43
- package/__tests__/public-test-api-boundary.test.ts +0 -167
- package/dist/api/BixinBackupDevice.d.ts +0 -7
- package/dist/api/BixinBackupDevice.d.ts.map +0 -1
- package/dist/api/BixinLoadDevice.d.ts +0 -7
- package/dist/api/BixinLoadDevice.d.ts.map +0 -1
- package/dist/api/BixinMessageSE.d.ts +0 -8
- package/dist/api/BixinMessageSE.d.ts.map +0 -1
- package/dist/api/BixinVerifyDeviceRequest.d.ts +0 -8
- package/dist/api/BixinVerifyDeviceRequest.d.ts.map +0 -1
- package/dist/api/WebAuthnAddResidentCredential.d.ts +0 -8
- package/dist/api/WebAuthnAddResidentCredential.d.ts.map +0 -1
- package/dist/api/WebAuthnListResidentCredentials.d.ts +0 -8
- package/dist/api/WebAuthnListResidentCredentials.d.ts.map +0 -1
- package/dist/api/WebAuthnRemoveResidentCredential.d.ts +0 -8
- package/dist/api/WebAuthnRemoveResidentCredential.d.ts.map +0 -1
- package/dist/api/binance/BinanceGetAddress.d.ts +0 -8
- package/dist/api/binance/BinanceGetAddress.d.ts.map +0 -1
- package/dist/api/binance/BinanceGetPublicKey.d.ts +0 -8
- package/dist/api/binance/BinanceGetPublicKey.d.ts.map +0 -1
- package/dist/api/binance/BinanceSignTx.d.ts +0 -7
- package/dist/api/binance/BinanceSignTx.d.ts.map +0 -1
- package/dist/api/btc/BTCAuthorizeCoinJoin.d.ts +0 -7
- package/dist/api/btc/BTCAuthorizeCoinJoin.d.ts.map +0 -1
- package/dist/api/btc/BTCGetOwnershipId.d.ts +0 -7
- package/dist/api/btc/BTCGetOwnershipId.d.ts.map +0 -1
- package/dist/api/btc/BTCGetOwnershipProof.d.ts +0 -7
- package/dist/api/btc/BTCGetOwnershipProof.d.ts.map +0 -1
- package/dist/api/crypto/CryptoBatchGetPublickeys.d.ts +0 -8
- package/dist/api/crypto/CryptoBatchGetPublickeys.d.ts.map +0 -1
- package/dist/api/crypto/CryptoCipherKeyValue.d.ts +0 -8
- package/dist/api/crypto/CryptoCipherKeyValue.d.ts.map +0 -1
- package/dist/api/crypto/CryptoCosiCommit.d.ts +0 -8
- package/dist/api/crypto/CryptoCosiCommit.d.ts.map +0 -1
- package/dist/api/crypto/CryptoCosiSign.d.ts +0 -8
- package/dist/api/crypto/CryptoCosiSign.d.ts.map +0 -1
- package/dist/api/crypto/CryptoGetECDHSessionKey.d.ts +0 -8
- package/dist/api/crypto/CryptoGetECDHSessionKey.d.ts.map +0 -1
- package/dist/api/crypto/CryptoSignIdentity.d.ts +0 -8
- package/dist/api/crypto/CryptoSignIdentity.d.ts.map +0 -1
- package/dist/api/debug/DebugLinkDecision.d.ts +0 -7
- package/dist/api/debug/DebugLinkDecision.d.ts.map +0 -1
- package/dist/api/debug/DebugLinkEraseSdCard.d.ts +0 -7
- package/dist/api/debug/DebugLinkEraseSdCard.d.ts.map +0 -1
- package/dist/api/debug/DebugLinkFlashErase.d.ts +0 -7
- package/dist/api/debug/DebugLinkFlashErase.d.ts.map +0 -1
- package/dist/api/debug/DebugLinkGetState.d.ts +0 -7
- package/dist/api/debug/DebugLinkGetState.d.ts.map +0 -1
- package/dist/api/debug/DebugLinkMemoryRead.d.ts +0 -7
- package/dist/api/debug/DebugLinkMemoryRead.d.ts.map +0 -1
- package/dist/api/debug/DebugLinkMemoryWrite.d.ts +0 -7
- package/dist/api/debug/DebugLinkMemoryWrite.d.ts.map +0 -1
- package/dist/api/debug/DebugLinkRecordScreen.d.ts +0 -7
- package/dist/api/debug/DebugLinkRecordScreen.d.ts.map +0 -1
- package/dist/api/debug/DebugLinkReseedRandom.d.ts +0 -7
- package/dist/api/debug/DebugLinkReseedRandom.d.ts.map +0 -1
- package/dist/api/debug/DebugLinkStop.d.ts +0 -7
- package/dist/api/debug/DebugLinkStop.d.ts.map +0 -1
- package/dist/api/debug/DebugLinkWatchLayout.d.ts +0 -7
- package/dist/api/debug/DebugLinkWatchLayout.d.ts.map +0 -1
- package/dist/api/emmc/EmmcDirList.d.ts +0 -7
- package/dist/api/emmc/EmmcDirList.d.ts.map +0 -1
- package/dist/api/emmc/EmmcDirMake.d.ts +0 -7
- package/dist/api/emmc/EmmcDirMake.d.ts.map +0 -1
- package/dist/api/emmc/EmmcDirRemove.d.ts +0 -7
- package/dist/api/emmc/EmmcDirRemove.d.ts.map +0 -1
- package/dist/api/emmc/EmmcFileDelete.d.ts +0 -7
- package/dist/api/emmc/EmmcFileDelete.d.ts.map +0 -1
- package/dist/api/emmc/EmmcFileRead.d.ts +0 -7
- package/dist/api/emmc/EmmcFileRead.d.ts.map +0 -1
- package/dist/api/emmc/EmmcFileWrite.d.ts +0 -7
- package/dist/api/emmc/EmmcFileWrite.d.ts.map +0 -1
- package/dist/api/emmc/EmmcFixPermission.d.ts +0 -7
- package/dist/api/emmc/EmmcFixPermission.d.ts.map +0 -1
- package/dist/api/emmc/EmmcPathInfo.d.ts +0 -7
- package/dist/api/emmc/EmmcPathInfo.d.ts.map +0 -1
- package/dist/api/eos/EosGetPublicKey.d.ts +0 -8
- package/dist/api/eos/EosGetPublicKey.d.ts.map +0 -1
- package/dist/api/eos/EosSignTx.d.ts +0 -12
- package/dist/api/eos/EosSignTx.d.ts.map +0 -1
- package/dist/api/evmTrezor/EVMGetAddress.d.ts +0 -10
- package/dist/api/evmTrezor/EVMGetAddress.d.ts.map +0 -1
- package/dist/api/evmTrezor/EVMGetPublicKey.d.ts +0 -16
- package/dist/api/evmTrezor/EVMGetPublicKey.d.ts.map +0 -1
- package/dist/api/evmTrezor/EVMSignMessage.d.ts +0 -7
- package/dist/api/evmTrezor/EVMSignMessage.d.ts.map +0 -1
- package/dist/api/evmTrezor/EVMSignTransaction.d.ts +0 -15
- package/dist/api/evmTrezor/EVMSignTransaction.d.ts.map +0 -1
- package/dist/api/evmTrezor/EVMSignTypedData.d.ts +0 -43
- package/dist/api/evmTrezor/EVMSignTypedData.d.ts.map +0 -1
- package/dist/api/evmTrezor/EVMVerifyMessage.d.ts +0 -7
- package/dist/api/evmTrezor/EVMVerifyMessage.d.ts.map +0 -1
- package/dist/api/evmTrezor/legacyV1/getAddress.d.ts +0 -6
- package/dist/api/evmTrezor/legacyV1/getAddress.d.ts.map +0 -1
- package/dist/api/evmTrezor/legacyV1/getPublicKey.d.ts +0 -6
- package/dist/api/evmTrezor/legacyV1/getPublicKey.d.ts.map +0 -1
- package/dist/api/evmTrezor/legacyV1/signMessage.d.ts +0 -6
- package/dist/api/evmTrezor/legacyV1/signMessage.d.ts.map +0 -1
- package/dist/api/evmTrezor/legacyV1/signTransaction.d.ts +0 -9
- package/dist/api/evmTrezor/legacyV1/signTransaction.d.ts.map +0 -1
- package/dist/api/evmTrezor/legacyV1/signTypedData.d.ts +0 -10
- package/dist/api/evmTrezor/legacyV1/signTypedData.d.ts.map +0 -1
- package/dist/api/evmTrezor/legacyV1/signTypedHash.d.ts +0 -11
- package/dist/api/evmTrezor/legacyV1/signTypedHash.d.ts.map +0 -1
- package/dist/api/evmTrezor/legacyV1/verifyMessage.d.ts +0 -6
- package/dist/api/evmTrezor/legacyV1/verifyMessage.d.ts.map +0 -1
- package/dist/api/extensionMethodNames.d.ts +0 -3
- package/dist/api/extensionMethodNames.d.ts.map +0 -1
- package/dist/api/factoryMethods.d.ts +0 -3
- package/dist/api/factoryMethods.d.ts.map +0 -1
- package/dist/api/firmware/FirmwareErase.d.ts +0 -12
- package/dist/api/firmware/FirmwareErase.d.ts.map +0 -1
- package/dist/api/firmware/FirmwareEraseEx.d.ts +0 -12
- package/dist/api/firmware/FirmwareEraseEx.d.ts.map +0 -1
- package/dist/api/firmware/FirmwareUpdateEmmcTest.d.ts +0 -7
- package/dist/api/firmware/FirmwareUpdateEmmcTest.d.ts.map +0 -1
- package/dist/api/firmware/FirmwareUploadTest.d.ts +0 -7
- package/dist/api/firmware/FirmwareUploadTest.d.ts.map +0 -1
- package/dist/api/firmware/Reboot.d.ts +0 -7
- package/dist/api/firmware/Reboot.d.ts.map +0 -1
- package/dist/api/firmware/SelfTest.d.ts +0 -7
- package/dist/api/firmware/SelfTest.d.ts.map +0 -1
- package/dist/api/manager/DeviceCancelAuthorization.d.ts +0 -7
- package/dist/api/manager/DeviceCancelAuthorization.d.ts.map +0 -1
- package/dist/api/manager/DeviceChangeWipeCode.d.ts +0 -7
- package/dist/api/manager/DeviceChangeWipeCode.d.ts.map +0 -1
- package/dist/api/manager/DeviceDoPreauthorized.d.ts +0 -7
- package/dist/api/manager/DeviceDoPreauthorized.d.ts.map +0 -1
- package/dist/api/manager/DeviceEndSession.d.ts +0 -7
- package/dist/api/manager/DeviceEndSession.d.ts.map +0 -1
- package/dist/api/manager/DeviceGetEntropy.d.ts +0 -7
- package/dist/api/manager/DeviceGetEntropy.d.ts.map +0 -1
- package/dist/api/manager/DeviceGetFirmwareHash.d.ts +0 -7
- package/dist/api/manager/DeviceGetFirmwareHash.d.ts.map +0 -1
- package/dist/api/manager/DeviceInfoSettings.d.ts +0 -7
- package/dist/api/manager/DeviceInfoSettings.d.ts.map +0 -1
- package/dist/api/manager/DeviceLoad.d.ts +0 -7
- package/dist/api/manager/DeviceLoad.d.ts.map +0 -1
- package/dist/api/manager/DevicePing.d.ts +0 -7
- package/dist/api/manager/DevicePing.d.ts.map +0 -1
- package/dist/api/manager/DeviceReadSEPublicCert.d.ts +0 -7
- package/dist/api/manager/DeviceReadSEPublicCert.d.ts.map +0 -1
- package/dist/api/manager/DeviceSESignMessage.d.ts +0 -7
- package/dist/api/manager/DeviceSESignMessage.d.ts.map +0 -1
- package/dist/api/manager/DeviceSdProtect.d.ts +0 -7
- package/dist/api/manager/DeviceSdProtect.d.ts.map +0 -1
- package/dist/api/manager/DeviceSpiFlashRead.d.ts +0 -7
- package/dist/api/manager/DeviceSpiFlashRead.d.ts.map +0 -1
- package/dist/api/manager/DeviceSpiFlashWrite.d.ts +0 -7
- package/dist/api/manager/DeviceSpiFlashWrite.d.ts.map +0 -1
- package/dist/api/manager/DeviceUnlockPath.d.ts +0 -7
- package/dist/api/manager/DeviceUnlockPath.d.ts.map +0 -1
- package/dist/api/manager/DeviceWriteSEPrivateKey.d.ts +0 -7
- package/dist/api/manager/DeviceWriteSEPrivateKey.d.ts.map +0 -1
- package/dist/api/manager/DeviceWriteSEPublicCert.d.ts +0 -7
- package/dist/api/manager/DeviceWriteSEPublicCert.d.ts.map +0 -1
- package/dist/api/manager/GetDeviceInfoSettings.d.ts +0 -7
- package/dist/api/manager/GetDeviceInfoSettings.d.ts.map +0 -1
- package/dist/api/manager/GetPublicKeyMultiple.d.ts +0 -7
- package/dist/api/manager/GetPublicKeyMultiple.d.ts.map +0 -1
- package/dist/api/manager/ListResDir.d.ts +0 -7
- package/dist/api/manager/ListResDir.d.ts.map +0 -1
- package/dist/api/manager/NFTWriteData.d.ts +0 -7
- package/dist/api/manager/NFTWriteData.d.ts.map +0 -1
- package/dist/api/manager/NFTWriteInfo.d.ts +0 -7
- package/dist/api/manager/NFTWriteInfo.d.ts.map +0 -1
- package/dist/api/manager/ReadSEPublicKey.d.ts +0 -7
- package/dist/api/manager/ReadSEPublicKey.d.ts.map +0 -1
- package/dist/api/manager/ResourceUpdate.d.ts +0 -6
- package/dist/api/manager/ResourceUpdate.d.ts.map +0 -1
- package/dist/api/methodExtension.d.ts +0 -13
- package/dist/api/methodExtension.d.ts.map +0 -1
- package/dist/api/monero/MoneroGetAddress.d.ts +0 -9
- package/dist/api/monero/MoneroGetAddress.d.ts.map +0 -1
- package/dist/api/monero/MoneroGetWatchKey.d.ts +0 -8
- package/dist/api/monero/MoneroGetWatchKey.d.ts.map +0 -1
- package/dist/api/nem/NEMDecryptMessage.d.ts +0 -8
- package/dist/api/nem/NEMDecryptMessage.d.ts.map +0 -1
- package/dist/api/protocol-v2/DeviceFactoryCertificateRead.d.ts +0 -7
- package/dist/api/protocol-v2/DeviceFactoryCertificateRead.d.ts.map +0 -1
- package/dist/api/protocol-v2/DeviceFactoryCertificateWrite.d.ts +0 -8
- package/dist/api/protocol-v2/DeviceFactoryCertificateWrite.d.ts.map +0 -1
- package/dist/api/protocol-v2/DeviceFactoryChallengeSign.d.ts +0 -8
- package/dist/api/protocol-v2/DeviceFactoryChallengeSign.d.ts.map +0 -1
- package/dist/api/testMethods.d.ts +0 -82
- package/dist/api/testMethods.d.ts.map +0 -1
- package/dist/api/tezos/TezosGetAddress.d.ts +0 -9
- package/dist/api/tezos/TezosGetAddress.d.ts.map +0 -1
- package/dist/api/tezos/TezosGetPublicKey.d.ts +0 -8
- package/dist/api/tezos/TezosGetPublicKey.d.ts.map +0 -1
- package/dist/api/tezos/TezosSignTx.d.ts +0 -12
- package/dist/api/tezos/TezosSignTx.d.ts.map +0 -1
- package/dist/types/api/binanceGetAddress.d.ts +0 -11
- package/dist/types/api/binanceGetAddress.d.ts.map +0 -1
- package/dist/types/api/binanceGetPublicKey.d.ts +0 -11
- package/dist/types/api/binanceGetPublicKey.d.ts.map +0 -1
- package/dist/types/api/binanceSignTx.d.ts +0 -7
- package/dist/types/api/binanceSignTx.d.ts.map +0 -1
- package/dist/types/api/bixinBackupDevice.d.ts +0 -4
- package/dist/types/api/bixinBackupDevice.d.ts.map +0 -1
- package/dist/types/api/bixinLoadDevice.d.ts +0 -4
- package/dist/types/api/bixinLoadDevice.d.ts.map +0 -1
- package/dist/types/api/bixinMessageSE.d.ts +0 -4
- package/dist/types/api/bixinMessageSE.d.ts.map +0 -1
- package/dist/types/api/bixinVerifyDeviceRequest.d.ts +0 -4
- package/dist/types/api/bixinVerifyDeviceRequest.d.ts.map +0 -1
- package/dist/types/api/btcAuthorizeCoinJoin.d.ts +0 -13
- package/dist/types/api/btcAuthorizeCoinJoin.d.ts.map +0 -1
- package/dist/types/api/btcGetOwnershipId.d.ts +0 -10
- package/dist/types/api/btcGetOwnershipId.d.ts.map +0 -1
- package/dist/types/api/btcGetOwnershipProof.d.ts +0 -13
- package/dist/types/api/btcGetOwnershipProof.d.ts.map +0 -1
- package/dist/types/api/cryptoBatchGetPublickeys.d.ts +0 -12
- package/dist/types/api/cryptoBatchGetPublickeys.d.ts.map +0 -1
- package/dist/types/api/cryptoCipherKeyValue.d.ts +0 -13
- package/dist/types/api/cryptoCipherKeyValue.d.ts.map +0 -1
- package/dist/types/api/cryptoCosiCommit.d.ts +0 -8
- package/dist/types/api/cryptoCosiCommit.d.ts.map +0 -1
- package/dist/types/api/cryptoCosiSign.d.ts +0 -10
- package/dist/types/api/cryptoCosiSign.d.ts.map +0 -1
- package/dist/types/api/cryptoGetECDHSessionKey.d.ts +0 -4
- package/dist/types/api/cryptoGetECDHSessionKey.d.ts.map +0 -1
- package/dist/types/api/cryptoSignIdentity.d.ts +0 -4
- package/dist/types/api/cryptoSignIdentity.d.ts.map +0 -1
- package/dist/types/api/debugLinkDecision.d.ts +0 -4
- package/dist/types/api/debugLinkDecision.d.ts.map +0 -1
- package/dist/types/api/debugLinkEraseSdCard.d.ts +0 -4
- package/dist/types/api/debugLinkEraseSdCard.d.ts.map +0 -1
- package/dist/types/api/debugLinkFlashErase.d.ts +0 -4
- package/dist/types/api/debugLinkFlashErase.d.ts.map +0 -1
- package/dist/types/api/debugLinkGetState.d.ts +0 -4
- package/dist/types/api/debugLinkGetState.d.ts.map +0 -1
- package/dist/types/api/debugLinkMemoryRead.d.ts +0 -4
- package/dist/types/api/debugLinkMemoryRead.d.ts.map +0 -1
- package/dist/types/api/debugLinkMemoryWrite.d.ts +0 -4
- package/dist/types/api/debugLinkMemoryWrite.d.ts.map +0 -1
- package/dist/types/api/debugLinkRecordScreen.d.ts +0 -4
- package/dist/types/api/debugLinkRecordScreen.d.ts.map +0 -1
- package/dist/types/api/debugLinkReseedRandom.d.ts +0 -4
- package/dist/types/api/debugLinkReseedRandom.d.ts.map +0 -1
- package/dist/types/api/debugLinkStop.d.ts +0 -4
- package/dist/types/api/debugLinkStop.d.ts.map +0 -1
- package/dist/types/api/debugLinkWatchLayout.d.ts +0 -4
- package/dist/types/api/debugLinkWatchLayout.d.ts.map +0 -1
- package/dist/types/api/deviceCancelAuthorization.d.ts +0 -4
- package/dist/types/api/deviceCancelAuthorization.d.ts.map +0 -1
- package/dist/types/api/deviceChangeWipeCode.d.ts +0 -4
- package/dist/types/api/deviceChangeWipeCode.d.ts.map +0 -1
- package/dist/types/api/deviceDoPreauthorized.d.ts +0 -4
- package/dist/types/api/deviceDoPreauthorized.d.ts.map +0 -1
- package/dist/types/api/deviceEndSession.d.ts +0 -4
- package/dist/types/api/deviceEndSession.d.ts.map +0 -1
- package/dist/types/api/deviceGetEntropy.d.ts +0 -4
- package/dist/types/api/deviceGetEntropy.d.ts.map +0 -1
- package/dist/types/api/deviceGetFirmwareHash.d.ts +0 -4
- package/dist/types/api/deviceGetFirmwareHash.d.ts.map +0 -1
- package/dist/types/api/deviceGetInfo.d.ts +0 -4
- package/dist/types/api/deviceGetInfo.d.ts.map +0 -1
- package/dist/types/api/deviceInfoSettings.d.ts +0 -4
- package/dist/types/api/deviceInfoSettings.d.ts.map +0 -1
- package/dist/types/api/deviceLoad.d.ts +0 -16
- package/dist/types/api/deviceLoad.d.ts.map +0 -1
- package/dist/types/api/devicePing.d.ts +0 -4
- package/dist/types/api/devicePing.d.ts.map +0 -1
- package/dist/types/api/deviceReadSEPublicCert.d.ts +0 -4
- package/dist/types/api/deviceReadSEPublicCert.d.ts.map +0 -1
- package/dist/types/api/deviceSESignMessage.d.ts +0 -4
- package/dist/types/api/deviceSESignMessage.d.ts.map +0 -1
- package/dist/types/api/deviceSdProtect.d.ts +0 -4
- package/dist/types/api/deviceSdProtect.d.ts.map +0 -1
- package/dist/types/api/deviceSpiFlashRead.d.ts +0 -4
- package/dist/types/api/deviceSpiFlashRead.d.ts.map +0 -1
- package/dist/types/api/deviceSpiFlashWrite.d.ts +0 -4
- package/dist/types/api/deviceSpiFlashWrite.d.ts.map +0 -1
- package/dist/types/api/deviceUnlockPath.d.ts +0 -11
- package/dist/types/api/deviceUnlockPath.d.ts.map +0 -1
- package/dist/types/api/deviceWriteSEPrivateKey.d.ts +0 -4
- package/dist/types/api/deviceWriteSEPrivateKey.d.ts.map +0 -1
- package/dist/types/api/deviceWriteSEPublicCert.d.ts +0 -4
- package/dist/types/api/deviceWriteSEPublicCert.d.ts.map +0 -1
- package/dist/types/api/emmcDirList.d.ts +0 -4
- package/dist/types/api/emmcDirList.d.ts.map +0 -1
- package/dist/types/api/emmcDirMake.d.ts +0 -4
- package/dist/types/api/emmcDirMake.d.ts.map +0 -1
- package/dist/types/api/emmcDirRemove.d.ts +0 -4
- package/dist/types/api/emmcDirRemove.d.ts.map +0 -1
- package/dist/types/api/emmcFileDelete.d.ts +0 -4
- package/dist/types/api/emmcFileDelete.d.ts.map +0 -1
- package/dist/types/api/emmcFileRead.d.ts +0 -4
- package/dist/types/api/emmcFileRead.d.ts.map +0 -1
- package/dist/types/api/emmcFileWrite.d.ts +0 -4
- package/dist/types/api/emmcFileWrite.d.ts.map +0 -1
- package/dist/types/api/emmcFixPermission.d.ts +0 -4
- package/dist/types/api/emmcFixPermission.d.ts.map +0 -1
- package/dist/types/api/emmcPathInfo.d.ts +0 -4
- package/dist/types/api/emmcPathInfo.d.ts.map +0 -1
- package/dist/types/api/eosGetPublicKey.d.ts +0 -8
- package/dist/types/api/eosGetPublicKey.d.ts.map +0 -1
- package/dist/types/api/eosSignTx.d.ts +0 -7
- package/dist/types/api/eosSignTx.d.ts.map +0 -1
- package/dist/types/api/evmGetAddressTrezor.d.ts +0 -15
- package/dist/types/api/evmGetAddressTrezor.d.ts.map +0 -1
- package/dist/types/api/evmGetPublicKeyTrezor.d.ts +0 -20
- package/dist/types/api/evmGetPublicKeyTrezor.d.ts.map +0 -1
- package/dist/types/api/evmSignMessageTrezor.d.ts +0 -9
- package/dist/types/api/evmSignMessageTrezor.d.ts.map +0 -1
- package/dist/types/api/evmSignTransactionTrezor.d.ts +0 -40
- package/dist/types/api/evmSignTransactionTrezor.d.ts.map +0 -1
- package/dist/types/api/evmSignTypedDataTrezor.d.ts +0 -34
- package/dist/types/api/evmSignTypedDataTrezor.d.ts.map +0 -1
- package/dist/types/api/evmVerifyMessageTrezor.d.ts +0 -10
- package/dist/types/api/evmVerifyMessageTrezor.d.ts.map +0 -1
- package/dist/types/api/firmwareErase.d.ts +0 -4
- package/dist/types/api/firmwareErase.d.ts.map +0 -1
- package/dist/types/api/firmwareEraseEx.d.ts +0 -4
- package/dist/types/api/firmwareEraseEx.d.ts.map +0 -1
- package/dist/types/api/firmwareUpdateEmmcTest.d.ts +0 -4
- package/dist/types/api/firmwareUpdateEmmcTest.d.ts.map +0 -1
- package/dist/types/api/firmwareUploadTest.d.ts +0 -4
- package/dist/types/api/firmwareUploadTest.d.ts.map +0 -1
- package/dist/types/api/getPublicKeyMultiple.d.ts +0 -4
- package/dist/types/api/getPublicKeyMultiple.d.ts.map +0 -1
- package/dist/types/api/listResDir.d.ts +0 -4
- package/dist/types/api/listResDir.d.ts.map +0 -1
- package/dist/types/api/moneroGetAddress.d.ts +0 -14
- package/dist/types/api/moneroGetAddress.d.ts.map +0 -1
- package/dist/types/api/moneroGetWatchKey.d.ts +0 -14
- package/dist/types/api/moneroGetWatchKey.d.ts.map +0 -1
- package/dist/types/api/nemDecryptMessage.d.ts +0 -10
- package/dist/types/api/nemDecryptMessage.d.ts.map +0 -1
- package/dist/types/api/nftWriteData.d.ts +0 -4
- package/dist/types/api/nftWriteData.d.ts.map +0 -1
- package/dist/types/api/nftWriteInfo.d.ts +0 -4
- package/dist/types/api/nftWriteInfo.d.ts.map +0 -1
- package/dist/types/api/readSEPublicKey.d.ts +0 -4
- package/dist/types/api/readSEPublicKey.d.ts.map +0 -1
- package/dist/types/api/reboot.d.ts +0 -4
- package/dist/types/api/reboot.d.ts.map +0 -1
- package/dist/types/api/resourceUpdate.d.ts +0 -7
- package/dist/types/api/resourceUpdate.d.ts.map +0 -1
- package/dist/types/api/selfTest.d.ts +0 -4
- package/dist/types/api/selfTest.d.ts.map +0 -1
- package/dist/types/api/tezosGetAddress.d.ts +0 -14
- package/dist/types/api/tezosGetAddress.d.ts.map +0 -1
- package/dist/types/api/tezosGetPublicKey.d.ts +0 -14
- package/dist/types/api/tezosGetPublicKey.d.ts.map +0 -1
- package/dist/types/api/tezosSignTx.d.ts +0 -7
- package/dist/types/api/tezosSignTx.d.ts.map +0 -1
- package/dist/types/api/webAuthnAddResidentCredential.d.ts +0 -4
- package/dist/types/api/webAuthnAddResidentCredential.d.ts.map +0 -1
- package/dist/types/api/webAuthnListResidentCredentials.d.ts +0 -4
- package/dist/types/api/webAuthnListResidentCredentials.d.ts.map +0 -1
- package/dist/types/api/webAuthnRemoveResidentCredential.d.ts +0 -4
- package/dist/types/api/webAuthnRemoveResidentCredential.d.ts.map +0 -1
- package/src/api/BixinBackupDevice.ts +0 -15
- package/src/api/BixinLoadDevice.ts +0 -22
- package/src/api/BixinMessageSE.ts +0 -22
- package/src/api/BixinVerifyDeviceRequest.ts +0 -22
- package/src/api/WebAuthnAddResidentCredential.ts +0 -22
- package/src/api/WebAuthnListResidentCredentials.ts +0 -24
- package/src/api/WebAuthnRemoveResidentCredential.ts +0 -22
- package/src/api/binance/BinanceGetAddress.ts +0 -26
- package/src/api/binance/BinanceGetPublicKey.ts +0 -26
- package/src/api/binance/BinanceSignTx.ts +0 -35
- package/src/api/btc/BTCAuthorizeCoinJoin.ts +0 -37
- package/src/api/btc/BTCGetOwnershipId.ts +0 -34
- package/src/api/btc/BTCGetOwnershipProof.ts +0 -37
- package/src/api/crypto/CryptoBatchGetPublickeys.ts +0 -30
- package/src/api/crypto/CryptoCipherKeyValue.ts +0 -29
- package/src/api/crypto/CryptoCosiCommit.ts +0 -24
- package/src/api/crypto/CryptoCosiSign.ts +0 -26
- package/src/api/crypto/CryptoGetECDHSessionKey.ts +0 -24
- package/src/api/crypto/CryptoSignIdentity.ts +0 -25
- package/src/api/debug/DebugLinkDecision.ts +0 -25
- package/src/api/debug/DebugLinkEraseSdCard.ts +0 -23
- package/src/api/debug/DebugLinkFlashErase.ts +0 -23
- package/src/api/debug/DebugLinkGetState.ts +0 -21
- package/src/api/debug/DebugLinkMemoryRead.ts +0 -24
- package/src/api/debug/DebugLinkMemoryWrite.ts +0 -25
- package/src/api/debug/DebugLinkRecordScreen.ts +0 -23
- package/src/api/debug/DebugLinkReseedRandom.ts +0 -23
- package/src/api/debug/DebugLinkStop.ts +0 -25
- package/src/api/debug/DebugLinkWatchLayout.ts +0 -23
- package/src/api/emmc/EmmcDirList.ts +0 -20
- package/src/api/emmc/EmmcDirMake.ts +0 -20
- package/src/api/emmc/EmmcDirRemove.ts +0 -20
- package/src/api/emmc/EmmcFileDelete.ts +0 -20
- package/src/api/emmc/EmmcFileRead.ts +0 -21
- package/src/api/emmc/EmmcFileWrite.ts +0 -23
- package/src/api/emmc/EmmcFixPermission.ts +0 -17
- package/src/api/emmc/EmmcPathInfo.ts +0 -20
- package/src/api/eos/EosGetPublicKey.ts +0 -26
- package/src/api/eos/EosSignTx.ts +0 -40
- package/src/api/evmTrezor/EVMGetAddress.ts +0 -75
- package/src/api/evmTrezor/EVMGetPublicKey.ts +0 -106
- package/src/api/evmTrezor/EVMSignMessage.ts +0 -40
- package/src/api/evmTrezor/EVMSignTransaction.ts +0 -83
- package/src/api/evmTrezor/EVMSignTypedData.ts +0 -366
- package/src/api/evmTrezor/EVMVerifyMessage.ts +0 -37
- package/src/api/evmTrezor/legacyV1/getAddress.ts +0 -16
- package/src/api/evmTrezor/legacyV1/getPublicKey.ts +0 -20
- package/src/api/evmTrezor/legacyV1/signMessage.ts +0 -22
- package/src/api/evmTrezor/legacyV1/signTransaction.ts +0 -24
- package/src/api/evmTrezor/legacyV1/signTypedData.ts +0 -36
- package/src/api/evmTrezor/legacyV1/signTypedHash.ts +0 -48
- package/src/api/evmTrezor/legacyV1/verifyMessage.ts +0 -19
- package/src/api/extensionMethodNames.ts +0 -88
- package/src/api/factoryMethods.ts +0 -2
- package/src/api/firmware/FirmwareErase.ts +0 -18
- package/src/api/firmware/FirmwareEraseEx.ts +0 -18
- package/src/api/firmware/FirmwareUpdateEmmcTest.ts +0 -18
- package/src/api/firmware/FirmwareUploadTest.ts +0 -17
- package/src/api/firmware/Reboot.ts +0 -17
- package/src/api/firmware/SelfTest.ts +0 -17
- package/src/api/manager/DeviceCancelAuthorization.ts +0 -15
- package/src/api/manager/DeviceChangeWipeCode.ts +0 -19
- package/src/api/manager/DeviceDoPreauthorized.ts +0 -15
- package/src/api/manager/DeviceEndSession.ts +0 -19
- package/src/api/manager/DeviceGetEntropy.ts +0 -19
- package/src/api/manager/DeviceGetFirmwareHash.ts +0 -23
- package/src/api/manager/DeviceInfoSettings.ts +0 -23
- package/src/api/manager/DeviceLoad.ts +0 -27
- package/src/api/manager/DevicePing.ts +0 -19
- package/src/api/manager/DeviceReadSEPublicCert.ts +0 -18
- package/src/api/manager/DeviceSESignMessage.ts +0 -23
- package/src/api/manager/DeviceSdProtect.ts +0 -18
- package/src/api/manager/DeviceSpiFlashRead.ts +0 -22
- package/src/api/manager/DeviceSpiFlashWrite.ts +0 -22
- package/src/api/manager/DeviceUnlockPath.ts +0 -26
- package/src/api/manager/DeviceWriteSEPrivateKey.ts +0 -23
- package/src/api/manager/DeviceWriteSEPublicCert.ts +0 -23
- package/src/api/manager/GetDeviceInfoSettings.ts +0 -20
- package/src/api/manager/GetPublicKeyMultiple.ts +0 -24
- package/src/api/manager/ListResDir.ts +0 -19
- package/src/api/manager/NFTWriteData.ts +0 -21
- package/src/api/manager/NFTWriteInfo.ts +0 -23
- package/src/api/manager/ReadSEPublicKey.ts +0 -20
- package/src/api/manager/ResourceUpdate.ts +0 -22
- package/src/api/methodExtension.ts +0 -27
- package/src/api/monero/MoneroGetAddress.ts +0 -64
- package/src/api/monero/MoneroGetWatchKey.ts +0 -59
- package/src/api/nem/NEMDecryptMessage.ts +0 -29
- package/src/api/protocol-v2/DeviceFactoryCertificateRead.ts +0 -25
- package/src/api/protocol-v2/DeviceFactoryCertificateWrite.ts +0 -30
- package/src/api/protocol-v2/DeviceFactoryChallengeSign.ts +0 -28
- package/src/api/testMethods.ts +0 -95
- package/src/api/tezos/TezosGetAddress.ts +0 -64
- package/src/api/tezos/TezosGetPublicKey.ts +0 -63
- package/src/api/tezos/TezosSignTx.ts +0 -44
- package/src/types/api/binanceGetAddress.ts +0 -17
- package/src/types/api/binanceGetPublicKey.ts +0 -17
- package/src/types/api/binanceSignTx.ts +0 -15
- package/src/types/api/bixinBackupDevice.ts +0 -8
- package/src/types/api/bixinLoadDevice.ts +0 -8
- package/src/types/api/bixinMessageSE.ts +0 -8
- package/src/types/api/bixinVerifyDeviceRequest.ts +0 -8
- package/src/types/api/btcAuthorizeCoinJoin.ts +0 -18
- package/src/types/api/btcGetOwnershipId.ts +0 -19
- package/src/types/api/btcGetOwnershipProof.ts +0 -22
- package/src/types/api/cryptoBatchGetPublickeys.ts +0 -18
- package/src/types/api/cryptoCipherKeyValue.ts +0 -18
- package/src/types/api/cryptoCosiCommit.ts +0 -13
- package/src/types/api/cryptoCosiSign.ts +0 -15
- package/src/types/api/cryptoGetECDHSessionKey.ts +0 -8
- package/src/types/api/cryptoSignIdentity.ts +0 -8
- package/src/types/api/debugLinkDecision.ts +0 -7
- package/src/types/api/debugLinkEraseSdCard.ts +0 -7
- package/src/types/api/debugLinkFlashErase.ts +0 -7
- package/src/types/api/debugLinkGetState.ts +0 -7
- package/src/types/api/debugLinkMemoryRead.ts +0 -7
- package/src/types/api/debugLinkMemoryWrite.ts +0 -7
- package/src/types/api/debugLinkRecordScreen.ts +0 -7
- package/src/types/api/debugLinkReseedRandom.ts +0 -7
- package/src/types/api/debugLinkStop.ts +0 -7
- package/src/types/api/debugLinkWatchLayout.ts +0 -7
- package/src/types/api/deviceCancelAuthorization.ts +0 -7
- package/src/types/api/deviceChangeWipeCode.ts +0 -7
- package/src/types/api/deviceDoPreauthorized.ts +0 -7
- package/src/types/api/deviceEndSession.ts +0 -7
- package/src/types/api/deviceGetEntropy.ts +0 -7
- package/src/types/api/deviceGetFirmwareHash.ts +0 -7
- package/src/types/api/deviceGetInfo.ts +0 -7
- package/src/types/api/deviceInfoSettings.ts +0 -7
- package/src/types/api/deviceLoad.ts +0 -19
- package/src/types/api/devicePing.ts +0 -7
- package/src/types/api/deviceReadSEPublicCert.ts +0 -7
- package/src/types/api/deviceSESignMessage.ts +0 -7
- package/src/types/api/deviceSdProtect.ts +0 -7
- package/src/types/api/deviceSpiFlashRead.ts +0 -7
- package/src/types/api/deviceSpiFlashWrite.ts +0 -7
- package/src/types/api/deviceUnlockPath.ts +0 -16
- package/src/types/api/deviceWriteSEPrivateKey.ts +0 -7
- package/src/types/api/deviceWriteSEPublicCert.ts +0 -7
- package/src/types/api/emmcDirList.ts +0 -7
- package/src/types/api/emmcDirMake.ts +0 -7
- package/src/types/api/emmcDirRemove.ts +0 -7
- package/src/types/api/emmcFileDelete.ts +0 -7
- package/src/types/api/emmcFileRead.ts +0 -7
- package/src/types/api/emmcFileWrite.ts +0 -7
- package/src/types/api/emmcFixPermission.ts +0 -7
- package/src/types/api/emmcPathInfo.ts +0 -7
- package/src/types/api/eosGetPublicKey.ts +0 -13
- package/src/types/api/eosSignTx.ts +0 -12
- package/src/types/api/evmGetAddressTrezor.ts +0 -24
- package/src/types/api/evmGetPublicKeyTrezor.ts +0 -31
- package/src/types/api/evmSignMessageTrezor.ts +0 -14
- package/src/types/api/evmSignTransactionTrezor.ts +0 -49
- package/src/types/api/evmSignTypedDataTrezor.ts +0 -42
- package/src/types/api/evmVerifyMessageTrezor.ts +0 -15
- package/src/types/api/firmwareErase.ts +0 -4
- package/src/types/api/firmwareEraseEx.ts +0 -7
- package/src/types/api/firmwareUpdateEmmcTest.ts +0 -7
- package/src/types/api/firmwareUploadTest.ts +0 -7
- package/src/types/api/getPublicKeyMultiple.ts +0 -11
- package/src/types/api/listResDir.ts +0 -8
- package/src/types/api/moneroGetAddress.ts +0 -23
- package/src/types/api/moneroGetWatchKey.ts +0 -26
- package/src/types/api/nemDecryptMessage.ts +0 -15
- package/src/types/api/nftWriteData.ts +0 -8
- package/src/types/api/nftWriteInfo.ts +0 -8
- package/src/types/api/readSEPublicKey.ts +0 -8
- package/src/types/api/reboot.ts +0 -4
- package/src/types/api/resourceUpdate.ts +0 -11
- package/src/types/api/selfTest.ts +0 -7
- package/src/types/api/tezosGetAddress.ts +0 -23
- package/src/types/api/tezosGetPublicKey.ts +0 -23
- package/src/types/api/tezosSignTx.ts +0 -12
- package/src/types/api/webAuthnAddResidentCredential.ts +0 -8
- package/src/types/api/webAuthnListResidentCredentials.ts +0 -8
- package/src/types/api/webAuthnRemoveResidentCredential.ts +0 -8
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import EventEmitter, { EventEmitter as EventEmitter$1 } from 'events';
|
|
2
2
|
import * as _onekeyfe_hd_transport from '@onekeyfe/hd-transport';
|
|
3
|
-
import { DeviceRebootType, Messages, Transport, TransportCallOptions, OneKeyDeviceCommType, ProtocolInfo, ProtocolV2DeviceInfo, DeviceStatus as DeviceStatus$1, Enum_SafetyCheckLevel, OneKeyDeviceInfo, Success as Success$1, DeviceSessionPinType, LowlevelTransportSharedPlugin,
|
|
3
|
+
import { DeviceRebootType, Messages, Transport, TransportCallOptions, OneKeyDeviceCommType, ProtocolInfo, ProtocolV2DeviceInfo, DeviceStatus as DeviceStatus$1, Enum_SafetyCheckLevel, OneKeyDeviceInfo, Success as Success$1, DeviceSessionPinType, LowlevelTransportSharedPlugin, OnboardingStatus, RecoveryDeviceType, ResourceType, NextU2FCounter, SetU2FCounter, CipheredKeyValue as CipheredKeyValue$1, UintType, EthereumPublicKey, EthereumMessageSignature, Address, MultisigRedeemScriptType, InputScriptType, PublicKey, MessageSignature, SignedPsbt, PrevInput, TxOutputBinType, TxInput, TxOutputType, TxInputType, StarcoinAddress as StarcoinAddress$1, StarcoinPublicKey as StarcoinPublicKey$1, StarcoinMessageSignature, StarcoinSignedTx, NEMAddress as NEMAddress$1, NEMSignedTx, SolanaAddress as SolanaAddress$1, SolanaSignedTx as SolanaSignedTx$1, SolanaTxExtraInfo, SolanaOffChainMessageVersion, SolanaOffChainMessageFormat, StellarAddress as StellarAddress$1, StellarSignedTx, TronAddress as TronAddress$1, TronResourceCode, TronSignedTx, TronMessageSignature, ConfluxAddress as ConfluxAddress$1, ConfluxMessageSignature, NearAddress as NearAddress$1, NearSignedTx, AptosAddress as AptosAddress$1, AptosMessageSignature as AptosMessageSignature$1, AptosSignedTx as AptosSignedTx$1, AlgorandAddress, AlgorandSignedTx, CosmosAddress as CosmosAddress$1, CosmosSignedTx as CosmosSignedTx$1, SuiAddress as SuiAddress$1, SuiMessageSignature, CardanoAddressParametersType, CardanoMessageSignature, FilecoinAddress as FilecoinAddress$1, FilecoinSignedTx as FilecoinSignedTx$1, PolkadotAddress as PolkadotAddress$1, PolkadotSignedTx as PolkadotSignedTx$1, KaspaAddress as KaspaAddress$1, NervosAddress as NervosAddress$1, NervosSignedTx as NervosSignedTx$1, DnxAddress as DnxAddress$1, TonWalletVersion, TonWorkChain, TonSignedMessage, TonSignedProof, TonSignDataType, TonSignedData, ScdoAddress as ScdoAddress$1, ScdoSignedMessage, ScdoSignedTx as ScdoSignedTx$1, AlephiumMessageSignature, AlephiumSignedTx as AlephiumSignedTx$1, BenfenAddress as BenfenAddress$1, BenfenMessageSignature, SafetyCheckLevel, ChangeOutputScriptType } from '@onekeyfe/hd-transport';
|
|
4
4
|
export { Success as DeviceSuccess, HDNodeType, Messages as PROTO, ResourceType, TonSignDataType, TonWalletVersion } from '@onekeyfe/hd-transport';
|
|
5
5
|
import * as _onekeyfe_hd_shared from '@onekeyfe/hd-shared';
|
|
6
6
|
import { HardwareConnectProtocol, EFirmwareType, EDeviceType, Deferred } from '@onekeyfe/hd-shared';
|
|
@@ -90,27 +90,6 @@ type DeviceRebootParams = {
|
|
|
90
90
|
rebootType?: RebootTypeInput;
|
|
91
91
|
reboot_type?: RebootTypeInput;
|
|
92
92
|
};
|
|
93
|
-
type DeviceFactoryInfoSetParams = {
|
|
94
|
-
version: number;
|
|
95
|
-
serial_number: string;
|
|
96
|
-
burn_in_completed: boolean;
|
|
97
|
-
factory_test_completed: boolean;
|
|
98
|
-
manufacture_time: {
|
|
99
|
-
year: number;
|
|
100
|
-
month: number;
|
|
101
|
-
day: number;
|
|
102
|
-
hour: number;
|
|
103
|
-
minute: number;
|
|
104
|
-
second: number;
|
|
105
|
-
};
|
|
106
|
-
};
|
|
107
|
-
type DeviceFactoryCertificateWriteParams = {
|
|
108
|
-
certificate: string;
|
|
109
|
-
privateKey?: string;
|
|
110
|
-
};
|
|
111
|
-
type DeviceFactoryChallengeSignParams = {
|
|
112
|
-
digest: string;
|
|
113
|
-
};
|
|
114
93
|
|
|
115
94
|
type PassphrasePromptResponse = {
|
|
116
95
|
passphrase?: string;
|
|
@@ -724,12 +703,13 @@ type DeviceDescriptorDiff = {
|
|
|
724
703
|
};
|
|
725
704
|
|
|
726
705
|
declare class DeviceConnector {
|
|
727
|
-
transport
|
|
706
|
+
transport?: Transport;
|
|
728
707
|
listenTimestamp: number;
|
|
729
708
|
current: OneKeyDeviceInfo[] | null;
|
|
730
709
|
upcoming: OneKeyDeviceInfo[];
|
|
731
710
|
listening: boolean;
|
|
732
711
|
constructor();
|
|
712
|
+
private getActiveTransport;
|
|
733
713
|
enumerate(): Promise<DeviceDescriptorDiff | undefined>;
|
|
734
714
|
listen(): Promise<void>;
|
|
735
715
|
stop(): void;
|
|
@@ -1001,22 +981,6 @@ declare class Device extends EventEmitter {
|
|
|
1001
981
|
checkPassphraseStateSafety(passphraseState?: string, useEmptyPassphrase?: boolean, skipPassphraseCheck?: boolean, deriveCardano?: boolean): Promise<boolean>;
|
|
1002
982
|
}
|
|
1003
983
|
|
|
1004
|
-
type UnlockPolicy = 'none' | 'unlock-before-run';
|
|
1005
|
-
|
|
1006
|
-
type ProtocolV2InteractionDescriptor = {
|
|
1007
|
-
request: 'button' | 'pin';
|
|
1008
|
-
source: 'method-lifecycle';
|
|
1009
|
-
reason: 'change-pin' | 'device-unlock' | 'settings-page' | 'address-confirmation' | 'public-key-confirmation' | 'signing-confirmation' | 'device-management';
|
|
1010
|
-
completion: ProtocolV2UiCompletion;
|
|
1011
|
-
deviceOnly: true;
|
|
1012
|
-
page?: string | number;
|
|
1013
|
-
operation?: string;
|
|
1014
|
-
};
|
|
1015
|
-
|
|
1016
|
-
type ProtocolV2UnlockContext = {
|
|
1017
|
-
preflightCompleted: boolean;
|
|
1018
|
-
};
|
|
1019
|
-
|
|
1020
984
|
/**
|
|
1021
985
|
* SDK Tracing Utilities
|
|
1022
986
|
* Tracks object instances and request call chains across multiple SDK instances
|
|
@@ -1111,156 +1075,26 @@ declare function formatRequestContext(context: RequestContext): string;
|
|
|
1111
1075
|
*/
|
|
1112
1076
|
declare function cleanupSdkInstance(sdkInstanceId: string): void;
|
|
1113
1077
|
|
|
1114
|
-
|
|
1115
|
-
id?: number;
|
|
1116
|
-
}) => BaseMethod<any>;
|
|
1117
|
-
type CoreMethodExtension = {
|
|
1118
|
-
name: string;
|
|
1119
|
-
methods: Readonly<Record<string, CoreMethodConstructor>>;
|
|
1120
|
-
destructiveMethods?: readonly string[];
|
|
1121
|
-
};
|
|
1122
|
-
declare const testApiMethodExtension: CoreMethodExtension;
|
|
1123
|
-
declare const factoryApiMethodExtension: CoreMethodExtension;
|
|
1124
|
-
|
|
1125
|
-
type CoreContext = ReturnType<Core['getCoreContext']>;
|
|
1126
|
-
type CoreOptions = {
|
|
1127
|
-
methodExtensions?: readonly CoreMethodExtension[];
|
|
1128
|
-
allowDestructiveOperations?: boolean;
|
|
1129
|
-
};
|
|
1130
|
-
declare class Core extends EventEmitter$1 {
|
|
1078
|
+
declare class Core extends EventEmitter {
|
|
1131
1079
|
private tracingContext;
|
|
1132
1080
|
readonly sdkInstanceId: string;
|
|
1133
1081
|
private requestQueue;
|
|
1134
1082
|
private disposePromise?;
|
|
1135
1083
|
private prePendingCallPromise;
|
|
1136
1084
|
private methodSynchronize;
|
|
1137
|
-
|
|
1138
|
-
constructor(options?: CoreOptions);
|
|
1085
|
+
constructor();
|
|
1139
1086
|
private getCoreContext;
|
|
1140
1087
|
handleMessage(message: CoreMessage): Promise<any>;
|
|
1141
1088
|
dispose(): Promise<void>;
|
|
1142
1089
|
private disposeResources;
|
|
1143
1090
|
}
|
|
1144
|
-
declare const init$1: (settings: ConnectSettings, Transport: any, plugin?: LowlevelTransportSharedPlugin
|
|
1091
|
+
declare const init$1: (settings: ConnectSettings, Transport: any, plugin?: LowlevelTransportSharedPlugin) => Promise<Core | undefined>;
|
|
1145
1092
|
declare const switchTransport: ({ env, Transport, plugin, }: {
|
|
1146
1093
|
env: ConnectSettings['env'];
|
|
1147
1094
|
Transport: any;
|
|
1148
1095
|
plugin?: LowlevelTransportSharedPlugin | undefined;
|
|
1149
1096
|
}) => void;
|
|
1150
1097
|
|
|
1151
|
-
type ProtocolV2UiMode = 'auto' | 'none';
|
|
1152
|
-
declare abstract class BaseMethod<Params = undefined> {
|
|
1153
|
-
abortSignal?: AbortSignal;
|
|
1154
|
-
responseID: number;
|
|
1155
|
-
device: Device;
|
|
1156
|
-
params: Params;
|
|
1157
|
-
/**
|
|
1158
|
-
* USB: onekey_serial or serial_no
|
|
1159
|
-
* iOS: uuid
|
|
1160
|
-
* Android: MAC address
|
|
1161
|
-
*/
|
|
1162
|
-
connectId?: string;
|
|
1163
|
-
/**
|
|
1164
|
-
* device id
|
|
1165
|
-
*/
|
|
1166
|
-
deviceId?: string;
|
|
1167
|
-
deviceState?: string;
|
|
1168
|
-
/**
|
|
1169
|
-
* method name
|
|
1170
|
-
*/
|
|
1171
|
-
name: string;
|
|
1172
|
-
instanceId: string;
|
|
1173
|
-
sdkInstanceId?: string;
|
|
1174
|
-
requestContext?: RequestContext;
|
|
1175
|
-
/**
|
|
1176
|
-
* 请求携带参数
|
|
1177
|
-
*/
|
|
1178
|
-
payload: Record<string, any>;
|
|
1179
|
-
connector?: DeviceConnector;
|
|
1180
|
-
/**
|
|
1181
|
-
* 是否需要使用设备
|
|
1182
|
-
*/
|
|
1183
|
-
useDevice: boolean;
|
|
1184
|
-
/**
|
|
1185
|
-
* 允许的设备模式。当前设备模式在该数组中,则可以允许运行。
|
|
1186
|
-
* eg. NOT_INITIALIZE, BOOTLOADER, SEEDLESS
|
|
1187
|
-
*/
|
|
1188
|
-
allowDeviceMode: string[];
|
|
1189
|
-
/**
|
|
1190
|
-
* 依赖的设备模式
|
|
1191
|
-
*/
|
|
1192
|
-
requireDeviceMode: string[];
|
|
1193
|
-
/**
|
|
1194
|
-
* 是否需要轮询确认设备已连接
|
|
1195
|
-
*/
|
|
1196
|
-
shouldEnsureConnected: boolean;
|
|
1197
|
-
/**
|
|
1198
|
-
* 是否需要校验 features 的 deviceId 是否一致
|
|
1199
|
-
*/
|
|
1200
|
-
checkDeviceId: boolean;
|
|
1201
|
-
/** Whether the method requires wallet-session selection and Protocol V2 pre-unlock. */
|
|
1202
|
-
useDevicePassphraseState: boolean;
|
|
1203
|
-
/**
|
|
1204
|
-
* skip force update check
|
|
1205
|
-
* @default false
|
|
1206
|
-
*/
|
|
1207
|
-
skipForceUpdateCheck: boolean;
|
|
1208
|
-
/** Allow skipping Initialize (sign methods only; never getAddress/getPublicKey). @default false */
|
|
1209
|
-
allowUsePreInitialize: boolean;
|
|
1210
|
-
/** Pre-warm signal method (fire-and-forget; core dedups + hangs up). @default false */
|
|
1211
|
-
isPreWarmSignal: boolean;
|
|
1212
|
-
/** Pre-warm dedup TTL (ms) */
|
|
1213
|
-
preWarmTtl: number;
|
|
1214
|
-
/** Pre-warm dedup key: connectId + passphraseState + method name */
|
|
1215
|
-
getPreWarmKey(): string;
|
|
1216
|
-
/**
|
|
1217
|
-
* 严格检查设备是否支持该方法,不支持则抛出错误
|
|
1218
|
-
* @experiment 默认不严格检查,如果需要严格检查,则需要设置为 true
|
|
1219
|
-
* @default false
|
|
1220
|
-
*/
|
|
1221
|
-
strictCheckDeviceSupport: boolean;
|
|
1222
|
-
/** Non-wallet methods may explicitly require Protocol V2 pre-unlock. */
|
|
1223
|
-
unlockPolicy: UnlockPolicy;
|
|
1224
|
-
/** Shared by composite methods so nested calls do not repeat the root preflight. */
|
|
1225
|
-
protocolV2UnlockContext?: ProtocolV2UnlockContext;
|
|
1226
|
-
getSupportedProtocols(): readonly ProtocolType[];
|
|
1227
|
-
supportsProtocol(protocol: ProtocolType): boolean;
|
|
1228
|
-
assertProtocolSupported(protocol: ProtocolType, firmwareType: EFirmwareType): void;
|
|
1229
|
-
/** Non-blocking Protocol V2 interaction synthesized by the SDK. */
|
|
1230
|
-
protocolV2UiInteraction?: ProtocolV2InteractionDescriptor;
|
|
1231
|
-
/** Special background methods may suppress method-level Protocol V2 UI events. */
|
|
1232
|
-
protocolV2UiMode: ProtocolV2UiMode;
|
|
1233
|
-
protected throwIfAborted(): void;
|
|
1234
|
-
postMessage: (message: CoreMessage) => void;
|
|
1235
|
-
context?: CoreContext;
|
|
1236
|
-
temporarySafetyCheckPrompted: boolean;
|
|
1237
|
-
constructor(message: {
|
|
1238
|
-
id?: number;
|
|
1239
|
-
payload: any;
|
|
1240
|
-
});
|
|
1241
|
-
abstract init(): void;
|
|
1242
|
-
abstract run(): Promise<any>;
|
|
1243
|
-
getVersionRange(): DeviceFirmwareRange;
|
|
1244
|
-
setContext(context: CoreContext): void;
|
|
1245
|
-
setDevice(device: Device): void;
|
|
1246
|
-
checkFirmwareRelease(): void;
|
|
1247
|
-
checkDeviceSupportFeature(): void;
|
|
1248
|
-
protected checkFeatureVersionLimit(checkCondition: () => boolean, getVersionRange: () => DeviceFirmwareRange, options?: {
|
|
1249
|
-
strictCheckDeviceSupport?: boolean;
|
|
1250
|
-
}): void;
|
|
1251
|
-
private shouldPromptSafetyCheckForEvmLedgerLegacyPath;
|
|
1252
|
-
/**
|
|
1253
|
-
* Automatic check safety_check level for selected calls that require temporary relaxed checks.
|
|
1254
|
-
* @returns whether a temporary safety check prompt was applied.
|
|
1255
|
-
*/
|
|
1256
|
-
checkSafetyLevelOnTestNet(): Promise<boolean>;
|
|
1257
|
-
dispose(): void;
|
|
1258
|
-
postPreviousAddressMessage: (data: {
|
|
1259
|
-
address?: string;
|
|
1260
|
-
path?: string;
|
|
1261
|
-
}) => void;
|
|
1262
|
-
}
|
|
1263
|
-
|
|
1264
1098
|
declare const PRO2_WALLPAPER_WIDTH = 604;
|
|
1265
1099
|
declare const PRO2_WALLPAPER_HEIGHT = 1024;
|
|
1266
1100
|
type Pro2WallpaperColorFormat = 'RGB565' | 'RGB565A8';
|
|
@@ -1329,11 +1163,6 @@ type TestProtocolV2PingParams = CommonParams & {
|
|
|
1329
1163
|
declare function testProtocolV2Ping(connectId: string, params?: TestProtocolV2PingParams): Response<Success$1>;
|
|
1330
1164
|
declare function deviceReboot(connectId: string, params: CommonParams & DeviceRebootParams): Response<Success$1>;
|
|
1331
1165
|
declare function deviceGetOnboardingStatus(connectId: string, params?: CommonParams): Response<OnboardingStatus>;
|
|
1332
|
-
declare function deviceProvisionFactoryInfo(connectId: string, params: CommonParams & DeviceFactoryInfoSetParams): Response<Success$1>;
|
|
1333
|
-
declare function deviceReadFactoryInfo(connectId: string, params?: CommonParams): Response<DeviceFactoryInfo>;
|
|
1334
|
-
declare function deviceWriteFactoryCertificate(connectId: string, params: CommonParams & DeviceFactoryCertificateWriteParams): Response<Success$1>;
|
|
1335
|
-
declare function deviceReadFactoryCertificate(connectId: string, params?: CommonParams): Response<DeviceCertificate>;
|
|
1336
|
-
declare function deviceSignFactoryChallenge(connectId: string, params: CommonParams & DeviceFactoryChallengeSignParams): Response<DeviceCertificateSignature>;
|
|
1337
1166
|
declare function deviceUploadWallpaper(connectId: string, params: CommonParams & DeviceUploadWallpaperParams): Response<DeviceUploadWallpaperResponse>;
|
|
1338
1167
|
declare function deviceUploadNft(connectId: string, params: CommonParams & DeviceUploadNftParams): Response<DeviceUploadNftResponse>;
|
|
1339
1168
|
declare function uploadPortfolio(connectId: string, params: {
|
|
@@ -2027,21 +1856,21 @@ type AllNetworkGetAddressParamsByLoop = AllNetworkGetAddressParams & {
|
|
|
2027
1856
|
declare function allNetworkGetAddress(connectId: string, deviceId: string, params: CommonParams & AllNetworkGetAddressParams): Response<AllNetworkAddress[]>;
|
|
2028
1857
|
declare function allNetworkGetAddressByLoop(connectId: string, deviceId: string, params: CommonParams & AllNetworkGetAddressParamsByLoop): Response<AllNetworkAddress[]>;
|
|
2029
1858
|
|
|
2030
|
-
type EVMAddress
|
|
1859
|
+
type EVMAddress = {
|
|
2031
1860
|
path: string;
|
|
2032
1861
|
address: string;
|
|
2033
1862
|
};
|
|
2034
|
-
type EVMGetAddressParams
|
|
1863
|
+
type EVMGetAddressParams = {
|
|
2035
1864
|
path: string | number[];
|
|
2036
1865
|
showOnOneKey?: boolean;
|
|
2037
1866
|
chainId?: number;
|
|
2038
1867
|
};
|
|
2039
|
-
declare function evmGetAddress(connectId: string, deviceId: string, params: CommonParams & EVMGetAddressParams
|
|
1868
|
+
declare function evmGetAddress(connectId: string, deviceId: string, params: CommonParams & EVMGetAddressParams): Response<EVMAddress>;
|
|
2040
1869
|
declare function evmGetAddress(connectId: string, deviceId: string, params: CommonParams & {
|
|
2041
|
-
bundle?: EVMGetAddressParams
|
|
2042
|
-
}): Response<Array<EVMAddress
|
|
1870
|
+
bundle?: EVMGetAddressParams[];
|
|
1871
|
+
}): Response<Array<EVMAddress>>;
|
|
2043
1872
|
|
|
2044
|
-
type EVMPublicKey
|
|
1873
|
+
type EVMPublicKey = {
|
|
2045
1874
|
path: string;
|
|
2046
1875
|
pub: string;
|
|
2047
1876
|
/**
|
|
@@ -2049,26 +1878,26 @@ type EVMPublicKey$1 = {
|
|
|
2049
1878
|
*/
|
|
2050
1879
|
publicKey?: string;
|
|
2051
1880
|
} & EthereumPublicKey;
|
|
2052
|
-
type EVMGetPublicKeyParams
|
|
1881
|
+
type EVMGetPublicKeyParams = {
|
|
2053
1882
|
path: string | number[];
|
|
2054
1883
|
showOnOneKey?: boolean;
|
|
2055
1884
|
chainId?: number;
|
|
2056
1885
|
useBatch?: boolean;
|
|
2057
1886
|
};
|
|
2058
|
-
declare function evmGetPublicKey(connectId: string, deviceId: string, params: CommonParams & EVMGetPublicKeyParams
|
|
1887
|
+
declare function evmGetPublicKey(connectId: string, deviceId: string, params: CommonParams & EVMGetPublicKeyParams): Response<EVMPublicKey>;
|
|
2059
1888
|
declare function evmGetPublicKey(connectId: string, deviceId: string, params: CommonParams & {
|
|
2060
|
-
bundle?: EVMGetPublicKeyParams
|
|
2061
|
-
}): Response<Array<EVMPublicKey
|
|
1889
|
+
bundle?: EVMGetPublicKeyParams[];
|
|
1890
|
+
}): Response<Array<EVMPublicKey>>;
|
|
2062
1891
|
declare function evmGetPublicKey(connectId: string, deviceId: string, params: CommonParams & {
|
|
2063
|
-
bundle?: EVMGetPublicKeyParams
|
|
2064
|
-
}): Response<Omit<EVMPublicKey
|
|
1892
|
+
bundle?: EVMGetPublicKeyParams[];
|
|
1893
|
+
}): Response<Omit<EVMPublicKey, 'node' | 'xpub'>>;
|
|
2065
1894
|
|
|
2066
|
-
type EVMSignMessageParams
|
|
1895
|
+
type EVMSignMessageParams = {
|
|
2067
1896
|
path: string | number[];
|
|
2068
1897
|
messageHex: string;
|
|
2069
1898
|
chainId?: number;
|
|
2070
1899
|
};
|
|
2071
|
-
declare function evmSignMessage(connectId: string, deviceId: string, params: CommonParams & EVMSignMessageParams
|
|
1900
|
+
declare function evmSignMessage(connectId: string, deviceId: string, params: CommonParams & EVMSignMessageParams): Response<EthereumMessageSignature>;
|
|
2072
1901
|
|
|
2073
1902
|
type EVMSignMessageEIP712Params = {
|
|
2074
1903
|
path: string | number[];
|
|
@@ -2077,13 +1906,13 @@ type EVMSignMessageEIP712Params = {
|
|
|
2077
1906
|
};
|
|
2078
1907
|
declare function evmSignMessageEIP712(connectId: string, deviceId: string, params: CommonParams & EVMSignMessageEIP712Params): Response<EthereumMessageSignature>;
|
|
2079
1908
|
|
|
2080
|
-
type EVMSignedTx
|
|
1909
|
+
type EVMSignedTx = {
|
|
2081
1910
|
v: string;
|
|
2082
1911
|
r: string;
|
|
2083
1912
|
s: string;
|
|
2084
1913
|
authorizationSignatures?: EVMAuthorizationSignature[];
|
|
2085
1914
|
};
|
|
2086
|
-
type EVMTransaction
|
|
1915
|
+
type EVMTransaction = {
|
|
2087
1916
|
to: string;
|
|
2088
1917
|
value: string;
|
|
2089
1918
|
gasPrice: string;
|
|
@@ -2095,11 +1924,11 @@ type EVMTransaction$1 = {
|
|
|
2095
1924
|
chainId: number;
|
|
2096
1925
|
txType?: number;
|
|
2097
1926
|
};
|
|
2098
|
-
type EVMAccessList
|
|
1927
|
+
type EVMAccessList = {
|
|
2099
1928
|
address: string;
|
|
2100
1929
|
storageKeys: string[];
|
|
2101
1930
|
};
|
|
2102
|
-
type EVMTransactionEIP1559
|
|
1931
|
+
type EVMTransactionEIP1559 = {
|
|
2103
1932
|
to: string;
|
|
2104
1933
|
value: string;
|
|
2105
1934
|
gasLimit: string;
|
|
@@ -2109,7 +1938,7 @@ type EVMTransactionEIP1559$1 = {
|
|
|
2109
1938
|
chainId: number;
|
|
2110
1939
|
maxFeePerGas: string;
|
|
2111
1940
|
maxPriorityFeePerGas: string;
|
|
2112
|
-
accessList?: EVMAccessList
|
|
1941
|
+
accessList?: EVMAccessList[];
|
|
2113
1942
|
};
|
|
2114
1943
|
type EVMAuthorizationSignature = {
|
|
2115
1944
|
yParity: number;
|
|
@@ -2135,24 +1964,24 @@ type EVMTransactionEIP7702 = {
|
|
|
2135
1964
|
chainId: number;
|
|
2136
1965
|
maxFeePerGas: string;
|
|
2137
1966
|
maxPriorityFeePerGas: string;
|
|
2138
|
-
accessList?: EVMAccessList
|
|
1967
|
+
accessList?: EVMAccessList[];
|
|
2139
1968
|
authorizationList: EVMAuthorization[];
|
|
2140
1969
|
};
|
|
2141
|
-
type EVMSignTransactionParams
|
|
1970
|
+
type EVMSignTransactionParams = {
|
|
2142
1971
|
path: string | number[];
|
|
2143
|
-
transaction: EVMTransaction
|
|
1972
|
+
transaction: EVMTransaction | EVMTransactionEIP1559 | EVMTransactionEIP7702;
|
|
2144
1973
|
};
|
|
2145
|
-
declare function evmSignTransaction(connectId: string, deviceId: string, params: CommonParams & EVMSignTransactionParams
|
|
1974
|
+
declare function evmSignTransaction(connectId: string, deviceId: string, params: CommonParams & EVMSignTransactionParams): Response<EVMSignedTx>;
|
|
2146
1975
|
|
|
2147
|
-
type EthereumSignTypedDataTypeProperty
|
|
1976
|
+
type EthereumSignTypedDataTypeProperty = {
|
|
2148
1977
|
name: string;
|
|
2149
1978
|
type: string;
|
|
2150
1979
|
};
|
|
2151
|
-
type EthereumSignTypedDataTypes
|
|
2152
|
-
EIP712Domain: EthereumSignTypedDataTypeProperty
|
|
2153
|
-
[additionalProperties: string]: EthereumSignTypedDataTypeProperty
|
|
1980
|
+
type EthereumSignTypedDataTypes = {
|
|
1981
|
+
EIP712Domain: EthereumSignTypedDataTypeProperty[];
|
|
1982
|
+
[additionalProperties: string]: EthereumSignTypedDataTypeProperty[];
|
|
2154
1983
|
};
|
|
2155
|
-
type EthereumSignTypedDataMessage
|
|
1984
|
+
type EthereumSignTypedDataMessage<T extends EthereumSignTypedDataTypes> = {
|
|
2156
1985
|
types: T;
|
|
2157
1986
|
primaryType: keyof T;
|
|
2158
1987
|
domain: {
|
|
@@ -2166,23 +1995,23 @@ type EthereumSignTypedDataMessage$1<T extends EthereumSignTypedDataTypes$1> = {
|
|
|
2166
1995
|
[fieldName: string]: any;
|
|
2167
1996
|
};
|
|
2168
1997
|
};
|
|
2169
|
-
type EVMSignTypedDataParams
|
|
1998
|
+
type EVMSignTypedDataParams = {
|
|
2170
1999
|
path: string | number[];
|
|
2171
2000
|
metamaskV4Compat: boolean;
|
|
2172
|
-
data: EthereumSignTypedDataMessage
|
|
2001
|
+
data: EthereumSignTypedDataMessage<EthereumSignTypedDataTypes>;
|
|
2173
2002
|
domainHash?: string;
|
|
2174
2003
|
messageHash?: string;
|
|
2175
2004
|
chainId?: number;
|
|
2176
2005
|
};
|
|
2177
|
-
declare function evmSignTypedData(connectId: string, deviceId: string, params: CommonParams & EVMSignTypedDataParams
|
|
2006
|
+
declare function evmSignTypedData(connectId: string, deviceId: string, params: CommonParams & EVMSignTypedDataParams): Response<EthereumMessageSignature>;
|
|
2178
2007
|
|
|
2179
|
-
type EVMVerifyMessageParams
|
|
2008
|
+
type EVMVerifyMessageParams = {
|
|
2180
2009
|
address: string;
|
|
2181
2010
|
messageHex: string;
|
|
2182
2011
|
signature: string;
|
|
2183
2012
|
chainId?: number;
|
|
2184
2013
|
};
|
|
2185
|
-
declare function evmVerifyMessage(connectId: string, deviceId: string, params: CommonParams & EVMVerifyMessageParams
|
|
2014
|
+
declare function evmVerifyMessage(connectId: string, deviceId: string, params: CommonParams & EVMVerifyMessageParams): Response<Success$1>;
|
|
2186
2015
|
|
|
2187
2016
|
type BTCAddress = {
|
|
2188
2017
|
path: string;
|
|
@@ -3704,413 +3533,7 @@ type NeoSignedTx = {
|
|
|
3704
3533
|
};
|
|
3705
3534
|
declare function neoSignTransaction(connectId: string, deviceId: string, params: CommonParams & NeoUnsignedTx): Response<NeoSignedTx>;
|
|
3706
3535
|
|
|
3707
|
-
type
|
|
3708
|
-
path: string;
|
|
3709
|
-
address: string;
|
|
3710
|
-
};
|
|
3711
|
-
type EVMGetAddressParams = {
|
|
3712
|
-
path: string | number[];
|
|
3713
|
-
showOnOneKey?: boolean;
|
|
3714
|
-
chainId?: number;
|
|
3715
|
-
};
|
|
3716
|
-
declare function evmGetAddressTrezor(connectId: string, deviceId: string, params: CommonParams & EVMGetAddressParams): Response<EVMAddress>;
|
|
3717
|
-
declare function evmGetAddressTrezor(connectId: string, deviceId: string, params: CommonParams & {
|
|
3718
|
-
bundle?: EVMGetAddressParams[];
|
|
3719
|
-
}): Response<Array<EVMAddress>>;
|
|
3720
|
-
|
|
3721
|
-
type EVMPublicKey = {
|
|
3722
|
-
path: string;
|
|
3723
|
-
publicKey: string;
|
|
3724
|
-
} & EthereumPublicKey;
|
|
3725
|
-
type EVMGetPublicKeyParams = {
|
|
3726
|
-
path: string | number[];
|
|
3727
|
-
showOnOneKey?: boolean;
|
|
3728
|
-
chainId?: number;
|
|
3729
|
-
};
|
|
3730
|
-
declare function evmGetPublicKeyTrezor(connectId: string, deviceId: string, params: CommonParams & EVMGetPublicKeyParams): Response<EVMPublicKey>;
|
|
3731
|
-
declare function evmGetPublicKeyTrezor(connectId: string, deviceId: string, params: CommonParams & {
|
|
3732
|
-
bundle?: EVMGetPublicKeyParams[];
|
|
3733
|
-
}): Response<Array<EVMPublicKey>>;
|
|
3734
|
-
declare function evmGetPublicKeyTrezor(connectId: string, deviceId: string, params: CommonParams & {
|
|
3735
|
-
bundle?: EVMGetPublicKeyParams[];
|
|
3736
|
-
useBatch?: boolean;
|
|
3737
|
-
}): Response<Omit<EVMPublicKey, 'node' | 'xpub'>>;
|
|
3738
|
-
|
|
3739
|
-
type EVMSignMessageParams = {
|
|
3740
|
-
path: string | number[];
|
|
3741
|
-
messageHex: string;
|
|
3742
|
-
chainId?: number;
|
|
3743
|
-
};
|
|
3744
|
-
declare function evmSignMessageTrezor(connectId: string, deviceId: string, params: CommonParams & EVMSignMessageParams): Response<EthereumMessageSignature>;
|
|
3745
|
-
|
|
3746
|
-
type EVMSignedTx = {
|
|
3747
|
-
v: string;
|
|
3748
|
-
r: string;
|
|
3749
|
-
s: string;
|
|
3750
|
-
};
|
|
3751
|
-
type EVMTransaction = {
|
|
3752
|
-
to: string;
|
|
3753
|
-
value: string;
|
|
3754
|
-
gasPrice: string;
|
|
3755
|
-
gasLimit: string;
|
|
3756
|
-
maxFeePerGas?: typeof undefined;
|
|
3757
|
-
maxPriorityFeePerGas?: typeof undefined;
|
|
3758
|
-
nonce: string;
|
|
3759
|
-
data?: string;
|
|
3760
|
-
chainId: number;
|
|
3761
|
-
txType?: number;
|
|
3762
|
-
};
|
|
3763
|
-
type EVMAccessList = {
|
|
3764
|
-
address: string;
|
|
3765
|
-
storageKeys: string[];
|
|
3766
|
-
};
|
|
3767
|
-
type EVMTransactionEIP1559 = {
|
|
3768
|
-
to: string;
|
|
3769
|
-
value: string;
|
|
3770
|
-
gasLimit: string;
|
|
3771
|
-
gasPrice?: typeof undefined;
|
|
3772
|
-
nonce: string;
|
|
3773
|
-
data?: string;
|
|
3774
|
-
chainId: number;
|
|
3775
|
-
maxFeePerGas: string;
|
|
3776
|
-
maxPriorityFeePerGas: string;
|
|
3777
|
-
accessList?: EVMAccessList[];
|
|
3778
|
-
};
|
|
3779
|
-
type EVMSignTransactionParams = {
|
|
3780
|
-
path: string | number[];
|
|
3781
|
-
transaction: EVMTransaction | EVMTransactionEIP1559;
|
|
3782
|
-
};
|
|
3783
|
-
declare function evmSignTransactionTrezor(connectId: string, deviceId: string, params: CommonParams & EVMSignTransactionParams): Response<EVMSignedTx>;
|
|
3784
|
-
|
|
3785
|
-
type EthereumSignTypedDataTypeProperty = {
|
|
3786
|
-
name: string;
|
|
3787
|
-
type: string;
|
|
3788
|
-
};
|
|
3789
|
-
type EthereumSignTypedDataTypes = {
|
|
3790
|
-
EIP712Domain: EthereumSignTypedDataTypeProperty[];
|
|
3791
|
-
[additionalProperties: string]: EthereumSignTypedDataTypeProperty[];
|
|
3792
|
-
};
|
|
3793
|
-
type EthereumSignTypedDataMessage<T extends EthereumSignTypedDataTypes> = {
|
|
3794
|
-
types: T;
|
|
3795
|
-
primaryType: keyof T;
|
|
3796
|
-
domain: {
|
|
3797
|
-
name?: string;
|
|
3798
|
-
version?: string;
|
|
3799
|
-
chainId?: number;
|
|
3800
|
-
verifyingContract?: string;
|
|
3801
|
-
salt?: ArrayBuffer;
|
|
3802
|
-
};
|
|
3803
|
-
message: {
|
|
3804
|
-
[fieldName: string]: any;
|
|
3805
|
-
};
|
|
3806
|
-
};
|
|
3807
|
-
type EVMSignTypedDataParams = {
|
|
3808
|
-
path: string | number[];
|
|
3809
|
-
metamaskV4Compat: boolean;
|
|
3810
|
-
data: EthereumSignTypedDataMessage<EthereumSignTypedDataTypes>;
|
|
3811
|
-
domainHash?: string;
|
|
3812
|
-
messageHash?: string;
|
|
3813
|
-
chainId?: number;
|
|
3814
|
-
};
|
|
3815
|
-
declare function evmSignTypedDataTrezor(connectId: string, deviceId: string, params: CommonParams & EVMSignTypedDataParams): Response<EthereumMessageSignature>;
|
|
3816
|
-
|
|
3817
|
-
type EVMVerifyMessageParams = {
|
|
3818
|
-
address: string;
|
|
3819
|
-
messageHex: string;
|
|
3820
|
-
signature: string;
|
|
3821
|
-
chainId?: number;
|
|
3822
|
-
};
|
|
3823
|
-
declare function evmVerifyMessageTrezor(connectId: string, deviceId: string, params: CommonParams & EVMVerifyMessageParams): Response<Success$1>;
|
|
3824
|
-
|
|
3825
|
-
type BTCGetOwnershipId = {
|
|
3826
|
-
path: string | number[];
|
|
3827
|
-
coin?: string;
|
|
3828
|
-
multisig?: MultisigRedeemScriptType;
|
|
3829
|
-
scriptType?: InputScriptType;
|
|
3830
|
-
};
|
|
3831
|
-
declare function btcGetOwnershipId(connectId: string, deviceId: string, params: CommonParams & BTCGetOwnershipId): Response<OwnershipId>;
|
|
3832
|
-
|
|
3833
|
-
type BTCGetOwnershipProof = {
|
|
3834
|
-
path: string | number[];
|
|
3835
|
-
coin?: string;
|
|
3836
|
-
multisig?: MultisigRedeemScriptType;
|
|
3837
|
-
scriptType?: InputScriptType;
|
|
3838
|
-
user_confirmation?: boolean;
|
|
3839
|
-
ownership_ids?: string[];
|
|
3840
|
-
commitment_data?: string;
|
|
3841
|
-
};
|
|
3842
|
-
declare function btcGetOwnershipProof(connectId: string, deviceId: string, params: CommonParams & BTCGetOwnershipProof): Response<OwnershipProof>;
|
|
3843
|
-
|
|
3844
|
-
type BTCAuthorizeCoinJoin = {
|
|
3845
|
-
path: string | number[];
|
|
3846
|
-
coin?: string;
|
|
3847
|
-
scriptType?: InputScriptType;
|
|
3848
|
-
coordinator: string;
|
|
3849
|
-
max_total_fee: number;
|
|
3850
|
-
fee_per_anonymity?: number;
|
|
3851
|
-
amount_unit?: number;
|
|
3852
|
-
};
|
|
3853
|
-
declare function btcAuthorizeCoinJoin(connectId: string, deviceId: string, params: CommonParams & BTCAuthorizeCoinJoin): Response<OwnershipProof>;
|
|
3854
|
-
|
|
3855
|
-
type PatchParams = {
|
|
3856
|
-
path: string;
|
|
3857
|
-
show_display?: boolean;
|
|
3858
|
-
};
|
|
3859
|
-
type BatchGetPublickeysParams = {
|
|
3860
|
-
paths: PatchParams[];
|
|
3861
|
-
ecdsa_curve_name: string;
|
|
3862
|
-
};
|
|
3863
|
-
declare function cryptoBatchGetPublickeys(connectId: string, deviceId: string, params: CommonParams & BatchGetPublickeysParams): Response<EcdsaPublicKeys>;
|
|
3864
|
-
|
|
3865
|
-
type CipherKeyValueParams = {
|
|
3866
|
-
path: string;
|
|
3867
|
-
key: string;
|
|
3868
|
-
value: string;
|
|
3869
|
-
encrypt?: boolean;
|
|
3870
|
-
ask_on_encrypt?: boolean;
|
|
3871
|
-
ask_on_decrypt?: boolean;
|
|
3872
|
-
iv?: string;
|
|
3873
|
-
};
|
|
3874
|
-
declare function cryptoCipherKeyValue(connectId: string, deviceId: string, params: CommonParams & CipherKeyValueParams): Response<CipheredKeyValue$1>;
|
|
3875
|
-
|
|
3876
|
-
type CosiCommitParam = {
|
|
3877
|
-
path: string;
|
|
3878
|
-
data?: string;
|
|
3879
|
-
};
|
|
3880
|
-
declare function cryptoCosiCommit(connectId: string, deviceId: string, params: CommonParams & CosiCommitParam): Response<CosiCommitment>;
|
|
3881
|
-
|
|
3882
|
-
type CosiSignParam = {
|
|
3883
|
-
path: string;
|
|
3884
|
-
data?: string;
|
|
3885
|
-
global_commitment?: string;
|
|
3886
|
-
global_pubkey?: string;
|
|
3887
|
-
};
|
|
3888
|
-
declare function cryptoCosiSign(connectId: string, deviceId: string, params: CommonParams & CosiSignParam): Response<CosiSignature>;
|
|
3889
|
-
|
|
3890
|
-
declare function cryptoGetECDHSessionKey(connectId: string, deviceId: string, params: CommonParams & GetECDHSessionKey): Response<ECDHSessionKey>;
|
|
3891
|
-
|
|
3892
|
-
declare function cryptoSignIdentity(connectId: string, deviceId: string, params: CommonParams & SignIdentity): Response<ECDHSessionKey>;
|
|
3893
|
-
|
|
3894
|
-
type DecryptMessageParams = {
|
|
3895
|
-
path: string | number[];
|
|
3896
|
-
network?: number;
|
|
3897
|
-
public_key?: string;
|
|
3898
|
-
payload?: string;
|
|
3899
|
-
};
|
|
3900
|
-
declare function nemDecryptMessage(connectId: string, deviceId: string, params: CommonParams & DecryptMessageParams): Response<NEMDecryptedMessage>;
|
|
3901
|
-
|
|
3902
|
-
declare function deviceSpiFlashWrite(connectId: string, params: CommonParams & SpiFlashWrite): Response<Success$1>;
|
|
3903
|
-
|
|
3904
|
-
declare function deviceSpiFlashRead(connectId: string, params: CommonParams & SpiFlashRead): Response<SpiFlashData>;
|
|
3905
|
-
|
|
3906
|
-
declare function deviceInfoSettings(connectId: string, params: CommonParams & DeviceInfoSettings): Response<Success$1>;
|
|
3907
|
-
|
|
3908
|
-
declare function deviceGetInfo(connectId: string, params?: CommonParams): Response<DeviceInfo>;
|
|
3909
|
-
|
|
3910
|
-
declare function deviceWriteSEPrivateKey(connectId: string, params: CommonParams & WriteSEPrivateKey): Response<Success$1>;
|
|
3911
|
-
|
|
3912
|
-
declare function deviceWriteSEPublicCert(connectId: string, params: CommonParams & WriteSEPublicCert): Response<Success$1>;
|
|
3913
|
-
|
|
3914
|
-
declare function deviceReadSEPublicCert(connectId: string, params?: CommonParams): Response<SEPublicCert>;
|
|
3915
|
-
|
|
3916
|
-
declare function deviceSESignMessage(connectId: string, params: CommonParams & SESignMessage): Response<SEMessageSignature>;
|
|
3917
|
-
|
|
3918
|
-
declare function devicePing(connectId: string, params: CommonParams & Ping): Response<Success$1>;
|
|
3919
|
-
|
|
3920
|
-
declare function deviceGetEntropy(connectId: string, params: CommonParams & GetEntropy): Response<Success$1>;
|
|
3921
|
-
|
|
3922
|
-
declare function deviceGetFirmwareHash(connectId: string, params: CommonParams & GetFirmwareHash): Response<FirmwareHash>;
|
|
3923
|
-
|
|
3924
|
-
declare function deviceUnlockPath(connectId: string, params: CommonParams & UnlockPath): Response<UnlockedPathRequest>;
|
|
3925
|
-
|
|
3926
|
-
declare function deviceSdProtect(connectId: string, params: CommonParams & SdProtect): Response<Success$1>;
|
|
3927
|
-
|
|
3928
|
-
declare function deviceChangeWipeCode(connectId: string, params: CommonParams & ChangeWipeCode): Response<Success$1>;
|
|
3929
|
-
|
|
3930
|
-
declare function deviceEndSession(connectId: string, params: CommonParams & EndSession): Response<Success$1>;
|
|
3931
|
-
|
|
3932
|
-
type DeviceLoadParams = {
|
|
3933
|
-
mnemonics?: string;
|
|
3934
|
-
pin?: string;
|
|
3935
|
-
passphrase_protection?: boolean;
|
|
3936
|
-
language?: string;
|
|
3937
|
-
label?: string;
|
|
3938
|
-
skip_checksum?: boolean;
|
|
3939
|
-
u2f_counter?: number;
|
|
3940
|
-
needs_backup?: boolean;
|
|
3941
|
-
no_backup?: boolean;
|
|
3942
|
-
};
|
|
3943
|
-
declare function deviceLoad(connectId: string, params: CommonParams & DeviceLoadParams): Response<Success$1>;
|
|
3944
|
-
|
|
3945
|
-
declare function deviceDoPreauthorized(connectId: string, params: CommonParams & DoPreauthorized): Response<Success$1>;
|
|
3946
|
-
|
|
3947
|
-
declare function deviceCancelAuthorization(connectId: string, params: CommonParams & CancelAuthorization): Response<Success$1>;
|
|
3948
|
-
|
|
3949
|
-
declare function emmcDirList(connectId: string, params: CommonParams & EmmcDirList): Response<EmmcDir>;
|
|
3950
|
-
|
|
3951
|
-
declare function emmcDirMake(connectId: string, params: CommonParams & EmmcDirMake): Response<Success$1>;
|
|
3952
|
-
|
|
3953
|
-
declare function emmcDirRemove(connectId: string, params: CommonParams & EmmcDirRemove): Response<Success$1>;
|
|
3954
|
-
|
|
3955
|
-
declare function emmcFileDelete(connectId: string, params: CommonParams & EmmcFileDelete): Response<Success$1>;
|
|
3956
|
-
|
|
3957
|
-
declare function emmcFileRead(connectId: string, params: CommonParams & EmmcFileRead): Response<EmmcFile>;
|
|
3958
|
-
|
|
3959
|
-
declare function emmcFileWrite(connectId: string, params: CommonParams & EmmcFileWrite): Response<Success$1>;
|
|
3960
|
-
|
|
3961
|
-
declare function emmcFixPermission(connectId: string, params: CommonParams & EmmcFixPermission): Response<Success$1>;
|
|
3962
|
-
|
|
3963
|
-
declare function emmcPathInfo(connectId: string, params: CommonParams & EmmcPathInfo): Response<EmmcFile>;
|
|
3964
|
-
|
|
3965
|
-
declare function debugLinkDecision(connectId: string, params: CommonParams & DebugLinkDecision): Response<Success$1>;
|
|
3966
|
-
|
|
3967
|
-
declare function debugLinkEraseSdCard(connectId: string, params: CommonParams & DebugLinkEraseSdCard): Response<Success$1>;
|
|
3968
|
-
|
|
3969
|
-
declare function debugLinkFlashErase(connectId: string, params: CommonParams & DebugLinkFlashErase): Response<DebugLinkLayout>;
|
|
3970
|
-
|
|
3971
|
-
declare function debugLinkGetState(connectId: string, params: CommonParams & DebugLinkGetState): Response<DebugLinkLog>;
|
|
3972
|
-
|
|
3973
|
-
declare function debugLinkMemoryRead(connectId: string, params: CommonParams & DebugLinkMemoryRead): Response<DebugLinkMemory>;
|
|
3974
|
-
|
|
3975
|
-
declare function debugLinkMemoryWrite(connectId: string, params: CommonParams & DebugLinkMemoryWrite): Response<Success$1>;
|
|
3976
|
-
|
|
3977
|
-
declare function debugLinkRecordScreen(connectId: string, params: CommonParams & DebugLinkRecordScreen): Response<Success$1>;
|
|
3978
|
-
|
|
3979
|
-
declare function debugLinkReseedRandom(connectId: string, params: CommonParams & DebugLinkReseedRandom): Response<Success$1>;
|
|
3980
|
-
|
|
3981
|
-
declare function debugLinkStop(connectId: string, params: CommonParams & DebugLinkGetState): Response<DebugLinkState>;
|
|
3982
|
-
|
|
3983
|
-
declare function debugLinkWatchLayout(connectId: string, params: CommonParams & DebugLinkWatchLayout): Response<Success$1>;
|
|
3984
|
-
|
|
3985
|
-
declare function firmwareEraseEx(connectId?: string, params?: CommonParams): Response<Success$1>;
|
|
3986
|
-
|
|
3987
|
-
declare function firmwareErase(connectId?: string, params?: CommonParams): Response<Success$1>;
|
|
3988
|
-
|
|
3989
|
-
declare function firmwareUpdateEmmcTest(connectId: string, params: CommonParams & FirmwareUpdateEmmc): Response<Success$1>;
|
|
3990
|
-
|
|
3991
|
-
declare function firmwareUploadTest(connectId: string, params: CommonParams): Response<Success$1>;
|
|
3992
|
-
|
|
3993
|
-
declare function reboot(connectId: string, params: CommonParams & Reboot): Response<Success$1>;
|
|
3994
|
-
|
|
3995
|
-
declare function selfTest(connectId: string, params: CommonParams & SelfTest): Response<Success$1>;
|
|
3996
|
-
|
|
3997
|
-
type TezosAddress$1 = {
|
|
3998
|
-
path: string;
|
|
3999
|
-
} & TezosAddress$2;
|
|
4000
|
-
type TezosGetAddressParams = {
|
|
4001
|
-
path: string | number[];
|
|
4002
|
-
showOnOneKey?: boolean;
|
|
4003
|
-
};
|
|
4004
|
-
declare function tezosGetAddress(connectId: string, deviceId: string, params: CommonParams & TezosGetAddressParams): Response<TezosAddress$1>;
|
|
4005
|
-
declare function tezosGetAddress(connectId: string, deviceId: string, params: CommonParams & {
|
|
4006
|
-
bundle?: TezosGetAddressParams[];
|
|
4007
|
-
}): Response<Array<TezosAddress$1>>;
|
|
4008
|
-
|
|
4009
|
-
type TezosPublicKey$1 = {
|
|
4010
|
-
path: string;
|
|
4011
|
-
} & GetPublicKey;
|
|
4012
|
-
type TezosGetPublicKeyParams = {
|
|
4013
|
-
path: string | number[];
|
|
4014
|
-
showOnOneKey?: boolean;
|
|
4015
|
-
};
|
|
4016
|
-
declare function tezosGetPublicKey(connectId: string, deviceId: string, params: CommonParams & TezosGetPublicKeyParams): Response<TezosPublicKey$1>;
|
|
4017
|
-
declare function tezosGetPublicKey(connectId: string, deviceId: string, params: CommonParams & {
|
|
4018
|
-
bundle?: TezosGetPublicKeyParams[];
|
|
4019
|
-
}): Response<Array<TezosPublicKey$1>>;
|
|
4020
|
-
|
|
4021
|
-
type TezosSignTxParams = {
|
|
4022
|
-
path: string | number[];
|
|
4023
|
-
} & Omit<TezosSignTx, 'address_n'>;
|
|
4024
|
-
declare function tezosSignTx(connectId: string, deviceId: string, params: CommonParams & TezosSignTxParams): Response<TezosSignedTx>;
|
|
4025
|
-
|
|
4026
|
-
type MoneroAddress$1 = {
|
|
4027
|
-
path: string;
|
|
4028
|
-
} & MoneroWatchKey;
|
|
4029
|
-
type MoneroGetWatchKeyParams = {
|
|
4030
|
-
path: string | number[];
|
|
4031
|
-
showOnOneKey?: boolean;
|
|
4032
|
-
} & Omit<MoneroGetWatchKey, 'address_n'>;
|
|
4033
|
-
declare function moneroGetWatchKey(connectId: string, deviceId: string, params: CommonParams & MoneroGetWatchKeyParams): Response<MoneroAddress$1>;
|
|
4034
|
-
declare function moneroGetWatchKey(connectId: string, deviceId: string, params: CommonParams & {
|
|
4035
|
-
bundle?: MoneroGetWatchKeyParams[];
|
|
4036
|
-
}): Response<Array<MoneroAddress$1>>;
|
|
4037
|
-
|
|
4038
|
-
type MoneroAddress = {
|
|
4039
|
-
path: string;
|
|
4040
|
-
} & MoneroAddress$2;
|
|
4041
|
-
type MoneroGetAddressParams = {
|
|
4042
|
-
path: string | number[];
|
|
4043
|
-
showOnOneKey?: boolean;
|
|
4044
|
-
};
|
|
4045
|
-
declare function moneroGetAddress(connectId: string, deviceId: string, params: CommonParams & MoneroGetAddressParams): Response<MoneroAddress>;
|
|
4046
|
-
declare function moneroGetAddress(connectId: string, deviceId: string, params: CommonParams & {
|
|
4047
|
-
bundle?: MoneroGetAddressParams[];
|
|
4048
|
-
}): Response<Array<MoneroAddress>>;
|
|
4049
|
-
|
|
4050
|
-
type GetPublicKeyParams = {
|
|
4051
|
-
path: string | number[];
|
|
4052
|
-
showOnOneKey?: boolean;
|
|
4053
|
-
};
|
|
4054
|
-
declare function eosGetPublicKey(connectId: string, deviceId: string, params: CommonParams & GetPublicKeyParams): Response<EosPublicKey>;
|
|
4055
|
-
|
|
4056
|
-
type EosSignTxParams = {
|
|
4057
|
-
path: string | number[];
|
|
4058
|
-
} & Omit<EosSignTx, 'address_n'>;
|
|
4059
|
-
declare function eosSignTx(connectId: string, deviceId: string, params: CommonParams & EosSignTxParams): Response<EosSignedTx>;
|
|
4060
|
-
|
|
4061
|
-
type TezosAddress = {
|
|
4062
|
-
path: string;
|
|
4063
|
-
} & BinanceAddress;
|
|
4064
|
-
type BinanceAddressParams = {
|
|
4065
|
-
path: string | number[];
|
|
4066
|
-
showOnOneKey?: boolean;
|
|
4067
|
-
};
|
|
4068
|
-
declare function binanceGetAddress(connectId: string, deviceId: string, params: CommonParams & BinanceAddressParams): Response<TezosAddress>;
|
|
4069
|
-
|
|
4070
|
-
type TezosPublicKey = {
|
|
4071
|
-
path: string;
|
|
4072
|
-
} & BinancePublicKey;
|
|
4073
|
-
type BinanceGetPublicKeyParams = {
|
|
4074
|
-
path: string | number[];
|
|
4075
|
-
showOnOneKey?: boolean;
|
|
4076
|
-
};
|
|
4077
|
-
declare function binanceGetPublicKey(connectId: string, deviceId: string, params: CommonParams & BinanceGetPublicKeyParams): Response<TezosPublicKey>;
|
|
4078
|
-
|
|
4079
|
-
type BinanceSignTxParams = {
|
|
4080
|
-
path: string | number[];
|
|
4081
|
-
} & Omit<BinanceSignTx, 'address_n'>;
|
|
4082
|
-
declare function binanceSignTx(connectId: string, deviceId: string, params: CommonParams & BinanceSignTxParams): Response<BinanceSignedTx>;
|
|
4083
|
-
|
|
4084
|
-
declare function webAuthnAddResidentCredential(connectId: string, deviceId: string, params: CommonParams & WebAuthnAddResidentCredential): Response<Success$1>;
|
|
4085
|
-
|
|
4086
|
-
declare function webAuthnListResidentCredentials(connectId: string, deviceId: string, params: CommonParams): Response<WebAuthnCredentials>;
|
|
4087
|
-
|
|
4088
|
-
declare function webAuthnRemoveResidentCredential(connectId: string, deviceId: string, params: CommonParams & WebAuthnRemoveResidentCredential): Response<Success$1>;
|
|
4089
|
-
|
|
4090
|
-
declare function getPublicKeyMultiple(connectId?: string, deviceId?: string, params?: CommonParams & GetPublicKeyMultiple): Response<PublicKeyMultiple>;
|
|
4091
|
-
|
|
4092
|
-
declare function listResDir(connectId?: string, deviceId?: string, params?: CommonParams & ListResDir): Response<FileInfoList>;
|
|
4093
|
-
|
|
4094
|
-
declare function nftWriteData(connectId: string, deviceId: string, params: CommonParams & NFTWriteData): Response<Success$1>;
|
|
4095
|
-
|
|
4096
|
-
declare function nftWriteInfo(connectId: string, deviceId: string, params: CommonParams & NFTWriteInfo): Response<Success$1>;
|
|
4097
|
-
|
|
4098
|
-
declare function readSEPublicKey(connectId: string, deviceId: string, params: CommonParams): Response<SEPublicKey>;
|
|
4099
|
-
|
|
4100
|
-
declare function resourceUpdate(connectId: string, deviceId: string, params: CommonParams & {
|
|
4101
|
-
name: string;
|
|
4102
|
-
data: string;
|
|
4103
|
-
}): Response<Success$1>;
|
|
4104
|
-
|
|
4105
|
-
declare function bixinBackupDevice(connectId: string, deviceId: string, params: CommonParams): Response<Success$1>;
|
|
4106
|
-
|
|
4107
|
-
declare function bixinLoadDevice(connectId: string, deviceId: string, params: CommonParams & BixinLoadDevice): Response<Success$1>;
|
|
4108
|
-
|
|
4109
|
-
declare function bixinMessageSE(connectId: string, deviceId: string, params: CommonParams & BixinMessageSE): Response<BixinOutMessageSE>;
|
|
4110
|
-
|
|
4111
|
-
declare function bixinVerifyDeviceRequest(connectId: string, deviceId: string, params: CommonParams & BixinVerifyDeviceRequest): Response<BixinVerifyDeviceAck>;
|
|
4112
|
-
|
|
4113
|
-
type CoreApiWithExtensions = {
|
|
3536
|
+
type CoreApi = {
|
|
4114
3537
|
/**
|
|
4115
3538
|
* Inject function
|
|
4116
3539
|
*/
|
|
@@ -4192,11 +3615,6 @@ type CoreApiWithExtensions = {
|
|
|
4192
3615
|
deviceReboot: typeof deviceReboot;
|
|
4193
3616
|
deviceGetOnboardingStatus: typeof deviceGetOnboardingStatus;
|
|
4194
3617
|
deviceUploadNft: typeof deviceUploadNft;
|
|
4195
|
-
deviceProvisionFactoryInfo: typeof deviceProvisionFactoryInfo;
|
|
4196
|
-
deviceReadFactoryInfo: typeof deviceReadFactoryInfo;
|
|
4197
|
-
deviceWriteFactoryCertificate: typeof deviceWriteFactoryCertificate;
|
|
4198
|
-
deviceReadFactoryCertificate: typeof deviceReadFactoryCertificate;
|
|
4199
|
-
deviceSignFactoryChallenge: typeof deviceSignFactoryChallenge;
|
|
4200
3618
|
deviceUploadWallpaper: typeof deviceUploadWallpaper;
|
|
4201
3619
|
uploadPortfolio: typeof uploadPortfolio;
|
|
4202
3620
|
/**
|
|
@@ -4214,12 +3632,6 @@ type CoreApiWithExtensions = {
|
|
|
4214
3632
|
evmSignTransaction: typeof evmSignTransaction;
|
|
4215
3633
|
evmSignTypedData: typeof evmSignTypedData;
|
|
4216
3634
|
evmVerifyMessage: typeof evmVerifyMessage;
|
|
4217
|
-
evmGetAddressTrezor: typeof evmGetAddressTrezor;
|
|
4218
|
-
evmGetPublicKeyTrezor: typeof evmGetPublicKeyTrezor;
|
|
4219
|
-
evmSignMessageTrezor: typeof evmSignMessageTrezor;
|
|
4220
|
-
evmSignTransactionTrezor: typeof evmSignTransactionTrezor;
|
|
4221
|
-
evmSignTypedDataTrezor: typeof evmSignTypedDataTrezor;
|
|
4222
|
-
evmVerifyMessageTrezor: typeof evmVerifyMessageTrezor;
|
|
4223
3635
|
/**
|
|
4224
3636
|
* BTC function
|
|
4225
3637
|
*/
|
|
@@ -4229,18 +3641,6 @@ type CoreApiWithExtensions = {
|
|
|
4229
3641
|
btcSignPsbt: typeof btcSignPsbt;
|
|
4230
3642
|
btcSignTransaction: typeof btcSignTransaction;
|
|
4231
3643
|
btcVerifyMessage: typeof btcVerifyMessage;
|
|
4232
|
-
btcGetOwnershipId: typeof btcGetOwnershipId;
|
|
4233
|
-
btcGetOwnershipProof: typeof btcGetOwnershipProof;
|
|
4234
|
-
btcAuthorizeCoinJoin: typeof btcAuthorizeCoinJoin;
|
|
4235
|
-
/**
|
|
4236
|
-
* Crypto function
|
|
4237
|
-
*/
|
|
4238
|
-
cryptoBatchGetPublickeys: typeof cryptoBatchGetPublickeys;
|
|
4239
|
-
cryptoCipherKeyValue: typeof cryptoCipherKeyValue;
|
|
4240
|
-
cryptoCosiCommit: typeof cryptoCosiCommit;
|
|
4241
|
-
cryptoCosiSign: typeof cryptoCosiSign;
|
|
4242
|
-
cryptoGetECDHSessionKey: typeof cryptoGetECDHSessionKey;
|
|
4243
|
-
cryptoSignIdentity: typeof cryptoSignIdentity;
|
|
4244
3644
|
/**
|
|
4245
3645
|
* Starcoin function
|
|
4246
3646
|
*/
|
|
@@ -4254,7 +3654,6 @@ type CoreApiWithExtensions = {
|
|
|
4254
3654
|
*/
|
|
4255
3655
|
nemGetAddress: typeof nemGetAddress;
|
|
4256
3656
|
nemSignTransaction: typeof nemSignTransaction;
|
|
4257
|
-
nemDecryptMessage: typeof nemDecryptMessage;
|
|
4258
3657
|
/**
|
|
4259
3658
|
* Solana function
|
|
4260
3659
|
*/
|
|
@@ -4396,81 +3795,7 @@ type CoreApiWithExtensions = {
|
|
|
4396
3795
|
*/
|
|
4397
3796
|
neoGetAddress: typeof neoGetAddress;
|
|
4398
3797
|
neoSignTransaction: typeof neoSignTransaction;
|
|
4399
|
-
|
|
4400
|
-
* Test-only APIs.
|
|
4401
|
-
*/
|
|
4402
|
-
deviceSpiFlashWrite: typeof deviceSpiFlashWrite;
|
|
4403
|
-
deviceSpiFlashRead: typeof deviceSpiFlashRead;
|
|
4404
|
-
deviceInfoSettings: typeof deviceInfoSettings;
|
|
4405
|
-
deviceGetInfo: typeof deviceGetInfo;
|
|
4406
|
-
deviceWriteSEPrivateKey: typeof deviceWriteSEPrivateKey;
|
|
4407
|
-
deviceReadSEPublicCert: typeof deviceReadSEPublicCert;
|
|
4408
|
-
deviceWriteSEPublicCert: typeof deviceWriteSEPublicCert;
|
|
4409
|
-
deviceSESignMessage: typeof deviceSESignMessage;
|
|
4410
|
-
devicePing: typeof devicePing;
|
|
4411
|
-
deviceGetEntropy: typeof deviceGetEntropy;
|
|
4412
|
-
deviceGetFirmwareHash: typeof deviceGetFirmwareHash;
|
|
4413
|
-
deviceUnlockPath: typeof deviceUnlockPath;
|
|
4414
|
-
deviceSdProtect: typeof deviceSdProtect;
|
|
4415
|
-
deviceChangeWipeCode: typeof deviceChangeWipeCode;
|
|
4416
|
-
deviceEndSession: typeof deviceEndSession;
|
|
4417
|
-
deviceLoad: typeof deviceLoad;
|
|
4418
|
-
deviceDoPreauthorized: typeof deviceDoPreauthorized;
|
|
4419
|
-
deviceCancelAuthorization: typeof deviceCancelAuthorization;
|
|
4420
|
-
emmcDirList: typeof emmcDirList;
|
|
4421
|
-
emmcDirMake: typeof emmcDirMake;
|
|
4422
|
-
emmcDirRemove: typeof emmcDirRemove;
|
|
4423
|
-
emmcFileDelete: typeof emmcFileDelete;
|
|
4424
|
-
emmcFileRead: typeof emmcFileRead;
|
|
4425
|
-
emmcFileWrite: typeof emmcFileWrite;
|
|
4426
|
-
emmcFixPermission: typeof emmcFixPermission;
|
|
4427
|
-
emmcPathInfo: typeof emmcPathInfo;
|
|
4428
|
-
debugLinkDecision: typeof debugLinkDecision;
|
|
4429
|
-
debugLinkEraseSdCard: typeof debugLinkEraseSdCard;
|
|
4430
|
-
debugLinkFlashErase: typeof debugLinkFlashErase;
|
|
4431
|
-
debugLinkGetState: typeof debugLinkGetState;
|
|
4432
|
-
debugLinkMemoryRead: typeof debugLinkMemoryRead;
|
|
4433
|
-
debugLinkMemoryWrite: typeof debugLinkMemoryWrite;
|
|
4434
|
-
debugLinkRecordScreen: typeof debugLinkRecordScreen;
|
|
4435
|
-
debugLinkReseedRandom: typeof debugLinkReseedRandom;
|
|
4436
|
-
debugLinkStop: typeof debugLinkStop;
|
|
4437
|
-
debugLinkWatchLayout: typeof debugLinkWatchLayout;
|
|
4438
|
-
firmwareEraseEx: typeof firmwareEraseEx;
|
|
4439
|
-
firmwareErase: typeof firmwareErase;
|
|
4440
|
-
firmwareUpdateEmmcTest: typeof firmwareUpdateEmmcTest;
|
|
4441
|
-
firmwareUploadTest: typeof firmwareUploadTest;
|
|
4442
|
-
reboot: typeof reboot;
|
|
4443
|
-
selfTest: typeof selfTest;
|
|
4444
|
-
tezosGetAddress: typeof tezosGetAddress;
|
|
4445
|
-
tezosGetPublicKey: typeof tezosGetPublicKey;
|
|
4446
|
-
tezosSignTx: typeof tezosSignTx;
|
|
4447
|
-
binanceGetAddress: typeof binanceGetAddress;
|
|
4448
|
-
binanceGetPublicKey: typeof binanceGetPublicKey;
|
|
4449
|
-
binanceSignTx: typeof binanceSignTx;
|
|
4450
|
-
moneroGetWatchKey: typeof moneroGetWatchKey;
|
|
4451
|
-
moneroGetAddress: typeof moneroGetAddress;
|
|
4452
|
-
eosGetPublicKey: typeof eosGetPublicKey;
|
|
4453
|
-
eosSignTx: typeof eosSignTx;
|
|
4454
|
-
webAuthnAddResidentCredential: typeof webAuthnAddResidentCredential;
|
|
4455
|
-
webAuthnListResidentCredentials: typeof webAuthnListResidentCredentials;
|
|
4456
|
-
webAuthnRemoveResidentCredential: typeof webAuthnRemoveResidentCredential;
|
|
4457
|
-
getPublicKeyMultiple: typeof getPublicKeyMultiple;
|
|
4458
|
-
listResDir: typeof listResDir;
|
|
4459
|
-
nftWriteData: typeof nftWriteData;
|
|
4460
|
-
nftWriteInfo: typeof nftWriteInfo;
|
|
4461
|
-
readSEPublicKey: typeof readSEPublicKey;
|
|
4462
|
-
resourceUpdate: typeof resourceUpdate;
|
|
4463
|
-
bixinBackupDevice: typeof bixinBackupDevice;
|
|
4464
|
-
bixinLoadDevice: typeof bixinLoadDevice;
|
|
4465
|
-
bixinMessageSE: typeof bixinMessageSE;
|
|
4466
|
-
bixinVerifyDeviceRequest: typeof bixinVerifyDeviceRequest;
|
|
4467
|
-
};
|
|
4468
|
-
type TestApiMethodName = 'btcGetOwnershipId' | 'btcGetOwnershipProof' | 'btcAuthorizeCoinJoin' | 'cryptoBatchGetPublickeys' | 'cryptoCipherKeyValue' | 'cryptoCosiCommit' | 'cryptoCosiSign' | 'cryptoGetECDHSessionKey' | 'cryptoSignIdentity' | 'evmGetAddressTrezor' | 'evmGetPublicKeyTrezor' | 'evmSignMessageTrezor' | 'evmSignTransactionTrezor' | 'evmSignTypedDataTrezor' | 'evmVerifyMessageTrezor' | 'nemDecryptMessage' | 'deviceSpiFlashWrite' | 'deviceSpiFlashRead' | 'deviceInfoSettings' | 'deviceGetInfo' | 'deviceReadSEPublicCert' | 'deviceWriteSEPrivateKey' | 'deviceWriteSEPublicCert' | 'deviceSESignMessage' | 'devicePing' | 'deviceGetEntropy' | 'deviceGetFirmwareHash' | 'deviceUnlockPath' | 'deviceSdProtect' | 'deviceChangeWipeCode' | 'deviceEndSession' | 'deviceLoad' | 'deviceDoPreauthorized' | 'deviceCancelAuthorization' | 'emmcDirList' | 'emmcDirMake' | 'emmcDirRemove' | 'emmcFileDelete' | 'emmcFileRead' | 'emmcFileWrite' | 'emmcFixPermission' | 'emmcPathInfo' | 'debugLinkDecision' | 'debugLinkEraseSdCard' | 'debugLinkFlashErase' | 'debugLinkGetState' | 'debugLinkMemoryRead' | 'debugLinkMemoryWrite' | 'debugLinkRecordScreen' | 'debugLinkReseedRandom' | 'debugLinkStop' | 'debugLinkWatchLayout' | 'firmwareErase' | 'firmwareEraseEx' | 'firmwareUpdateEmmcTest' | 'firmwareUploadTest' | 'reboot' | 'selfTest' | 'tezosGetAddress' | 'tezosGetPublicKey' | 'tezosSignTx' | 'moneroGetAddress' | 'moneroGetWatchKey' | 'eosGetPublicKey' | 'eosSignTx' | 'binanceGetAddress' | 'binanceGetPublicKey' | 'binanceSignTx' | 'webAuthnAddResidentCredential' | 'webAuthnListResidentCredentials' | 'webAuthnRemoveResidentCredential' | 'getPublicKeyMultiple' | 'listResDir' | 'nftWriteData' | 'nftWriteInfo' | 'readSEPublicKey' | 'resourceUpdate' | 'bixinBackupDevice' | 'bixinLoadDevice' | 'bixinMessageSE' | 'bixinVerifyDeviceRequest';
|
|
4469
|
-
type FactoryApiMethodName = 'deviceProvisionFactoryInfo' | 'deviceWriteFactoryCertificate';
|
|
4470
|
-
type TestApiMethods = Pick<CoreApiWithExtensions, TestApiMethodName>;
|
|
4471
|
-
type FactoryApi = Pick<CoreApiWithExtensions, FactoryApiMethodName>;
|
|
4472
|
-
type CoreApi = Omit<CoreApiWithExtensions, TestApiMethodName | FactoryApiMethodName>;
|
|
4473
|
-
type TestApi = CoreApi & TestApiMethods & FactoryApi;
|
|
3798
|
+
};
|
|
4474
3799
|
|
|
4475
3800
|
interface FirmwareRange {
|
|
4476
3801
|
'1': {
|
|
@@ -5055,17 +4380,12 @@ interface InjectApi {
|
|
|
5055
4380
|
cancel: CoreApi['cancel'];
|
|
5056
4381
|
switchTransport: CoreApi['switchTransport'];
|
|
5057
4382
|
}
|
|
5058
|
-
declare const createTestApi: (call: CoreApi['call']) => TestApiMethods;
|
|
5059
|
-
declare const createFactoryApi: (call: CoreApi['call']) => FactoryApi;
|
|
5060
4383
|
|
|
5061
4384
|
interface TopLevelInjectApi {
|
|
5062
4385
|
init: CoreApi['init'];
|
|
5063
4386
|
call: CoreApi['call'];
|
|
5064
4387
|
}
|
|
5065
4388
|
|
|
5066
|
-
declare const TEST_API_METHOD_NAMES: readonly ["btcGetOwnershipId", "btcGetOwnershipProof", "btcAuthorizeCoinJoin", "cryptoBatchGetPublickeys", "cryptoCipherKeyValue", "cryptoCosiCommit", "cryptoCosiSign", "cryptoGetECDHSessionKey", "cryptoSignIdentity", "evmGetAddressTrezor", "evmGetPublicKeyTrezor", "evmSignMessageTrezor", "evmSignTransactionTrezor", "evmSignTypedDataTrezor", "evmVerifyMessageTrezor", "nemDecryptMessage", "deviceSpiFlashWrite", "deviceSpiFlashRead", "deviceInfoSettings", "deviceGetInfo", "deviceReadSEPublicCert", "deviceWriteSEPrivateKey", "deviceWriteSEPublicCert", "deviceSESignMessage", "devicePing", "deviceGetEntropy", "deviceGetFirmwareHash", "deviceUnlockPath", "deviceSdProtect", "deviceChangeWipeCode", "deviceEndSession", "deviceLoad", "deviceDoPreauthorized", "deviceCancelAuthorization", "emmcDirList", "emmcDirMake", "emmcDirRemove", "emmcFileDelete", "emmcFileRead", "emmcFileWrite", "emmcFixPermission", "emmcPathInfo", "debugLinkDecision", "debugLinkEraseSdCard", "debugLinkFlashErase", "debugLinkGetState", "debugLinkMemoryRead", "debugLinkMemoryWrite", "debugLinkRecordScreen", "debugLinkReseedRandom", "debugLinkStop", "debugLinkWatchLayout", "firmwareErase", "firmwareEraseEx", "firmwareUpdateEmmcTest", "firmwareUploadTest", "reboot", "selfTest", "tezosGetAddress", "tezosGetPublicKey", "tezosSignTx", "moneroGetAddress", "moneroGetWatchKey", "eosGetPublicKey", "eosSignTx", "binanceGetAddress", "binanceGetPublicKey", "binanceSignTx", "webAuthnAddResidentCredential", "webAuthnListResidentCredentials", "webAuthnRemoveResidentCredential", "getPublicKeyMultiple", "listResDir", "nftWriteData", "nftWriteInfo", "readSEPublicKey", "resourceUpdate", "bixinBackupDevice", "bixinLoadDevice", "bixinMessageSE", "bixinVerifyDeviceRequest"];
|
|
5067
|
-
declare const FACTORY_API_METHOD_NAMES: readonly ["deviceProvisionFactoryInfo", "deviceWriteFactoryCertificate"];
|
|
5068
|
-
|
|
5069
4389
|
type LogMessage = {
|
|
5070
4390
|
level: string;
|
|
5071
4391
|
prefix: string;
|
|
@@ -5159,7 +4479,7 @@ declare const versionSplit: (version: string) => number[];
|
|
|
5159
4479
|
*/
|
|
5160
4480
|
declare const versionCompare: (a: string | number[], b: string | number[]) => 0 | 1 | -1;
|
|
5161
4481
|
|
|
5162
|
-
declare function patchFeatures(response: DefaultMessageResponse): TypedResponseMessage<"DeviceStatus"> | TypedResponseMessage<"DeviceSession"> | TypedResponseMessage<"Success"> | TypedResponseMessage<"PassphraseState"> | TypedResponseMessage<"Address"> | TypedResponseMessage<"ProtocolInfo"> | TypedResponseMessage<"DeviceInfo"> | TypedResponseMessage<"DeviceFirmwareUpdateStatus"> | TypedResponseMessage<"AptosMessagePayload"> | TypedResponseMessage<"BinanceInputOutput"> | TypedResponseMessage<"BinanceCoin"> | TypedResponseMessage<"HDNodePathType"> | TypedResponseMessage<"HDNodeType"> | TypedResponseMessage<"MultisigRedeemScriptType"> | TypedResponseMessage<"TxRequestDetailsType"> | TypedResponseMessage<"TxRequestSerializedType"> | TypedResponseMessage<"TxInputType"> | TypedResponseMessage<"TxOutputBinType"> | TypedResponseMessage<"TxOutputType"> | TypedResponseMessage<"TxAckInputWrapper"> | TypedResponseMessage<"TxAckOutputWrapper"> | TypedResponseMessage<"PrevTx"> | TypedResponseMessage<"TxAckPrevInputWrapper"> | TypedResponseMessage<"PrevInput"> | TypedResponseMessage<"TxAckPrevOutputWrapper"> | TypedResponseMessage<"PrevOutput"> | TypedResponseMessage<"TxAckPrevExtraDataWrapper"> | TypedResponseMessage<"BIP32Address"> | TypedResponseMessage<"CardanoNativeScript"> | TypedResponseMessage<"CardanoBlockchainPointerType"> | TypedResponseMessage<"CardanoAddressParametersType"> | TypedResponseMessage<"CardanoPoolMetadataType"> | TypedResponseMessage<"CardanoPoolParametersType"> | TypedResponseMessage<"CardanoDRep"> | TypedResponseMessage<"CardanoCVoteRegistrationDelegation"> | TypedResponseMessage<"CardanoCVoteRegistrationParametersType"> | TypedResponseMessage<"IdentityType"> | TypedResponseMessage<"Path"> | TypedResponseMessage<"DnxTxKey"> | TypedResponseMessage<"DnxComputedKeyImage"> | TypedResponseMessage<"EmmcFile"> | TypedResponseMessage<"EosTxHeader"> | TypedResponseMessage<"EosActionCommon"> | TypedResponseMessage<"EosActionTransfer"> | TypedResponseMessage<"EosActionDelegate"> | TypedResponseMessage<"EosActionUndelegate"> | TypedResponseMessage<"EosActionRefund"> | TypedResponseMessage<"EosActionBuyRam"> | TypedResponseMessage<"EosActionBuyRamBytes"> | TypedResponseMessage<"EosActionSellRam"> | TypedResponseMessage<"EosActionVoteProducer"> | TypedResponseMessage<"EosActionUpdateAuth"> | TypedResponseMessage<"EosActionDeleteAuth"> | TypedResponseMessage<"EosActionLinkAuth"> | TypedResponseMessage<"EosActionUnlinkAuth"> | TypedResponseMessage<"EosActionNewAccount"> | TypedResponseMessage<"EosActionUnknown"> | TypedResponseMessage<"EosPermissionLevel"> | TypedResponseMessage<"EosAuthorizationKey"> | TypedResponseMessage<"EosAuthorizationAccount"> | TypedResponseMessage<"EosAuthorizationWait"> | TypedResponseMessage<"EosAsset"> | TypedResponseMessage<"EosAuthorization"> | TypedResponseMessage<"EthereumStructMemberOneKey"> | TypedResponseMessage<"EthereumFieldTypeOneKey"> | TypedResponseMessage<"EthereumDefinitions"> | TypedResponseMessage<"EthereumStructMember"> | TypedResponseMessage<"EthereumFieldType"> | TypedResponseMessage<"EthereumAccessListOneKey"> | TypedResponseMessage<"EthereumAuthorizationOneKey"> | TypedResponseMessage<"EthereumAuthorizationSignature"> | TypedResponseMessage<"EthereumAccessList"> | TypedResponseMessage<"KaspaTxRequestSignature"> | TypedResponseMessage<"KaspaOutpoint"> | TypedResponseMessage<"FileInfo"> | TypedResponseMessage<"MoneroOutputEntry"> | TypedResponseMessage<"MoneroMultisigKLRki"> | TypedResponseMessage<"MoneroRctKeyPublic"> | TypedResponseMessage<"MoneroAccountPublicAddress"> | TypedResponseMessage<"MoneroTransactionData"> | TypedResponseMessage<"MoneroTransactionDestinationEntry"> | TypedResponseMessage<"MoneroTransactionRsigData"> | TypedResponseMessage<"MoneroTransactionSourceEntry"> | TypedResponseMessage<"MoneroRingCtSig"> | TypedResponseMessage<"MoneroSubAddressIndicesList"> | TypedResponseMessage<"MoneroTransferDetails"> | TypedResponseMessage<"MoneroExportedKeyImage"> | TypedResponseMessage<"NEMTransactionCommon"> | TypedResponseMessage<"NEMTransfer"> | TypedResponseMessage<"NEMProvisionNamespace"> | TypedResponseMessage<"NEMMosaicCreation"> | TypedResponseMessage<"NEMMosaicSupplyChange"> | TypedResponseMessage<"NEMAggregateModification"> | TypedResponseMessage<"NEMImportanceTransfer"> | TypedResponseMessage<"NEMMosaic"> | TypedResponseMessage<"NEMMosaicDefinition"> | TypedResponseMessage<"NEMCosignatoryModification"> | TypedResponseMessage<"RipplePayment"> | TypedResponseMessage<"SolanaTxATADetails"> | TypedResponseMessage<"SolanaTxExtraInfo"> | TypedResponseMessage<"StellarAsset"> | TypedResponseMessage<"TezosRevealOp"> | TypedResponseMessage<"TezosTransactionOp"> | TypedResponseMessage<"TezosOriginationOp"> | TypedResponseMessage<"TezosDelegationOp"> | TypedResponseMessage<"TezosProposalOp"> | TypedResponseMessage<"TezosBallotOp"> | TypedResponseMessage<"TezosContractID"> | TypedResponseMessage<"TezosParametersManager"> | TypedResponseMessage<"TezosManagerTransfer"> | TypedResponseMessage<"TronContract"> | TypedResponseMessage<"TronTransferContract"> | TypedResponseMessage<"TronVoteWitnessContract"> | TypedResponseMessage<"TronFreezeBalanceContract"> | TypedResponseMessage<"TronUnfreezeBalanceContract"> | TypedResponseMessage<"TronWithdrawBalanceContract"> | TypedResponseMessage<"TronTriggerSmartContract"> | TypedResponseMessage<"TronFreezeBalanceV2Contract"> | TypedResponseMessage<"TronUnfreezeBalanceV2Contract"> | TypedResponseMessage<"TronWithdrawExpireUnfreezeContract"> | TypedResponseMessage<"TronDelegateResourceContract"> | TypedResponseMessage<"TronUnDelegateResourceContract"> | TypedResponseMessage<"TronCancelAllUnfreezeV2Contract"> | TypedResponseMessage<"Vote"> | TypedResponseMessage<"WebAuthnCredential"> | TypedResponseMessage<"CoinJoinRequest"> | TypedResponseMessage<"PaymentRequestMemo"> | TypedResponseMessage<"TextMemo"> | TypedResponseMessage<"RefundMemo"> | TypedResponseMessage<"CoinPurchaseMemo"> | TypedResponseMessage<"DeviceSettings"> | TypedResponseMessage<"DeviceCertificate"> | TypedResponseMessage<"DeviceFactoryInfoManufactureTime"> | TypedResponseMessage<"DeviceFactoryInfo"> | TypedResponseMessage<"DeviceFirmwareTarget"> | TypedResponseMessage<"DeviceFirmwareUpdateRecordFields"> | TypedResponseMessage<"DeviceFirmwareUpdateRecord"> | TypedResponseMessage<"DeviceFirmwareImageInfo"> | TypedResponseMessage<"DeviceInfoTargets"> | TypedResponseMessage<"DeviceInfoTypes"> | TypedResponseMessage<"DeviceHardwareInfo"> | TypedResponseMessage<"DeviceMainMcuInfo"> | TypedResponseMessage<"DeviceCoprocessorInfo"> | TypedResponseMessage<"DeviceSEInfo"> | TypedResponseMessage<"FilesystemFile"> | TypedResponseMessage<"OnboardingSetupStatus"> | TypedResponseMessage<"ViewAmount"> | TypedResponseMessage<"ViewDetail"> | TypedResponseMessage<"ViewTip"> | TypedResponseMessage<"ViewRawData"> | TypedResponseMessage<"AlephiumGetAddress"> | TypedResponseMessage<"AlephiumAddress"> | TypedResponseMessage<"AlephiumSignTx"> | TypedResponseMessage<"AlephiumSignedTx"> | TypedResponseMessage<"AlephiumTxRequest"> | TypedResponseMessage<"AlephiumTxAck"> | TypedResponseMessage<"AlephiumBytecodeRequest"> | TypedResponseMessage<"AlephiumBytecodeAck"> | TypedResponseMessage<"AlephiumSignMessage"> | TypedResponseMessage<"AlephiumMessageSignature"> | TypedResponseMessage<"AlgorandGetAddress"> | TypedResponseMessage<"AlgorandAddress"> | TypedResponseMessage<"AlgorandSignTx"> | TypedResponseMessage<"AlgorandSignedTx"> | TypedResponseMessage<"AptosGetAddress"> | TypedResponseMessage<"AptosAddress"> | TypedResponseMessage<"AptosSignTx"> | TypedResponseMessage<"AptosSignedTx"> | TypedResponseMessage<"AptosSignMessage"> | TypedResponseMessage<"AptosMessageSignature"> | TypedResponseMessage<"AptosSignSIWAMessage"> | TypedResponseMessage<"BenfenGetAddress"> | TypedResponseMessage<"BenfenAddress"> | TypedResponseMessage<"BenfenSignTx"> | TypedResponseMessage<"BenfenSignedTx"> | TypedResponseMessage<"BenfenTxRequest"> | TypedResponseMessage<"BenfenTxAck"> | TypedResponseMessage<"BenfenSignMessage"> | TypedResponseMessage<"BenfenMessageSignature"> | TypedResponseMessage<"BinanceGetAddress"> | TypedResponseMessage<"BinanceAddress"> | TypedResponseMessage<"BinanceGetPublicKey"> | TypedResponseMessage<"BinancePublicKey"> | TypedResponseMessage<"BinanceSignTx"> | TypedResponseMessage<"BinanceTxRequest"> | TypedResponseMessage<"BinanceTransferMsg"> | TypedResponseMessage<"BinanceOrderMsg"> | TypedResponseMessage<"BinanceCancelMsg"> | TypedResponseMessage<"BinanceSignedTx"> | TypedResponseMessage<"GetPublicKey"> | TypedResponseMessage<"PublicKey"> | TypedResponseMessage<"GetAddress"> | TypedResponseMessage<"GetOwnershipId"> | TypedResponseMessage<"OwnershipId"> | TypedResponseMessage<"SignMessage"> | TypedResponseMessage<"MessageSignature"> | TypedResponseMessage<"VerifyMessage"> | TypedResponseMessage<"SignTx"> | TypedResponseMessage<"TxRequest"> | TypedResponseMessage<"TxAck"> | TypedResponseMessage<"TxAckInput"> | TypedResponseMessage<"TxAckOutput"> | TypedResponseMessage<"TxAckPrevMeta"> | TypedResponseMessage<"TxAckPrevInput"> | TypedResponseMessage<"TxAckPrevOutput"> | TypedResponseMessage<"TxAckPrevExtraData"> | TypedResponseMessage<"GetOwnershipProof"> | TypedResponseMessage<"OwnershipProof"> | TypedResponseMessage<"AuthorizeCoinJoin"> | TypedResponseMessage<"GetPublicKeyMultiple"> | TypedResponseMessage<"PublicKeyMultiple"> | TypedResponseMessage<"SignPsbt"> | TypedResponseMessage<"SignedPsbt"> | TypedResponseMessage<"FirmwareErase"> | TypedResponseMessage<"FirmwareRequest"> | TypedResponseMessage<"FirmwareUpload"> | TypedResponseMessage<"SelfTest"> | TypedResponseMessage<"FirmwareErase_ex"> | TypedResponseMessage<"Reboot"> | TypedResponseMessage<"FirmwareUpdateEmmc"> | TypedResponseMessage<"UpgradeFileHeader"> | TypedResponseMessage<"CardanoGetNativeScriptHash"> | TypedResponseMessage<"CardanoNativeScriptHash"> | TypedResponseMessage<"CardanoGetAddress"> | TypedResponseMessage<"CardanoAddress"> | TypedResponseMessage<"CardanoGetPublicKey"> | TypedResponseMessage<"CardanoPublicKey"> | TypedResponseMessage<"CardanoSignTxInit"> | TypedResponseMessage<"CardanoTxInput"> | TypedResponseMessage<"CardanoTxOutput"> | TypedResponseMessage<"CardanoAssetGroup"> | TypedResponseMessage<"CardanoToken"> | TypedResponseMessage<"CardanoTxInlineDatumChunk"> | TypedResponseMessage<"CardanoTxReferenceScriptChunk"> | TypedResponseMessage<"CardanoPoolOwner"> | TypedResponseMessage<"CardanoPoolRelayParameters"> | TypedResponseMessage<"CardanoTxCertificate"> | TypedResponseMessage<"CardanoTxWithdrawal"> | TypedResponseMessage<"CardanoTxAuxiliaryData"> | TypedResponseMessage<"CardanoTxMint"> | TypedResponseMessage<"CardanoTxCollateralInput"> | TypedResponseMessage<"CardanoTxRequiredSigner"> | TypedResponseMessage<"CardanoTxReferenceInput"> | TypedResponseMessage<"CardanoTxItemAck"> | TypedResponseMessage<"CardanoTxAuxiliaryDataSupplement"> | TypedResponseMessage<"CardanoTxWitnessRequest"> | TypedResponseMessage<"CardanoTxWitnessResponse"> | TypedResponseMessage<"CardanoTxHostAck"> | TypedResponseMessage<"CardanoTxBodyHash"> | TypedResponseMessage<"CardanoSignTxFinished"> | TypedResponseMessage<"CardanoSignMessage"> | TypedResponseMessage<"CardanoMessageSignature"> | TypedResponseMessage<"Failure"> | TypedResponseMessage<"ButtonRequest"> | TypedResponseMessage<"ButtonAck"> | TypedResponseMessage<"PinMatrixRequest"> | TypedResponseMessage<"PinMatrixAck"> | TypedResponseMessage<"PassphraseRequest"> | TypedResponseMessage<"PassphraseAck"> | TypedResponseMessage<"Deprecated_PassphraseStateRequest"> | TypedResponseMessage<"Deprecated_PassphraseStateAck"> | TypedResponseMessage<"BixinPinInputOnDevice"> | TypedResponseMessage<"ConfluxGetAddress"> | TypedResponseMessage<"ConfluxAddress"> | TypedResponseMessage<"ConfluxSignTx"> | TypedResponseMessage<"ConfluxTxRequest"> | TypedResponseMessage<"ConfluxTxAck"> | TypedResponseMessage<"ConfluxSignMessage"> | TypedResponseMessage<"ConfluxMessageSignature"> | TypedResponseMessage<"ConfluxSignMessageCIP23"> | TypedResponseMessage<"CosmosGetAddress"> | TypedResponseMessage<"CosmosAddress"> | TypedResponseMessage<"CosmosSignTx"> | TypedResponseMessage<"CosmosSignedTx"> | TypedResponseMessage<"CipherKeyValue"> | TypedResponseMessage<"CipheredKeyValue"> | TypedResponseMessage<"SignIdentity"> | TypedResponseMessage<"SignedIdentity"> | TypedResponseMessage<"GetECDHSessionKey"> | TypedResponseMessage<"ECDHSessionKey"> | TypedResponseMessage<"CosiCommit"> | TypedResponseMessage<"CosiCommitment"> | TypedResponseMessage<"CosiSign"> | TypedResponseMessage<"CosiSignature"> | TypedResponseMessage<"BatchGetPublickeys"> | TypedResponseMessage<"EcdsaPublicKeys"> | TypedResponseMessage<"DebugLinkDecision"> | TypedResponseMessage<"DebugLinkLayout"> | TypedResponseMessage<"DebugLinkReseedRandom"> | TypedResponseMessage<"DebugLinkRecordScreen"> | TypedResponseMessage<"DebugLinkGetState"> | TypedResponseMessage<"DebugLinkState"> | TypedResponseMessage<"DebugLinkStop"> | TypedResponseMessage<"DebugLinkLog"> | TypedResponseMessage<"DebugLinkMemoryRead"> | TypedResponseMessage<"DebugLinkMemory"> | TypedResponseMessage<"DebugLinkMemoryWrite"> | TypedResponseMessage<"DebugLinkFlashErase"> | TypedResponseMessage<"DebugLinkEraseSdCard"> | TypedResponseMessage<"DebugLinkWatchLayout"> | TypedResponseMessage<"DnxGetAddress"> | TypedResponseMessage<"DnxAddress"> | TypedResponseMessage<"DnxSignTx"> | TypedResponseMessage<"DnxInputRequest"> | TypedResponseMessage<"DnxInputAck"> | TypedResponseMessage<"DnxRTSigsRequest"> | TypedResponseMessage<"DnxSignedTx"> | TypedResponseMessage<"EmmcFixPermission"> | TypedResponseMessage<"EmmcPath"> | TypedResponseMessage<"EmmcPathInfo"> | TypedResponseMessage<"EmmcFileRead"> | TypedResponseMessage<"EmmcFileWrite"> | TypedResponseMessage<"EmmcFileDelete"> | TypedResponseMessage<"EmmcDir"> | TypedResponseMessage<"EmmcDirList"> | TypedResponseMessage<"EmmcDirMake"> | TypedResponseMessage<"EmmcDirRemove"> | TypedResponseMessage<"EosGetPublicKey"> | TypedResponseMessage<"EosPublicKey"> | TypedResponseMessage<"EosSignTx"> | TypedResponseMessage<"EosTxActionRequest"> | TypedResponseMessage<"EosTxActionAck"> | TypedResponseMessage<"EosSignedTx"> | TypedResponseMessage<"EthereumNetworkInfo"> | TypedResponseMessage<"EthereumTokenInfo"> | TypedResponseMessage<"EthereumSignTypedDataOneKey"> | TypedResponseMessage<"EthereumGnosisSafeTxRequest"> | TypedResponseMessage<"EthereumGnosisSafeTxAck"> | TypedResponseMessage<"EthereumTypedDataStructRequestOneKey"> | TypedResponseMessage<"EthereumTypedDataStructAckOneKey"> | TypedResponseMessage<"EthereumTypedDataValueRequestOneKey"> | TypedResponseMessage<"EthereumTypedDataValueAckOneKey"> | TypedResponseMessage<"EthereumSignTypedData"> | TypedResponseMessage<"EthereumTypedDataStructRequest"> | TypedResponseMessage<"EthereumTypedDataStructAck"> | TypedResponseMessage<"EthereumTypedDataValueRequest"> | TypedResponseMessage<"EthereumTypedDataValueAck"> | TypedResponseMessage<"EthereumGetPublicKeyOneKey"> | TypedResponseMessage<"EthereumPublicKeyOneKey"> | TypedResponseMessage<"EthereumGetAddressOneKey"> | TypedResponseMessage<"EthereumAddressOneKey"> | TypedResponseMessage<"EthereumSignTxOneKey"> | TypedResponseMessage<"EthereumSignTxEIP1559OneKey"> | TypedResponseMessage<"EthereumSignTxEIP7702OneKey"> | TypedResponseMessage<"EthereumTxRequestOneKey"> | TypedResponseMessage<"EthereumTxAckOneKey"> | TypedResponseMessage<"EthereumSignMessageOneKey"> | TypedResponseMessage<"EthereumMessageSignatureOneKey"> | TypedResponseMessage<"EthereumVerifyMessageOneKey"> | TypedResponseMessage<"EthereumSignTypedHashOneKey"> | TypedResponseMessage<"EthereumTypedDataSignatureOneKey"> | TypedResponseMessage<"EthereumSignMessageEIP712"> | TypedResponseMessage<"EthereumGetPublicKey"> | TypedResponseMessage<"EthereumPublicKey"> | TypedResponseMessage<"EthereumGetAddress"> | TypedResponseMessage<"EthereumAddress"> | TypedResponseMessage<"EthereumSignTx"> | TypedResponseMessage<"EthereumSignTxEIP1559"> | TypedResponseMessage<"EthereumTxRequest"> | TypedResponseMessage<"EthereumTxAck"> | TypedResponseMessage<"EthereumSignMessage"> | TypedResponseMessage<"EthereumMessageSignature"> | TypedResponseMessage<"EthereumVerifyMessage"> | TypedResponseMessage<"EthereumSignTypedHash"> | TypedResponseMessage<"EthereumTypedDataSignature"> | TypedResponseMessage<"FilecoinGetAddress"> | TypedResponseMessage<"FilecoinAddress"> | TypedResponseMessage<"FilecoinSignTx"> | TypedResponseMessage<"FilecoinSignedTx"> | TypedResponseMessage<"KaspaGetAddress"> | TypedResponseMessage<"KaspaAddress"> | TypedResponseMessage<"KaspaSignTx"> | TypedResponseMessage<"KaspaTxInputRequest"> | TypedResponseMessage<"KaspaTxInputAck"> | TypedResponseMessage<"KaspaTxRequest"> | TypedResponseMessage<"KaspaTxAckInput"> | TypedResponseMessage<"KaspaTxAckOutput"> | TypedResponseMessage<"KaspaTxAckPayloadChunk"> | TypedResponseMessage<"KaspaTxAckPrevMeta"> | TypedResponseMessage<"KaspaTxAckPrevInput"> | TypedResponseMessage<"KaspaTxAckPrevOutput"> | TypedResponseMessage<"KaspaSignedTx"> | TypedResponseMessage<"LnurlAuth"> | TypedResponseMessage<"LnurlAuthResp"> | TypedResponseMessage<"Initialize"> | TypedResponseMessage<"GetFeatures"> | TypedResponseMessage<"OnekeyGetFeatures"> | TypedResponseMessage<"Features"> | TypedResponseMessage<"OnekeyFeatures"> | TypedResponseMessage<"LockDevice"> | TypedResponseMessage<"EndSession"> | TypedResponseMessage<"ApplySettings"> | TypedResponseMessage<"ApplyFlags"> | TypedResponseMessage<"ChangePin"> | TypedResponseMessage<"ChangeWipeCode"> | TypedResponseMessage<"SdProtect"> | TypedResponseMessage<"Ping"> | TypedResponseMessage<"Cancel"> | TypedResponseMessage<"GetEntropy"> | TypedResponseMessage<"Entropy"> | TypedResponseMessage<"WipeDevice"> | TypedResponseMessage<"LoadDevice"> | TypedResponseMessage<"ResetDevice"> | TypedResponseMessage<"BackupDevice"> | TypedResponseMessage<"EntropyRequest"> | TypedResponseMessage<"EntropyAck"> | TypedResponseMessage<"RecoveryDevice"> | TypedResponseMessage<"WordRequest"> | TypedResponseMessage<"WordAck"> | TypedResponseMessage<"SetU2FCounter"> | TypedResponseMessage<"GetNextU2FCounter"> | TypedResponseMessage<"NextU2FCounter"> | TypedResponseMessage<"DoPreauthorized"> | TypedResponseMessage<"PreauthorizedRequest"> | TypedResponseMessage<"CancelAuthorization"> | TypedResponseMessage<"BixinSeedOperate"> | TypedResponseMessage<"BixinMessageSE"> | TypedResponseMessage<"BixinOutMessageSE"> | TypedResponseMessage<"DeviceBackToBoot"> | TypedResponseMessage<"BixinBackupRequest"> | TypedResponseMessage<"BixinBackupAck"> | TypedResponseMessage<"BixinRestoreRequest"> | TypedResponseMessage<"BixinRestoreAck"> | TypedResponseMessage<"BixinVerifyDeviceRequest"> | TypedResponseMessage<"BixinVerifyDeviceAck"> | TypedResponseMessage<"BixinWhiteListRequest"> | TypedResponseMessage<"BixinWhiteListAck"> | TypedResponseMessage<"BixinLoadDevice"> | TypedResponseMessage<"BixinBackupDevice"> | TypedResponseMessage<"BixinBackupDeviceAck"> | TypedResponseMessage<"DeviceInfoSettings"> | TypedResponseMessage<"GetDeviceInfo"> | TypedResponseMessage<"ReadSEPublicKey"> | TypedResponseMessage<"SEPublicKey"> | TypedResponseMessage<"WriteSEPublicCert"> | TypedResponseMessage<"ReadSEPublicCert"> | TypedResponseMessage<"SEPublicCert"> | TypedResponseMessage<"SpiFlashWrite"> | TypedResponseMessage<"SpiFlashRead"> | TypedResponseMessage<"SpiFlashData"> | TypedResponseMessage<"SESignMessage"> | TypedResponseMessage<"SEMessageSignature"> | TypedResponseMessage<"ResourceUpload"> | TypedResponseMessage<"ZoomRequest"> | TypedResponseMessage<"BlurRequest"> | TypedResponseMessage<"ResourceRequest"> | TypedResponseMessage<"ResourceAck"> | TypedResponseMessage<"ResourceUpdate"> | TypedResponseMessage<"NFTWriteInfo"> | TypedResponseMessage<"NFTWriteData"> | TypedResponseMessage<"RebootToBootloader"> | TypedResponseMessage<"RebootToBoardloader"> | TypedResponseMessage<"ListResDir"> | TypedResponseMessage<"FileInfoList"> | TypedResponseMessage<"DeviceEraseSector"> | TypedResponseMessage<"UnLockDevice"> | TypedResponseMessage<"UnLockDeviceResponse"> | TypedResponseMessage<"GetPassphraseState"> | TypedResponseMessage<"MoneroGetAddress"> | TypedResponseMessage<"MoneroAddress"> | TypedResponseMessage<"MoneroGetWatchKey"> | TypedResponseMessage<"MoneroWatchKey"> | TypedResponseMessage<"MoneroTransactionInitRequest"> | TypedResponseMessage<"MoneroTransactionInitAck"> | TypedResponseMessage<"MoneroTransactionSetInputRequest"> | TypedResponseMessage<"MoneroTransactionSetInputAck"> | TypedResponseMessage<"MoneroTransactionInputsPermutationRequest"> | TypedResponseMessage<"MoneroTransactionInputsPermutationAck"> | TypedResponseMessage<"MoneroTransactionInputViniRequest"> | TypedResponseMessage<"MoneroTransactionInputViniAck"> | TypedResponseMessage<"MoneroTransactionAllInputsSetRequest"> | TypedResponseMessage<"MoneroTransactionAllInputsSetAck"> | TypedResponseMessage<"MoneroTransactionSetOutputRequest"> | TypedResponseMessage<"MoneroTransactionSetOutputAck"> | TypedResponseMessage<"MoneroTransactionAllOutSetRequest"> | TypedResponseMessage<"MoneroTransactionAllOutSetAck"> | TypedResponseMessage<"MoneroTransactionSignInputRequest"> | TypedResponseMessage<"MoneroTransactionSignInputAck"> | TypedResponseMessage<"MoneroTransactionFinalRequest"> | TypedResponseMessage<"MoneroTransactionFinalAck"> | TypedResponseMessage<"MoneroKeyImageExportInitRequest"> | TypedResponseMessage<"MoneroKeyImageExportInitAck"> | TypedResponseMessage<"MoneroKeyImageSyncStepRequest"> | TypedResponseMessage<"MoneroKeyImageSyncStepAck"> | TypedResponseMessage<"MoneroKeyImageSyncFinalRequest"> | TypedResponseMessage<"MoneroKeyImageSyncFinalAck"> | TypedResponseMessage<"MoneroGetTxKeyRequest"> | TypedResponseMessage<"MoneroGetTxKeyAck"> | TypedResponseMessage<"MoneroLiveRefreshStartRequest"> | TypedResponseMessage<"MoneroLiveRefreshStartAck"> | TypedResponseMessage<"MoneroLiveRefreshStepRequest"> | TypedResponseMessage<"MoneroLiveRefreshStepAck"> | TypedResponseMessage<"MoneroLiveRefreshFinalRequest"> | TypedResponseMessage<"MoneroLiveRefreshFinalAck"> | TypedResponseMessage<"DebugMoneroDiagRequest"> | TypedResponseMessage<"DebugMoneroDiagAck"> | TypedResponseMessage<"NearGetAddress"> | TypedResponseMessage<"NearAddress"> | TypedResponseMessage<"NearSignTx"> | TypedResponseMessage<"NearSignedTx"> | TypedResponseMessage<"NEMGetAddress"> | TypedResponseMessage<"NEMAddress"> | TypedResponseMessage<"NEMSignTx"> | TypedResponseMessage<"NEMSignedTx"> | TypedResponseMessage<"NEMDecryptMessage"> | TypedResponseMessage<"NEMDecryptedMessage"> | TypedResponseMessage<"NeoGetAddress"> | TypedResponseMessage<"NeoAddress"> | TypedResponseMessage<"NeoSignTx"> | TypedResponseMessage<"NeoSignedTx"> | TypedResponseMessage<"NervosGetAddress"> | TypedResponseMessage<"NervosAddress"> | TypedResponseMessage<"NervosSignTx"> | TypedResponseMessage<"NervosSignedTx"> | TypedResponseMessage<"NervosTxRequest"> | TypedResponseMessage<"NervosTxAck"> | TypedResponseMessage<"NexaGetAddress"> | TypedResponseMessage<"NexaAddress"> | TypedResponseMessage<"NexaSignTx"> | TypedResponseMessage<"NexaTxInputRequest"> | TypedResponseMessage<"NexaTxInputAck"> | TypedResponseMessage<"NexaSignedTx"> | TypedResponseMessage<"NostrGetPublicKey"> | TypedResponseMessage<"NostrPublicKey"> | TypedResponseMessage<"NostrSignEvent"> | TypedResponseMessage<"NostrSignedEvent"> | TypedResponseMessage<"NostrSignSchnorr"> | TypedResponseMessage<"NostrSignedSchnorr"> | TypedResponseMessage<"NostrEncryptMessage"> | TypedResponseMessage<"NostrEncryptedMessage"> | TypedResponseMessage<"NostrDecryptMessage"> | TypedResponseMessage<"NostrDecryptedMessage"> | TypedResponseMessage<"PolkadotGetAddress"> | TypedResponseMessage<"PolkadotAddress"> | TypedResponseMessage<"PolkadotSignTx"> | TypedResponseMessage<"PolkadotSignedTx"> | TypedResponseMessage<"RippleGetAddress"> | TypedResponseMessage<"RippleAddress"> | TypedResponseMessage<"RippleSignTx"> | TypedResponseMessage<"RippleSignedTx"> | TypedResponseMessage<"ScdoGetAddress"> | TypedResponseMessage<"ScdoAddress"> | TypedResponseMessage<"ScdoSignTx"> | TypedResponseMessage<"ScdoSignedTx"> | TypedResponseMessage<"ScdoTxAck"> | TypedResponseMessage<"ScdoSignMessage"> | TypedResponseMessage<"ScdoSignedMessage"> | TypedResponseMessage<"SolanaGetAddress"> | TypedResponseMessage<"SolanaAddress"> | TypedResponseMessage<"SolanaSignTx"> | TypedResponseMessage<"SolanaSignedTx"> | TypedResponseMessage<"SolanaSignOffChainMessage"> | TypedResponseMessage<"SolanaSignUnsafeMessage"> | TypedResponseMessage<"SolanaMessageSignature"> | TypedResponseMessage<"StarcoinGetAddress"> | TypedResponseMessage<"StarcoinAddress"> | TypedResponseMessage<"StarcoinGetPublicKey"> | TypedResponseMessage<"StarcoinPublicKey"> | TypedResponseMessage<"StarcoinSignTx"> | TypedResponseMessage<"StarcoinSignedTx"> | TypedResponseMessage<"StarcoinSignMessage"> | TypedResponseMessage<"StarcoinMessageSignature"> | TypedResponseMessage<"StarcoinVerifyMessage"> | TypedResponseMessage<"StellarGetAddress"> | TypedResponseMessage<"StellarAddress"> | TypedResponseMessage<"StellarSignTx"> | TypedResponseMessage<"StellarTxOpRequest"> | TypedResponseMessage<"StellarPaymentOp"> | TypedResponseMessage<"StellarCreateAccountOp"> | TypedResponseMessage<"StellarPathPaymentStrictReceiveOp"> | TypedResponseMessage<"StellarPathPaymentStrictSendOp"> | TypedResponseMessage<"StellarManageSellOfferOp"> | TypedResponseMessage<"StellarManageBuyOfferOp"> | TypedResponseMessage<"StellarCreatePassiveSellOfferOp"> | TypedResponseMessage<"StellarSetOptionsOp"> | TypedResponseMessage<"StellarChangeTrustOp"> | TypedResponseMessage<"StellarAllowTrustOp"> | TypedResponseMessage<"StellarAccountMergeOp"> | TypedResponseMessage<"StellarManageDataOp"> | TypedResponseMessage<"StellarBumpSequenceOp"> | TypedResponseMessage<"StellarInvokeHostFunctionOp"> | TypedResponseMessage<"StellarSorobanDataRequest"> | TypedResponseMessage<"StellarSorobanDataAck"> | TypedResponseMessage<"StellarSignedTx"> | TypedResponseMessage<"SuiGetAddress"> | TypedResponseMessage<"SuiAddress"> | TypedResponseMessage<"SuiSignTx"> | TypedResponseMessage<"SuiSignedTx"> | TypedResponseMessage<"SuiTxRequest"> | TypedResponseMessage<"SuiTxAck"> | TypedResponseMessage<"SuiSignMessage"> | TypedResponseMessage<"SuiMessageSignature"> | TypedResponseMessage<"TezosGetAddress"> | TypedResponseMessage<"TezosAddress"> | TypedResponseMessage<"TezosGetPublicKey"> | TypedResponseMessage<"TezosPublicKey"> | TypedResponseMessage<"TezosSignTx"> | TypedResponseMessage<"TezosSignedTx"> | TypedResponseMessage<"TonGetAddress"> | TypedResponseMessage<"TonAddress"> | TypedResponseMessage<"TonSignMessage"> | TypedResponseMessage<"TonTxAck"> | TypedResponseMessage<"TonSignedMessage"> | TypedResponseMessage<"TonSignProof"> | TypedResponseMessage<"TonSignedProof"> | TypedResponseMessage<"TonSignData"> | TypedResponseMessage<"TonSignedData"> | TypedResponseMessage<"TronGetAddress"> | TypedResponseMessage<"TronAddress"> | TypedResponseMessage<"TronSignTx"> | TypedResponseMessage<"TronSignedTx"> | TypedResponseMessage<"TronSignMessage"> | TypedResponseMessage<"TronMessageSignature"> | TypedResponseMessage<"WebAuthnListResidentCredentials"> | TypedResponseMessage<"WebAuthnAddResidentCredential"> | TypedResponseMessage<"WebAuthnRemoveResidentCredential"> | TypedResponseMessage<"WebAuthnCredentials"> | TypedResponseMessage<"facotry"> | TypedResponseMessage<"experimental_message"> | TypedResponseMessage<"experimental_field"> | TypedResponseMessage<"TxAckPaymentRequest"> | TypedResponseMessage<"EthereumSignTypedDataQR"> | TypedResponseMessage<"SetBusy"> | TypedResponseMessage<"GetFirmwareHash"> | TypedResponseMessage<"FirmwareHash"> | TypedResponseMessage<"GetNonce"> | TypedResponseMessage<"Nonce"> | TypedResponseMessage<"WriteSEPrivateKey"> | TypedResponseMessage<"UnlockPath"> | TypedResponseMessage<"UnlockedPathRequest"> | TypedResponseMessage<"UiAnimationRequest"> | TypedResponseMessage<"ProtocolInfoRequest"> | TypedResponseMessage<"DeviceReboot"> | TypedResponseMessage<"DeviceSettingsGet"> | TypedResponseMessage<"DeviceSettingsSet"> | TypedResponseMessage<"DeviceSettingsPageShow"> | TypedResponseMessage<"DeviceCertificateWrite"> | TypedResponseMessage<"DeviceCertificateRead"> | TypedResponseMessage<"DeviceCertificateSignature"> | TypedResponseMessage<"DeviceCertificateSign"> | TypedResponseMessage<"DeviceMiscUsbMscControl"> | TypedResponseMessage<"DeviceFactoryInfoSet"> | TypedResponseMessage<"DeviceFactoryInfoGet"> | TypedResponseMessage<"DeviceFactoryPermanentLock"> | TypedResponseMessage<"DeviceFactoryTest"> | TypedResponseMessage<"DeviceFirmwareUpdateRequest"> | TypedResponseMessage<"DeviceFirmwareUpdateStatusGet"> | TypedResponseMessage<"DeviceInfoGet"> | TypedResponseMessage<"DeviceSessionGet"> | TypedResponseMessage<"DeviceSessionAskPin"> | TypedResponseMessage<"DeviceSessionAskPassphrase"> | TypedResponseMessage<"DeviceStatusGet"> | TypedResponseMessage<"FilesystemPermissionFix"> | TypedResponseMessage<"FilesystemPathInfo"> | TypedResponseMessage<"FilesystemPathInfoQuery"> | TypedResponseMessage<"FilesystemFileRead"> | TypedResponseMessage<"FilesystemFileWrite"> | TypedResponseMessage<"FilesystemFileDelete"> | TypedResponseMessage<"FilesystemDir"> | TypedResponseMessage<"FilesystemDirList"> | TypedResponseMessage<"FilesystemDirMake"> | TypedResponseMessage<"FilesystemDirRemove"> | TypedResponseMessage<"FilesystemFormat"> | TypedResponseMessage<"InternalMyAddressRequest"> | TypedResponseMessage<"NftUpdate"> | TypedResponseMessage<"OnboardingStatusGet"> | TypedResponseMessage<"OnboardingStatus"> | TypedResponseMessage<"PortfolioUpdate"> | TypedResponseMessage<"ViewSignPage"> | TypedResponseMessage<"ViewVerifyPage">;
|
|
4482
|
+
declare function patchFeatures(response: DefaultMessageResponse): TypedResponseMessage<"DeviceStatus"> | TypedResponseMessage<"DeviceSession"> | TypedResponseMessage<"Success"> | TypedResponseMessage<"PassphraseState"> | TypedResponseMessage<"Address"> | TypedResponseMessage<"ProtocolInfo"> | TypedResponseMessage<"DeviceInfo"> | TypedResponseMessage<"DeviceFirmwareUpdateStatus"> | TypedResponseMessage<"AptosMessagePayload"> | TypedResponseMessage<"BinanceInputOutput"> | TypedResponseMessage<"BinanceCoin"> | TypedResponseMessage<"HDNodePathType"> | TypedResponseMessage<"HDNodeType"> | TypedResponseMessage<"MultisigRedeemScriptType"> | TypedResponseMessage<"TxRequestDetailsType"> | TypedResponseMessage<"TxRequestSerializedType"> | TypedResponseMessage<"TxInputType"> | TypedResponseMessage<"TxOutputBinType"> | TypedResponseMessage<"TxOutputType"> | TypedResponseMessage<"TxAckInputWrapper"> | TypedResponseMessage<"TxAckOutputWrapper"> | TypedResponseMessage<"PrevTx"> | TypedResponseMessage<"TxAckPrevInputWrapper"> | TypedResponseMessage<"PrevInput"> | TypedResponseMessage<"TxAckPrevOutputWrapper"> | TypedResponseMessage<"PrevOutput"> | TypedResponseMessage<"TxAckPrevExtraDataWrapper"> | TypedResponseMessage<"BIP32Address"> | TypedResponseMessage<"CardanoNativeScript"> | TypedResponseMessage<"CardanoBlockchainPointerType"> | TypedResponseMessage<"CardanoAddressParametersType"> | TypedResponseMessage<"CardanoPoolMetadataType"> | TypedResponseMessage<"CardanoPoolParametersType"> | TypedResponseMessage<"CardanoDRep"> | TypedResponseMessage<"CardanoCVoteRegistrationDelegation"> | TypedResponseMessage<"CardanoCVoteRegistrationParametersType"> | TypedResponseMessage<"IdentityType"> | TypedResponseMessage<"Path"> | TypedResponseMessage<"DnxTxKey"> | TypedResponseMessage<"DnxComputedKeyImage"> | TypedResponseMessage<"EmmcFile"> | TypedResponseMessage<"EosTxHeader"> | TypedResponseMessage<"EosActionCommon"> | TypedResponseMessage<"EosActionTransfer"> | TypedResponseMessage<"EosActionDelegate"> | TypedResponseMessage<"EosActionUndelegate"> | TypedResponseMessage<"EosActionRefund"> | TypedResponseMessage<"EosActionBuyRam"> | TypedResponseMessage<"EosActionBuyRamBytes"> | TypedResponseMessage<"EosActionSellRam"> | TypedResponseMessage<"EosActionVoteProducer"> | TypedResponseMessage<"EosActionUpdateAuth"> | TypedResponseMessage<"EosActionDeleteAuth"> | TypedResponseMessage<"EosActionLinkAuth"> | TypedResponseMessage<"EosActionUnlinkAuth"> | TypedResponseMessage<"EosActionNewAccount"> | TypedResponseMessage<"EosActionUnknown"> | TypedResponseMessage<"EosPermissionLevel"> | TypedResponseMessage<"EosAuthorizationKey"> | TypedResponseMessage<"EosAuthorizationAccount"> | TypedResponseMessage<"EosAuthorizationWait"> | TypedResponseMessage<"EosAsset"> | TypedResponseMessage<"EosAuthorization"> | TypedResponseMessage<"EthereumStructMemberOneKey"> | TypedResponseMessage<"EthereumFieldTypeOneKey"> | TypedResponseMessage<"EthereumDefinitions"> | TypedResponseMessage<"EthereumStructMember"> | TypedResponseMessage<"EthereumFieldType"> | TypedResponseMessage<"EthereumAccessListOneKey"> | TypedResponseMessage<"EthereumAuthorizationOneKey"> | TypedResponseMessage<"EthereumAuthorizationSignature"> | TypedResponseMessage<"EthereumAccessList"> | TypedResponseMessage<"KaspaTxRequestSignature"> | TypedResponseMessage<"KaspaOutpoint"> | TypedResponseMessage<"FileInfo"> | TypedResponseMessage<"MoneroOutputEntry"> | TypedResponseMessage<"MoneroMultisigKLRki"> | TypedResponseMessage<"MoneroRctKeyPublic"> | TypedResponseMessage<"MoneroAccountPublicAddress"> | TypedResponseMessage<"MoneroTransactionData"> | TypedResponseMessage<"MoneroTransactionDestinationEntry"> | TypedResponseMessage<"MoneroTransactionRsigData"> | TypedResponseMessage<"MoneroTransactionSourceEntry"> | TypedResponseMessage<"MoneroRingCtSig"> | TypedResponseMessage<"MoneroSubAddressIndicesList"> | TypedResponseMessage<"MoneroTransferDetails"> | TypedResponseMessage<"MoneroExportedKeyImage"> | TypedResponseMessage<"NEMTransactionCommon"> | TypedResponseMessage<"NEMTransfer"> | TypedResponseMessage<"NEMProvisionNamespace"> | TypedResponseMessage<"NEMMosaicCreation"> | TypedResponseMessage<"NEMMosaicSupplyChange"> | TypedResponseMessage<"NEMAggregateModification"> | TypedResponseMessage<"NEMImportanceTransfer"> | TypedResponseMessage<"NEMMosaic"> | TypedResponseMessage<"NEMMosaicDefinition"> | TypedResponseMessage<"NEMCosignatoryModification"> | TypedResponseMessage<"RipplePayment"> | TypedResponseMessage<"SolanaTxATADetails"> | TypedResponseMessage<"SolanaTxExtraInfo"> | TypedResponseMessage<"StellarAsset"> | TypedResponseMessage<"TezosRevealOp"> | TypedResponseMessage<"TezosTransactionOp"> | TypedResponseMessage<"TezosOriginationOp"> | TypedResponseMessage<"TezosDelegationOp"> | TypedResponseMessage<"TezosProposalOp"> | TypedResponseMessage<"TezosBallotOp"> | TypedResponseMessage<"TezosContractID"> | TypedResponseMessage<"TezosParametersManager"> | TypedResponseMessage<"TezosManagerTransfer"> | TypedResponseMessage<"TronContract"> | TypedResponseMessage<"TronTransferContract"> | TypedResponseMessage<"TronVoteWitnessContract"> | TypedResponseMessage<"TronFreezeBalanceContract"> | TypedResponseMessage<"TronUnfreezeBalanceContract"> | TypedResponseMessage<"TronWithdrawBalanceContract"> | TypedResponseMessage<"TronTriggerSmartContract"> | TypedResponseMessage<"TronFreezeBalanceV2Contract"> | TypedResponseMessage<"TronUnfreezeBalanceV2Contract"> | TypedResponseMessage<"TronWithdrawExpireUnfreezeContract"> | TypedResponseMessage<"TronDelegateResourceContract"> | TypedResponseMessage<"TronUnDelegateResourceContract"> | TypedResponseMessage<"TronCancelAllUnfreezeV2Contract"> | TypedResponseMessage<"Vote"> | TypedResponseMessage<"CoinJoinRequest"> | TypedResponseMessage<"PaymentRequestMemo"> | TypedResponseMessage<"TextMemo"> | TypedResponseMessage<"RefundMemo"> | TypedResponseMessage<"CoinPurchaseMemo"> | TypedResponseMessage<"DeviceSettings"> | TypedResponseMessage<"DeviceCertificate"> | TypedResponseMessage<"DeviceFactoryInfoManufactureTime"> | TypedResponseMessage<"DeviceFactoryInfo"> | TypedResponseMessage<"DeviceFirmwareTarget"> | TypedResponseMessage<"DeviceFirmwareUpdateRecordFields"> | TypedResponseMessage<"DeviceFirmwareUpdateRecord"> | TypedResponseMessage<"DeviceFirmwareImageInfo"> | TypedResponseMessage<"DeviceInfoTargets"> | TypedResponseMessage<"DeviceInfoTypes"> | TypedResponseMessage<"DeviceHardwareInfo"> | TypedResponseMessage<"DeviceMainMcuInfo"> | TypedResponseMessage<"DeviceCoprocessorInfo"> | TypedResponseMessage<"DeviceSEInfo"> | TypedResponseMessage<"FilesystemFile"> | TypedResponseMessage<"OnboardingSetupStatus"> | TypedResponseMessage<"ViewAmount"> | TypedResponseMessage<"ViewDetail"> | TypedResponseMessage<"ViewTip"> | TypedResponseMessage<"ViewRawData"> | TypedResponseMessage<"AlephiumGetAddress"> | TypedResponseMessage<"AlephiumAddress"> | TypedResponseMessage<"AlephiumSignTx"> | TypedResponseMessage<"AlephiumSignedTx"> | TypedResponseMessage<"AlephiumTxRequest"> | TypedResponseMessage<"AlephiumTxAck"> | TypedResponseMessage<"AlephiumBytecodeRequest"> | TypedResponseMessage<"AlephiumBytecodeAck"> | TypedResponseMessage<"AlephiumSignMessage"> | TypedResponseMessage<"AlephiumMessageSignature"> | TypedResponseMessage<"AlgorandGetAddress"> | TypedResponseMessage<"AlgorandAddress"> | TypedResponseMessage<"AlgorandSignTx"> | TypedResponseMessage<"AlgorandSignedTx"> | TypedResponseMessage<"AptosGetAddress"> | TypedResponseMessage<"AptosAddress"> | TypedResponseMessage<"AptosSignTx"> | TypedResponseMessage<"AptosSignedTx"> | TypedResponseMessage<"AptosSignMessage"> | TypedResponseMessage<"AptosMessageSignature"> | TypedResponseMessage<"AptosSignSIWAMessage"> | TypedResponseMessage<"BenfenGetAddress"> | TypedResponseMessage<"BenfenAddress"> | TypedResponseMessage<"BenfenSignTx"> | TypedResponseMessage<"BenfenSignedTx"> | TypedResponseMessage<"BenfenTxRequest"> | TypedResponseMessage<"BenfenTxAck"> | TypedResponseMessage<"BenfenSignMessage"> | TypedResponseMessage<"BenfenMessageSignature"> | TypedResponseMessage<"BinanceGetAddress"> | TypedResponseMessage<"BinanceAddress"> | TypedResponseMessage<"BinanceGetPublicKey"> | TypedResponseMessage<"BinancePublicKey"> | TypedResponseMessage<"BinanceSignTx"> | TypedResponseMessage<"BinanceTxRequest"> | TypedResponseMessage<"BinanceTransferMsg"> | TypedResponseMessage<"BinanceOrderMsg"> | TypedResponseMessage<"BinanceCancelMsg"> | TypedResponseMessage<"BinanceSignedTx"> | TypedResponseMessage<"GetPublicKey"> | TypedResponseMessage<"PublicKey"> | TypedResponseMessage<"GetAddress"> | TypedResponseMessage<"GetOwnershipId"> | TypedResponseMessage<"OwnershipId"> | TypedResponseMessage<"SignMessage"> | TypedResponseMessage<"MessageSignature"> | TypedResponseMessage<"VerifyMessage"> | TypedResponseMessage<"SignTx"> | TypedResponseMessage<"TxRequest"> | TypedResponseMessage<"TxAck"> | TypedResponseMessage<"TxAckInput"> | TypedResponseMessage<"TxAckOutput"> | TypedResponseMessage<"TxAckPrevMeta"> | TypedResponseMessage<"TxAckPrevInput"> | TypedResponseMessage<"TxAckPrevOutput"> | TypedResponseMessage<"TxAckPrevExtraData"> | TypedResponseMessage<"GetOwnershipProof"> | TypedResponseMessage<"OwnershipProof"> | TypedResponseMessage<"AuthorizeCoinJoin"> | TypedResponseMessage<"GetPublicKeyMultiple"> | TypedResponseMessage<"PublicKeyMultiple"> | TypedResponseMessage<"SignPsbt"> | TypedResponseMessage<"SignedPsbt"> | TypedResponseMessage<"FirmwareErase"> | TypedResponseMessage<"FirmwareRequest"> | TypedResponseMessage<"FirmwareUpload"> | TypedResponseMessage<"SelfTest"> | TypedResponseMessage<"FirmwareErase_ex"> | TypedResponseMessage<"Reboot"> | TypedResponseMessage<"FirmwareUpdateEmmc"> | TypedResponseMessage<"UpgradeFileHeader"> | TypedResponseMessage<"CardanoGetNativeScriptHash"> | TypedResponseMessage<"CardanoNativeScriptHash"> | TypedResponseMessage<"CardanoGetAddress"> | TypedResponseMessage<"CardanoAddress"> | TypedResponseMessage<"CardanoGetPublicKey"> | TypedResponseMessage<"CardanoPublicKey"> | TypedResponseMessage<"CardanoSignTxInit"> | TypedResponseMessage<"CardanoTxInput"> | TypedResponseMessage<"CardanoTxOutput"> | TypedResponseMessage<"CardanoAssetGroup"> | TypedResponseMessage<"CardanoToken"> | TypedResponseMessage<"CardanoTxInlineDatumChunk"> | TypedResponseMessage<"CardanoTxReferenceScriptChunk"> | TypedResponseMessage<"CardanoPoolOwner"> | TypedResponseMessage<"CardanoPoolRelayParameters"> | TypedResponseMessage<"CardanoTxCertificate"> | TypedResponseMessage<"CardanoTxWithdrawal"> | TypedResponseMessage<"CardanoTxAuxiliaryData"> | TypedResponseMessage<"CardanoTxMint"> | TypedResponseMessage<"CardanoTxCollateralInput"> | TypedResponseMessage<"CardanoTxRequiredSigner"> | TypedResponseMessage<"CardanoTxReferenceInput"> | TypedResponseMessage<"CardanoTxItemAck"> | TypedResponseMessage<"CardanoTxAuxiliaryDataSupplement"> | TypedResponseMessage<"CardanoTxWitnessRequest"> | TypedResponseMessage<"CardanoTxWitnessResponse"> | TypedResponseMessage<"CardanoTxHostAck"> | TypedResponseMessage<"CardanoTxBodyHash"> | TypedResponseMessage<"CardanoSignTxFinished"> | TypedResponseMessage<"CardanoSignMessage"> | TypedResponseMessage<"CardanoMessageSignature"> | TypedResponseMessage<"Failure"> | TypedResponseMessage<"ButtonRequest"> | TypedResponseMessage<"ButtonAck"> | TypedResponseMessage<"PinMatrixRequest"> | TypedResponseMessage<"PinMatrixAck"> | TypedResponseMessage<"PassphraseRequest"> | TypedResponseMessage<"PassphraseAck"> | TypedResponseMessage<"Deprecated_PassphraseStateRequest"> | TypedResponseMessage<"Deprecated_PassphraseStateAck"> | TypedResponseMessage<"BixinPinInputOnDevice"> | TypedResponseMessage<"ConfluxGetAddress"> | TypedResponseMessage<"ConfluxAddress"> | TypedResponseMessage<"ConfluxSignTx"> | TypedResponseMessage<"ConfluxTxRequest"> | TypedResponseMessage<"ConfluxTxAck"> | TypedResponseMessage<"ConfluxSignMessage"> | TypedResponseMessage<"ConfluxMessageSignature"> | TypedResponseMessage<"ConfluxSignMessageCIP23"> | TypedResponseMessage<"CosmosGetAddress"> | TypedResponseMessage<"CosmosAddress"> | TypedResponseMessage<"CosmosSignTx"> | TypedResponseMessage<"CosmosSignedTx"> | TypedResponseMessage<"CipherKeyValue"> | TypedResponseMessage<"CipheredKeyValue"> | TypedResponseMessage<"SignIdentity"> | TypedResponseMessage<"SignedIdentity"> | TypedResponseMessage<"GetECDHSessionKey"> | TypedResponseMessage<"ECDHSessionKey"> | TypedResponseMessage<"BatchGetPublickeys"> | TypedResponseMessage<"EcdsaPublicKeys"> | TypedResponseMessage<"DnxGetAddress"> | TypedResponseMessage<"DnxAddress"> | TypedResponseMessage<"DnxSignTx"> | TypedResponseMessage<"DnxInputRequest"> | TypedResponseMessage<"DnxInputAck"> | TypedResponseMessage<"DnxRTSigsRequest"> | TypedResponseMessage<"DnxSignedTx"> | TypedResponseMessage<"EmmcFixPermission"> | TypedResponseMessage<"EmmcPath"> | TypedResponseMessage<"EmmcPathInfo"> | TypedResponseMessage<"EmmcFileRead"> | TypedResponseMessage<"EmmcFileWrite"> | TypedResponseMessage<"EmmcFileDelete"> | TypedResponseMessage<"EmmcDir"> | TypedResponseMessage<"EmmcDirList"> | TypedResponseMessage<"EmmcDirMake"> | TypedResponseMessage<"EmmcDirRemove"> | TypedResponseMessage<"EosGetPublicKey"> | TypedResponseMessage<"EosPublicKey"> | TypedResponseMessage<"EosSignTx"> | TypedResponseMessage<"EosTxActionRequest"> | TypedResponseMessage<"EosTxActionAck"> | TypedResponseMessage<"EosSignedTx"> | TypedResponseMessage<"EthereumNetworkInfo"> | TypedResponseMessage<"EthereumTokenInfo"> | TypedResponseMessage<"EthereumSignTypedDataOneKey"> | TypedResponseMessage<"EthereumGnosisSafeTxRequest"> | TypedResponseMessage<"EthereumGnosisSafeTxAck"> | TypedResponseMessage<"EthereumTypedDataStructRequestOneKey"> | TypedResponseMessage<"EthereumTypedDataStructAckOneKey"> | TypedResponseMessage<"EthereumTypedDataValueRequestOneKey"> | TypedResponseMessage<"EthereumTypedDataValueAckOneKey"> | TypedResponseMessage<"EthereumSignTypedData"> | TypedResponseMessage<"EthereumTypedDataStructRequest"> | TypedResponseMessage<"EthereumTypedDataStructAck"> | TypedResponseMessage<"EthereumTypedDataValueRequest"> | TypedResponseMessage<"EthereumTypedDataValueAck"> | TypedResponseMessage<"EthereumGetPublicKeyOneKey"> | TypedResponseMessage<"EthereumPublicKeyOneKey"> | TypedResponseMessage<"EthereumGetAddressOneKey"> | TypedResponseMessage<"EthereumAddressOneKey"> | TypedResponseMessage<"EthereumSignTxOneKey"> | TypedResponseMessage<"EthereumSignTxEIP1559OneKey"> | TypedResponseMessage<"EthereumSignTxEIP7702OneKey"> | TypedResponseMessage<"EthereumTxRequestOneKey"> | TypedResponseMessage<"EthereumTxAckOneKey"> | TypedResponseMessage<"EthereumSignMessageOneKey"> | TypedResponseMessage<"EthereumMessageSignatureOneKey"> | TypedResponseMessage<"EthereumVerifyMessageOneKey"> | TypedResponseMessage<"EthereumSignTypedHashOneKey"> | TypedResponseMessage<"EthereumTypedDataSignatureOneKey"> | TypedResponseMessage<"EthereumSignMessageEIP712"> | TypedResponseMessage<"EthereumGetPublicKey"> | TypedResponseMessage<"EthereumPublicKey"> | TypedResponseMessage<"EthereumGetAddress"> | TypedResponseMessage<"EthereumAddress"> | TypedResponseMessage<"EthereumSignTx"> | TypedResponseMessage<"EthereumSignTxEIP1559"> | TypedResponseMessage<"EthereumTxRequest"> | TypedResponseMessage<"EthereumTxAck"> | TypedResponseMessage<"EthereumSignMessage"> | TypedResponseMessage<"EthereumMessageSignature"> | TypedResponseMessage<"EthereumVerifyMessage"> | TypedResponseMessage<"EthereumSignTypedHash"> | TypedResponseMessage<"EthereumTypedDataSignature"> | TypedResponseMessage<"FilecoinGetAddress"> | TypedResponseMessage<"FilecoinAddress"> | TypedResponseMessage<"FilecoinSignTx"> | TypedResponseMessage<"FilecoinSignedTx"> | TypedResponseMessage<"KaspaGetAddress"> | TypedResponseMessage<"KaspaAddress"> | TypedResponseMessage<"KaspaSignTx"> | TypedResponseMessage<"KaspaTxInputRequest"> | TypedResponseMessage<"KaspaTxInputAck"> | TypedResponseMessage<"KaspaTxRequest"> | TypedResponseMessage<"KaspaTxAckInput"> | TypedResponseMessage<"KaspaTxAckOutput"> | TypedResponseMessage<"KaspaTxAckPayloadChunk"> | TypedResponseMessage<"KaspaTxAckPrevMeta"> | TypedResponseMessage<"KaspaTxAckPrevInput"> | TypedResponseMessage<"KaspaTxAckPrevOutput"> | TypedResponseMessage<"KaspaSignedTx"> | TypedResponseMessage<"LnurlAuth"> | TypedResponseMessage<"LnurlAuthResp"> | TypedResponseMessage<"Initialize"> | TypedResponseMessage<"GetFeatures"> | TypedResponseMessage<"OnekeyGetFeatures"> | TypedResponseMessage<"Features"> | TypedResponseMessage<"OnekeyFeatures"> | TypedResponseMessage<"LockDevice"> | TypedResponseMessage<"EndSession"> | TypedResponseMessage<"ApplySettings"> | TypedResponseMessage<"ApplyFlags"> | TypedResponseMessage<"ChangePin"> | TypedResponseMessage<"ChangeWipeCode"> | TypedResponseMessage<"SdProtect"> | TypedResponseMessage<"Ping"> | TypedResponseMessage<"Cancel"> | TypedResponseMessage<"GetEntropy"> | TypedResponseMessage<"Entropy"> | TypedResponseMessage<"WipeDevice"> | TypedResponseMessage<"ResetDevice"> | TypedResponseMessage<"BackupDevice"> | TypedResponseMessage<"EntropyRequest"> | TypedResponseMessage<"EntropyAck"> | TypedResponseMessage<"RecoveryDevice"> | TypedResponseMessage<"WordRequest"> | TypedResponseMessage<"WordAck"> | TypedResponseMessage<"SetU2FCounter"> | TypedResponseMessage<"GetNextU2FCounter"> | TypedResponseMessage<"NextU2FCounter"> | TypedResponseMessage<"DoPreauthorized"> | TypedResponseMessage<"PreauthorizedRequest"> | TypedResponseMessage<"CancelAuthorization"> | TypedResponseMessage<"BixinSeedOperate"> | TypedResponseMessage<"BixinMessageSE"> | TypedResponseMessage<"BixinOutMessageSE"> | TypedResponseMessage<"DeviceBackToBoot"> | TypedResponseMessage<"BixinBackupRequest"> | TypedResponseMessage<"BixinBackupAck"> | TypedResponseMessage<"BixinRestoreRequest"> | TypedResponseMessage<"BixinRestoreAck"> | TypedResponseMessage<"BixinVerifyDeviceRequest"> | TypedResponseMessage<"BixinVerifyDeviceAck"> | TypedResponseMessage<"BixinWhiteListRequest"> | TypedResponseMessage<"BixinWhiteListAck"> | TypedResponseMessage<"BixinLoadDevice"> | TypedResponseMessage<"BixinBackupDevice"> | TypedResponseMessage<"BixinBackupDeviceAck"> | TypedResponseMessage<"DeviceInfoSettings"> | TypedResponseMessage<"GetDeviceInfo"> | TypedResponseMessage<"ReadSEPublicKey"> | TypedResponseMessage<"SEPublicKey"> | TypedResponseMessage<"WriteSEPublicCert"> | TypedResponseMessage<"ReadSEPublicCert"> | TypedResponseMessage<"SEPublicCert"> | TypedResponseMessage<"SpiFlashWrite"> | TypedResponseMessage<"SpiFlashRead"> | TypedResponseMessage<"SpiFlashData"> | TypedResponseMessage<"SESignMessage"> | TypedResponseMessage<"SEMessageSignature"> | TypedResponseMessage<"ResourceUpload"> | TypedResponseMessage<"ZoomRequest"> | TypedResponseMessage<"BlurRequest"> | TypedResponseMessage<"ResourceRequest"> | TypedResponseMessage<"ResourceAck"> | TypedResponseMessage<"ResourceUpdate"> | TypedResponseMessage<"NFTWriteInfo"> | TypedResponseMessage<"NFTWriteData"> | TypedResponseMessage<"RebootToBootloader"> | TypedResponseMessage<"RebootToBoardloader"> | TypedResponseMessage<"ListResDir"> | TypedResponseMessage<"FileInfoList"> | TypedResponseMessage<"DeviceEraseSector"> | TypedResponseMessage<"UnLockDevice"> | TypedResponseMessage<"UnLockDeviceResponse"> | TypedResponseMessage<"GetPassphraseState"> | TypedResponseMessage<"MoneroGetAddress"> | TypedResponseMessage<"MoneroAddress"> | TypedResponseMessage<"MoneroGetWatchKey"> | TypedResponseMessage<"MoneroWatchKey"> | TypedResponseMessage<"MoneroTransactionInitRequest"> | TypedResponseMessage<"MoneroTransactionInitAck"> | TypedResponseMessage<"MoneroTransactionSetInputRequest"> | TypedResponseMessage<"MoneroTransactionSetInputAck"> | TypedResponseMessage<"MoneroTransactionInputsPermutationRequest"> | TypedResponseMessage<"MoneroTransactionInputsPermutationAck"> | TypedResponseMessage<"MoneroTransactionInputViniRequest"> | TypedResponseMessage<"MoneroTransactionInputViniAck"> | TypedResponseMessage<"MoneroTransactionAllInputsSetRequest"> | TypedResponseMessage<"MoneroTransactionAllInputsSetAck"> | TypedResponseMessage<"MoneroTransactionSetOutputRequest"> | TypedResponseMessage<"MoneroTransactionSetOutputAck"> | TypedResponseMessage<"MoneroTransactionAllOutSetRequest"> | TypedResponseMessage<"MoneroTransactionAllOutSetAck"> | TypedResponseMessage<"MoneroTransactionSignInputRequest"> | TypedResponseMessage<"MoneroTransactionSignInputAck"> | TypedResponseMessage<"MoneroTransactionFinalRequest"> | TypedResponseMessage<"MoneroTransactionFinalAck"> | TypedResponseMessage<"MoneroKeyImageExportInitRequest"> | TypedResponseMessage<"MoneroKeyImageExportInitAck"> | TypedResponseMessage<"MoneroKeyImageSyncStepRequest"> | TypedResponseMessage<"MoneroKeyImageSyncStepAck"> | TypedResponseMessage<"MoneroKeyImageSyncFinalRequest"> | TypedResponseMessage<"MoneroKeyImageSyncFinalAck"> | TypedResponseMessage<"MoneroGetTxKeyRequest"> | TypedResponseMessage<"MoneroGetTxKeyAck"> | TypedResponseMessage<"MoneroLiveRefreshStartRequest"> | TypedResponseMessage<"MoneroLiveRefreshStartAck"> | TypedResponseMessage<"MoneroLiveRefreshStepRequest"> | TypedResponseMessage<"MoneroLiveRefreshStepAck"> | TypedResponseMessage<"MoneroLiveRefreshFinalRequest"> | TypedResponseMessage<"MoneroLiveRefreshFinalAck"> | TypedResponseMessage<"NearGetAddress"> | TypedResponseMessage<"NearAddress"> | TypedResponseMessage<"NearSignTx"> | TypedResponseMessage<"NearSignedTx"> | TypedResponseMessage<"NEMGetAddress"> | TypedResponseMessage<"NEMAddress"> | TypedResponseMessage<"NEMSignTx"> | TypedResponseMessage<"NEMSignedTx"> | TypedResponseMessage<"NEMDecryptMessage"> | TypedResponseMessage<"NEMDecryptedMessage"> | TypedResponseMessage<"NeoGetAddress"> | TypedResponseMessage<"NeoAddress"> | TypedResponseMessage<"NeoSignTx"> | TypedResponseMessage<"NeoSignedTx"> | TypedResponseMessage<"NervosGetAddress"> | TypedResponseMessage<"NervosAddress"> | TypedResponseMessage<"NervosSignTx"> | TypedResponseMessage<"NervosSignedTx"> | TypedResponseMessage<"NervosTxRequest"> | TypedResponseMessage<"NervosTxAck"> | TypedResponseMessage<"NexaGetAddress"> | TypedResponseMessage<"NexaAddress"> | TypedResponseMessage<"NexaSignTx"> | TypedResponseMessage<"NexaTxInputRequest"> | TypedResponseMessage<"NexaTxInputAck"> | TypedResponseMessage<"NexaSignedTx"> | TypedResponseMessage<"NostrGetPublicKey"> | TypedResponseMessage<"NostrPublicKey"> | TypedResponseMessage<"NostrSignEvent"> | TypedResponseMessage<"NostrSignedEvent"> | TypedResponseMessage<"NostrSignSchnorr"> | TypedResponseMessage<"NostrSignedSchnorr"> | TypedResponseMessage<"NostrEncryptMessage"> | TypedResponseMessage<"NostrEncryptedMessage"> | TypedResponseMessage<"NostrDecryptMessage"> | TypedResponseMessage<"NostrDecryptedMessage"> | TypedResponseMessage<"PolkadotGetAddress"> | TypedResponseMessage<"PolkadotAddress"> | TypedResponseMessage<"PolkadotSignTx"> | TypedResponseMessage<"PolkadotSignedTx"> | TypedResponseMessage<"RippleGetAddress"> | TypedResponseMessage<"RippleAddress"> | TypedResponseMessage<"RippleSignTx"> | TypedResponseMessage<"RippleSignedTx"> | TypedResponseMessage<"ScdoGetAddress"> | TypedResponseMessage<"ScdoAddress"> | TypedResponseMessage<"ScdoSignTx"> | TypedResponseMessage<"ScdoSignedTx"> | TypedResponseMessage<"ScdoTxAck"> | TypedResponseMessage<"ScdoSignMessage"> | TypedResponseMessage<"ScdoSignedMessage"> | TypedResponseMessage<"SolanaGetAddress"> | TypedResponseMessage<"SolanaAddress"> | TypedResponseMessage<"SolanaSignTx"> | TypedResponseMessage<"SolanaSignedTx"> | TypedResponseMessage<"SolanaSignOffChainMessage"> | TypedResponseMessage<"SolanaSignUnsafeMessage"> | TypedResponseMessage<"SolanaMessageSignature"> | TypedResponseMessage<"StarcoinGetAddress"> | TypedResponseMessage<"StarcoinAddress"> | TypedResponseMessage<"StarcoinGetPublicKey"> | TypedResponseMessage<"StarcoinPublicKey"> | TypedResponseMessage<"StarcoinSignTx"> | TypedResponseMessage<"StarcoinSignedTx"> | TypedResponseMessage<"StarcoinSignMessage"> | TypedResponseMessage<"StarcoinMessageSignature"> | TypedResponseMessage<"StarcoinVerifyMessage"> | TypedResponseMessage<"StellarGetAddress"> | TypedResponseMessage<"StellarAddress"> | TypedResponseMessage<"StellarSignTx"> | TypedResponseMessage<"StellarTxOpRequest"> | TypedResponseMessage<"StellarPaymentOp"> | TypedResponseMessage<"StellarCreateAccountOp"> | TypedResponseMessage<"StellarPathPaymentStrictReceiveOp"> | TypedResponseMessage<"StellarPathPaymentStrictSendOp"> | TypedResponseMessage<"StellarManageSellOfferOp"> | TypedResponseMessage<"StellarManageBuyOfferOp"> | TypedResponseMessage<"StellarCreatePassiveSellOfferOp"> | TypedResponseMessage<"StellarSetOptionsOp"> | TypedResponseMessage<"StellarChangeTrustOp"> | TypedResponseMessage<"StellarAllowTrustOp"> | TypedResponseMessage<"StellarAccountMergeOp"> | TypedResponseMessage<"StellarManageDataOp"> | TypedResponseMessage<"StellarBumpSequenceOp"> | TypedResponseMessage<"StellarInvokeHostFunctionOp"> | TypedResponseMessage<"StellarSorobanDataRequest"> | TypedResponseMessage<"StellarSorobanDataAck"> | TypedResponseMessage<"StellarSignedTx"> | TypedResponseMessage<"SuiGetAddress"> | TypedResponseMessage<"SuiAddress"> | TypedResponseMessage<"SuiSignTx"> | TypedResponseMessage<"SuiSignedTx"> | TypedResponseMessage<"SuiTxRequest"> | TypedResponseMessage<"SuiTxAck"> | TypedResponseMessage<"SuiSignMessage"> | TypedResponseMessage<"SuiMessageSignature"> | TypedResponseMessage<"TezosGetAddress"> | TypedResponseMessage<"TezosAddress"> | TypedResponseMessage<"TezosGetPublicKey"> | TypedResponseMessage<"TezosPublicKey"> | TypedResponseMessage<"TezosSignTx"> | TypedResponseMessage<"TezosSignedTx"> | TypedResponseMessage<"TonGetAddress"> | TypedResponseMessage<"TonAddress"> | TypedResponseMessage<"TonSignMessage"> | TypedResponseMessage<"TonTxAck"> | TypedResponseMessage<"TonSignedMessage"> | TypedResponseMessage<"TonSignProof"> | TypedResponseMessage<"TonSignedProof"> | TypedResponseMessage<"TonSignData"> | TypedResponseMessage<"TonSignedData"> | TypedResponseMessage<"TronGetAddress"> | TypedResponseMessage<"TronAddress"> | TypedResponseMessage<"TronSignTx"> | TypedResponseMessage<"TronSignedTx"> | TypedResponseMessage<"TronSignMessage"> | TypedResponseMessage<"TronMessageSignature"> | TypedResponseMessage<"facotry"> | TypedResponseMessage<"experimental_message"> | TypedResponseMessage<"experimental_field"> | TypedResponseMessage<"TxAckPaymentRequest"> | TypedResponseMessage<"EthereumSignTypedDataQR"> | TypedResponseMessage<"SetBusy"> | TypedResponseMessage<"GetFirmwareHash"> | TypedResponseMessage<"FirmwareHash"> | TypedResponseMessage<"GetNonce"> | TypedResponseMessage<"Nonce"> | TypedResponseMessage<"WriteSEPrivateKey"> | TypedResponseMessage<"UnlockPath"> | TypedResponseMessage<"UnlockedPathRequest"> | TypedResponseMessage<"UiAnimationRequest"> | TypedResponseMessage<"ProtocolInfoRequest"> | TypedResponseMessage<"DeviceReboot"> | TypedResponseMessage<"DeviceSettingsGet"> | TypedResponseMessage<"DeviceSettingsSet"> | TypedResponseMessage<"DeviceSettingsPageShow"> | TypedResponseMessage<"DeviceCertificateWrite"> | TypedResponseMessage<"DeviceCertificateRead"> | TypedResponseMessage<"DeviceCertificateSignature"> | TypedResponseMessage<"DeviceCertificateSign"> | TypedResponseMessage<"DeviceMiscUsbMscControl"> | TypedResponseMessage<"DeviceFactoryInfoSet"> | TypedResponseMessage<"DeviceFactoryInfoGet"> | TypedResponseMessage<"DeviceFactoryPermanentLock"> | TypedResponseMessage<"DeviceFactoryTest"> | TypedResponseMessage<"DeviceFirmwareUpdateRequest"> | TypedResponseMessage<"DeviceFirmwareUpdateStatusGet"> | TypedResponseMessage<"DeviceInfoGet"> | TypedResponseMessage<"DeviceSessionGet"> | TypedResponseMessage<"DeviceSessionAskPin"> | TypedResponseMessage<"DeviceSessionAskPassphrase"> | TypedResponseMessage<"DeviceStatusGet"> | TypedResponseMessage<"FilesystemPermissionFix"> | TypedResponseMessage<"FilesystemPathInfo"> | TypedResponseMessage<"FilesystemPathInfoQuery"> | TypedResponseMessage<"FilesystemFileRead"> | TypedResponseMessage<"FilesystemFileWrite"> | TypedResponseMessage<"FilesystemFileDelete"> | TypedResponseMessage<"FilesystemDir"> | TypedResponseMessage<"FilesystemDirList"> | TypedResponseMessage<"FilesystemDirMake"> | TypedResponseMessage<"FilesystemDirRemove"> | TypedResponseMessage<"FilesystemFormat"> | TypedResponseMessage<"InternalMyAddressRequest"> | TypedResponseMessage<"NftUpdate"> | TypedResponseMessage<"OnboardingStatusGet"> | TypedResponseMessage<"OnboardingStatus"> | TypedResponseMessage<"PortfolioUpdate"> | TypedResponseMessage<"ViewSignPage"> | TypedResponseMessage<"ViewVerifyPage">;
|
|
5163
4483
|
|
|
5164
4484
|
type DeviceFeaturesInput = Features | Messages.Features;
|
|
5165
4485
|
|
|
@@ -5227,6 +4547,7 @@ declare class DataManager {
|
|
|
5227
4547
|
[schema in ProtobufMessageSchema]: JSON;
|
|
5228
4548
|
};
|
|
5229
4549
|
static lastCheckTimestamp: number;
|
|
4550
|
+
static protocolV2ResourcesConfigError: Error | undefined;
|
|
5230
4551
|
static getFirmwareStatus: (features: Features, firmwareType: EFirmwareType) => IDeviceFirmwareStatus;
|
|
5231
4552
|
/**
|
|
5232
4553
|
* Touch、Pro System UI Resource Update
|
|
@@ -5381,4 +4702,4 @@ declare const HardwareSdk: ({ init, call, dispose, eventEmitter, uiResponse, can
|
|
|
5381
4702
|
declare const HardwareSDKLowLevel: ({ init, call, dispose, eventEmitter, addHardwareGlobalEventListener, uiResponse, cancel, updateSettings, switchTransport, }: LowLevelInjectApi) => LowLevelCoreApi;
|
|
5382
4703
|
declare const HardwareTopLevelSdk: () => CoreApi;
|
|
5383
4704
|
|
|
5384
|
-
export { AccountAddress, AccountAddresses, AlephiumAddress, AlephiumGetAddressParams, AlephiumSignMessageParams, AlephiumSignTransactionParams, AlephiumSignedTx, AlgoAddress, AlgoGetAddressParams, AlgoSignTransactionParams, AlgoSignedTx, AllFirmwareRelease, AllNetworkAddressParams, AllNetworkGetAddressParams, AptosAddress, AptosGetAddressParams, AptosGetPublicKeyParams, AptosMessageSignature, AptosPublicKey, AptosSignInMessageParams, AptosSignInMessageSignature, AptosSignMessageParams, AptosSignTransactionParams, AptosSignedTx, AssetsMap, BTCAddress, BTCGetAddressParams, BTCGetPublicKeyParams, BTCPublicKey, BTCSignMessageParams, BTCSignTransactionParams, BTCVerifyMessageParams, BenfenAddress, BenfenGetAddressParams, BenfenGetPublicKeyParams, BenfenPublicKey, BenfenSignMessageParams, BenfenSignTransactionParams, BenfenSignedTx, BleReleaseInfoEvent, BleReleaseInfoPayload, CORE_EVENT, CallMethod, CallMethodAnyResponse, CallMethodKeys, CallMethodPayload, CallMethodResponse, CallMethodUnion, CardanoAddress, CardanoGetAddressMethodParams, CardanoGetAddressParams, CardanoSignMessageMethodParams, CardanoSignMessageParams, CardanoSignTransaction, CardanoSignedTxData, CipheredKeyValue, CipheredKeyValueParams, ClearSessionCacheParams, ClearSessionCachePayload, CommonParams, ConfluxAddress, ConfluxGetAddressParams, ConfluxSignMessageCIP23Params, ConfluxSignMessageParams, ConfluxSignTransactionParams, ConfluxSignedTx, ConfluxTransaction, ConnectSettings, Core, CoreApi, CoreMessage, CoreMethodConstructor, CoreMethodExtension, CoreOptions, CosmosAddress, CosmosGetAddressParams, CosmosGetPublicKeyParams, CosmosPublicKey, CosmosSignTransactionParams, CosmosSignedTx, DEFAULT_PRIORITY, DEVICE, DEVICE_EVENT, DEVICE_SETTINGS_SHARED_FIELDS, DEVICE_SETTINGS_V1_ONLY_FIELDS, DEVICE_SETTINGS_V2_ONLY_FIELDS, DataManager, Device$1 as Device, DeviceButtonRequest, DeviceButtonRequestPayload, DeviceChangePinParams, DeviceConnnectRequest, DeviceDisconnnectRequest, DeviceEvent, DeviceEventListenerFn, DeviceEventMessage, DeviceFactoryCertificateWriteParams, DeviceFactoryChallengeSignParams, DeviceFactoryInfoSetParams, DeviceFeaturesMode, DeviceFeaturesPayload, DeviceFeaturesProtocol, DeviceFeaturesRaw, DeviceFeaturesRawPatch, DeviceFeaturesVerify, DeviceFirmwareRange, DeviceFlagsParams, DeviceModelToTypes, DeviceProgress, DeviceRecoveryParams, DeviceResetParams, DeviceSendFeatures, DeviceSendState, DeviceSendSupportFeatures, DeviceSettingsCapabilities, DeviceSettingsDurationOption, DeviceSettingsField, DeviceSettingsParams, DeviceSettingsProtocol, DeviceSettingsValueOption, DeviceState, DeviceStateEvent, DeviceStateIdentity, DeviceStateMode, DeviceStatePatch, DeviceStateProtocol, DeviceStateScope, DeviceStateSection, DeviceStateSettings, DeviceStateStatus, DeviceStateUpdateSource, DeviceStateVersions, DeviceStatus, DeviceSupportFeatures, DeviceSupportFeaturesPayload, DeviceTypeMap, DeviceTypeToModels, DeviceUnlockParams, DeviceUploadResourceParams, DeviceUploadResourceResponse, DeviceVerifyParams, DeviceVerifySignature, DnxAddress, DnxGetAddressParams, DnxSignTransactionParams, DnxSignature, DnxTxKey, EOneKeyDeviceMode, EVMAccessList$1 as EVMAccessList, EVMAddress$1 as EVMAddress, EVMAuthorization, EVMAuthorizationSignature, EVMGetAddressParams$1 as EVMGetAddressParams, EVMGetPublicKeyParams$1 as EVMGetPublicKeyParams, EVMPublicKey$1 as EVMPublicKey, EVMSignMessageEIP712Params, EVMSignMessageParams$1 as EVMSignMessageParams, EVMSignTransactionParams$1 as EVMSignTransactionParams, EVMSignTypedDataParams$1 as EVMSignTypedDataParams, EVMSignedTx$1 as EVMSignedTx, EVMTransaction$1 as EVMTransaction, EVMTransactionEIP1559$1 as EVMTransactionEIP1559, EVMTransactionEIP7702, EVMVerifyMessageParams$1 as EVMVerifyMessageParams, EthereumSignTypedDataMessage$1 as EthereumSignTypedDataMessage, EthereumSignTypedDataTypeProperty$1 as EthereumSignTypedDataTypeProperty, EthereumSignTypedDataTypes$1 as EthereumSignTypedDataTypes, FACTORY_API_METHOD_NAMES, FIRMWARE, FIRMWARE_EVENT, FactoryApi, FactoryApiMethodName, Features, FilecoinAddress, FilecoinGetAddressParams, FilecoinSignTransactionParams, FilecoinSignedTx, FirmwareEvent, FirmwareMessage, FirmwareProcessing, FirmwareProgress, FirmwareRange, FirmwareRelease, FirmwareTip, FirmwareUpdateBinaryParams, FirmwareUpdateParams, FirmwareUpdateTipMessage, FirmwareUpdateV3Params, FirmwareUpdateV4Params, FirmwareUpdateV4Target, GetDeviceStateParams, GetPassphraseStateParams, HardwareSDKLowLevel, HardwareTopLevelSdk, HardwareUiInteractionMeta, IBLEFirmwareReleaseInfo, IDeviceBLEFirmwareStatus, IDeviceFirmwareStatus, IDeviceModel, IDeviceType, IFRAME, IFirmwareField, IFirmwareReleaseInfo, IFirmwareUpdateProgressType, IFirmwareUpdateTipMessage, IFrameBridge, IFrameCallMessage, IFrameCallback, IFrameCallbackMessage, IFrameCancelMessage, IFrameEvent, IFrameEventMessage, IFrameInit, IFrameSwitchTransport, IFrameSwitchTransportMessage, ILocale, IProtocolV2BootResources, IProtocolV2FirmwareComponent, IProtocolV2FirmwareComponentTarget, IProtocolV2Resource, IProtocolV2ResourceBundle, IProtocolV2ResourceType, IProtocolV2Resources, ITransportStatus, IVersionArray, IVersionRange, KaspaAddress, KaspaGetAddressParams, KaspaSignInputParams, KaspaSignOutputParams, KaspaSignTransactionParams, KaspaSignature, KaspaStreamingSignInputParams, KaspaStreamingSignOutputParams, KnownDevice, LOG, LOG_EVENT, LogBlockEvent, LogEvent, LogEventMessage, LogOutput, LoggerNames, LowLevelCoreApi, LowLevelInjectApi, MajorVersion, MethodResponseMessage, NEMAddress, NEMAggregateModificationTransaction, NEMGetAddressParams, NEMImportanceTransaction, NEMMosaic, NEMMosaicCreationTransaction, NEMMultisigTransaction, NEMProvisionNamespaceTransaction, NEMSignTransactionParams, NEMSupplyChangeTransaction, NEMTransaction, NEMTransferTransaction, NearAddress, NearGetAddressParams, NearSignTransactionParams, NervosAddress, NervosGetAddressParams, NervosSignTransactionParams, NervosSignedTx, NexaAddress, NexaGetAddressParams, NexaSignInputParams, NexaSignOutputParams, NexaSignTransactionParams, NexaSignature, NormalizedFeatures, OnekeyFeatures, OpenWalletSessionMode, OpenWalletSessionModeValue, OpenWalletSessionParams, OpenWalletSessionPayload, PRO2_WALLPAPER_HEIGHT, PRO2_WALLPAPER_WIDTH, PROTOCOL_V2_NEVER_TIMEOUT_MS, Params, PassphraseRequestPayload, PolkadotAddress, PolkadotGetAddressParams, PolkadotSignTransactionParams, PolkadotSignedTx, PostMessageEvent, PreviousAddressResult, Pro2WallpaperColorFormat, ProtocolV2FirmwareComponentRelease, ProtocolV2FirmwareComponentReleaseStatus, ProtocolV2FirmwareReleaseStatus, ProtocolV2UiCompletion, ProtocolV2UiEventMetadata, ProtocolV2UiEventSource, RESPONSE_EVENT, RefTransaction, ReleaseInfo, ReleaseInfoEvent, ReleaseInfoPayload, RemoteConfigResponse, RequestContext, Response, ScdoAddress, ScdoGetAddressParams, ScdoSignMessageParams, ScdoSignTransactionParams, ScdoSignedTx, SdkTracingContext, SearchDevice, SignedTransaction, SolSignMessageParams, SolSignMessageResponse, SolSignOffchainMessageParams, SolSignOffchainMessageResponse, SolanaAddress, SolanaGetAddressParams, SolanaSignTransactionParams, SolanaSignedTx, StarcoinAddress, StarcoinGetAddressParams, StarcoinGetPublicKeyParams, StarcoinPublicKey, StarcoinSignMessageParams, StarcoinSignTransactionParams, StarcoinVerifyMessageParams, StellarAddress, StellarAsset, StellarGetAddressParams, StellarOperation, StellarSignTransactionParams, StellarTransaction, StrictFeatures, Success, SuiAddress, SuiGetAddressParams, SuiGetPublicKeyParams, SuiPublicKey, SuiSignMessageParams, SuiSignTransactionParams, SuiSignedTx, SupportFeatureType, SupportFeatures, TEST_API_METHOD_NAMES, TestApi, TestApiMethodName, TestApiMethods, TestProtocolV2PingParams, TonAddress, TonGetAddressParams, TonSignDataParams, TonSignMessageParams, TonSignProofParams, TopLevelInjectApi, TransactionOptions, TransportReleaseStatus, TronAddress, TronDelegateResourceContract, TronFreezeBalanceV2Contract, TronGetAddressParams, TronSignMessageParams, TronSignTransactionParams, TronTransaction, TronTransactionContract, TronTransferContract, TronTriggerSmartContract, TronUnDelegateResourceContract, TronUnfreezeBalanceV2Contract, TronWithdrawBalanceContract, TronWithdrawExpireUnfreezeContract, UI_EVENT, UI_REQUEST, UI_RESPONSE, UiEvent, UiEventMessage, UiPromise, UiPromiseResponse, UiRequestButton, UiRequestDeviceAction, UiRequestFirmwareProgressing, UiRequestPassphrase, UiRequestPassphraseOnDevice, UiRequestSelectDeviceForSwitchFirmwareWebDevice, UiRequestSelectDeviceInBootloaderForWebDevice, UiRequestWindowClose, UiRequestWithoutPayload, UiResponseCorrelation, UiResponseCorrelationFields, UiResponseEvent, UiResponseMessage, UiResponsePassphrase, UiResponsePin, UiResponseSelectDeviceForSwitchFirmwareWebDevice, UiResponseSelectDeviceInBootloaderForWebDevice, UnavailableCapabilities, UnavailableCapability, Unsuccessful, VersionArray, checkNeedUpdateBootForClassicAndMini, checkNeedUpdateBootForTouch, cleanupCallback, cleanupSdkInstance, completeRequestContext, corsValidator, createDeviceMessage, createErrorMessage, createFactoryApi, createFirmwareMessage, createIFrameMessage, createLogMessage, createRequestContext, createResponseMessage, createSdkTracingContext, createTestApi, createUiMessage, createUiResponse, HardwareSdk as default, enableLog, encodePro2Wallpaper, executeCallback, factoryApiMethodExtension, formatLogMethodLabel, formatRequestContext, generateInstanceId, generateSdkInstanceId, getActiveRequestsByDeviceInstance, getAutoLockOptions, getAutoShutDownOptions, getDeviceBLEFirmwareVersion, getDeviceBleName, getDeviceBoardloaderVersion, getDeviceBootloaderVersion, getDeviceFirmwareVersion, getDeviceLabel, getDeviceSerialNo, getDeviceSettingsCapabilities, getDeviceType, getDeviceTypeByBleName, getDeviceUUID, getEnv, getFirmwareType, getFirmwareUpdateField, getFirmwareUpdateFieldArray, getHDPath, getHomeScreenDefaultList, getHomeScreenHex, getHomeScreenSize, getLanguageConfig, getLog, getLogBlockLabel, getLogger, getMethodVersionRange, getNftSize, getOutputScriptType, getSDKVersion, getSafeLogPayload, getScriptType, getTimeStamp, httpRequest, init$1 as initCore, isBleConnect, isValidVersionArray, isValidVersionString, normalizeSafetyCheckLevel, normalizeVersionArray, parseConnectSettings, parseMessage, patchFeatures, preloadSessionCache, safeThrowError, setLoggerPostMessage, supportInputPinOnSoftware, switchTransport, testApiMethodExtension, transportEnv, updateRequestContext, versionCompare, versionSplit, wait, whitelist, whitelistExtension };
|
|
4705
|
+
export { AccountAddress, AccountAddresses, AlephiumAddress, AlephiumGetAddressParams, AlephiumSignMessageParams, AlephiumSignTransactionParams, AlephiumSignedTx, AlgoAddress, AlgoGetAddressParams, AlgoSignTransactionParams, AlgoSignedTx, AllFirmwareRelease, AllNetworkAddressParams, AllNetworkGetAddressParams, AptosAddress, AptosGetAddressParams, AptosGetPublicKeyParams, AptosMessageSignature, AptosPublicKey, AptosSignInMessageParams, AptosSignInMessageSignature, AptosSignMessageParams, AptosSignTransactionParams, AptosSignedTx, AssetsMap, BTCAddress, BTCGetAddressParams, BTCGetPublicKeyParams, BTCPublicKey, BTCSignMessageParams, BTCSignTransactionParams, BTCVerifyMessageParams, BenfenAddress, BenfenGetAddressParams, BenfenGetPublicKeyParams, BenfenPublicKey, BenfenSignMessageParams, BenfenSignTransactionParams, BenfenSignedTx, BleReleaseInfoEvent, BleReleaseInfoPayload, CORE_EVENT, CallMethod, CallMethodAnyResponse, CallMethodKeys, CallMethodPayload, CallMethodResponse, CallMethodUnion, CardanoAddress, CardanoGetAddressMethodParams, CardanoGetAddressParams, CardanoSignMessageMethodParams, CardanoSignMessageParams, CardanoSignTransaction, CardanoSignedTxData, CipheredKeyValue, CipheredKeyValueParams, ClearSessionCacheParams, ClearSessionCachePayload, CommonParams, ConfluxAddress, ConfluxGetAddressParams, ConfluxSignMessageCIP23Params, ConfluxSignMessageParams, ConfluxSignTransactionParams, ConfluxSignedTx, ConfluxTransaction, ConnectSettings, Core, CoreApi, CoreMessage, CosmosAddress, CosmosGetAddressParams, CosmosGetPublicKeyParams, CosmosPublicKey, CosmosSignTransactionParams, CosmosSignedTx, DEFAULT_PRIORITY, DEVICE, DEVICE_EVENT, DEVICE_SETTINGS_SHARED_FIELDS, DEVICE_SETTINGS_V1_ONLY_FIELDS, DEVICE_SETTINGS_V2_ONLY_FIELDS, DataManager, Device$1 as Device, DeviceButtonRequest, DeviceButtonRequestPayload, DeviceChangePinParams, DeviceConnnectRequest, DeviceDisconnnectRequest, DeviceEvent, DeviceEventListenerFn, DeviceEventMessage, DeviceFeaturesMode, DeviceFeaturesPayload, DeviceFeaturesProtocol, DeviceFeaturesRaw, DeviceFeaturesRawPatch, DeviceFeaturesVerify, DeviceFirmwareRange, DeviceFlagsParams, DeviceModelToTypes, DeviceProgress, DeviceRecoveryParams, DeviceResetParams, DeviceSendFeatures, DeviceSendState, DeviceSendSupportFeatures, DeviceSettingsCapabilities, DeviceSettingsDurationOption, DeviceSettingsField, DeviceSettingsParams, DeviceSettingsProtocol, DeviceSettingsValueOption, DeviceState, DeviceStateEvent, DeviceStateIdentity, DeviceStateMode, DeviceStatePatch, DeviceStateProtocol, DeviceStateScope, DeviceStateSection, DeviceStateSettings, DeviceStateStatus, DeviceStateUpdateSource, DeviceStateVersions, DeviceStatus, DeviceSupportFeatures, DeviceSupportFeaturesPayload, DeviceTypeMap, DeviceTypeToModels, DeviceUnlockParams, DeviceUploadResourceParams, DeviceUploadResourceResponse, DeviceVerifyParams, DeviceVerifySignature, DnxAddress, DnxGetAddressParams, DnxSignTransactionParams, DnxSignature, DnxTxKey, EOneKeyDeviceMode, EVMAccessList, EVMAddress, EVMAuthorization, EVMAuthorizationSignature, EVMGetAddressParams, EVMGetPublicKeyParams, EVMPublicKey, EVMSignMessageEIP712Params, EVMSignMessageParams, EVMSignTransactionParams, EVMSignTypedDataParams, EVMSignedTx, EVMTransaction, EVMTransactionEIP1559, EVMTransactionEIP7702, EVMVerifyMessageParams, EthereumSignTypedDataMessage, EthereumSignTypedDataTypeProperty, EthereumSignTypedDataTypes, FIRMWARE, FIRMWARE_EVENT, Features, FilecoinAddress, FilecoinGetAddressParams, FilecoinSignTransactionParams, FilecoinSignedTx, FirmwareEvent, FirmwareMessage, FirmwareProcessing, FirmwareProgress, FirmwareRange, FirmwareRelease, FirmwareTip, FirmwareUpdateBinaryParams, FirmwareUpdateParams, FirmwareUpdateTipMessage, FirmwareUpdateV3Params, FirmwareUpdateV4Params, FirmwareUpdateV4Target, GetDeviceStateParams, GetPassphraseStateParams, HardwareSDKLowLevel, HardwareTopLevelSdk, HardwareUiInteractionMeta, IBLEFirmwareReleaseInfo, IDeviceBLEFirmwareStatus, IDeviceFirmwareStatus, IDeviceModel, IDeviceType, IFRAME, IFirmwareField, IFirmwareReleaseInfo, IFirmwareUpdateProgressType, IFirmwareUpdateTipMessage, IFrameBridge, IFrameCallMessage, IFrameCallback, IFrameCallbackMessage, IFrameCancelMessage, IFrameEvent, IFrameEventMessage, IFrameInit, IFrameSwitchTransport, IFrameSwitchTransportMessage, ILocale, IProtocolV2BootResources, IProtocolV2FirmwareComponent, IProtocolV2FirmwareComponentTarget, IProtocolV2Resource, IProtocolV2ResourceBundle, IProtocolV2ResourceType, IProtocolV2Resources, ITransportStatus, IVersionArray, IVersionRange, KaspaAddress, KaspaGetAddressParams, KaspaSignInputParams, KaspaSignOutputParams, KaspaSignTransactionParams, KaspaSignature, KaspaStreamingSignInputParams, KaspaStreamingSignOutputParams, KnownDevice, LOG, LOG_EVENT, LogBlockEvent, LogEvent, LogEventMessage, LogOutput, LoggerNames, LowLevelCoreApi, LowLevelInjectApi, MajorVersion, MethodResponseMessage, NEMAddress, NEMAggregateModificationTransaction, NEMGetAddressParams, NEMImportanceTransaction, NEMMosaic, NEMMosaicCreationTransaction, NEMMultisigTransaction, NEMProvisionNamespaceTransaction, NEMSignTransactionParams, NEMSupplyChangeTransaction, NEMTransaction, NEMTransferTransaction, NearAddress, NearGetAddressParams, NearSignTransactionParams, NervosAddress, NervosGetAddressParams, NervosSignTransactionParams, NervosSignedTx, NexaAddress, NexaGetAddressParams, NexaSignInputParams, NexaSignOutputParams, NexaSignTransactionParams, NexaSignature, NormalizedFeatures, OnekeyFeatures, OpenWalletSessionMode, OpenWalletSessionModeValue, OpenWalletSessionParams, OpenWalletSessionPayload, PRO2_WALLPAPER_HEIGHT, PRO2_WALLPAPER_WIDTH, PROTOCOL_V2_NEVER_TIMEOUT_MS, Params, PassphraseRequestPayload, PolkadotAddress, PolkadotGetAddressParams, PolkadotSignTransactionParams, PolkadotSignedTx, PostMessageEvent, PreviousAddressResult, Pro2WallpaperColorFormat, ProtocolV2FirmwareComponentRelease, ProtocolV2FirmwareComponentReleaseStatus, ProtocolV2FirmwareReleaseStatus, ProtocolV2UiCompletion, ProtocolV2UiEventMetadata, ProtocolV2UiEventSource, RESPONSE_EVENT, RefTransaction, ReleaseInfo, ReleaseInfoEvent, ReleaseInfoPayload, RemoteConfigResponse, RequestContext, Response, ScdoAddress, ScdoGetAddressParams, ScdoSignMessageParams, ScdoSignTransactionParams, ScdoSignedTx, SdkTracingContext, SearchDevice, SignedTransaction, SolSignMessageParams, SolSignMessageResponse, SolSignOffchainMessageParams, SolSignOffchainMessageResponse, SolanaAddress, SolanaGetAddressParams, SolanaSignTransactionParams, SolanaSignedTx, StarcoinAddress, StarcoinGetAddressParams, StarcoinGetPublicKeyParams, StarcoinPublicKey, StarcoinSignMessageParams, StarcoinSignTransactionParams, StarcoinVerifyMessageParams, StellarAddress, StellarAsset, StellarGetAddressParams, StellarOperation, StellarSignTransactionParams, StellarTransaction, StrictFeatures, Success, SuiAddress, SuiGetAddressParams, SuiGetPublicKeyParams, SuiPublicKey, SuiSignMessageParams, SuiSignTransactionParams, SuiSignedTx, SupportFeatureType, SupportFeatures, TestProtocolV2PingParams, TonAddress, TonGetAddressParams, TonSignDataParams, TonSignMessageParams, TonSignProofParams, TopLevelInjectApi, TransactionOptions, TransportReleaseStatus, TronAddress, TronDelegateResourceContract, TronFreezeBalanceV2Contract, TronGetAddressParams, TronSignMessageParams, TronSignTransactionParams, TronTransaction, TronTransactionContract, TronTransferContract, TronTriggerSmartContract, TronUnDelegateResourceContract, TronUnfreezeBalanceV2Contract, TronWithdrawBalanceContract, TronWithdrawExpireUnfreezeContract, UI_EVENT, UI_REQUEST, UI_RESPONSE, UiEvent, UiEventMessage, UiPromise, UiPromiseResponse, UiRequestButton, UiRequestDeviceAction, UiRequestFirmwareProgressing, UiRequestPassphrase, UiRequestPassphraseOnDevice, UiRequestSelectDeviceForSwitchFirmwareWebDevice, UiRequestSelectDeviceInBootloaderForWebDevice, UiRequestWindowClose, UiRequestWithoutPayload, UiResponseCorrelation, UiResponseCorrelationFields, UiResponseEvent, UiResponseMessage, UiResponsePassphrase, UiResponsePin, UiResponseSelectDeviceForSwitchFirmwareWebDevice, UiResponseSelectDeviceInBootloaderForWebDevice, UnavailableCapabilities, UnavailableCapability, Unsuccessful, VersionArray, checkNeedUpdateBootForClassicAndMini, checkNeedUpdateBootForTouch, cleanupCallback, cleanupSdkInstance, completeRequestContext, corsValidator, createDeviceMessage, createErrorMessage, createFirmwareMessage, createIFrameMessage, createLogMessage, createRequestContext, createResponseMessage, createSdkTracingContext, createUiMessage, createUiResponse, HardwareSdk as default, enableLog, encodePro2Wallpaper, executeCallback, formatLogMethodLabel, formatRequestContext, generateInstanceId, generateSdkInstanceId, getActiveRequestsByDeviceInstance, getAutoLockOptions, getAutoShutDownOptions, getDeviceBLEFirmwareVersion, getDeviceBleName, getDeviceBoardloaderVersion, getDeviceBootloaderVersion, getDeviceFirmwareVersion, getDeviceLabel, getDeviceSerialNo, getDeviceSettingsCapabilities, getDeviceType, getDeviceTypeByBleName, getDeviceUUID, getEnv, getFirmwareType, getFirmwareUpdateField, getFirmwareUpdateFieldArray, getHDPath, getHomeScreenDefaultList, getHomeScreenHex, getHomeScreenSize, getLanguageConfig, getLog, getLogBlockLabel, getLogger, getMethodVersionRange, getNftSize, getOutputScriptType, getSDKVersion, getSafeLogPayload, getScriptType, getTimeStamp, httpRequest, init$1 as initCore, isBleConnect, isValidVersionArray, isValidVersionString, normalizeSafetyCheckLevel, normalizeVersionArray, parseConnectSettings, parseMessage, patchFeatures, preloadSessionCache, safeThrowError, setLoggerPostMessage, supportInputPinOnSoftware, switchTransport, transportEnv, updateRequestContext, versionCompare, versionSplit, wait, whitelist, whitelistExtension };
|