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

@typechain/web3-v1

Package Overview
Dependencies
Maintainers
2
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@typechain/web3-v1 - npm Package Compare versions

Comparing version 2.1.0 to 2.2.0

7

CHANGELOG.md
# @typechain/web3-v1
## 2.2.0
### Minor Changes
- 7f18b27: Accept BN as input for numbers
## 2.1.0
### Minor Changes
- 5761302: Support passing block number to call functions

2

dist/codegen/types.js

@@ -27,3 +27,3 @@ "use strict";

case 'uinteger':
return 'number | string';
return 'number | string | BN';
case 'address':

@@ -30,0 +30,0 @@ return 'string';

@@ -10,3 +10,3 @@ {

],
"version": "2.1.0",
"version": "2.2.0",
"license": "MIT",

@@ -13,0 +13,0 @@ "repository": "https://github.com/ethereum-ts/Typechain",

@@ -29,13 +29,13 @@ import BN from 'bn.js'

export interface NonPayableTx {
nonce?: string | number
chainId?: string | number
nonce?: string | number | BN
chainId?: string | number | BN
from?: string
to?: string
data?: string
gas?: string | number
gasPrice?: string | number
gas?: string | number | BN
gasPrice?: string | number | BN
}
export interface PayableTx extends NonPayableTx {
value?: string | number
value?: string | number | BN
}

@@ -42,0 +42,0 @@

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