web3-rpc-methods
Advanced tools
Comparing version 1.2.1-dev.2373e94.0 to 1.2.1-dev.2f73aa5.0
@@ -25,3 +25,3 @@ import { Web3RequestManager } from 'web3-core'; | ||
export declare function call(requestManager: Web3RequestManager, transaction: TransactionCallAPI, blockNumber: BlockNumberOrTag): Promise<string>; | ||
export declare function estimateGas(requestManager: Web3RequestManager, transaction: Partial<TransactionWithSenderAPI>, blockNumber: BlockNumberOrTag): Promise<string>; | ||
export declare function estimateGas<TransactionType = TransactionWithSenderAPI>(requestManager: Web3RequestManager, transaction: Partial<TransactionType>, blockNumber: BlockNumberOrTag): Promise<string>; | ||
export declare function getBlockByHash(requestManager: Web3RequestManager, blockHash: HexString32Bytes, hydrated: boolean): Promise<import("web3-types").BlockAPI>; | ||
@@ -28,0 +28,0 @@ export declare function getBlockByNumber(requestManager: Web3RequestManager, blockNumber: BlockNumberOrTag, hydrated: boolean): Promise<import("web3-types").BlockAPI>; |
@@ -25,3 +25,3 @@ import { Web3RequestManager } from 'web3-core'; | ||
export declare function call(requestManager: Web3RequestManager, transaction: TransactionCallAPI, blockNumber: BlockNumberOrTag): Promise<string>; | ||
export declare function estimateGas(requestManager: Web3RequestManager, transaction: Partial<TransactionWithSenderAPI>, blockNumber: BlockNumberOrTag): Promise<string>; | ||
export declare function estimateGas<TransactionType = TransactionWithSenderAPI>(requestManager: Web3RequestManager, transaction: Partial<TransactionType>, blockNumber: BlockNumberOrTag): Promise<string>; | ||
export declare function getBlockByHash(requestManager: Web3RequestManager, blockHash: HexString32Bytes, hydrated: boolean): Promise<import("web3-types").BlockAPI>; | ||
@@ -28,0 +28,0 @@ export declare function getBlockByNumber(requestManager: Web3RequestManager, blockNumber: BlockNumberOrTag, hydrated: boolean): Promise<import("web3-types").BlockAPI>; |
{ | ||
"name": "web3-rpc-methods", | ||
"version": "1.2.1-dev.2373e94.0+2373e94", | ||
"version": "1.2.1-dev.2f73aa5.0+2f73aa5", | ||
"description": "Ethereum RPC methods for Web3 4.x.x", | ||
@@ -33,3 +33,3 @@ "main": "./lib/commonjs/index.js", | ||
"build:check": "node -e \"require('./lib')\"", | ||
"lint": "eslint --ext .js,.ts .", | ||
"lint": "eslint --cache --cache-strategy content --ext .ts .", | ||
"lint:fix": "eslint --fix --ext .js,.ts .", | ||
@@ -60,7 +60,7 @@ "format": "prettier --write '**/*'", | ||
"dependencies": { | ||
"web3-core": "4.3.3-dev.2373e94.0+2373e94", | ||
"web3-types": "1.5.1-dev.2373e94.0+2373e94", | ||
"web3-validator": "2.0.5-dev.2373e94.0+2373e94" | ||
"web3-core": "4.3.3-dev.2f73aa5.0+2f73aa5", | ||
"web3-types": "1.6.1-dev.2f73aa5.0+2f73aa5", | ||
"web3-validator": "2.0.6-dev.2f73aa5.0+2f73aa5" | ||
}, | ||
"gitHead": "2373e94757f68af90e67892be3f9a32309cf1bdb" | ||
"gitHead": "2f73aa5c1de205f30a3961388be27c47c7a28dc5" | ||
} |
@@ -267,5 +267,5 @@ /* | ||
// TODO Not sure how to best validate Partial<TransactionWithSender> | ||
export async function estimateGas( | ||
export async function estimateGas<TransactionType = TransactionWithSenderAPI>( | ||
requestManager: Web3RequestManager, | ||
transaction: Partial<TransactionWithSenderAPI>, | ||
transaction: Partial<TransactionType>, | ||
blockNumber: BlockNumberOrTag, | ||
@@ -272,0 +272,0 @@ ) { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
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
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
134903