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

ethereum-types

Package Overview
Dependencies
Maintainers
8
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ethereum-types - npm Package Compare versions

Comparing version 2.1.6 to 2.2.0-beta.0

14

CHANGELOG.json
[
{
"version": "2.2.0-beta.0",
"changes": [
{
"note": "Add `RevertErrorAbi` interface as part of `AbiDefinition` types",
"pr": 1761
},
{
"note": "Add `DecodedLogs` type",
"pr": 2220
}
],
"timestamp": 1570135330
},
{
"timestamp": 1568744790,

@@ -4,0 +18,0 @@ "version": "2.1.6",

@@ -8,2 +8,7 @@ <!--

## v2.2.0-beta.0 - _October 3, 2019_
* Add `RevertErrorAbi` interface as part of `AbiDefinition` types (#1761)
* Add `DecodedLogs` type (#2220)
## v2.1.6 - _September 17, 2019_

@@ -10,0 +15,0 @@

8

lib/index.d.ts

@@ -64,3 +64,3 @@ import { BigNumber } from 'bignumber.js';

export declare type ContractAbi = AbiDefinition[];
export declare type AbiDefinition = FunctionAbi | EventAbi;
export declare type AbiDefinition = FunctionAbi | EventAbi | RevertErrorAbi;
export declare type FunctionAbi = MethodAbi | ConstructorAbi | FallbackAbi;

@@ -91,2 +91,7 @@ export declare type ConstructorStateMutability = 'nonpayable' | 'payable';

}
export interface RevertErrorAbi {
type: 'error';
name: string;
arguments?: DataItem[];
}
export interface EventAbi {

@@ -357,2 +362,3 @@ type: string;

}
export declare type DecodedLogs = Array<LogWithDecodedArgs<DecodedLogArgs>>;
export interface TxDataPayable extends TxData {

@@ -359,0 +365,0 @@ value?: BigNumber;

4

package.json
{
"name": "ethereum-types",
"version": "2.1.6",
"version": "2.2.0-beta.0",
"engines": {

@@ -51,3 +51,3 @@ "node": ">=6.12"

},
"gitHead": "ec92cea5982375fa2fa7ba8445b5e8af589b75bd"
"gitHead": "c60d1e50c53f4763f7c5ac99f8d3c7860c15a2b7"
}

Sorry, the diff of this file is not supported yet

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