ethereum-types
Advanced tools
Comparing version 2.1.6 to 2.2.0-beta.0
[ | ||
{ | ||
"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 @@ |
@@ -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; |
{ | ||
"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
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
52538
1055
2