@onekeyfe/hd-core 1.2.0-alpha.56 → 1.2.0-alpha.57
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/__tests__/protocol-v2.test.ts +125 -3
- package/__tests__/public-pro2-api-boundary.test.ts +98 -2
- package/__tests__/public-test-api-boundary.test.ts +167 -0
- package/dist/api/BixinBackupDevice.d.ts +7 -0
- package/dist/api/BixinBackupDevice.d.ts.map +1 -0
- package/dist/api/BixinLoadDevice.d.ts +7 -0
- package/dist/api/BixinLoadDevice.d.ts.map +1 -0
- package/dist/api/BixinMessageSE.d.ts +8 -0
- package/dist/api/BixinMessageSE.d.ts.map +1 -0
- package/dist/api/BixinVerifyDeviceRequest.d.ts +8 -0
- package/dist/api/BixinVerifyDeviceRequest.d.ts.map +1 -0
- package/dist/api/WebAuthnAddResidentCredential.d.ts +8 -0
- package/dist/api/WebAuthnAddResidentCredential.d.ts.map +1 -0
- package/dist/api/WebAuthnListResidentCredentials.d.ts +8 -0
- package/dist/api/WebAuthnListResidentCredentials.d.ts.map +1 -0
- package/dist/api/WebAuthnRemoveResidentCredential.d.ts +8 -0
- package/dist/api/WebAuthnRemoveResidentCredential.d.ts.map +1 -0
- package/dist/api/binance/BinanceGetAddress.d.ts +8 -0
- package/dist/api/binance/BinanceGetAddress.d.ts.map +1 -0
- package/dist/api/binance/BinanceGetPublicKey.d.ts +8 -0
- package/dist/api/binance/BinanceGetPublicKey.d.ts.map +1 -0
- package/dist/api/binance/BinanceSignTx.d.ts +7 -0
- package/dist/api/binance/BinanceSignTx.d.ts.map +1 -0
- package/dist/api/btc/BTCAuthorizeCoinJoin.d.ts +7 -0
- package/dist/api/btc/BTCAuthorizeCoinJoin.d.ts.map +1 -0
- package/dist/api/btc/BTCGetOwnershipId.d.ts +7 -0
- package/dist/api/btc/BTCGetOwnershipId.d.ts.map +1 -0
- package/dist/api/btc/BTCGetOwnershipProof.d.ts +7 -0
- package/dist/api/btc/BTCGetOwnershipProof.d.ts.map +1 -0
- package/dist/api/crypto/CryptoBatchGetPublickeys.d.ts +8 -0
- package/dist/api/crypto/CryptoBatchGetPublickeys.d.ts.map +1 -0
- package/dist/api/crypto/CryptoCipherKeyValue.d.ts +8 -0
- package/dist/api/crypto/CryptoCipherKeyValue.d.ts.map +1 -0
- package/dist/api/crypto/CryptoCosiCommit.d.ts +8 -0
- package/dist/api/crypto/CryptoCosiCommit.d.ts.map +1 -0
- package/dist/api/crypto/CryptoCosiSign.d.ts +8 -0
- package/dist/api/crypto/CryptoCosiSign.d.ts.map +1 -0
- package/dist/api/crypto/CryptoGetECDHSessionKey.d.ts +8 -0
- package/dist/api/crypto/CryptoGetECDHSessionKey.d.ts.map +1 -0
- package/dist/api/crypto/CryptoSignIdentity.d.ts +8 -0
- package/dist/api/crypto/CryptoSignIdentity.d.ts.map +1 -0
- package/dist/api/debug/DebugLinkDecision.d.ts +7 -0
- package/dist/api/debug/DebugLinkDecision.d.ts.map +1 -0
- package/dist/api/debug/DebugLinkEraseSdCard.d.ts +7 -0
- package/dist/api/debug/DebugLinkEraseSdCard.d.ts.map +1 -0
- package/dist/api/debug/DebugLinkFlashErase.d.ts +7 -0
- package/dist/api/debug/DebugLinkFlashErase.d.ts.map +1 -0
- package/dist/api/debug/DebugLinkGetState.d.ts +7 -0
- package/dist/api/debug/DebugLinkGetState.d.ts.map +1 -0
- package/dist/api/debug/DebugLinkMemoryRead.d.ts +7 -0
- package/dist/api/debug/DebugLinkMemoryRead.d.ts.map +1 -0
- package/dist/api/debug/DebugLinkMemoryWrite.d.ts +7 -0
- package/dist/api/debug/DebugLinkMemoryWrite.d.ts.map +1 -0
- package/dist/api/debug/DebugLinkRecordScreen.d.ts +7 -0
- package/dist/api/debug/DebugLinkRecordScreen.d.ts.map +1 -0
- package/dist/api/debug/DebugLinkReseedRandom.d.ts +7 -0
- package/dist/api/debug/DebugLinkReseedRandom.d.ts.map +1 -0
- package/dist/api/debug/DebugLinkStop.d.ts +7 -0
- package/dist/api/debug/DebugLinkStop.d.ts.map +1 -0
- package/dist/api/debug/DebugLinkWatchLayout.d.ts +7 -0
- package/dist/api/debug/DebugLinkWatchLayout.d.ts.map +1 -0
- package/dist/api/device/DeviceVerify.d.ts.map +1 -1
- package/dist/api/emmc/EmmcDirList.d.ts +7 -0
- package/dist/api/emmc/EmmcDirList.d.ts.map +1 -0
- package/dist/api/emmc/EmmcDirMake.d.ts +7 -0
- package/dist/api/emmc/EmmcDirMake.d.ts.map +1 -0
- package/dist/api/emmc/EmmcDirRemove.d.ts +7 -0
- package/dist/api/emmc/EmmcDirRemove.d.ts.map +1 -0
- package/dist/api/emmc/EmmcFileDelete.d.ts +7 -0
- package/dist/api/emmc/EmmcFileDelete.d.ts.map +1 -0
- package/dist/api/emmc/EmmcFileRead.d.ts +7 -0
- package/dist/api/emmc/EmmcFileRead.d.ts.map +1 -0
- package/dist/api/emmc/EmmcFileWrite.d.ts +7 -0
- package/dist/api/emmc/EmmcFileWrite.d.ts.map +1 -0
- package/dist/api/emmc/EmmcFixPermission.d.ts +7 -0
- package/dist/api/emmc/EmmcFixPermission.d.ts.map +1 -0
- package/dist/api/emmc/EmmcPathInfo.d.ts +7 -0
- package/dist/api/emmc/EmmcPathInfo.d.ts.map +1 -0
- package/dist/api/eos/EosGetPublicKey.d.ts +8 -0
- package/dist/api/eos/EosGetPublicKey.d.ts.map +1 -0
- package/dist/api/eos/EosSignTx.d.ts +12 -0
- package/dist/api/eos/EosSignTx.d.ts.map +1 -0
- package/dist/api/evmTrezor/EVMGetAddress.d.ts +10 -0
- package/dist/api/evmTrezor/EVMGetAddress.d.ts.map +1 -0
- package/dist/api/evmTrezor/EVMGetPublicKey.d.ts +16 -0
- package/dist/api/evmTrezor/EVMGetPublicKey.d.ts.map +1 -0
- package/dist/api/evmTrezor/EVMSignMessage.d.ts +7 -0
- package/dist/api/evmTrezor/EVMSignMessage.d.ts.map +1 -0
- package/dist/api/evmTrezor/EVMSignTransaction.d.ts +15 -0
- package/dist/api/evmTrezor/EVMSignTransaction.d.ts.map +1 -0
- package/dist/api/evmTrezor/EVMSignTypedData.d.ts +43 -0
- package/dist/api/evmTrezor/EVMSignTypedData.d.ts.map +1 -0
- package/dist/api/evmTrezor/EVMVerifyMessage.d.ts +7 -0
- package/dist/api/evmTrezor/EVMVerifyMessage.d.ts.map +1 -0
- package/dist/api/evmTrezor/legacyV1/getAddress.d.ts +6 -0
- package/dist/api/evmTrezor/legacyV1/getAddress.d.ts.map +1 -0
- package/dist/api/evmTrezor/legacyV1/getPublicKey.d.ts +6 -0
- package/dist/api/evmTrezor/legacyV1/getPublicKey.d.ts.map +1 -0
- package/dist/api/evmTrezor/legacyV1/signMessage.d.ts +6 -0
- package/dist/api/evmTrezor/legacyV1/signMessage.d.ts.map +1 -0
- package/dist/api/evmTrezor/legacyV1/signTransaction.d.ts +9 -0
- package/dist/api/evmTrezor/legacyV1/signTransaction.d.ts.map +1 -0
- package/dist/api/evmTrezor/legacyV1/signTypedData.d.ts +10 -0
- package/dist/api/evmTrezor/legacyV1/signTypedData.d.ts.map +1 -0
- package/dist/api/evmTrezor/legacyV1/signTypedHash.d.ts +11 -0
- package/dist/api/evmTrezor/legacyV1/signTypedHash.d.ts.map +1 -0
- package/dist/api/evmTrezor/legacyV1/verifyMessage.d.ts +6 -0
- package/dist/api/evmTrezor/legacyV1/verifyMessage.d.ts.map +1 -0
- package/dist/api/extensionMethodNames.d.ts +3 -0
- package/dist/api/extensionMethodNames.d.ts.map +1 -0
- package/dist/api/factoryMethods.d.ts +3 -0
- package/dist/api/factoryMethods.d.ts.map +1 -0
- package/dist/api/firmware/FirmwareErase.d.ts +12 -0
- package/dist/api/firmware/FirmwareErase.d.ts.map +1 -0
- package/dist/api/firmware/FirmwareEraseEx.d.ts +12 -0
- package/dist/api/firmware/FirmwareEraseEx.d.ts.map +1 -0
- package/dist/api/firmware/FirmwareUpdateEmmcTest.d.ts +7 -0
- package/dist/api/firmware/FirmwareUpdateEmmcTest.d.ts.map +1 -0
- package/dist/api/firmware/FirmwareUploadTest.d.ts +7 -0
- package/dist/api/firmware/FirmwareUploadTest.d.ts.map +1 -0
- package/dist/api/firmware/Reboot.d.ts +7 -0
- package/dist/api/firmware/Reboot.d.ts.map +1 -0
- package/dist/api/firmware/SelfTest.d.ts +7 -0
- package/dist/api/firmware/SelfTest.d.ts.map +1 -0
- package/dist/api/index.d.ts +3 -0
- package/dist/api/index.d.ts.map +1 -1
- package/dist/api/manager/DeviceCancelAuthorization.d.ts +7 -0
- package/dist/api/manager/DeviceCancelAuthorization.d.ts.map +1 -0
- package/dist/api/manager/DeviceChangeWipeCode.d.ts +7 -0
- package/dist/api/manager/DeviceChangeWipeCode.d.ts.map +1 -0
- package/dist/api/manager/DeviceDoPreauthorized.d.ts +7 -0
- package/dist/api/manager/DeviceDoPreauthorized.d.ts.map +1 -0
- package/dist/api/manager/DeviceEndSession.d.ts +7 -0
- package/dist/api/manager/DeviceEndSession.d.ts.map +1 -0
- package/dist/api/manager/DeviceGetEntropy.d.ts +7 -0
- package/dist/api/manager/DeviceGetEntropy.d.ts.map +1 -0
- package/dist/api/manager/DeviceGetFirmwareHash.d.ts +7 -0
- package/dist/api/manager/DeviceGetFirmwareHash.d.ts.map +1 -0
- package/dist/api/manager/DeviceInfoSettings.d.ts +7 -0
- package/dist/api/manager/DeviceInfoSettings.d.ts.map +1 -0
- package/dist/api/manager/DeviceLoad.d.ts +7 -0
- package/dist/api/manager/DeviceLoad.d.ts.map +1 -0
- package/dist/api/manager/DevicePing.d.ts +7 -0
- package/dist/api/manager/DevicePing.d.ts.map +1 -0
- package/dist/api/manager/DeviceReadSEPublicCert.d.ts +7 -0
- package/dist/api/manager/DeviceReadSEPublicCert.d.ts.map +1 -0
- package/dist/api/manager/DeviceSESignMessage.d.ts +7 -0
- package/dist/api/manager/DeviceSESignMessage.d.ts.map +1 -0
- package/dist/api/manager/DeviceSdProtect.d.ts +7 -0
- package/dist/api/manager/DeviceSdProtect.d.ts.map +1 -0
- package/dist/api/manager/DeviceSpiFlashRead.d.ts +7 -0
- package/dist/api/manager/DeviceSpiFlashRead.d.ts.map +1 -0
- package/dist/api/manager/DeviceSpiFlashWrite.d.ts +7 -0
- package/dist/api/manager/DeviceSpiFlashWrite.d.ts.map +1 -0
- package/dist/api/manager/DeviceUnlockPath.d.ts +7 -0
- package/dist/api/manager/DeviceUnlockPath.d.ts.map +1 -0
- package/dist/api/manager/DeviceWriteSEPrivateKey.d.ts +7 -0
- package/dist/api/manager/DeviceWriteSEPrivateKey.d.ts.map +1 -0
- package/dist/api/manager/DeviceWriteSEPublicCert.d.ts +7 -0
- package/dist/api/manager/DeviceWriteSEPublicCert.d.ts.map +1 -0
- package/dist/api/manager/GetDeviceInfoSettings.d.ts +7 -0
- package/dist/api/manager/GetDeviceInfoSettings.d.ts.map +1 -0
- package/dist/api/manager/GetPublicKeyMultiple.d.ts +7 -0
- package/dist/api/manager/GetPublicKeyMultiple.d.ts.map +1 -0
- package/dist/api/manager/ListResDir.d.ts +7 -0
- package/dist/api/manager/ListResDir.d.ts.map +1 -0
- package/dist/api/manager/NFTWriteData.d.ts +7 -0
- package/dist/api/manager/NFTWriteData.d.ts.map +1 -0
- package/dist/api/manager/NFTWriteInfo.d.ts +7 -0
- package/dist/api/manager/NFTWriteInfo.d.ts.map +1 -0
- package/dist/api/manager/ReadSEPublicKey.d.ts +7 -0
- package/dist/api/manager/ReadSEPublicKey.d.ts.map +1 -0
- package/dist/api/manager/ResourceUpdate.d.ts +6 -0
- package/dist/api/manager/ResourceUpdate.d.ts.map +1 -0
- package/dist/api/methodExtension.d.ts +13 -0
- package/dist/api/methodExtension.d.ts.map +1 -0
- package/dist/api/monero/MoneroGetAddress.d.ts +9 -0
- package/dist/api/monero/MoneroGetAddress.d.ts.map +1 -0
- package/dist/api/monero/MoneroGetWatchKey.d.ts +8 -0
- package/dist/api/monero/MoneroGetWatchKey.d.ts.map +1 -0
- package/dist/api/nem/NEMDecryptMessage.d.ts +8 -0
- package/dist/api/nem/NEMDecryptMessage.d.ts.map +1 -0
- package/dist/api/protocol-v2/DeviceFactoryCertificateRead.d.ts +7 -0
- package/dist/api/protocol-v2/DeviceFactoryCertificateRead.d.ts.map +1 -0
- package/dist/api/protocol-v2/DeviceFactoryCertificateWrite.d.ts +8 -0
- package/dist/api/protocol-v2/DeviceFactoryCertificateWrite.d.ts.map +1 -0
- package/dist/api/protocol-v2/DeviceFactoryChallengeSign.d.ts +8 -0
- package/dist/api/protocol-v2/DeviceFactoryChallengeSign.d.ts.map +1 -0
- package/dist/api/protocol-v2/DeviceFactoryInfoGet.d.ts.map +1 -1
- package/dist/api/protocol-v2/DeviceFactoryInfoSet.d.ts.map +1 -1
- package/dist/api/protocol-v2/helpers.d.ts +15 -5
- package/dist/api/protocol-v2/helpers.d.ts.map +1 -1
- package/dist/api/stellar/StellarSignTransaction.d.ts +1 -1
- package/dist/api/testMethods.d.ts +82 -0
- package/dist/api/testMethods.d.ts.map +1 -0
- package/dist/api/tezos/TezosGetAddress.d.ts +9 -0
- package/dist/api/tezos/TezosGetAddress.d.ts.map +1 -0
- package/dist/api/tezos/TezosGetPublicKey.d.ts +8 -0
- package/dist/api/tezos/TezosGetPublicKey.d.ts.map +1 -0
- package/dist/api/tezos/TezosSignTx.d.ts +12 -0
- package/dist/api/tezos/TezosSignTx.d.ts.map +1 -0
- package/dist/api/utils.d.ts +6 -1
- package/dist/api/utils.d.ts.map +1 -1
- package/dist/core/index.d.ts +10 -4
- package/dist/core/index.d.ts.map +1 -1
- package/dist/index.d.ts +722 -41
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2617 -51
- package/dist/inject.d.ts +6 -2
- package/dist/inject.d.ts.map +1 -1
- package/dist/types/api/binanceGetAddress.d.ts +11 -0
- package/dist/types/api/binanceGetAddress.d.ts.map +1 -0
- package/dist/types/api/binanceGetPublicKey.d.ts +11 -0
- package/dist/types/api/binanceGetPublicKey.d.ts.map +1 -0
- package/dist/types/api/binanceSignTx.d.ts +7 -0
- package/dist/types/api/binanceSignTx.d.ts.map +1 -0
- package/dist/types/api/bixinBackupDevice.d.ts +4 -0
- package/dist/types/api/bixinBackupDevice.d.ts.map +1 -0
- package/dist/types/api/bixinLoadDevice.d.ts +4 -0
- package/dist/types/api/bixinLoadDevice.d.ts.map +1 -0
- package/dist/types/api/bixinMessageSE.d.ts +4 -0
- package/dist/types/api/bixinMessageSE.d.ts.map +1 -0
- package/dist/types/api/bixinVerifyDeviceRequest.d.ts +4 -0
- package/dist/types/api/bixinVerifyDeviceRequest.d.ts.map +1 -0
- package/dist/types/api/btcAuthorizeCoinJoin.d.ts +13 -0
- package/dist/types/api/btcAuthorizeCoinJoin.d.ts.map +1 -0
- package/dist/types/api/btcGetOwnershipId.d.ts +10 -0
- package/dist/types/api/btcGetOwnershipId.d.ts.map +1 -0
- package/dist/types/api/btcGetOwnershipProof.d.ts +13 -0
- package/dist/types/api/btcGetOwnershipProof.d.ts.map +1 -0
- package/dist/types/api/cryptoBatchGetPublickeys.d.ts +12 -0
- package/dist/types/api/cryptoBatchGetPublickeys.d.ts.map +1 -0
- package/dist/types/api/cryptoCipherKeyValue.d.ts +13 -0
- package/dist/types/api/cryptoCipherKeyValue.d.ts.map +1 -0
- package/dist/types/api/cryptoCosiCommit.d.ts +8 -0
- package/dist/types/api/cryptoCosiCommit.d.ts.map +1 -0
- package/dist/types/api/cryptoCosiSign.d.ts +10 -0
- package/dist/types/api/cryptoCosiSign.d.ts.map +1 -0
- package/dist/types/api/cryptoGetECDHSessionKey.d.ts +4 -0
- package/dist/types/api/cryptoGetECDHSessionKey.d.ts.map +1 -0
- package/dist/types/api/cryptoSignIdentity.d.ts +4 -0
- package/dist/types/api/cryptoSignIdentity.d.ts.map +1 -0
- package/dist/types/api/debugLinkDecision.d.ts +4 -0
- package/dist/types/api/debugLinkDecision.d.ts.map +1 -0
- package/dist/types/api/debugLinkEraseSdCard.d.ts +4 -0
- package/dist/types/api/debugLinkEraseSdCard.d.ts.map +1 -0
- package/dist/types/api/debugLinkFlashErase.d.ts +4 -0
- package/dist/types/api/debugLinkFlashErase.d.ts.map +1 -0
- package/dist/types/api/debugLinkGetState.d.ts +4 -0
- package/dist/types/api/debugLinkGetState.d.ts.map +1 -0
- package/dist/types/api/debugLinkMemoryRead.d.ts +4 -0
- package/dist/types/api/debugLinkMemoryRead.d.ts.map +1 -0
- package/dist/types/api/debugLinkMemoryWrite.d.ts +4 -0
- package/dist/types/api/debugLinkMemoryWrite.d.ts.map +1 -0
- package/dist/types/api/debugLinkRecordScreen.d.ts +4 -0
- package/dist/types/api/debugLinkRecordScreen.d.ts.map +1 -0
- package/dist/types/api/debugLinkReseedRandom.d.ts +4 -0
- package/dist/types/api/debugLinkReseedRandom.d.ts.map +1 -0
- package/dist/types/api/debugLinkStop.d.ts +4 -0
- package/dist/types/api/debugLinkStop.d.ts.map +1 -0
- package/dist/types/api/debugLinkWatchLayout.d.ts +4 -0
- package/dist/types/api/debugLinkWatchLayout.d.ts.map +1 -0
- package/dist/types/api/deviceCancelAuthorization.d.ts +4 -0
- package/dist/types/api/deviceCancelAuthorization.d.ts.map +1 -0
- package/dist/types/api/deviceChangeWipeCode.d.ts +4 -0
- package/dist/types/api/deviceChangeWipeCode.d.ts.map +1 -0
- package/dist/types/api/deviceDoPreauthorized.d.ts +4 -0
- package/dist/types/api/deviceDoPreauthorized.d.ts.map +1 -0
- package/dist/types/api/deviceEndSession.d.ts +4 -0
- package/dist/types/api/deviceEndSession.d.ts.map +1 -0
- package/dist/types/api/deviceGetEntropy.d.ts +4 -0
- package/dist/types/api/deviceGetEntropy.d.ts.map +1 -0
- package/dist/types/api/deviceGetFirmwareHash.d.ts +4 -0
- package/dist/types/api/deviceGetFirmwareHash.d.ts.map +1 -0
- package/dist/types/api/deviceGetInfo.d.ts +4 -0
- package/dist/types/api/deviceGetInfo.d.ts.map +1 -0
- package/dist/types/api/deviceInfoSettings.d.ts +4 -0
- package/dist/types/api/deviceInfoSettings.d.ts.map +1 -0
- package/dist/types/api/deviceLoad.d.ts +16 -0
- package/dist/types/api/deviceLoad.d.ts.map +1 -0
- package/dist/types/api/devicePing.d.ts +4 -0
- package/dist/types/api/devicePing.d.ts.map +1 -0
- package/dist/types/api/deviceReadSEPublicCert.d.ts +4 -0
- package/dist/types/api/deviceReadSEPublicCert.d.ts.map +1 -0
- package/dist/types/api/deviceSESignMessage.d.ts +4 -0
- package/dist/types/api/deviceSESignMessage.d.ts.map +1 -0
- package/dist/types/api/deviceSdProtect.d.ts +4 -0
- package/dist/types/api/deviceSdProtect.d.ts.map +1 -0
- package/dist/types/api/deviceSpiFlashRead.d.ts +4 -0
- package/dist/types/api/deviceSpiFlashRead.d.ts.map +1 -0
- package/dist/types/api/deviceSpiFlashWrite.d.ts +4 -0
- package/dist/types/api/deviceSpiFlashWrite.d.ts.map +1 -0
- package/dist/types/api/deviceUnlockPath.d.ts +11 -0
- package/dist/types/api/deviceUnlockPath.d.ts.map +1 -0
- package/dist/types/api/deviceWriteSEPrivateKey.d.ts +4 -0
- package/dist/types/api/deviceWriteSEPrivateKey.d.ts.map +1 -0
- package/dist/types/api/deviceWriteSEPublicCert.d.ts +4 -0
- package/dist/types/api/deviceWriteSEPublicCert.d.ts.map +1 -0
- package/dist/types/api/emmcDirList.d.ts +4 -0
- package/dist/types/api/emmcDirList.d.ts.map +1 -0
- package/dist/types/api/emmcDirMake.d.ts +4 -0
- package/dist/types/api/emmcDirMake.d.ts.map +1 -0
- package/dist/types/api/emmcDirRemove.d.ts +4 -0
- package/dist/types/api/emmcDirRemove.d.ts.map +1 -0
- package/dist/types/api/emmcFileDelete.d.ts +4 -0
- package/dist/types/api/emmcFileDelete.d.ts.map +1 -0
- package/dist/types/api/emmcFileRead.d.ts +4 -0
- package/dist/types/api/emmcFileRead.d.ts.map +1 -0
- package/dist/types/api/emmcFileWrite.d.ts +4 -0
- package/dist/types/api/emmcFileWrite.d.ts.map +1 -0
- package/dist/types/api/emmcFixPermission.d.ts +4 -0
- package/dist/types/api/emmcFixPermission.d.ts.map +1 -0
- package/dist/types/api/emmcPathInfo.d.ts +4 -0
- package/dist/types/api/emmcPathInfo.d.ts.map +1 -0
- package/dist/types/api/eosGetPublicKey.d.ts +8 -0
- package/dist/types/api/eosGetPublicKey.d.ts.map +1 -0
- package/dist/types/api/eosSignTx.d.ts +7 -0
- package/dist/types/api/eosSignTx.d.ts.map +1 -0
- package/dist/types/api/evmGetAddressTrezor.d.ts +15 -0
- package/dist/types/api/evmGetAddressTrezor.d.ts.map +1 -0
- package/dist/types/api/evmGetPublicKeyTrezor.d.ts +20 -0
- package/dist/types/api/evmGetPublicKeyTrezor.d.ts.map +1 -0
- package/dist/types/api/evmSignMessageTrezor.d.ts +9 -0
- package/dist/types/api/evmSignMessageTrezor.d.ts.map +1 -0
- package/dist/types/api/evmSignTransactionTrezor.d.ts +40 -0
- package/dist/types/api/evmSignTransactionTrezor.d.ts.map +1 -0
- package/dist/types/api/evmSignTypedDataTrezor.d.ts +34 -0
- package/dist/types/api/evmSignTypedDataTrezor.d.ts.map +1 -0
- package/dist/types/api/evmVerifyMessageTrezor.d.ts +10 -0
- package/dist/types/api/evmVerifyMessageTrezor.d.ts.map +1 -0
- package/dist/types/api/firmwareErase.d.ts +4 -0
- package/dist/types/api/firmwareErase.d.ts.map +1 -0
- package/dist/types/api/firmwareEraseEx.d.ts +4 -0
- package/dist/types/api/firmwareEraseEx.d.ts.map +1 -0
- package/dist/types/api/firmwareUpdateEmmcTest.d.ts +4 -0
- package/dist/types/api/firmwareUpdateEmmcTest.d.ts.map +1 -0
- package/dist/types/api/firmwareUploadTest.d.ts +4 -0
- package/dist/types/api/firmwareUploadTest.d.ts.map +1 -0
- package/dist/types/api/getPublicKeyMultiple.d.ts +4 -0
- package/dist/types/api/getPublicKeyMultiple.d.ts.map +1 -0
- package/dist/types/api/index.d.ts +176 -3
- package/dist/types/api/index.d.ts.map +1 -1
- package/dist/types/api/listResDir.d.ts +4 -0
- package/dist/types/api/listResDir.d.ts.map +1 -0
- package/dist/types/api/moneroGetAddress.d.ts +14 -0
- package/dist/types/api/moneroGetAddress.d.ts.map +1 -0
- package/dist/types/api/moneroGetWatchKey.d.ts +14 -0
- package/dist/types/api/moneroGetWatchKey.d.ts.map +1 -0
- package/dist/types/api/nemDecryptMessage.d.ts +10 -0
- package/dist/types/api/nemDecryptMessage.d.ts.map +1 -0
- package/dist/types/api/nftWriteData.d.ts +4 -0
- package/dist/types/api/nftWriteData.d.ts.map +1 -0
- package/dist/types/api/nftWriteInfo.d.ts +4 -0
- package/dist/types/api/nftWriteInfo.d.ts.map +1 -0
- package/dist/types/api/protocolV2.d.ts +8 -2
- package/dist/types/api/protocolV2.d.ts.map +1 -1
- package/dist/types/api/readSEPublicKey.d.ts +4 -0
- package/dist/types/api/readSEPublicKey.d.ts.map +1 -0
- package/dist/types/api/reboot.d.ts +4 -0
- package/dist/types/api/reboot.d.ts.map +1 -0
- package/dist/types/api/resourceUpdate.d.ts +7 -0
- package/dist/types/api/resourceUpdate.d.ts.map +1 -0
- package/dist/types/api/selfTest.d.ts +4 -0
- package/dist/types/api/selfTest.d.ts.map +1 -0
- package/dist/types/api/tezosGetAddress.d.ts +14 -0
- package/dist/types/api/tezosGetAddress.d.ts.map +1 -0
- package/dist/types/api/tezosGetPublicKey.d.ts +14 -0
- package/dist/types/api/tezosGetPublicKey.d.ts.map +1 -0
- package/dist/types/api/tezosSignTx.d.ts +7 -0
- package/dist/types/api/tezosSignTx.d.ts.map +1 -0
- package/dist/types/api/webAuthnAddResidentCredential.d.ts +4 -0
- package/dist/types/api/webAuthnAddResidentCredential.d.ts.map +1 -0
- package/dist/types/api/webAuthnListResidentCredentials.d.ts +4 -0
- package/dist/types/api/webAuthnListResidentCredentials.d.ts.map +1 -0
- package/dist/types/api/webAuthnRemoveResidentCredential.d.ts +4 -0
- package/dist/types/api/webAuthnRemoveResidentCredential.d.ts.map +1 -0
- 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/BixinBackupDevice.ts +15 -0
- package/src/api/BixinLoadDevice.ts +22 -0
- package/src/api/BixinMessageSE.ts +22 -0
- package/src/api/BixinVerifyDeviceRequest.ts +22 -0
- package/src/api/WebAuthnAddResidentCredential.ts +22 -0
- package/src/api/WebAuthnListResidentCredentials.ts +24 -0
- package/src/api/WebAuthnRemoveResidentCredential.ts +22 -0
- package/src/api/binance/BinanceGetAddress.ts +26 -0
- package/src/api/binance/BinanceGetPublicKey.ts +26 -0
- package/src/api/binance/BinanceSignTx.ts +35 -0
- package/src/api/btc/BTCAuthorizeCoinJoin.ts +37 -0
- package/src/api/btc/BTCGetOwnershipId.ts +34 -0
- package/src/api/btc/BTCGetOwnershipProof.ts +37 -0
- package/src/api/crypto/CryptoBatchGetPublickeys.ts +30 -0
- package/src/api/crypto/CryptoCipherKeyValue.ts +29 -0
- package/src/api/crypto/CryptoCosiCommit.ts +24 -0
- package/src/api/crypto/CryptoCosiSign.ts +26 -0
- package/src/api/crypto/CryptoGetECDHSessionKey.ts +24 -0
- package/src/api/crypto/CryptoSignIdentity.ts +25 -0
- package/src/api/debug/DebugLinkDecision.ts +25 -0
- package/src/api/debug/DebugLinkEraseSdCard.ts +23 -0
- package/src/api/debug/DebugLinkFlashErase.ts +23 -0
- package/src/api/debug/DebugLinkGetState.ts +21 -0
- package/src/api/debug/DebugLinkMemoryRead.ts +24 -0
- package/src/api/debug/DebugLinkMemoryWrite.ts +25 -0
- package/src/api/debug/DebugLinkRecordScreen.ts +23 -0
- package/src/api/debug/DebugLinkReseedRandom.ts +23 -0
- package/src/api/debug/DebugLinkStop.ts +25 -0
- package/src/api/debug/DebugLinkWatchLayout.ts +23 -0
- package/src/api/device/DeviceVerify.ts +2 -0
- package/src/api/emmc/EmmcDirList.ts +20 -0
- package/src/api/emmc/EmmcDirMake.ts +20 -0
- package/src/api/emmc/EmmcDirRemove.ts +20 -0
- package/src/api/emmc/EmmcFileDelete.ts +20 -0
- package/src/api/emmc/EmmcFileRead.ts +21 -0
- package/src/api/emmc/EmmcFileWrite.ts +23 -0
- package/src/api/emmc/EmmcFixPermission.ts +17 -0
- package/src/api/emmc/EmmcPathInfo.ts +20 -0
- package/src/api/eos/EosGetPublicKey.ts +26 -0
- package/src/api/eos/EosSignTx.ts +40 -0
- package/src/api/evmTrezor/EVMGetAddress.ts +75 -0
- package/src/api/evmTrezor/EVMGetPublicKey.ts +106 -0
- package/src/api/evmTrezor/EVMSignMessage.ts +40 -0
- package/src/api/evmTrezor/EVMSignTransaction.ts +83 -0
- package/src/api/evmTrezor/EVMSignTypedData.ts +366 -0
- package/src/api/evmTrezor/EVMVerifyMessage.ts +37 -0
- package/src/api/evmTrezor/legacyV1/getAddress.ts +16 -0
- package/src/api/evmTrezor/legacyV1/getPublicKey.ts +20 -0
- package/src/api/evmTrezor/legacyV1/signMessage.ts +22 -0
- package/src/api/evmTrezor/legacyV1/signTransaction.ts +24 -0
- package/src/api/evmTrezor/legacyV1/signTypedData.ts +36 -0
- package/src/api/evmTrezor/legacyV1/signTypedHash.ts +48 -0
- package/src/api/evmTrezor/legacyV1/verifyMessage.ts +19 -0
- package/src/api/extensionMethodNames.ts +88 -0
- package/src/api/factoryMethods.ts +2 -0
- package/src/api/firmware/FirmwareErase.ts +18 -0
- package/src/api/firmware/FirmwareEraseEx.ts +18 -0
- package/src/api/firmware/FirmwareUpdateEmmcTest.ts +18 -0
- package/src/api/firmware/FirmwareUploadTest.ts +17 -0
- package/src/api/firmware/Reboot.ts +17 -0
- package/src/api/firmware/SelfTest.ts +17 -0
- package/src/api/index.ts +3 -0
- package/src/api/manager/DeviceCancelAuthorization.ts +15 -0
- package/src/api/manager/DeviceChangeWipeCode.ts +19 -0
- package/src/api/manager/DeviceDoPreauthorized.ts +15 -0
- package/src/api/manager/DeviceEndSession.ts +19 -0
- package/src/api/manager/DeviceGetEntropy.ts +19 -0
- package/src/api/manager/DeviceGetFirmwareHash.ts +23 -0
- package/src/api/manager/DeviceInfoSettings.ts +23 -0
- package/src/api/manager/DeviceLoad.ts +27 -0
- package/src/api/manager/DevicePing.ts +19 -0
- package/src/api/manager/DeviceReadSEPublicCert.ts +18 -0
- package/src/api/manager/DeviceSESignMessage.ts +23 -0
- package/src/api/manager/DeviceSdProtect.ts +18 -0
- package/src/api/manager/DeviceSpiFlashRead.ts +22 -0
- package/src/api/manager/DeviceSpiFlashWrite.ts +22 -0
- package/src/api/manager/DeviceUnlockPath.ts +26 -0
- package/src/api/manager/DeviceWriteSEPrivateKey.ts +23 -0
- package/src/api/manager/DeviceWriteSEPublicCert.ts +23 -0
- package/src/api/manager/GetDeviceInfoSettings.ts +20 -0
- package/src/api/manager/GetPublicKeyMultiple.ts +24 -0
- package/src/api/manager/ListResDir.ts +19 -0
- package/src/api/manager/NFTWriteData.ts +21 -0
- package/src/api/manager/NFTWriteInfo.ts +23 -0
- package/src/api/manager/ReadSEPublicKey.ts +20 -0
- package/src/api/manager/ResourceUpdate.ts +22 -0
- package/src/api/methodExtension.ts +27 -0
- package/src/api/monero/MoneroGetAddress.ts +64 -0
- package/src/api/monero/MoneroGetWatchKey.ts +59 -0
- package/src/api/nem/NEMDecryptMessage.ts +29 -0
- package/src/api/protocol-v2/DeviceFactoryCertificateRead.ts +25 -0
- package/src/api/protocol-v2/DeviceFactoryCertificateWrite.ts +30 -0
- package/src/api/protocol-v2/DeviceFactoryChallengeSign.ts +28 -0
- package/src/api/protocol-v2/DeviceFactoryInfoGet.ts +3 -0
- package/src/api/protocol-v2/DeviceFactoryInfoSet.ts +6 -7
- package/src/api/protocol-v2/helpers.ts +152 -5
- package/src/api/testMethods.ts +95 -0
- package/src/api/tezos/TezosGetAddress.ts +64 -0
- package/src/api/tezos/TezosGetPublicKey.ts +63 -0
- package/src/api/tezos/TezosSignTx.ts +44 -0
- package/src/api/utils.ts +46 -1
- package/src/core/index.ts +22 -7
- package/src/index.ts +5 -0
- package/src/inject.ts +209 -7
- package/src/types/api/binanceGetAddress.ts +17 -0
- package/src/types/api/binanceGetPublicKey.ts +17 -0
- package/src/types/api/binanceSignTx.ts +15 -0
- package/src/types/api/bixinBackupDevice.ts +8 -0
- package/src/types/api/bixinLoadDevice.ts +8 -0
- package/src/types/api/bixinMessageSE.ts +8 -0
- package/src/types/api/bixinVerifyDeviceRequest.ts +8 -0
- package/src/types/api/btcAuthorizeCoinJoin.ts +18 -0
- package/src/types/api/btcGetOwnershipId.ts +19 -0
- package/src/types/api/btcGetOwnershipProof.ts +22 -0
- package/src/types/api/cryptoBatchGetPublickeys.ts +18 -0
- package/src/types/api/cryptoCipherKeyValue.ts +18 -0
- package/src/types/api/cryptoCosiCommit.ts +13 -0
- package/src/types/api/cryptoCosiSign.ts +15 -0
- package/src/types/api/cryptoGetECDHSessionKey.ts +8 -0
- package/src/types/api/cryptoSignIdentity.ts +8 -0
- package/src/types/api/debugLinkDecision.ts +7 -0
- package/src/types/api/debugLinkEraseSdCard.ts +7 -0
- package/src/types/api/debugLinkFlashErase.ts +7 -0
- package/src/types/api/debugLinkGetState.ts +7 -0
- package/src/types/api/debugLinkMemoryRead.ts +7 -0
- package/src/types/api/debugLinkMemoryWrite.ts +7 -0
- package/src/types/api/debugLinkRecordScreen.ts +7 -0
- package/src/types/api/debugLinkReseedRandom.ts +7 -0
- package/src/types/api/debugLinkStop.ts +7 -0
- package/src/types/api/debugLinkWatchLayout.ts +7 -0
- package/src/types/api/deviceCancelAuthorization.ts +7 -0
- package/src/types/api/deviceChangeWipeCode.ts +7 -0
- package/src/types/api/deviceDoPreauthorized.ts +7 -0
- package/src/types/api/deviceEndSession.ts +7 -0
- package/src/types/api/deviceGetEntropy.ts +7 -0
- package/src/types/api/deviceGetFirmwareHash.ts +7 -0
- package/src/types/api/deviceGetInfo.ts +7 -0
- package/src/types/api/deviceInfoSettings.ts +7 -0
- package/src/types/api/deviceLoad.ts +19 -0
- package/src/types/api/devicePing.ts +7 -0
- package/src/types/api/deviceReadSEPublicCert.ts +7 -0
- package/src/types/api/deviceSESignMessage.ts +7 -0
- package/src/types/api/deviceSdProtect.ts +7 -0
- package/src/types/api/deviceSpiFlashRead.ts +7 -0
- package/src/types/api/deviceSpiFlashWrite.ts +7 -0
- package/src/types/api/deviceUnlockPath.ts +16 -0
- package/src/types/api/deviceWriteSEPrivateKey.ts +7 -0
- package/src/types/api/deviceWriteSEPublicCert.ts +7 -0
- package/src/types/api/emmcDirList.ts +7 -0
- package/src/types/api/emmcDirMake.ts +7 -0
- package/src/types/api/emmcDirRemove.ts +7 -0
- package/src/types/api/emmcFileDelete.ts +7 -0
- package/src/types/api/emmcFileRead.ts +7 -0
- package/src/types/api/emmcFileWrite.ts +7 -0
- package/src/types/api/emmcFixPermission.ts +7 -0
- package/src/types/api/emmcPathInfo.ts +7 -0
- package/src/types/api/eosGetPublicKey.ts +13 -0
- package/src/types/api/eosSignTx.ts +12 -0
- package/src/types/api/evmGetAddressTrezor.ts +24 -0
- package/src/types/api/evmGetPublicKeyTrezor.ts +31 -0
- package/src/types/api/evmSignMessageTrezor.ts +14 -0
- package/src/types/api/evmSignTransactionTrezor.ts +49 -0
- package/src/types/api/evmSignTypedDataTrezor.ts +42 -0
- package/src/types/api/evmVerifyMessageTrezor.ts +15 -0
- package/src/types/api/firmwareErase.ts +4 -0
- package/src/types/api/firmwareEraseEx.ts +7 -0
- package/src/types/api/firmwareUpdateEmmcTest.ts +7 -0
- package/src/types/api/firmwareUploadTest.ts +7 -0
- package/src/types/api/getPublicKeyMultiple.ts +11 -0
- package/src/types/api/index.ts +288 -2
- package/src/types/api/listResDir.ts +8 -0
- package/src/types/api/moneroGetAddress.ts +23 -0
- package/src/types/api/moneroGetWatchKey.ts +26 -0
- package/src/types/api/nemDecryptMessage.ts +15 -0
- package/src/types/api/nftWriteData.ts +8 -0
- package/src/types/api/nftWriteInfo.ts +8 -0
- package/src/types/api/protocolV2.ts +43 -2
- package/src/types/api/readSEPublicKey.ts +8 -0
- package/src/types/api/reboot.ts +4 -0
- package/src/types/api/resourceUpdate.ts +11 -0
- package/src/types/api/selfTest.ts +7 -0
- package/src/types/api/tezosGetAddress.ts +23 -0
- package/src/types/api/tezosGetPublicKey.ts +23 -0
- package/src/types/api/tezosSignTx.ts +12 -0
- package/src/types/api/webAuthnAddResidentCredential.ts +8 -0
- package/src/types/api/webAuthnListResidentCredentials.ts +8 -0
- package/src/types/api/webAuthnRemoveResidentCredential.ts +8 -0
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { BaseMethod } from '../BaseMethod';
|
|
2
|
+
import type { CipherKeyValue } from '@onekeyfe/hd-transport';
|
|
3
|
+
export default class CryptoCipherKeyValue extends BaseMethod<CipherKeyValue> {
|
|
4
|
+
hasBundle: boolean;
|
|
5
|
+
init(): void;
|
|
6
|
+
run(): Promise<import("../../device/DeviceCommands").TypedResponseMessage<"CipheredKeyValue">>;
|
|
7
|
+
}
|
|
8
|
+
//# sourceMappingURL=CryptoCipherKeyValue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CryptoCipherKeyValue.d.ts","sourceRoot":"","sources":["../../../src/api/crypto/CryptoCipherKeyValue.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE3C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAE7D,MAAM,CAAC,OAAO,OAAO,oBAAqB,SAAQ,UAAU,CAAC,cAAc,CAAC;IAC1E,SAAS,UAAS;IAElB,IAAI;IAgBE,GAAG;CAGV"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { BaseMethod } from '../BaseMethod';
|
|
2
|
+
import type { CosiCommit } from '@onekeyfe/hd-transport';
|
|
3
|
+
export default class CryptoCosiCommit extends BaseMethod<CosiCommit> {
|
|
4
|
+
hasBundle: boolean;
|
|
5
|
+
init(): void;
|
|
6
|
+
run(): Promise<import("../../device/DeviceCommands").TypedResponseMessage<"CosiCommitment">>;
|
|
7
|
+
}
|
|
8
|
+
//# sourceMappingURL=CryptoCosiCommit.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CryptoCosiCommit.d.ts","sourceRoot":"","sources":["../../../src/api/crypto/CryptoCosiCommit.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE3C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AAEzD,MAAM,CAAC,OAAO,OAAO,gBAAiB,SAAQ,UAAU,CAAC,UAAU,CAAC;IAClE,SAAS,UAAS;IAElB,IAAI;IAWE,GAAG;CAGV"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { BaseMethod } from '../BaseMethod';
|
|
2
|
+
import type { CosiSign } from '@onekeyfe/hd-transport';
|
|
3
|
+
export default class CryptoCosiSign extends BaseMethod<CosiSign> {
|
|
4
|
+
hasBundle: boolean;
|
|
5
|
+
init(): void;
|
|
6
|
+
run(): Promise<import("../../device/DeviceCommands").TypedResponseMessage<"CosiSignature">>;
|
|
7
|
+
}
|
|
8
|
+
//# sourceMappingURL=CryptoCosiSign.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CryptoCosiSign.d.ts","sourceRoot":"","sources":["../../../src/api/crypto/CryptoCosiSign.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE3C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAEvD,MAAM,CAAC,OAAO,OAAO,cAAe,SAAQ,UAAU,CAAC,QAAQ,CAAC;IAC9D,SAAS,UAAS;IAElB,IAAI;IAaE,GAAG;CAGV"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { BaseMethod } from '../BaseMethod';
|
|
2
|
+
import type { GetECDHSessionKey } from '@onekeyfe/hd-transport';
|
|
3
|
+
export default class CryptoGetECDHSessionKey extends BaseMethod<GetECDHSessionKey> {
|
|
4
|
+
hasBundle: boolean;
|
|
5
|
+
init(): void;
|
|
6
|
+
run(): Promise<import("../../device/DeviceCommands").TypedResponseMessage<"ECDHSessionKey">>;
|
|
7
|
+
}
|
|
8
|
+
//# sourceMappingURL=CryptoGetECDHSessionKey.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CryptoGetECDHSessionKey.d.ts","sourceRoot":"","sources":["../../../src/api/crypto/CryptoGetECDHSessionKey.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE3C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAEhE,MAAM,CAAC,OAAO,OAAO,uBAAwB,SAAQ,UAAU,CAAC,iBAAiB,CAAC;IAChF,SAAS,UAAS;IAElB,IAAI;IAYE,GAAG;CAGV"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { BaseMethod } from '../BaseMethod';
|
|
2
|
+
import type { SignIdentity } from '@onekeyfe/hd-transport';
|
|
3
|
+
export default class CryptoSignIdentity extends BaseMethod<SignIdentity> {
|
|
4
|
+
hasBundle: boolean;
|
|
5
|
+
init(): void;
|
|
6
|
+
run(): Promise<import("../../device/DeviceCommands").TypedResponseMessage<"ECDHSessionKey">>;
|
|
7
|
+
}
|
|
8
|
+
//# sourceMappingURL=CryptoSignIdentity.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CryptoSignIdentity.d.ts","sourceRoot":"","sources":["../../../src/api/crypto/CryptoSignIdentity.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE3C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAE3D,MAAM,CAAC,OAAO,OAAO,kBAAmB,SAAQ,UAAU,CAAC,YAAY,CAAC;IACtE,SAAS,UAAS;IAElB,IAAI;IAaE,GAAG;CAGV"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { BaseMethod } from '../BaseMethod';
|
|
2
|
+
import type { DebugLinkDecision as HardwareDebugLinkDecision } from '@onekeyfe/hd-transport';
|
|
3
|
+
export default class DebugLinkDecision extends BaseMethod<HardwareDebugLinkDecision> {
|
|
4
|
+
init(): void;
|
|
5
|
+
run(): Promise<import("@onekeyfe/hd-transport").Success>;
|
|
6
|
+
}
|
|
7
|
+
//# sourceMappingURL=DebugLinkDecision.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DebugLinkDecision.d.ts","sourceRoot":"","sources":["../../../src/api/debug/DebugLinkDecision.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE3C,OAAO,KAAK,EAAE,iBAAiB,IAAI,yBAAyB,EAAE,MAAM,wBAAwB,CAAC;AAE7F,MAAM,CAAC,OAAO,OAAO,iBAAkB,SAAQ,UAAU,CAAC,yBAAyB,CAAC;IAClF,IAAI;IAcE,GAAG;CAKV"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { BaseMethod } from '../BaseMethod';
|
|
2
|
+
import type { DebugLinkEraseSdCard as HardwareDebugLinkEraseSdCard } from '@onekeyfe/hd-transport';
|
|
3
|
+
export default class DebugLinkEraseSdCard extends BaseMethod<HardwareDebugLinkEraseSdCard> {
|
|
4
|
+
init(): void;
|
|
5
|
+
run(): Promise<import("@onekeyfe/hd-transport").Success>;
|
|
6
|
+
}
|
|
7
|
+
//# sourceMappingURL=DebugLinkEraseSdCard.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DebugLinkEraseSdCard.d.ts","sourceRoot":"","sources":["../../../src/api/debug/DebugLinkEraseSdCard.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE3C,OAAO,KAAK,EAAE,oBAAoB,IAAI,4BAA4B,EAAE,MAAM,wBAAwB,CAAC;AAEnG,MAAM,CAAC,OAAO,OAAO,oBAAqB,SAAQ,UAAU,CAAC,4BAA4B,CAAC;IACxF,IAAI;IAQE,GAAG;CASV"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { BaseMethod } from '../BaseMethod';
|
|
2
|
+
import type { DebugLinkFlashErase as HardwareDebugLinkFlashErase } from '@onekeyfe/hd-transport';
|
|
3
|
+
export default class DebugLinkFlashErase extends BaseMethod<HardwareDebugLinkFlashErase> {
|
|
4
|
+
init(): void;
|
|
5
|
+
run(): Promise<import("@onekeyfe/hd-transport").DebugLinkLayout>;
|
|
6
|
+
}
|
|
7
|
+
//# sourceMappingURL=DebugLinkFlashErase.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DebugLinkFlashErase.d.ts","sourceRoot":"","sources":["../../../src/api/debug/DebugLinkFlashErase.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE3C,OAAO,KAAK,EAAE,mBAAmB,IAAI,2BAA2B,EAAE,MAAM,wBAAwB,CAAC;AAEjG,MAAM,CAAC,OAAO,OAAO,mBAAoB,SAAQ,UAAU,CAAC,2BAA2B,CAAC;IACtF,IAAI;IAQE,GAAG;CASV"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { BaseMethod } from '../BaseMethod';
|
|
2
|
+
import type { DebugLinkGetState as HardwareDebugLinkGetState } from '@onekeyfe/hd-transport';
|
|
3
|
+
export default class DebugLinkGetState extends BaseMethod<HardwareDebugLinkGetState> {
|
|
4
|
+
init(): void;
|
|
5
|
+
run(): Promise<import("@onekeyfe/hd-transport").DebugLinkLog>;
|
|
6
|
+
}
|
|
7
|
+
//# sourceMappingURL=DebugLinkGetState.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DebugLinkGetState.d.ts","sourceRoot":"","sources":["../../../src/api/debug/DebugLinkGetState.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE3C,OAAO,KAAK,EAAE,iBAAiB,IAAI,yBAAyB,EAAE,MAAM,wBAAwB,CAAC;AAE7F,MAAM,CAAC,OAAO,OAAO,iBAAkB,SAAQ,UAAU,CAAC,yBAAyB,CAAC;IAClF,IAAI;IAME,GAAG;CASV"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { BaseMethod } from '../BaseMethod';
|
|
2
|
+
import type { DebugLinkMemoryRead as HardwareDebugLinkMemoryRead } from '@onekeyfe/hd-transport';
|
|
3
|
+
export default class DebugLinkMemoryRead extends BaseMethod<HardwareDebugLinkMemoryRead> {
|
|
4
|
+
init(): void;
|
|
5
|
+
run(): Promise<import("@onekeyfe/hd-transport").DebugLinkMemory>;
|
|
6
|
+
}
|
|
7
|
+
//# sourceMappingURL=DebugLinkMemoryRead.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DebugLinkMemoryRead.d.ts","sourceRoot":"","sources":["../../../src/api/debug/DebugLinkMemoryRead.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE3C,OAAO,KAAK,EAAE,mBAAmB,IAAI,2BAA2B,EAAE,MAAM,wBAAwB,CAAC;AAEjG,MAAM,CAAC,OAAO,OAAO,mBAAoB,SAAQ,UAAU,CAAC,2BAA2B,CAAC;IACtF,IAAI;IASE,GAAG;CASV"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { BaseMethod } from '../BaseMethod';
|
|
2
|
+
import type { DebugLinkMemoryWrite as HardwareDebugLinkMemoryWrite } from '@onekeyfe/hd-transport';
|
|
3
|
+
export default class DebugLinkMemoryWrite extends BaseMethod<HardwareDebugLinkMemoryWrite> {
|
|
4
|
+
init(): void;
|
|
5
|
+
run(): Promise<import("@onekeyfe/hd-transport").Success>;
|
|
6
|
+
}
|
|
7
|
+
//# sourceMappingURL=DebugLinkMemoryWrite.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DebugLinkMemoryWrite.d.ts","sourceRoot":"","sources":["../../../src/api/debug/DebugLinkMemoryWrite.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE3C,OAAO,KAAK,EAAE,oBAAoB,IAAI,4BAA4B,EAAE,MAAM,wBAAwB,CAAC;AAEnG,MAAM,CAAC,OAAO,OAAO,oBAAqB,SAAQ,UAAU,CAAC,4BAA4B,CAAC;IACxF,IAAI;IAUE,GAAG;CASV"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { BaseMethod } from '../BaseMethod';
|
|
2
|
+
import type { DebugLinkRecordScreen as HardwareDebugLinkRecordScreen } from '@onekeyfe/hd-transport';
|
|
3
|
+
export default class DebugLinkRecordScreen extends BaseMethod<HardwareDebugLinkRecordScreen> {
|
|
4
|
+
init(): void;
|
|
5
|
+
run(): Promise<import("@onekeyfe/hd-transport").Success>;
|
|
6
|
+
}
|
|
7
|
+
//# sourceMappingURL=DebugLinkRecordScreen.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DebugLinkRecordScreen.d.ts","sourceRoot":"","sources":["../../../src/api/debug/DebugLinkRecordScreen.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE3C,OAAO,KAAK,EAAE,qBAAqB,IAAI,6BAA6B,EAAE,MAAM,wBAAwB,CAAC;AAErG,MAAM,CAAC,OAAO,OAAO,qBAAsB,SAAQ,UAAU,CAAC,6BAA6B,CAAC;IAC1F,IAAI;IAQE,GAAG;CASV"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { BaseMethod } from '../BaseMethod';
|
|
2
|
+
import type { DebugLinkReseedRandom as HardwareDebugLinkReseedRandom } from '@onekeyfe/hd-transport';
|
|
3
|
+
export default class DebugLinkReseedRandom extends BaseMethod<HardwareDebugLinkReseedRandom> {
|
|
4
|
+
init(): void;
|
|
5
|
+
run(): Promise<import("@onekeyfe/hd-transport").Success>;
|
|
6
|
+
}
|
|
7
|
+
//# sourceMappingURL=DebugLinkReseedRandom.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DebugLinkReseedRandom.d.ts","sourceRoot":"","sources":["../../../src/api/debug/DebugLinkReseedRandom.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE3C,OAAO,KAAK,EAAE,qBAAqB,IAAI,6BAA6B,EAAE,MAAM,wBAAwB,CAAC;AAErG,MAAM,CAAC,OAAO,OAAO,qBAAsB,SAAQ,UAAU,CAAC,6BAA6B,CAAC;IAC1F,IAAI;IAQE,GAAG;CASV"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { BaseMethod } from '../BaseMethod';
|
|
2
|
+
import type { DebugLinkStop as HardwareDebugLinkStop } from '@onekeyfe/hd-transport';
|
|
3
|
+
export default class DebugLinkStop extends BaseMethod<HardwareDebugLinkStop> {
|
|
4
|
+
init(): void;
|
|
5
|
+
run(): Promise<import("@onekeyfe/hd-transport").DebugLinkState>;
|
|
6
|
+
}
|
|
7
|
+
//# sourceMappingURL=DebugLinkStop.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DebugLinkStop.d.ts","sourceRoot":"","sources":["../../../src/api/debug/DebugLinkStop.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE3C,OAAO,KAAK,EAAE,aAAa,IAAI,qBAAqB,EAAE,MAAM,wBAAwB,CAAC;AAErF,MAAM,CAAC,OAAO,OAAO,aAAc,SAAQ,UAAU,CAAC,qBAAqB,CAAC;IAC1E,IAAI;IAUE,GAAG;CASV"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { BaseMethod } from '../BaseMethod';
|
|
2
|
+
import type { DebugLinkWatchLayout as HardwareDebugLinkWatchLayout } from '@onekeyfe/hd-transport';
|
|
3
|
+
export default class DebugLinkWatchLayout extends BaseMethod<HardwareDebugLinkWatchLayout> {
|
|
4
|
+
init(): void;
|
|
5
|
+
run(): Promise<import("@onekeyfe/hd-transport").Success>;
|
|
6
|
+
}
|
|
7
|
+
//# sourceMappingURL=DebugLinkWatchLayout.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DebugLinkWatchLayout.d.ts","sourceRoot":"","sources":["../../../src/api/debug/DebugLinkWatchLayout.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE3C,OAAO,KAAK,EAAE,oBAAoB,IAAI,4BAA4B,EAAE,MAAM,wBAAwB,CAAC;AAEnG,MAAM,CAAC,OAAO,OAAO,oBAAqB,SAAQ,UAAU,CAAC,4BAA4B,CAAC;IACxF,IAAI;IAQE,GAAG;CASV"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DeviceVerify.d.ts","sourceRoot":"","sources":["../../../src/api/device/DeviceVerify.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"DeviceVerify.d.ts","sourceRoot":"","sources":["../../../src/api/device/DeviceVerify.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAK3C,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,wBAAwB,CAAC;AACvE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAC;AAEzD,MAAM,CAAC,OAAO,OAAO,YAAa,SAAQ,UAAU,CAAC,wBAAwB,CAAC;IAC5E,IAAI;IAaE,GAAG;CAsCV"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { BaseMethod } from '../BaseMethod';
|
|
2
|
+
import type { EmmcDirList as HardwareEmmcDirList } from '@onekeyfe/hd-transport';
|
|
3
|
+
export default class EmmcDirList extends BaseMethod<HardwareEmmcDirList> {
|
|
4
|
+
init(): void;
|
|
5
|
+
run(): Promise<import("@onekeyfe/hd-transport").EmmcDir>;
|
|
6
|
+
}
|
|
7
|
+
//# sourceMappingURL=EmmcDirList.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EmmcDirList.d.ts","sourceRoot":"","sources":["../../../src/api/emmc/EmmcDirList.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAG3C,OAAO,KAAK,EAAE,WAAW,IAAI,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAEjF,MAAM,CAAC,OAAO,OAAO,WAAY,SAAQ,UAAU,CAAC,mBAAmB,CAAC;IACtE,IAAI;IAQE,GAAG;CAKV"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { BaseMethod } from '../BaseMethod';
|
|
2
|
+
import type { EmmcDirMake as HardwareEmmcDirMake } from '@onekeyfe/hd-transport';
|
|
3
|
+
export default class EmmcDirMake extends BaseMethod<HardwareEmmcDirMake> {
|
|
4
|
+
init(): void;
|
|
5
|
+
run(): Promise<import("@onekeyfe/hd-transport").Success>;
|
|
6
|
+
}
|
|
7
|
+
//# sourceMappingURL=EmmcDirMake.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EmmcDirMake.d.ts","sourceRoot":"","sources":["../../../src/api/emmc/EmmcDirMake.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAG3C,OAAO,KAAK,EAAE,WAAW,IAAI,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAEjF,MAAM,CAAC,OAAO,OAAO,WAAY,SAAQ,UAAU,CAAC,mBAAmB,CAAC;IACtE,IAAI;IAQE,GAAG;CAKV"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { BaseMethod } from '../BaseMethod';
|
|
2
|
+
import type { EmmcDirRemove as HardwareEmmcDirRemove } from '@onekeyfe/hd-transport';
|
|
3
|
+
export default class EmmcDirRemove extends BaseMethod<HardwareEmmcDirRemove> {
|
|
4
|
+
init(): void;
|
|
5
|
+
run(): Promise<import("@onekeyfe/hd-transport").Success>;
|
|
6
|
+
}
|
|
7
|
+
//# sourceMappingURL=EmmcDirRemove.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EmmcDirRemove.d.ts","sourceRoot":"","sources":["../../../src/api/emmc/EmmcDirRemove.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAG3C,OAAO,KAAK,EAAE,aAAa,IAAI,qBAAqB,EAAE,MAAM,wBAAwB,CAAC;AAErF,MAAM,CAAC,OAAO,OAAO,aAAc,SAAQ,UAAU,CAAC,qBAAqB,CAAC;IAC1E,IAAI;IAQE,GAAG;CAKV"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { BaseMethod } from '../BaseMethod';
|
|
2
|
+
import type { EmmcFileDelete as HardwareEmmcFileDelete } from '@onekeyfe/hd-transport';
|
|
3
|
+
export default class EmmcFileDelete extends BaseMethod<HardwareEmmcFileDelete> {
|
|
4
|
+
init(): void;
|
|
5
|
+
run(): Promise<import("@onekeyfe/hd-transport").Success>;
|
|
6
|
+
}
|
|
7
|
+
//# sourceMappingURL=EmmcFileDelete.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EmmcFileDelete.d.ts","sourceRoot":"","sources":["../../../src/api/emmc/EmmcFileDelete.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAG3C,OAAO,KAAK,EAAE,cAAc,IAAI,sBAAsB,EAAE,MAAM,wBAAwB,CAAC;AAEvF,MAAM,CAAC,OAAO,OAAO,cAAe,SAAQ,UAAU,CAAC,sBAAsB,CAAC;IAC5E,IAAI;IAQE,GAAG;CAKV"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { BaseMethod } from '../BaseMethod';
|
|
2
|
+
import type { EmmcFileRead as HardwareEmmcFileRead } from '@onekeyfe/hd-transport';
|
|
3
|
+
export default class EmmcFileRead extends BaseMethod<HardwareEmmcFileRead> {
|
|
4
|
+
init(): void;
|
|
5
|
+
run(): Promise<import("@onekeyfe/hd-transport").EmmcFile>;
|
|
6
|
+
}
|
|
7
|
+
//# sourceMappingURL=EmmcFileRead.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EmmcFileRead.d.ts","sourceRoot":"","sources":["../../../src/api/emmc/EmmcFileRead.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAG3C,OAAO,KAAK,EAAE,YAAY,IAAI,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAEnF,MAAM,CAAC,OAAO,OAAO,YAAa,SAAQ,UAAU,CAAC,oBAAoB,CAAC;IACxE,IAAI;IASE,GAAG;CAKV"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { BaseMethod } from '../BaseMethod';
|
|
2
|
+
import type { EmmcFileWrite as HardwareEmmcFileWrite } from '@onekeyfe/hd-transport';
|
|
3
|
+
export default class EmmcFileWrite extends BaseMethod<HardwareEmmcFileWrite> {
|
|
4
|
+
init(): void;
|
|
5
|
+
run(): Promise<import("@onekeyfe/hd-transport").EmmcFile>;
|
|
6
|
+
}
|
|
7
|
+
//# sourceMappingURL=EmmcFileWrite.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EmmcFileWrite.d.ts","sourceRoot":"","sources":["../../../src/api/emmc/EmmcFileWrite.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAG3C,OAAO,KAAK,EAAE,aAAa,IAAI,qBAAqB,EAAE,MAAM,wBAAwB,CAAC;AAErF,MAAM,CAAC,OAAO,OAAO,aAAc,SAAQ,UAAU,CAAC,qBAAqB,CAAC;IAC1E,IAAI;IAWE,GAAG;CAKV"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { BaseMethod } from '../BaseMethod';
|
|
2
|
+
import type { EmmcFixPermission as HardwareEmmcFixPermission } from '@onekeyfe/hd-transport';
|
|
3
|
+
export default class EmmcFixPermission extends BaseMethod<HardwareEmmcFixPermission> {
|
|
4
|
+
init(): void;
|
|
5
|
+
run(): Promise<import("@onekeyfe/hd-transport").Success>;
|
|
6
|
+
}
|
|
7
|
+
//# sourceMappingURL=EmmcFixPermission.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EmmcFixPermission.d.ts","sourceRoot":"","sources":["../../../src/api/emmc/EmmcFixPermission.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAG3C,OAAO,KAAK,EAAE,iBAAiB,IAAI,yBAAyB,EAAE,MAAM,wBAAwB,CAAC;AAE7F,MAAM,CAAC,OAAO,OAAO,iBAAkB,SAAQ,UAAU,CAAC,yBAAyB,CAAC;IAClF,IAAI;IAKE,GAAG;CAKV"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { BaseMethod } from '../BaseMethod';
|
|
2
|
+
import type { EmmcPathInfo as HardwareEmmcPathInfo } from '@onekeyfe/hd-transport';
|
|
3
|
+
export default class EmmcPathInfo extends BaseMethod<HardwareEmmcPathInfo> {
|
|
4
|
+
init(): void;
|
|
5
|
+
run(): Promise<import("@onekeyfe/hd-transport").EmmcFile>;
|
|
6
|
+
}
|
|
7
|
+
//# sourceMappingURL=EmmcPathInfo.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EmmcPathInfo.d.ts","sourceRoot":"","sources":["../../../src/api/emmc/EmmcPathInfo.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAG3C,OAAO,KAAK,EAAE,YAAY,IAAI,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAEnF,MAAM,CAAC,OAAO,OAAO,YAAa,SAAQ,UAAU,CAAC,oBAAoB,CAAC;IACxE,IAAI;IAQE,GAAG;CAKV"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { BaseMethod } from '../BaseMethod';
|
|
2
|
+
import type { EosGetPublicKey as HardwareEosGetPublicKey } from '@onekeyfe/hd-transport';
|
|
3
|
+
export default class EosGetPublicKey extends BaseMethod<HardwareEosGetPublicKey> {
|
|
4
|
+
hasBundle: boolean;
|
|
5
|
+
init(): void;
|
|
6
|
+
run(): Promise<import("../../device/DeviceCommands").TypedResponseMessage<"EosPublicKey">>;
|
|
7
|
+
}
|
|
8
|
+
//# sourceMappingURL=EosGetPublicKey.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EosGetPublicKey.d.ts","sourceRoot":"","sources":["../../../src/api/eos/EosGetPublicKey.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE3C,OAAO,KAAK,EAAE,eAAe,IAAI,uBAAuB,EAAE,MAAM,wBAAwB,CAAC;AAEzF,MAAM,CAAC,OAAO,OAAO,eAAgB,SAAQ,UAAU,CAAC,uBAAuB,CAAC;IAC9E,SAAS,UAAS;IAElB,IAAI;IAWE,GAAG;CAKV"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { BaseMethod } from '../BaseMethod';
|
|
2
|
+
import type { EosSignTx as HardwareEosSignTx } from '@onekeyfe/hd-transport';
|
|
3
|
+
export default class EosSignTx extends BaseMethod<HardwareEosSignTx> {
|
|
4
|
+
init(): void;
|
|
5
|
+
getVersionRange(): {
|
|
6
|
+
model_mini: {
|
|
7
|
+
min: string;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
run(): Promise<import("@onekeyfe/hd-transport").EosTxActionRequest>;
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=EosSignTx.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EosSignTx.d.ts","sourceRoot":"","sources":["../../../src/api/eos/EosSignTx.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE3C,OAAO,KAAK,EAAE,SAAS,IAAI,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAE7E,MAAM,CAAC,OAAO,OAAO,SAAU,SAAQ,UAAU,CAAC,iBAAiB,CAAC;IAClE,IAAI;IAiBJ,eAAe;;;;;IAQT,GAAG;CAOV"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { BaseMethod } from '../BaseMethod';
|
|
2
|
+
import type { EVMAddress } from '../../types';
|
|
3
|
+
import type { EthereumGetAddressOneKey } from '@onekeyfe/hd-transport';
|
|
4
|
+
export default class EvmGetAddress extends BaseMethod<EthereumGetAddressOneKey[]> {
|
|
5
|
+
hasBundle: boolean;
|
|
6
|
+
init(): void;
|
|
7
|
+
getEvmAddress(param: EthereumGetAddressOneKey): Promise<import("@onekeyfe/hd-transport").MessageResponse<"EthereumAddress">>;
|
|
8
|
+
run(): Promise<EVMAddress | EVMAddress[]>;
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=EVMGetAddress.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EVMGetAddress.d.ts","sourceRoot":"","sources":["../../../src/api/evmTrezor/EVMGetAddress.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAI3C,OAAO,KAAK,EAAE,UAAU,EAAuB,MAAM,aAAa,CAAC;AACnE,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,wBAAwB,CAAC;AAEvE,MAAM,CAAC,OAAO,OAAO,aAAc,SAAQ,UAAU,CAAC,wBAAwB,EAAE,CAAC;IAC/E,SAAS,UAAS;IAElB,IAAI;IA+BE,aAAa,CAAC,KAAK,EAAE,wBAAwB;IAO7C,GAAG;CAwBV"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { BaseMethod } from '../BaseMethod';
|
|
2
|
+
import type { EVMPublicKey } from '../../types';
|
|
3
|
+
import type { EthereumGetPublicKey, EthereumGetPublicKeyOneKey } from '@onekeyfe/hd-transport';
|
|
4
|
+
export default class EVMGetPublicKey extends BaseMethod<EthereumGetPublicKeyOneKey[]> {
|
|
5
|
+
hasBundle: boolean;
|
|
6
|
+
confirmShowOnOneKey: boolean;
|
|
7
|
+
useBatch: boolean;
|
|
8
|
+
init(): void;
|
|
9
|
+
getEvmPublicKey(param: EthereumGetPublicKey): Promise<import("@onekeyfe/hd-transport").MessageResponse<"EthereumPublicKey">>;
|
|
10
|
+
run(): Promise<EVMPublicKey | EVMPublicKey[] | {
|
|
11
|
+
path: string;
|
|
12
|
+
pub: string;
|
|
13
|
+
publicKey: string;
|
|
14
|
+
}[]>;
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=EVMGetPublicKey.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EVMGetPublicKey.d.ts","sourceRoot":"","sources":["../../../src/api/evmTrezor/EVMGetPublicKey.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAK3C,OAAO,KAAK,EAAyB,YAAY,EAAE,MAAM,aAAa,CAAC;AACvE,OAAO,KAAK,EAAE,oBAAoB,EAAE,0BAA0B,EAAE,MAAM,wBAAwB,CAAC;AAE/F,MAAM,CAAC,OAAO,OAAO,eAAgB,SAAQ,UAAU,CAAC,0BAA0B,EAAE,CAAC;IACnF,SAAS,UAAS;IAElB,mBAAmB,UAAS;IAE5B,QAAQ,UAAS;IAEjB,IAAI;IAsCJ,eAAe,CAAC,KAAK,EAAE,oBAAoB;IAOrC,GAAG;;;;;CA2CV"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { BaseMethod } from '../BaseMethod';
|
|
2
|
+
import type { EthereumSignMessageOneKey } from '@onekeyfe/hd-transport';
|
|
3
|
+
export default class EVMSignMessage extends BaseMethod<EthereumSignMessageOneKey> {
|
|
4
|
+
init(): void;
|
|
5
|
+
run(): Promise<import("@onekeyfe/hd-transport").EthereumMessageSignature>;
|
|
6
|
+
}
|
|
7
|
+
//# sourceMappingURL=EVMSignMessage.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EVMSignMessage.d.ts","sourceRoot":"","sources":["../../../src/api/evmTrezor/EVMSignMessage.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAK3C,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,wBAAwB,CAAC;AAExE,MAAM,CAAC,OAAO,OAAO,cAAe,SAAQ,UAAU,CAAC,yBAAyB,CAAC;IAC/E,IAAI;IAuBE,GAAG;CAMV"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { BaseMethod } from '../BaseMethod';
|
|
2
|
+
import type { EVMTransaction, EVMTransactionEIP1559 } from '../../types';
|
|
3
|
+
export default class EVMSignTransaction extends BaseMethod {
|
|
4
|
+
addressN: number[];
|
|
5
|
+
isEIP1559: boolean;
|
|
6
|
+
formattedTx: EVMTransaction | EVMTransactionEIP1559 | undefined;
|
|
7
|
+
init(): void;
|
|
8
|
+
getVersionRange(): {
|
|
9
|
+
model_mini: {
|
|
10
|
+
min: string;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
run(): Promise<import("../../types").EVMSignedTx>;
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=EVMSignTransaction.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EVMSignTransaction.d.ts","sourceRoot":"","sources":["../../../src/api/evmTrezor/EVMSignTransaction.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAK3C,OAAO,KAAK,EAA4B,cAAc,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAC;AAGnG,MAAM,CAAC,OAAO,OAAO,kBAAmB,SAAQ,UAAU;IACxD,QAAQ,EAAE,MAAM,EAAE,CAAM;IAExB,SAAS,UAAS;IAElB,WAAW,EAAE,cAAc,GAAG,qBAAqB,GAAG,SAAS,CAAC;IAEhE,IAAI;IAoCJ,eAAe;;;;;IAeT,GAAG;CAYV"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { BaseMethod } from '../BaseMethod';
|
|
2
|
+
import { type EthereumSignTypedDataMessage, type EthereumSignTypedDataTypes } from '../../types';
|
|
3
|
+
import type { MessageKey, MessageResponse, TypedCall } from '@onekeyfe/hd-transport';
|
|
4
|
+
export type EVMSignTypedDataParams = {
|
|
5
|
+
addressN: number[];
|
|
6
|
+
metamaskV4Compat: boolean;
|
|
7
|
+
data: EthereumSignTypedDataMessage<EthereumSignTypedDataTypes>;
|
|
8
|
+
domainHash?: string;
|
|
9
|
+
messageHash?: string;
|
|
10
|
+
chainId?: number;
|
|
11
|
+
};
|
|
12
|
+
export default class EVMSignTypedData extends BaseMethod<EVMSignTypedDataParams> {
|
|
13
|
+
init(): void;
|
|
14
|
+
handleSignTypedData({ typedCall, signData, response, }: {
|
|
15
|
+
typedCall: TypedCall;
|
|
16
|
+
signData: EthereumSignTypedDataMessage<EthereumSignTypedDataTypes>;
|
|
17
|
+
response: MessageResponse<MessageKey>;
|
|
18
|
+
}): Promise<{
|
|
19
|
+
address: string;
|
|
20
|
+
signature: string;
|
|
21
|
+
}>;
|
|
22
|
+
signTypedData(): Promise<{
|
|
23
|
+
address: string;
|
|
24
|
+
signature: string;
|
|
25
|
+
}>;
|
|
26
|
+
signTypedHash({ typedCall, addressN, domainHash, messageHash, chainId, }: {
|
|
27
|
+
typedCall: TypedCall;
|
|
28
|
+
addressN: number[];
|
|
29
|
+
domainHash: string | undefined;
|
|
30
|
+
messageHash: string | undefined;
|
|
31
|
+
chainId: number | undefined;
|
|
32
|
+
}): Promise<MessageResponse<"EthereumTypedDataSignature"> | MessageResponse<"EthereumTypedDataSignatureOneKey">>;
|
|
33
|
+
getVersionRange(): {
|
|
34
|
+
model_mini: {
|
|
35
|
+
min: string;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
hasBiggerData(item: EthereumSignTypedDataMessage<EthereumSignTypedDataTypes>): boolean;
|
|
39
|
+
hasNestedArrays(item: any): boolean;
|
|
40
|
+
supportSignTyped(): boolean;
|
|
41
|
+
run(): Promise<import("@onekeyfe/hd-transport").EthereumMessageSignature>;
|
|
42
|
+
}
|
|
43
|
+
//# sourceMappingURL=EVMSignTypedData.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EVMSignTypedData.d.ts","sourceRoot":"","sources":["../../../src/api/evmTrezor/EVMSignTypedData.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAI3C,OAAO,EAEL,KAAK,4BAA4B,EACjC,KAAK,0BAA0B,EAChC,MAAM,aAAa,CAAC;AAKrB,OAAO,KAAK,EAGV,UAAU,EACV,eAAe,EACf,SAAS,EACV,MAAM,wBAAwB,CAAC;AAEhC,MAAM,MAAM,sBAAsB,GAAG;IACnC,QAAQ,EAAE,MAAM,EAAE,CAAC;IACnB,gBAAgB,EAAE,OAAO,CAAC;IAC1B,IAAI,EAAE,4BAA4B,CAAC,0BAA0B,CAAC,CAAC;IAC/D,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,MAAM,CAAC,OAAO,OAAO,gBAAiB,SAAQ,UAAU,CAAC,sBAAsB,CAAC;IAC9E,IAAI;IAqCE,mBAAmB,CAAC,EACxB,SAAS,EACT,QAAQ,EACR,QAAQ,GACT,EAAE;QACD,SAAS,EAAE,SAAS,CAAC;QACrB,QAAQ,EAAE,4BAA4B,CAAC,0BAA0B,CAAC,CAAC;QACnE,QAAQ,EAAE,eAAe,CAAC,UAAU,CAAC,CAAC;KACvC;;;;IAsGK,aAAa;;;;IAkBnB,aAAa,CAAC,EACZ,SAAS,EACT,QAAQ,EACR,UAAU,EACV,WAAW,EACX,OAAO,GACR,EAAE;QACD,SAAS,EAAE,SAAS,CAAC;QACrB,QAAQ,EAAE,MAAM,EAAE,CAAC;QACnB,UAAU,EAAE,MAAM,GAAG,SAAS,CAAC;QAC/B,WAAW,EAAE,MAAM,GAAG,SAAS,CAAC;QAChC,OAAO,EAAE,MAAM,GAAG,SAAS,CAAC;KAC7B;IAaD,eAAe;;;;;IAQf,aAAa,CAAC,IAAI,EAAE,4BAA4B,CAAC,0BAA0B,CAAC;IAiB5E,eAAe,CAAC,IAAI,EAAE,GAAG,GAAG,OAAO;IA8BnC,gBAAgB;IAcV,GAAG;CAqEV"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { BaseMethod } from '../BaseMethod';
|
|
2
|
+
import type { EthereumVerifyMessageOneKey } from '@onekeyfe/hd-transport';
|
|
3
|
+
export default class EVMSignMessage extends BaseMethod<EthereumVerifyMessageOneKey> {
|
|
4
|
+
init(): void;
|
|
5
|
+
run(): Promise<import("@onekeyfe/hd-transport").Success>;
|
|
6
|
+
}
|
|
7
|
+
//# sourceMappingURL=EVMVerifyMessage.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EVMVerifyMessage.d.ts","sourceRoot":"","sources":["../../../src/api/evmTrezor/EVMVerifyMessage.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAK3C,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,wBAAwB,CAAC;AAE1E,MAAM,CAAC,OAAO,OAAO,cAAe,SAAQ,UAAU,CAAC,2BAA2B,CAAC;IACjF,IAAI;IAqBE,GAAG;CAMV"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { EthereumGetAddressOneKey, MessageResponse, TypedCall } from '@onekeyfe/hd-transport';
|
|
2
|
+
export default function ({ typedCall, param, }: {
|
|
3
|
+
typedCall: TypedCall;
|
|
4
|
+
param: EthereumGetAddressOneKey;
|
|
5
|
+
}): Promise<MessageResponse<'EthereumAddress'>>;
|
|
6
|
+
//# sourceMappingURL=getAddress.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getAddress.d.ts","sourceRoot":"","sources":["../../../../src/api/evmTrezor/legacyV1/getAddress.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,eAAe,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAEnG,yBAA+B,EAC7B,SAAS,EACT,KAAK,GACN,EAAE;IACD,SAAS,EAAE,SAAS,CAAC;IACrB,KAAK,EAAE,wBAAwB,CAAC;CACjC,GAAG,OAAO,CAAC,eAAe,CAAC,iBAAiB,CAAC,CAAC,CAO9C"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { EthereumGetPublicKeyOneKey, MessageResponse, TypedCall } from '@onekeyfe/hd-transport';
|
|
2
|
+
export default function ({ typedCall, param, }: {
|
|
3
|
+
typedCall: TypedCall;
|
|
4
|
+
param: EthereumGetPublicKeyOneKey;
|
|
5
|
+
}): Promise<MessageResponse<'EthereumPublicKey'>>;
|
|
6
|
+
//# sourceMappingURL=getPublicKey.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getPublicKey.d.ts","sourceRoot":"","sources":["../../../../src/api/evmTrezor/legacyV1/getPublicKey.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,0BAA0B,EAC1B,eAAe,EACf,SAAS,EACV,MAAM,wBAAwB,CAAC;AAEhC,yBAA+B,EAC7B,SAAS,EACT,KAAK,GACN,EAAE;IACD,SAAS,EAAE,SAAS,CAAC;IACrB,KAAK,EAAE,0BAA0B,CAAC;CACnC,GAAG,OAAO,CAAC,eAAe,CAAC,mBAAmB,CAAC,CAAC,CAOhD"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { EthereumMessageSignature, EthereumSignMessageOneKey, TypedCall } from '@onekeyfe/hd-transport';
|
|
2
|
+
export default function ({ typedCall, params, }: {
|
|
3
|
+
typedCall: TypedCall;
|
|
4
|
+
params: EthereumSignMessageOneKey;
|
|
5
|
+
}): Promise<EthereumMessageSignature>;
|
|
6
|
+
//# sourceMappingURL=signMessage.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"signMessage.d.ts","sourceRoot":"","sources":["../../../../src/api/evmTrezor/legacyV1/signMessage.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,wBAAwB,EACxB,yBAAyB,EACzB,SAAS,EACV,MAAM,wBAAwB,CAAC;AAEhC,yBAA+B,EAC7B,SAAS,EACT,MAAM,GACP,EAAE;IACD,SAAS,EAAE,SAAS,CAAC;IACrB,MAAM,EAAE,yBAAyB,CAAC;CACnC,GAAG,OAAO,CAAC,wBAAwB,CAAC,CASpC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { TypedCall } from '@onekeyfe/hd-transport';
|
|
2
|
+
import type { EVMTransaction, EVMTransactionEIP1559 } from '../../../types';
|
|
3
|
+
export declare const signTransaction: ({ typedCall, isEIP1559, addressN, tx, }: {
|
|
4
|
+
addressN: number[];
|
|
5
|
+
tx: EVMTransaction | EVMTransactionEIP1559;
|
|
6
|
+
isEIP1559: boolean;
|
|
7
|
+
typedCall: TypedCall;
|
|
8
|
+
}) => Promise<import("../../../types").EVMSignedTx>;
|
|
9
|
+
//# sourceMappingURL=signTransaction.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"signTransaction.d.ts","sourceRoot":"","sources":["../../../../src/api/evmTrezor/legacyV1/signTransaction.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,KAAK,EAAE,cAAc,EAAE,qBAAqB,EAAE,MAAM,gBAAgB,CAAC;AAE5E,eAAO,MAAM,eAAe;cAMhB,MAAM,EAAE;QACd,cAAc,GAAG,qBAAqB;eAC/B,OAAO;eACP,SAAS;mDASiE,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { TypedCall } from '@onekeyfe/hd-transport';
|
|
2
|
+
import type { EthereumSignTypedDataMessage, EthereumSignTypedDataTypes } from '../../../types';
|
|
3
|
+
export declare const signTypedData: ({ typedCall, addressN, data, metamaskV4Compat, chainId, }: {
|
|
4
|
+
typedCall: TypedCall;
|
|
5
|
+
addressN: number[];
|
|
6
|
+
data: EthereumSignTypedDataMessage<EthereumSignTypedDataTypes>;
|
|
7
|
+
metamaskV4Compat: boolean;
|
|
8
|
+
chainId?: number | undefined;
|
|
9
|
+
}) => Promise<import("@onekeyfe/hd-transport").MessageResponse<"EthereumTypedDataSignature"> | import("@onekeyfe/hd-transport").MessageResponse<"EthereumGnosisSafeTxRequest"> | import("@onekeyfe/hd-transport").MessageResponse<"EthereumTypedDataStructRequest"> | import("@onekeyfe/hd-transport").MessageResponse<"EthereumTypedDataValueRequest">>;
|
|
10
|
+
//# sourceMappingURL=signTypedData.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"signTypedData.d.ts","sourceRoot":"","sources":["../../../../src/api/evmTrezor/legacyV1/signTypedData.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,KAAK,EAAE,4BAA4B,EAAE,0BAA0B,EAAE,MAAM,gBAAgB,CAAC;AAE/F,eAAO,MAAM,aAAa;eAOb,SAAS;cACV,MAAM,EAAE;UACZ,6BAA6B,0BAA0B,CAAC;sBAC5C,OAAO;;wVAsB1B,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Device } from '../../../device/Device';
|
|
2
|
+
import type { MessageResponse, TypedCall } from '@onekeyfe/hd-transport';
|
|
3
|
+
export declare const signTypedHash: ({ typedCall, addressN, device, chainId, domainHash, messageHash, }: {
|
|
4
|
+
typedCall: TypedCall;
|
|
5
|
+
addressN: number[];
|
|
6
|
+
device: Device;
|
|
7
|
+
chainId: number | undefined;
|
|
8
|
+
domainHash: string;
|
|
9
|
+
messageHash: string | undefined;
|
|
10
|
+
}) => Promise<MessageResponse<'EthereumTypedDataSignature'> | MessageResponse<'EthereumTypedDataSignatureOneKey'>>;
|
|
11
|
+
//# sourceMappingURL=signTypedHash.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"signTypedHash.d.ts","sourceRoot":"","sources":["../../../../src/api/evmTrezor/legacyV1/signTypedHash.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;AACrD,OAAO,KAAK,EAAE,eAAe,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAEzE,eAAO,MAAM,aAAa;eAQb,SAAS;cACV,MAAM,EAAE;YACV,MAAM;aACL,MAAM,GAAG,SAAS;gBACf,MAAM;iBACL,MAAM,GAAG,SAAS;MAC7B,QACA,gBAAgB,4BAA4B,CAAC,GAC7C,gBAAgB,kCAAkC,CAAC,CAyBtD,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { EthereumVerifyMessageOneKey, Success, TypedCall } from '@onekeyfe/hd-transport';
|
|
2
|
+
export default function ({ typedCall, params, }: {
|
|
3
|
+
typedCall: TypedCall;
|
|
4
|
+
params: EthereumVerifyMessageOneKey;
|
|
5
|
+
}): Promise<Success>;
|
|
6
|
+
//# sourceMappingURL=verifyMessage.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"verifyMessage.d.ts","sourceRoot":"","sources":["../../../../src/api/evmTrezor/legacyV1/verifyMessage.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,2BAA2B,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAE9F,yBAA+B,EAC7B,SAAS,EACT,MAAM,GACP,EAAE;IACD,SAAS,EAAE,SAAS,CAAC;IACrB,MAAM,EAAE,2BAA2B,CAAC;CACrC,GAAG,OAAO,CAAC,OAAO,CAAC,CAUnB"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export 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"];
|
|
2
|
+
export declare const FACTORY_API_METHOD_NAMES: readonly ["deviceProvisionFactoryInfo", "deviceWriteFactoryCertificate"];
|
|
3
|
+
//# sourceMappingURL=extensionMethodNames.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"extensionMethodNames.d.ts","sourceRoot":"","sources":["../../src/api/extensionMethodNames.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,qBAAqB,+sDAkFxB,CAAC;AAEX,eAAO,MAAM,wBAAwB,0EAG3B,CAAC"}
|