web3-types
Advanced tools
Comparing version 1.7.1-dev.9b32205.0 to 1.7.1-dev.a21078b.0
@@ -22,2 +22,7 @@ import { Bytes, HexString, Numbers } from './primitives_types.js'; | ||
}; | ||
/** | ||
* Used to specify how data should be formatted. Bytes can be formatted as hexadecimal strings or | ||
* Uint8Arrays. Numbers can be formatted as BigInts, hexadecimal strings, primitive numbers, or | ||
* strings. | ||
*/ | ||
export declare type DataFormat = { | ||
@@ -24,0 +29,0 @@ readonly number: FMT_NUMBER; |
@@ -22,2 +22,7 @@ import { Bytes, HexString, Numbers } from './primitives_types.js'; | ||
}; | ||
/** | ||
* Used to specify how data should be formatted. Bytes can be formatted as hexadecimal strings or | ||
* Uint8Arrays. Numbers can be formatted as BigInts, hexadecimal strings, primitive numbers, or | ||
* strings. | ||
*/ | ||
export declare type DataFormat = { | ||
@@ -24,0 +29,0 @@ readonly number: FMT_NUMBER; |
{ | ||
"name": "web3-types", | ||
"version": "1.7.1-dev.9b32205.0+9b32205", | ||
"version": "1.7.1-dev.a21078b.0+a21078b", | ||
"description": "Provide the common data structures and interfaces for web3 modules.", | ||
@@ -59,3 +59,3 @@ "main": "./lib/commonjs/index.js", | ||
}, | ||
"gitHead": "9b322052ef266cc57b29080b20053991e0c9a0a9" | ||
"gitHead": "a21078b9c5bec437340296f519133b0ddbbc83ce" | ||
} |
@@ -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 |
@@ -44,2 +44,7 @@ /* | ||
/** | ||
* Used to specify how data should be formatted. Bytes can be formatted as hexadecimal strings or | ||
* Uint8Arrays. Numbers can be formatted as BigInts, hexadecimal strings, primitive numbers, or | ||
* strings. | ||
*/ | ||
export type DataFormat = { | ||
@@ -46,0 +51,0 @@ readonly number: FMT_NUMBER; |
@@ -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
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
Copyleft License
License(Experimental) Copyleft license information was found.
Found 1 instance in 1 package
Mixed license
License(Experimental) Package contains multiple licenses.
Found 1 instance in 1 package
Non-permissive License
License(Experimental) A license not known to be considered permissive was found.
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
Copyleft License
License(Experimental) Copyleft license information was found.
Found 1 instance in 1 package
Mixed license
License(Experimental) Package contains multiple licenses.
Found 1 instance in 1 package
Non-permissive License
License(Experimental) A license not known to be considered permissive was found.
Found 1 instance in 1 package
300615
5567