web3-types
Advanced tools
Comparing version 1.8.2-dev.4ca66af.0 to 1.8.2-dev.69d83e7.0
@@ -126,3 +126,3 @@ import { Address } from './eth_types.js'; | ||
ArrToObjectWithFunctions<[...ContractMethodOutputParametersRecursiveArray<Params>]> & ContractMethodOutputParametersRecursiveRecord<Params> : []; | ||
export declare type ContractMethodInputParameters<Params extends ReadonlyArray<unknown> | undefined> = Params extends readonly [] ? [] : Params extends readonly [infer H, ...infer R] ? H extends AbiParameter ? [ | ||
export declare type ContractMethodInputParameters<Params extends ReadonlyArray<unknown> | undefined> = Params extends undefined ? any[] : Params extends readonly [] ? [] : Params extends readonly [infer H, ...infer R] ? H extends AbiParameter ? [ | ||
MatchPrimitiveType<H['type'], H['components']>, | ||
@@ -129,0 +129,0 @@ ...ContractMethodInputParameters<R> |
@@ -126,3 +126,3 @@ import { Address } from './eth_types.js'; | ||
ArrToObjectWithFunctions<[...ContractMethodOutputParametersRecursiveArray<Params>]> & ContractMethodOutputParametersRecursiveRecord<Params> : []; | ||
export declare type ContractMethodInputParameters<Params extends ReadonlyArray<unknown> | undefined> = Params extends readonly [] ? [] : Params extends readonly [infer H, ...infer R] ? H extends AbiParameter ? [ | ||
export declare type ContractMethodInputParameters<Params extends ReadonlyArray<unknown> | undefined> = Params extends undefined ? any[] : Params extends readonly [] ? [] : Params extends readonly [infer H, ...infer R] ? H extends AbiParameter ? [ | ||
MatchPrimitiveType<H['type'], H['components']>, | ||
@@ -129,0 +129,0 @@ ...ContractMethodInputParameters<R> |
{ | ||
"name": "web3-types", | ||
"version": "1.8.2-dev.4ca66af.0+4ca66af", | ||
"version": "1.8.2-dev.69d83e7.0+69d83e7", | ||
"description": "Provide the common data structures and interfaces for web3 modules.", | ||
@@ -59,3 +59,3 @@ "main": "./lib/commonjs/index.js", | ||
}, | ||
"gitHead": "4ca66af181a46f134df514d3bd7b67c4c440f159" | ||
"gitHead": "69d83e72126939308bbee19be80f8edb80d64e47" | ||
} |
@@ -323,3 +323,5 @@ /* | ||
export type ContractMethodInputParameters<Params extends ReadonlyArray<unknown> | undefined> = | ||
Params extends readonly [] | ||
Params extends undefined | ||
? any[] | ||
: Params extends readonly [] | ||
? [] | ||
@@ -326,0 +328,0 @@ : Params extends readonly [infer H, ...infer R] |
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
300771
5569