@onekeyfe/hd-core 1.2.0-alpha.57 → 1.2.0-alpha.59
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 +14 -13
- package/__tests__/core-initialization.test.ts +23 -0
- package/__tests__/device-connector-protocol.test.ts +81 -0
- package/__tests__/device-pool-state.test.ts +22 -0
- package/__tests__/device-settings.test.ts +39 -18
- package/__tests__/device-state-mapper.test.ts +12 -0
- package/__tests__/device-utils.test.ts +48 -1
- package/__tests__/deviceSettings.test.ts +10 -0
- package/__tests__/deviceUploadNft.test.ts +4 -28
- package/__tests__/kaspa-use-tweak-pro2.test.ts +2 -2
- package/__tests__/protocol-v2-resources.test.ts +48 -9
- package/__tests__/protocol-v2-unlock-policy.test.ts +34 -0
- package/__tests__/protocol-v2.test.ts +208 -263
- package/__tests__/protocolV2FileWrite.test.ts +113 -0
- package/__tests__/public-pro2-api-boundary.test.ts +2 -98
- package/__tests__/tron-sign-message-init.test.ts +2 -2
- package/dist/api/CheckAllFirmwareRelease.d.ts.map +1 -1
- package/dist/api/FirmwareUpdateV4.d.ts +4 -4
- package/dist/api/FirmwareUpdateV4.d.ts.map +1 -1
- package/dist/api/OpenWalletSession.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/kaspa/KaspaGetAddress.d.ts +1 -1
- package/dist/api/kaspa/KaspaSignTransaction.d.ts +1 -1
- package/dist/api/polkadot/PolkadotGetAddress.d.ts +1 -1
- package/dist/api/polkadot/networks.d.ts +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/DeviceUploadNft.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/solana/SolSignMessage.d.ts +1 -1
- package/dist/api/solana/SolSignOffchainMessage.d.ts +1 -1
- package/dist/api/solana/SolSignTransaction.d.ts +2 -2
- package/dist/api/stellar/StellarSignTransaction.d.ts +1 -1
- package/dist/api/sui/SuiGetAddress.d.ts +1 -1
- package/dist/api/sui/SuiGetPublicKey.d.ts +1 -1
- package/dist/api/sui/SuiSignMessage.d.ts +1 -1
- package/dist/api/sui/SuiSignTransaction.d.ts +1 -1
- package/dist/api/ton/TonGetAddress.d.ts +1 -1
- package/dist/api/ton/TonSignMessage.d.ts +1 -1
- package/dist/api/ton/TonSignProof.d.ts +1 -1
- package/dist/api/tron/TronSignMessage.d.ts +2 -2
- package/dist/api/tron/TronSignTransaction.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 +8 -5
- package/dist/data-manager/DataManager.d.ts.map +1 -1
- package/dist/data-manager/TransportManager.d.ts.map +1 -1
- package/dist/device/Device.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/device/DevicePool.d.ts.map +1 -1
- package/dist/deviceProfile/protocolV2DeviceIdentity.d.ts.map +1 -1
- package/dist/index.d.ts +87 -756
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +723 -3114
- package/dist/inject.d.ts +2 -6
- package/dist/inject.d.ts.map +1 -1
- package/dist/protocols/protocol-v2/resources.d.ts +2 -2
- package/dist/protocols/protocol-v2/resources.d.ts.map +1 -1
- package/dist/types/api/checkAllFirmwareRelease.d.ts +1 -1
- package/dist/types/api/checkAllFirmwareRelease.d.ts.map +1 -1
- package/dist/types/api/firmwareUpdate.d.ts +3 -2
- package/dist/types/api/firmwareUpdate.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/types/device.d.ts +2 -2
- package/dist/types/device.d.ts.map +1 -1
- package/dist/types/settings.d.ts +22 -14
- package/dist/types/settings.d.ts.map +1 -1
- package/dist/utils/deviceFeaturesCompat.d.ts.map +1 -1
- package/dist/utils/deviceFeaturesUtils.d.ts.map +1 -1
- package/dist/utils/deviceInfoUtils.d.ts.map +1 -1
- package/dist/utils/deviceSettings.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/CheckAllFirmwareRelease.ts +7 -5
- package/src/api/FirmwareUpdateV4.ts +154 -171
- package/src/api/OpenWalletSession.ts +1 -0
- 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/kaspa/KaspaGetAddress.ts +1 -1
- package/src/api/kaspa/KaspaSignTransaction.ts +1 -1
- package/src/api/polkadot/networks.ts +3 -3
- package/src/api/protocol-v2/DeviceFactoryInfoGet.ts +0 -3
- package/src/api/protocol-v2/DeviceFactoryInfoSet.ts +7 -6
- package/src/api/protocol-v2/DeviceUploadNft.ts +7 -12
- package/src/api/protocol-v2/helpers.ts +5 -153
- package/src/api/solana/SolSignMessage.ts +1 -1
- package/src/api/solana/SolSignOffchainMessage.ts +1 -1
- package/src/api/solana/SolSignTransaction.ts +2 -2
- package/src/api/sui/SuiGetAddress.ts +1 -1
- package/src/api/sui/SuiGetPublicKey.ts +1 -1
- package/src/api/sui/SuiSignMessage.ts +1 -1
- package/src/api/sui/SuiSignTransaction.ts +1 -1
- package/src/api/ton/TonGetAddress.ts +1 -1
- package/src/api/ton/TonSignMessage.ts +1 -1
- package/src/api/ton/TonSignProof.ts +1 -1
- package/src/api/tron/TronSignMessage.ts +2 -2
- package/src/api/tron/TronSignTransaction.ts +1 -1
- package/src/api/utils.ts +1 -46
- package/src/core/index.ts +16 -28
- package/src/data-manager/DataManager.ts +51 -11
- package/src/data-manager/TransportManager.ts +6 -0
- package/src/device/Device.ts +15 -6
- package/src/device/DeviceCommands.ts +24 -3
- package/src/device/DeviceConnector.ts +33 -13
- package/src/device/DevicePool.ts +17 -8
- package/src/deviceProfile/buildDeviceFeatures.ts +2 -2
- package/src/deviceProfile/protocolV2DeviceIdentity.ts +3 -0
- package/src/index.ts +0 -5
- package/src/inject.ts +7 -209
- package/src/protocols/protocol-v2/resources.ts +44 -13
- package/src/types/api/checkAllFirmwareRelease.ts +1 -1
- package/src/types/api/firmwareUpdate.ts +5 -5
- package/src/types/api/index.ts +2 -288
- package/src/types/api/protocolV2.ts +2 -43
- package/src/types/device.ts +12 -3
- package/src/types/settings.ts +30 -21
- package/src/utils/deviceFeaturesCompat.ts +5 -0
- package/src/utils/deviceFeaturesUtils.ts +6 -3
- package/src/utils/deviceInfoUtils.ts +2 -0
- package/src/utils/deviceSettings.ts +3 -0
- 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;
|
|
@@ -241,19 +220,21 @@ type IProtocolV2Resource = {
|
|
|
241
220
|
/** SHA3-512 header_hash from the signed okpkg header. */
|
|
242
221
|
headerHash: string;
|
|
243
222
|
};
|
|
244
|
-
/**
|
|
245
|
-
type
|
|
246
|
-
|
|
247
|
-
target: 'CRATE';
|
|
223
|
+
/** A file from the Protocol V2 resource manifest, written directly with FileWrite. */
|
|
224
|
+
type IProtocolV2ResourceFile = {
|
|
225
|
+
name?: string;
|
|
248
226
|
url: string;
|
|
249
|
-
|
|
227
|
+
devicePath: string;
|
|
250
228
|
size: number;
|
|
251
|
-
/** SHA-256 of the complete
|
|
229
|
+
/** SHA-256 of the complete file. */
|
|
252
230
|
fileHash: string;
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
231
|
+
};
|
|
232
|
+
/** Optional Protocol V2 boot resources restored as individual files. */
|
|
233
|
+
type IProtocolV2BootResources = {
|
|
234
|
+
required: false;
|
|
235
|
+
target: 'RES';
|
|
236
|
+
manifestUrl?: string;
|
|
237
|
+
files: IProtocolV2ResourceFile[];
|
|
257
238
|
};
|
|
258
239
|
type IProtocolV2Resources = {
|
|
259
240
|
stable: IProtocolV2Resource[];
|
|
@@ -321,18 +302,23 @@ type IBLEFirmwareReleaseInfo = {
|
|
|
321
302
|
};
|
|
322
303
|
};
|
|
323
304
|
type IKnownDevice = Exclude<IDeviceType, 'unknown'>;
|
|
305
|
+
type ILegacyKnownDevice = Exclude<IKnownDevice, 'neo'>;
|
|
306
|
+
type IDeviceReleaseInfo = {
|
|
307
|
+
firmware: IFirmwareReleaseInfo[];
|
|
308
|
+
/** Protocol V2 payload package set */
|
|
309
|
+
'firmware-v1'?: IFirmwareReleaseInfo[];
|
|
310
|
+
'firmware-v2'?: IFirmwareReleaseInfo[];
|
|
311
|
+
'firmware-v8'?: IFirmwareReleaseInfo[];
|
|
312
|
+
'firmware-btc-v8'?: IFirmwareReleaseInfo[];
|
|
313
|
+
ble: IBLEFirmwareReleaseInfo[];
|
|
314
|
+
/** Independent Protocol V2 resource release configuration. */
|
|
315
|
+
resources?: IProtocolV2Resources;
|
|
316
|
+
};
|
|
324
317
|
type DeviceTypeMap = {
|
|
325
|
-
[k in
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
'firmware-v2'?: IFirmwareReleaseInfo[];
|
|
330
|
-
'firmware-v8'?: IFirmwareReleaseInfo[];
|
|
331
|
-
'firmware-btc-v8'?: IFirmwareReleaseInfo[];
|
|
332
|
-
ble: IBLEFirmwareReleaseInfo[];
|
|
333
|
-
/** Independent Pro2 resource release configuration. */
|
|
334
|
-
resources?: IProtocolV2Resources;
|
|
335
|
-
};
|
|
318
|
+
[k in ILegacyKnownDevice]: IDeviceReleaseInfo;
|
|
319
|
+
} & {
|
|
320
|
+
/** Optional until every remote-config producer publishes a Neo entry. */
|
|
321
|
+
neo?: IDeviceReleaseInfo;
|
|
336
322
|
};
|
|
337
323
|
type AssetsMap = {
|
|
338
324
|
bridge: {
|
|
@@ -630,13 +616,14 @@ type NormalizedFeatures = {
|
|
|
630
616
|
};
|
|
631
617
|
type Features = NormalizedFeatures & Partial<Omit<Messages.Features, keyof NormalizedFeatures>> & Partial<Omit<Messages.OnekeyFeatures, keyof NormalizedFeatures | keyof Messages.Features>>;
|
|
632
618
|
type OnekeyFeatures = Messages.OnekeyFeatures;
|
|
633
|
-
type IDeviceType = EDeviceType.Unknown | EDeviceType.Classic | EDeviceType.Classic1s | EDeviceType.ClassicPure | EDeviceType.Mini | EDeviceType.Touch | EDeviceType.Pro | EDeviceType.Pro2;
|
|
619
|
+
type IDeviceType = EDeviceType.Unknown | EDeviceType.Classic | EDeviceType.Classic1s | EDeviceType.ClassicPure | EDeviceType.Mini | EDeviceType.Touch | EDeviceType.Pro | EDeviceType.Pro2 | EDeviceType.Neo;
|
|
634
620
|
/**
|
|
635
621
|
* model_classic: 'classic' | 'classic1s' | 'classicpure'
|
|
636
622
|
* model_mini: 'classic' | 'classic1s' | 'classicpure' | 'mini'
|
|
637
623
|
* model_touch: 'touch' | 'pro'
|
|
624
|
+
* model_pro2: 'pro2' | 'neo'
|
|
638
625
|
*/
|
|
639
|
-
type IDeviceModel = 'model_classic' | 'model_mini' | 'model_touch' | 'model_classic1s';
|
|
626
|
+
type IDeviceModel = 'model_classic' | 'model_mini' | 'model_touch' | 'model_classic1s' | 'model_pro2';
|
|
640
627
|
declare const DeviceModelToTypes: {
|
|
641
628
|
[deviceModel in IDeviceModel]: IDeviceType[];
|
|
642
629
|
};
|
|
@@ -724,12 +711,13 @@ type DeviceDescriptorDiff = {
|
|
|
724
711
|
};
|
|
725
712
|
|
|
726
713
|
declare class DeviceConnector {
|
|
727
|
-
transport
|
|
714
|
+
transport?: Transport;
|
|
728
715
|
listenTimestamp: number;
|
|
729
716
|
current: OneKeyDeviceInfo[] | null;
|
|
730
717
|
upcoming: OneKeyDeviceInfo[];
|
|
731
718
|
listening: boolean;
|
|
732
719
|
constructor();
|
|
720
|
+
private getActiveTransport;
|
|
733
721
|
enumerate(): Promise<DeviceDescriptorDiff | undefined>;
|
|
734
722
|
listen(): Promise<void>;
|
|
735
723
|
stop(): void;
|
|
@@ -1001,22 +989,6 @@ declare class Device extends EventEmitter {
|
|
|
1001
989
|
checkPassphraseStateSafety(passphraseState?: string, useEmptyPassphrase?: boolean, skipPassphraseCheck?: boolean, deriveCardano?: boolean): Promise<boolean>;
|
|
1002
990
|
}
|
|
1003
991
|
|
|
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
992
|
/**
|
|
1021
993
|
* SDK Tracing Utilities
|
|
1022
994
|
* Tracks object instances and request call chains across multiple SDK instances
|
|
@@ -1111,156 +1083,26 @@ declare function formatRequestContext(context: RequestContext): string;
|
|
|
1111
1083
|
*/
|
|
1112
1084
|
declare function cleanupSdkInstance(sdkInstanceId: string): void;
|
|
1113
1085
|
|
|
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 {
|
|
1086
|
+
declare class Core extends EventEmitter {
|
|
1131
1087
|
private tracingContext;
|
|
1132
1088
|
readonly sdkInstanceId: string;
|
|
1133
1089
|
private requestQueue;
|
|
1134
1090
|
private disposePromise?;
|
|
1135
1091
|
private prePendingCallPromise;
|
|
1136
1092
|
private methodSynchronize;
|
|
1137
|
-
|
|
1138
|
-
constructor(options?: CoreOptions);
|
|
1093
|
+
constructor();
|
|
1139
1094
|
private getCoreContext;
|
|
1140
1095
|
handleMessage(message: CoreMessage): Promise<any>;
|
|
1141
1096
|
dispose(): Promise<void>;
|
|
1142
1097
|
private disposeResources;
|
|
1143
1098
|
}
|
|
1144
|
-
declare const init$1: (settings: ConnectSettings, Transport: any, plugin?: LowlevelTransportSharedPlugin
|
|
1099
|
+
declare const init$1: (settings: ConnectSettings, Transport: any, plugin?: LowlevelTransportSharedPlugin) => Promise<Core | undefined>;
|
|
1145
1100
|
declare const switchTransport: ({ env, Transport, plugin, }: {
|
|
1146
1101
|
env: ConnectSettings['env'];
|
|
1147
1102
|
Transport: any;
|
|
1148
1103
|
plugin?: LowlevelTransportSharedPlugin | undefined;
|
|
1149
1104
|
}) => void;
|
|
1150
1105
|
|
|
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
1106
|
declare const PRO2_WALLPAPER_WIDTH = 604;
|
|
1265
1107
|
declare const PRO2_WALLPAPER_HEIGHT = 1024;
|
|
1266
1108
|
type Pro2WallpaperColorFormat = 'RGB565' | 'RGB565A8';
|
|
@@ -1329,11 +1171,6 @@ type TestProtocolV2PingParams = CommonParams & {
|
|
|
1329
1171
|
declare function testProtocolV2Ping(connectId: string, params?: TestProtocolV2PingParams): Response<Success$1>;
|
|
1330
1172
|
declare function deviceReboot(connectId: string, params: CommonParams & DeviceRebootParams): Response<Success$1>;
|
|
1331
1173
|
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
1174
|
declare function deviceUploadWallpaper(connectId: string, params: CommonParams & DeviceUploadWallpaperParams): Response<DeviceUploadWallpaperResponse>;
|
|
1338
1175
|
declare function deviceUploadNft(connectId: string, params: CommonParams & DeviceUploadNftParams): Response<DeviceUploadNftResponse>;
|
|
1339
1176
|
declare function uploadPortfolio(connectId: string, params: {
|
|
@@ -1460,8 +1297,6 @@ interface FirmwareUpdateV4Params {
|
|
|
1460
1297
|
romloaderBinary?: ArrayBuffer;
|
|
1461
1298
|
/** FW_MGMT_TARGET_BOOTLOADER = 3 */
|
|
1462
1299
|
bootloaderBinary?: ArrayBuffer;
|
|
1463
|
-
/** FW_MGMT_TARGET_CRATE = 1; optional Pro2 startup resources. */
|
|
1464
|
-
bootResourcesBinary?: ArrayBuffer;
|
|
1465
1300
|
/** FW_MGMT_TARGET_APPLICATION_P1 = 4 */
|
|
1466
1301
|
applicationP1Binary?: ArrayBuffer;
|
|
1467
1302
|
/** FW_MGMT_TARGET_APPLICATION_P2 = 5 */
|
|
@@ -1475,12 +1310,14 @@ interface FirmwareUpdateV4Params {
|
|
|
1475
1310
|
se04Binary?: ArrayBuffer;
|
|
1476
1311
|
forcedUpdateRes?: boolean;
|
|
1477
1312
|
/**
|
|
1478
|
-
*
|
|
1479
|
-
*
|
|
1313
|
+
* Arbitrary Protocol V2 resource files written directly with FilesystemFileWrite.
|
|
1314
|
+
* Use this for manifest-driven boot resources and other non-RESC files.
|
|
1480
1315
|
*/
|
|
1481
|
-
|
|
1316
|
+
resourceFiles?: Array<{
|
|
1482
1317
|
binary: ArrayBuffer;
|
|
1483
1318
|
devicePath: string;
|
|
1319
|
+
size?: number;
|
|
1320
|
+
fileHash?: string;
|
|
1484
1321
|
}>;
|
|
1485
1322
|
}
|
|
1486
1323
|
declare function firmwareUpdateV3(connectId: string | undefined, params: Params<FirmwareUpdateV3Params>): Response<{
|
|
@@ -1522,7 +1359,7 @@ type AllFirmwareRelease = {
|
|
|
1522
1359
|
bridge?: FirmwareRelease$2;
|
|
1523
1360
|
features?: Features;
|
|
1524
1361
|
protocol?: 'V1' | 'V2';
|
|
1525
|
-
deviceType?: 'pro2';
|
|
1362
|
+
deviceType?: 'pro2' | 'neo';
|
|
1526
1363
|
firmwareType?: EFirmwareType;
|
|
1527
1364
|
status?: ProtocolV2FirmwareReleaseStatus;
|
|
1528
1365
|
hasUpgrade?: boolean;
|
|
@@ -2027,21 +1864,21 @@ type AllNetworkGetAddressParamsByLoop = AllNetworkGetAddressParams & {
|
|
|
2027
1864
|
declare function allNetworkGetAddress(connectId: string, deviceId: string, params: CommonParams & AllNetworkGetAddressParams): Response<AllNetworkAddress[]>;
|
|
2028
1865
|
declare function allNetworkGetAddressByLoop(connectId: string, deviceId: string, params: CommonParams & AllNetworkGetAddressParamsByLoop): Response<AllNetworkAddress[]>;
|
|
2029
1866
|
|
|
2030
|
-
type EVMAddress
|
|
1867
|
+
type EVMAddress = {
|
|
2031
1868
|
path: string;
|
|
2032
1869
|
address: string;
|
|
2033
1870
|
};
|
|
2034
|
-
type EVMGetAddressParams
|
|
1871
|
+
type EVMGetAddressParams = {
|
|
2035
1872
|
path: string | number[];
|
|
2036
1873
|
showOnOneKey?: boolean;
|
|
2037
1874
|
chainId?: number;
|
|
2038
1875
|
};
|
|
2039
|
-
declare function evmGetAddress(connectId: string, deviceId: string, params: CommonParams & EVMGetAddressParams
|
|
1876
|
+
declare function evmGetAddress(connectId: string, deviceId: string, params: CommonParams & EVMGetAddressParams): Response<EVMAddress>;
|
|
2040
1877
|
declare function evmGetAddress(connectId: string, deviceId: string, params: CommonParams & {
|
|
2041
|
-
bundle?: EVMGetAddressParams
|
|
2042
|
-
}): Response<Array<EVMAddress
|
|
1878
|
+
bundle?: EVMGetAddressParams[];
|
|
1879
|
+
}): Response<Array<EVMAddress>>;
|
|
2043
1880
|
|
|
2044
|
-
type EVMPublicKey
|
|
1881
|
+
type EVMPublicKey = {
|
|
2045
1882
|
path: string;
|
|
2046
1883
|
pub: string;
|
|
2047
1884
|
/**
|
|
@@ -2049,26 +1886,26 @@ type EVMPublicKey$1 = {
|
|
|
2049
1886
|
*/
|
|
2050
1887
|
publicKey?: string;
|
|
2051
1888
|
} & EthereumPublicKey;
|
|
2052
|
-
type EVMGetPublicKeyParams
|
|
1889
|
+
type EVMGetPublicKeyParams = {
|
|
2053
1890
|
path: string | number[];
|
|
2054
1891
|
showOnOneKey?: boolean;
|
|
2055
1892
|
chainId?: number;
|
|
2056
1893
|
useBatch?: boolean;
|
|
2057
1894
|
};
|
|
2058
|
-
declare function evmGetPublicKey(connectId: string, deviceId: string, params: CommonParams & EVMGetPublicKeyParams
|
|
1895
|
+
declare function evmGetPublicKey(connectId: string, deviceId: string, params: CommonParams & EVMGetPublicKeyParams): Response<EVMPublicKey>;
|
|
2059
1896
|
declare function evmGetPublicKey(connectId: string, deviceId: string, params: CommonParams & {
|
|
2060
|
-
bundle?: EVMGetPublicKeyParams
|
|
2061
|
-
}): Response<Array<EVMPublicKey
|
|
1897
|
+
bundle?: EVMGetPublicKeyParams[];
|
|
1898
|
+
}): Response<Array<EVMPublicKey>>;
|
|
2062
1899
|
declare function evmGetPublicKey(connectId: string, deviceId: string, params: CommonParams & {
|
|
2063
|
-
bundle?: EVMGetPublicKeyParams
|
|
2064
|
-
}): Response<Omit<EVMPublicKey
|
|
1900
|
+
bundle?: EVMGetPublicKeyParams[];
|
|
1901
|
+
}): Response<Omit<EVMPublicKey, 'node' | 'xpub'>>;
|
|
2065
1902
|
|
|
2066
|
-
type EVMSignMessageParams
|
|
1903
|
+
type EVMSignMessageParams = {
|
|
2067
1904
|
path: string | number[];
|
|
2068
1905
|
messageHex: string;
|
|
2069
1906
|
chainId?: number;
|
|
2070
1907
|
};
|
|
2071
|
-
declare function evmSignMessage(connectId: string, deviceId: string, params: CommonParams & EVMSignMessageParams
|
|
1908
|
+
declare function evmSignMessage(connectId: string, deviceId: string, params: CommonParams & EVMSignMessageParams): Response<EthereumMessageSignature>;
|
|
2072
1909
|
|
|
2073
1910
|
type EVMSignMessageEIP712Params = {
|
|
2074
1911
|
path: string | number[];
|
|
@@ -2077,13 +1914,13 @@ type EVMSignMessageEIP712Params = {
|
|
|
2077
1914
|
};
|
|
2078
1915
|
declare function evmSignMessageEIP712(connectId: string, deviceId: string, params: CommonParams & EVMSignMessageEIP712Params): Response<EthereumMessageSignature>;
|
|
2079
1916
|
|
|
2080
|
-
type EVMSignedTx
|
|
1917
|
+
type EVMSignedTx = {
|
|
2081
1918
|
v: string;
|
|
2082
1919
|
r: string;
|
|
2083
1920
|
s: string;
|
|
2084
1921
|
authorizationSignatures?: EVMAuthorizationSignature[];
|
|
2085
1922
|
};
|
|
2086
|
-
type EVMTransaction
|
|
1923
|
+
type EVMTransaction = {
|
|
2087
1924
|
to: string;
|
|
2088
1925
|
value: string;
|
|
2089
1926
|
gasPrice: string;
|
|
@@ -2095,11 +1932,11 @@ type EVMTransaction$1 = {
|
|
|
2095
1932
|
chainId: number;
|
|
2096
1933
|
txType?: number;
|
|
2097
1934
|
};
|
|
2098
|
-
type EVMAccessList
|
|
1935
|
+
type EVMAccessList = {
|
|
2099
1936
|
address: string;
|
|
2100
1937
|
storageKeys: string[];
|
|
2101
1938
|
};
|
|
2102
|
-
type EVMTransactionEIP1559
|
|
1939
|
+
type EVMTransactionEIP1559 = {
|
|
2103
1940
|
to: string;
|
|
2104
1941
|
value: string;
|
|
2105
1942
|
gasLimit: string;
|
|
@@ -2109,7 +1946,7 @@ type EVMTransactionEIP1559$1 = {
|
|
|
2109
1946
|
chainId: number;
|
|
2110
1947
|
maxFeePerGas: string;
|
|
2111
1948
|
maxPriorityFeePerGas: string;
|
|
2112
|
-
accessList?: EVMAccessList
|
|
1949
|
+
accessList?: EVMAccessList[];
|
|
2113
1950
|
};
|
|
2114
1951
|
type EVMAuthorizationSignature = {
|
|
2115
1952
|
yParity: number;
|
|
@@ -2135,24 +1972,24 @@ type EVMTransactionEIP7702 = {
|
|
|
2135
1972
|
chainId: number;
|
|
2136
1973
|
maxFeePerGas: string;
|
|
2137
1974
|
maxPriorityFeePerGas: string;
|
|
2138
|
-
accessList?: EVMAccessList
|
|
1975
|
+
accessList?: EVMAccessList[];
|
|
2139
1976
|
authorizationList: EVMAuthorization[];
|
|
2140
1977
|
};
|
|
2141
|
-
type EVMSignTransactionParams
|
|
1978
|
+
type EVMSignTransactionParams = {
|
|
2142
1979
|
path: string | number[];
|
|
2143
|
-
transaction: EVMTransaction
|
|
1980
|
+
transaction: EVMTransaction | EVMTransactionEIP1559 | EVMTransactionEIP7702;
|
|
2144
1981
|
};
|
|
2145
|
-
declare function evmSignTransaction(connectId: string, deviceId: string, params: CommonParams & EVMSignTransactionParams
|
|
1982
|
+
declare function evmSignTransaction(connectId: string, deviceId: string, params: CommonParams & EVMSignTransactionParams): Response<EVMSignedTx>;
|
|
2146
1983
|
|
|
2147
|
-
type EthereumSignTypedDataTypeProperty
|
|
1984
|
+
type EthereumSignTypedDataTypeProperty = {
|
|
2148
1985
|
name: string;
|
|
2149
1986
|
type: string;
|
|
2150
1987
|
};
|
|
2151
|
-
type EthereumSignTypedDataTypes
|
|
2152
|
-
EIP712Domain: EthereumSignTypedDataTypeProperty
|
|
2153
|
-
[additionalProperties: string]: EthereumSignTypedDataTypeProperty
|
|
1988
|
+
type EthereumSignTypedDataTypes = {
|
|
1989
|
+
EIP712Domain: EthereumSignTypedDataTypeProperty[];
|
|
1990
|
+
[additionalProperties: string]: EthereumSignTypedDataTypeProperty[];
|
|
2154
1991
|
};
|
|
2155
|
-
type EthereumSignTypedDataMessage
|
|
1992
|
+
type EthereumSignTypedDataMessage<T extends EthereumSignTypedDataTypes> = {
|
|
2156
1993
|
types: T;
|
|
2157
1994
|
primaryType: keyof T;
|
|
2158
1995
|
domain: {
|
|
@@ -2166,23 +2003,23 @@ type EthereumSignTypedDataMessage$1<T extends EthereumSignTypedDataTypes$1> = {
|
|
|
2166
2003
|
[fieldName: string]: any;
|
|
2167
2004
|
};
|
|
2168
2005
|
};
|
|
2169
|
-
type EVMSignTypedDataParams
|
|
2006
|
+
type EVMSignTypedDataParams = {
|
|
2170
2007
|
path: string | number[];
|
|
2171
2008
|
metamaskV4Compat: boolean;
|
|
2172
|
-
data: EthereumSignTypedDataMessage
|
|
2009
|
+
data: EthereumSignTypedDataMessage<EthereumSignTypedDataTypes>;
|
|
2173
2010
|
domainHash?: string;
|
|
2174
2011
|
messageHash?: string;
|
|
2175
2012
|
chainId?: number;
|
|
2176
2013
|
};
|
|
2177
|
-
declare function evmSignTypedData(connectId: string, deviceId: string, params: CommonParams & EVMSignTypedDataParams
|
|
2014
|
+
declare function evmSignTypedData(connectId: string, deviceId: string, params: CommonParams & EVMSignTypedDataParams): Response<EthereumMessageSignature>;
|
|
2178
2015
|
|
|
2179
|
-
type EVMVerifyMessageParams
|
|
2016
|
+
type EVMVerifyMessageParams = {
|
|
2180
2017
|
address: string;
|
|
2181
2018
|
messageHex: string;
|
|
2182
2019
|
signature: string;
|
|
2183
2020
|
chainId?: number;
|
|
2184
2021
|
};
|
|
2185
|
-
declare function evmVerifyMessage(connectId: string, deviceId: string, params: CommonParams & EVMVerifyMessageParams
|
|
2022
|
+
declare function evmVerifyMessage(connectId: string, deviceId: string, params: CommonParams & EVMVerifyMessageParams): Response<Success$1>;
|
|
2186
2023
|
|
|
2187
2024
|
type BTCAddress = {
|
|
2188
2025
|
path: string;
|
|
@@ -3704,413 +3541,7 @@ type NeoSignedTx = {
|
|
|
3704
3541
|
};
|
|
3705
3542
|
declare function neoSignTransaction(connectId: string, deviceId: string, params: CommonParams & NeoUnsignedTx): Response<NeoSignedTx>;
|
|
3706
3543
|
|
|
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 = {
|
|
3544
|
+
type CoreApi = {
|
|
4114
3545
|
/**
|
|
4115
3546
|
* Inject function
|
|
4116
3547
|
*/
|
|
@@ -4192,11 +3623,6 @@ type CoreApiWithExtensions = {
|
|
|
4192
3623
|
deviceReboot: typeof deviceReboot;
|
|
4193
3624
|
deviceGetOnboardingStatus: typeof deviceGetOnboardingStatus;
|
|
4194
3625
|
deviceUploadNft: typeof deviceUploadNft;
|
|
4195
|
-
deviceProvisionFactoryInfo: typeof deviceProvisionFactoryInfo;
|
|
4196
|
-
deviceReadFactoryInfo: typeof deviceReadFactoryInfo;
|
|
4197
|
-
deviceWriteFactoryCertificate: typeof deviceWriteFactoryCertificate;
|
|
4198
|
-
deviceReadFactoryCertificate: typeof deviceReadFactoryCertificate;
|
|
4199
|
-
deviceSignFactoryChallenge: typeof deviceSignFactoryChallenge;
|
|
4200
3626
|
deviceUploadWallpaper: typeof deviceUploadWallpaper;
|
|
4201
3627
|
uploadPortfolio: typeof uploadPortfolio;
|
|
4202
3628
|
/**
|
|
@@ -4214,12 +3640,6 @@ type CoreApiWithExtensions = {
|
|
|
4214
3640
|
evmSignTransaction: typeof evmSignTransaction;
|
|
4215
3641
|
evmSignTypedData: typeof evmSignTypedData;
|
|
4216
3642
|
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
3643
|
/**
|
|
4224
3644
|
* BTC function
|
|
4225
3645
|
*/
|
|
@@ -4229,18 +3649,6 @@ type CoreApiWithExtensions = {
|
|
|
4229
3649
|
btcSignPsbt: typeof btcSignPsbt;
|
|
4230
3650
|
btcSignTransaction: typeof btcSignTransaction;
|
|
4231
3651
|
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
3652
|
/**
|
|
4245
3653
|
* Starcoin function
|
|
4246
3654
|
*/
|
|
@@ -4254,7 +3662,6 @@ type CoreApiWithExtensions = {
|
|
|
4254
3662
|
*/
|
|
4255
3663
|
nemGetAddress: typeof nemGetAddress;
|
|
4256
3664
|
nemSignTransaction: typeof nemSignTransaction;
|
|
4257
|
-
nemDecryptMessage: typeof nemDecryptMessage;
|
|
4258
3665
|
/**
|
|
4259
3666
|
* Solana function
|
|
4260
3667
|
*/
|
|
@@ -4396,81 +3803,7 @@ type CoreApiWithExtensions = {
|
|
|
4396
3803
|
*/
|
|
4397
3804
|
neoGetAddress: typeof neoGetAddress;
|
|
4398
3805
|
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;
|
|
3806
|
+
};
|
|
4474
3807
|
|
|
4475
3808
|
interface FirmwareRange {
|
|
4476
3809
|
'1': {
|
|
@@ -5055,17 +4388,12 @@ interface InjectApi {
|
|
|
5055
4388
|
cancel: CoreApi['cancel'];
|
|
5056
4389
|
switchTransport: CoreApi['switchTransport'];
|
|
5057
4390
|
}
|
|
5058
|
-
declare const createTestApi: (call: CoreApi['call']) => TestApiMethods;
|
|
5059
|
-
declare const createFactoryApi: (call: CoreApi['call']) => FactoryApi;
|
|
5060
4391
|
|
|
5061
4392
|
interface TopLevelInjectApi {
|
|
5062
4393
|
init: CoreApi['init'];
|
|
5063
4394
|
call: CoreApi['call'];
|
|
5064
4395
|
}
|
|
5065
4396
|
|
|
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
4397
|
type LogMessage = {
|
|
5070
4398
|
level: string;
|
|
5071
4399
|
prefix: string;
|
|
@@ -5159,7 +4487,7 @@ declare const versionSplit: (version: string) => number[];
|
|
|
5159
4487
|
*/
|
|
5160
4488
|
declare const versionCompare: (a: string | number[], b: string | number[]) => 0 | 1 | -1;
|
|
5161
4489
|
|
|
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">;
|
|
4490
|
+
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
4491
|
|
|
5164
4492
|
type DeviceFeaturesInput = Features | Messages.Features;
|
|
5165
4493
|
|
|
@@ -5219,7 +4547,7 @@ type ProtocolV1MessageSchema = 'v1CurrentSchema' | 'v1LegacySchema';
|
|
|
5219
4547
|
type ProtobufMessageSchema = ProtocolV1MessageSchema | 'v2Schema';
|
|
5220
4548
|
declare class DataManager {
|
|
5221
4549
|
static deviceMap: DeviceTypeMap & {
|
|
5222
|
-
[k: string]: DeviceTypeMap[keyof DeviceTypeMap] | undefined;
|
|
4550
|
+
[k: string]: NonNullable<DeviceTypeMap[keyof DeviceTypeMap]> | undefined;
|
|
5223
4551
|
};
|
|
5224
4552
|
static assets: AssetsMap | null;
|
|
5225
4553
|
static settings: ConnectSettings;
|
|
@@ -5227,6 +4555,7 @@ declare class DataManager {
|
|
|
5227
4555
|
[schema in ProtobufMessageSchema]: JSON;
|
|
5228
4556
|
};
|
|
5229
4557
|
static lastCheckTimestamp: number;
|
|
4558
|
+
static protocolV2ResourcesConfigError: Error | undefined;
|
|
5230
4559
|
static getFirmwareStatus: (features: Features, firmwareType: EFirmwareType) => IDeviceFirmwareStatus;
|
|
5231
4560
|
/**
|
|
5232
4561
|
* Touch、Pro System UI Resource Update
|
|
@@ -5266,9 +4595,11 @@ declare class DataManager {
|
|
|
5266
4595
|
static updateEnv(newEnv: ConnectSettings['env']): void;
|
|
5267
4596
|
static checkAndReloadData(): Promise<void>;
|
|
5268
4597
|
/** Force a fresh remote config before an update is allowed to mutate the device. */
|
|
5269
|
-
static forceReloadData(
|
|
5270
|
-
|
|
5271
|
-
|
|
4598
|
+
static forceReloadData({ requireResources, }?: {
|
|
4599
|
+
requireResources?: boolean;
|
|
4600
|
+
}): Promise<void>;
|
|
4601
|
+
static getProtocolV2Resources(deviceType?: EDeviceType.Pro2 | EDeviceType.Neo): IProtocolV2Resource[] | undefined;
|
|
4602
|
+
static getProtocolV2BootResources(deviceType?: EDeviceType.Pro2 | EDeviceType.Neo): IProtocolV2BootResources | undefined;
|
|
5272
4603
|
static getProtobufMessages(schema?: ProtobufMessageSchema): JSON;
|
|
5273
4604
|
static getSettings(key?: undefined): ConnectSettings;
|
|
5274
4605
|
static getSettings<T extends keyof ConnectSettings>(key: T): ConnectSettings[T];
|
|
@@ -5381,4 +4712,4 @@ declare const HardwareSdk: ({ init, call, dispose, eventEmitter, uiResponse, can
|
|
|
5381
4712
|
declare const HardwareSDKLowLevel: ({ init, call, dispose, eventEmitter, addHardwareGlobalEventListener, uiResponse, cancel, updateSettings, switchTransport, }: LowLevelInjectApi) => LowLevelCoreApi;
|
|
5382
4713
|
declare const HardwareTopLevelSdk: () => CoreApi;
|
|
5383
4714
|
|
|
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 };
|
|
4715
|
+
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, IProtocolV2ResourceFile, 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 };
|