web3-eth-contract
Advanced tools
Comparing version 4.7.1-dev.0681f97.0 to 4.7.1-dev.07993c2.0
@@ -8,3 +8,3 @@ import { Web3Context, Web3EventEmitter, Web3PromiEvent } from 'web3-core'; | ||
import { ContractSubscriptionManager } from './contract-subscription-manager.js'; | ||
declare type ContractBoundMethod<Abi extends AbiFunctionFragment, Method extends ContractMethod<Abi> = ContractMethod<Abi>> = (...args: Method['Inputs'] extends undefined | unknown ? any[] : Method['Inputs']) => Method['Abi']['stateMutability'] extends 'payable' | 'pure' ? PayableMethodObject<Method['Inputs'], Method['Outputs']> : NonPayableMethodObject<Method['Inputs'], Method['Outputs']>; | ||
declare type ContractBoundMethod<Abi extends AbiFunctionFragment, Method extends ContractMethod<Abi> = ContractMethod<Abi>> = (...args: Abi extends undefined ? any[] : Method['Inputs'] extends never ? any[] : Method['Inputs']) => Method['Abi']['stateMutability'] extends 'payable' | 'pure' ? PayableMethodObject<Method['Inputs'], Method['Outputs']> : NonPayableMethodObject<Method['Inputs'], Method['Outputs']>; | ||
export declare type ContractOverloadedMethodInputs<AbiArr extends ReadonlyArray<unknown>> = NonNullable<AbiArr extends readonly [] ? undefined : AbiArr extends readonly [infer A, ...infer R] ? A extends AbiFunctionFragment ? ContractMethodInputParameters<A['inputs']> | ContractOverloadedMethodInputs<R> : undefined : undefined>; | ||
@@ -11,0 +11,0 @@ export declare type ContractOverloadedMethodOutputs<AbiArr extends ReadonlyArray<unknown>> = NonNullable<AbiArr extends readonly [] ? undefined : AbiArr extends readonly [infer A, ...infer R] ? A extends AbiFunctionFragment ? ContractMethodOutputParameters<A['outputs']> | ContractOverloadedMethodOutputs<R> : undefined : undefined>; |
@@ -8,3 +8,3 @@ import { Web3Context, Web3EventEmitter, Web3PromiEvent } from 'web3-core'; | ||
import { ContractSubscriptionManager } from './contract-subscription-manager.js'; | ||
declare type ContractBoundMethod<Abi extends AbiFunctionFragment, Method extends ContractMethod<Abi> = ContractMethod<Abi>> = (...args: Method['Inputs'] extends undefined | unknown ? any[] : Method['Inputs']) => Method['Abi']['stateMutability'] extends 'payable' | 'pure' ? PayableMethodObject<Method['Inputs'], Method['Outputs']> : NonPayableMethodObject<Method['Inputs'], Method['Outputs']>; | ||
declare type ContractBoundMethod<Abi extends AbiFunctionFragment, Method extends ContractMethod<Abi> = ContractMethod<Abi>> = (...args: Abi extends undefined ? any[] : Method['Inputs'] extends never ? any[] : Method['Inputs']) => Method['Abi']['stateMutability'] extends 'payable' | 'pure' ? PayableMethodObject<Method['Inputs'], Method['Outputs']> : NonPayableMethodObject<Method['Inputs'], Method['Outputs']>; | ||
export declare type ContractOverloadedMethodInputs<AbiArr extends ReadonlyArray<unknown>> = NonNullable<AbiArr extends readonly [] ? undefined : AbiArr extends readonly [infer A, ...infer R] ? A extends AbiFunctionFragment ? ContractMethodInputParameters<A['inputs']> | ContractOverloadedMethodInputs<R> : undefined : undefined>; | ||
@@ -11,0 +11,0 @@ export declare type ContractOverloadedMethodOutputs<AbiArr extends ReadonlyArray<unknown>> = NonNullable<AbiArr extends readonly [] ? undefined : AbiArr extends readonly [infer A, ...infer R] ? A extends AbiFunctionFragment ? ContractMethodOutputParameters<A['outputs']> | ContractOverloadedMethodOutputs<R> : undefined : undefined>; |
{ | ||
"name": "web3-eth-contract", | ||
"version": "4.7.1-dev.0681f97.0+0681f97", | ||
"version": "4.7.1-dev.07993c2.0+07993c2", | ||
"description": "Web3 module to interact with Ethereum smart contracts.", | ||
@@ -49,9 +49,9 @@ "main": "./lib/commonjs/index.js", | ||
"@ethereumjs/rlp": "^5.0.2", | ||
"web3-core": "4.7.1-dev.0681f97.0+0681f97", | ||
"web3-errors": "1.3.1-dev.0681f97.0+0681f97", | ||
"web3-eth": "4.10.1-dev.0681f97.0+0681f97", | ||
"web3-eth-abi": "4.3.1-dev.0681f97.0+0681f97", | ||
"web3-types": "1.8.2-dev.0681f97.0+0681f97", | ||
"web3-utils": "4.3.3-dev.0681f97.0+0681f97", | ||
"web3-validator": "2.0.7-dev.0681f97.0+0681f97" | ||
"web3-core": "4.7.1-dev.07993c2.0+07993c2", | ||
"web3-errors": "1.3.1-dev.07993c2.0+07993c2", | ||
"web3-eth": "4.10.1-dev.07993c2.0+07993c2", | ||
"web3-eth-abi": "4.3.1-dev.07993c2.0+07993c2", | ||
"web3-types": "1.8.2-dev.07993c2.0+07993c2", | ||
"web3-utils": "4.3.3-dev.07993c2.0+07993c2", | ||
"web3-validator": "2.0.7-dev.07993c2.0+07993c2" | ||
}, | ||
@@ -73,6 +73,6 @@ "devDependencies": { | ||
"typescript": "^4.7.4", | ||
"web3-eth-accounts": "4.2.2-dev.0681f97.0+0681f97", | ||
"web3-providers-ws": "4.0.9-dev.0681f97.0+0681f97" | ||
"web3-eth-accounts": "4.2.2-dev.07993c2.0+07993c2", | ||
"web3-providers-ws": "4.0.9-dev.07993c2.0+07993c2" | ||
}, | ||
"gitHead": "0681f97ed9daa592f86c8d8100d8802f706d046d" | ||
"gitHead": "07993c230ee2460da8eae093701e7b43462b5a39" | ||
} |
@@ -130,3 +130,7 @@ /* | ||
> = ( | ||
...args: Method['Inputs'] extends undefined | unknown ? any[] : Method['Inputs'] | ||
...args: Abi extends undefined | ||
? any[] | ||
: Method['Inputs'] extends never | ||
? any[] | ||
: Method['Inputs'] | ||
) => Method['Abi']['stateMutability'] extends 'payable' | 'pure' | ||
@@ -133,0 +137,0 @@ ? PayableMethodObject<Method['Inputs'], Method['Outputs']> |
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
452242
8166