@tatumio/blockchain-connector-common
Advanced tools
Comparing version 1.0.2 to 1.0.3
{ | ||
"name": "@tatumio/blockchain-connector-common", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "Common interface for connectors", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -1,2 +0,2 @@ | ||
import { GeneratePrivateKey, Pagination, PathAddress, PathHash, PathXpub, QueryMnemonic, TransactionKMSResponse, TransactionResponse, TxData } from '../index'; | ||
import { BlockchainError, GeneratePrivateKey, Pagination, PathAddress, PathHash, PathXpub, QueryMnemonic, TransactionKMSResponse, TransactionResponse, TxData } from '../index'; | ||
import { TransferBtcBasedBlockchain } from '@tatumio/tatum'; | ||
@@ -17,5 +17,5 @@ export interface BtcBasedBlockchainControllerInterface { | ||
broadcast(txData: TxData): Promise<TransactionResponse>; | ||
throwError(e: any): void; | ||
throwError(e: BlockchainError): void; | ||
getUTxosByAddress?(path: PathAddress): Promise<object>; | ||
getAccount?(path: PathAddress): Promise<object>; | ||
} |
import { | ||
BlockchainError, | ||
GeneratePrivateKey, | ||
@@ -82,3 +83,3 @@ Pagination, | ||
*/ | ||
throwError(e): void | ||
throwError(e: BlockchainError): void | ||
@@ -85,0 +86,0 @@ /** |
@@ -1,2 +0,2 @@ | ||
import { GeneratePrivateKey, Pagination, PathAddress, PathHash, PathXpub, QueryMnemonic, TransactionKMSResponse, TransactionResponse, TxData, EthBasedEstimateGas } from '../index'; | ||
import { GeneratePrivateKey, Pagination, PathAddress, PathHash, PathXpub, QueryMnemonic, TransactionKMSResponse, TransactionResponse, TxData, EthBasedEstimateGas, BlockchainError } from '../index'; | ||
import { DeployErc20, EstimateGasEth, SmartContractMethodInvocation, TransferCustomErc20, TransferEthErc20 } from '@tatumio/tatum'; | ||
@@ -22,5 +22,5 @@ export interface EthBasedBlockchainControllerInterface { | ||
deployErc20(deployErc20: DeployErc20): any; | ||
throwError(e: any): void; | ||
throwError(e: BlockchainError): void; | ||
getAccount?(path: PathAddress): Promise<object>; | ||
web3Driver?(): Promise<object>; | ||
} |
@@ -10,3 +10,3 @@ import { | ||
TxData, | ||
EthBasedEstimateGas | ||
EthBasedEstimateGas, BlockchainError, | ||
} from '../index' | ||
@@ -106,3 +106,3 @@ import { | ||
*/ | ||
throwError(e): void | ||
throwError(e: BlockchainError): void | ||
@@ -109,0 +109,0 @@ /** |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
36590
894