web3-types
Advanced tools
Comparing version 1.7.1-dev.9b32205.0 to 1.7.1-dev.b86d8ca.0
{ | ||
"name": "web3-types", | ||
"version": "1.7.1-dev.9b32205.0+9b32205", | ||
"version": "1.7.1-dev.b86d8ca.0+b86d8ca", | ||
"description": "Provide the common data structures and interfaces for web3 modules.", | ||
@@ -59,3 +59,3 @@ "main": "./lib/commonjs/index.js", | ||
}, | ||
"gitHead": "9b322052ef266cc57b29080b20053991e0c9a0a9" | ||
"gitHead": "b86d8cae50d60e56e96bde9d1b836ca01ecd0fbc" | ||
} |
@@ -196,3 +196,6 @@ /* | ||
eth_getUncleByBlockHashAndIndex: (blockHash: HexString32Bytes, uncleIndex: Uint) => BlockAPI; | ||
eth_getUncleByBlockNumberAndIndex: (blockNumber: BlockNumberOrTag, uncleIndex: Uint) => BlockAPI; | ||
eth_getUncleByBlockNumberAndIndex: ( | ||
blockNumber: BlockNumberOrTag, | ||
uncleIndex: Uint, | ||
) => BlockAPI; | ||
@@ -199,0 +202,0 @@ // https://github.com/ethereum/execution-apis/blob/main/src/eth/transaction.yaml |
@@ -145,3 +145,2 @@ /* | ||
export type AbiInput = | ||
@@ -159,11 +158,9 @@ | string | ||
export interface AbiOutput { | ||
name: string; | ||
type: string; | ||
components?: AbiOutput[]; | ||
internalType?: string; | ||
} | ||
export interface AbiOutput { | ||
name: string; | ||
type: string; | ||
components?: AbiOutput[]; | ||
internalType?: string; | ||
} | ||
// https://docs.soliditylang.org/en/latest/abi-spec.html#json | ||
@@ -175,9 +172,8 @@ export type AbiFragment = | ||
| AbiErrorFragment | ||
| AbiFallbackFragment | ||
| AbiFallbackFragment; | ||
// to be compatible with web3js v1 | ||
export type AbiItem = AbiFragment | ||
export type ContractAbi = ReadonlyArray<AbiFragment> | ReadonlyArray<AbiItem> | ||
export type AbiItem = AbiFragment; | ||
export type ContractAbi = ReadonlyArray<AbiFragment> | ReadonlyArray<AbiItem>; | ||
// https://docs.soliditylang.org/en/develop/abi-spec.html#json | ||
@@ -184,0 +180,0 @@ export type JsonFunctionInterface = { |
@@ -115,3 +115,2 @@ /* | ||
export type Eip1193EventName = | ||
@@ -153,3 +152,2 @@ | 'connect' | ||
export type Eip1193Compatible<API extends Web3APISpec = EthExecutionAPI> = Omit< | ||
@@ -156,0 +154,0 @@ // eslint-disable-next-line no-use-before-define |
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
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
5552
299958