@typechain/ethers-v6
Advanced tools
Comparing version 0.3.1 to 0.3.2
@@ -51,3 +51,3 @@ "use strict"; | ||
getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T; | ||
${(0, lodash_1.values)(contract.functions) | ||
@@ -138,11 +138,8 @@ .flatMap((v) => processDeclaration(v, alwaysGenerateOverloads, functions_1.generateGetFunctionForContract)) | ||
const imports = (0, typechain_1.createImportsForUsedIdentifiers)({ | ||
ethers: [ | ||
ethers: ['Contract', 'ContractFactory', 'ContractTransactionResponse', 'Interface'], | ||
'type ethers': [ | ||
'Signer', | ||
'Contract', | ||
'ContractFactory', | ||
'BytesLike', | ||
'BigNumberish', | ||
'Overrides', | ||
'ContractTransactionResponse', | ||
'Interface', | ||
'AddressLike', | ||
@@ -163,3 +160,3 @@ 'ContractDeployTransaction', | ||
return ` | ||
import { Contract, Interface, ContractRunner } from "ethers"; | ||
import { Contract, Interface, type ContractRunner } from "ethers"; | ||
${header} | ||
@@ -166,0 +163,0 @@ |
@@ -11,3 +11,3 @@ { | ||
], | ||
"version": "0.3.1", | ||
"version": "0.3.2", | ||
"license": "MIT", | ||
@@ -14,0 +14,0 @@ "repository": "https://github.com/ethereum-ts/Typechain", |
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
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
95697
1268