Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@typechain/ethers-v6

Package Overview
Dependencies
Maintainers
2
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@typechain/ethers-v6 - npm Package Compare versions

Comparing version 0.3.1 to 0.3.2

11

dist/codegen/index.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc