web3-types
Advanced tools
Comparing version 1.8.2-dev.70352cd.0 to 1.8.2-dev.95b4bab.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.70352cd.0+70352cd", | ||
"version": "1.8.2-dev.95b4bab.0+95b4bab", | ||
"description": "Provide the common data structures and interfaces for web3 modules.", | ||
@@ -59,3 +59,3 @@ "main": "./lib/commonjs/index.js", | ||
}, | ||
"gitHead": "70352cdf6fd6eff92b352ca5d6b3a07507fe5472" | ||
"gitHead": "95b4bab9272f46544aecd7f034c5221e832cf2c1" | ||
} |
@@ -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