Update ethers typings & changelog

This commit is contained in:
Fabio Berger
2018-07-09 12:33:44 +02:00
parent a7ae82a2d1
commit ff66432b83
2 changed files with 24 additions and 4 deletions

View File

@@ -1,10 +1,27 @@
[
{
"timestamp": 1529397769,
"version": "0.4.1",
"version": "0.4.2",
"changes": [
{
"note": "Dependencies updated"
"note": "Additional error type for `ethers.js`",
"pr": 763
}
]
},
{
"timestamp": 1529397769,
"version": "0.4.0",
"changes": [
{
"note": "Add types for `react-joyride`"
},
{
"note": "Add types for `react-popper`, remove types for `react-joyride`"
},
{
"note":
"Remove types for blockies, bn.js, compare-versions, ethereumjs-abi, ethereumjs-tx, find-versions, hdkey, is-mobile, solidity-parser-antlr, xml-js as they were moved to DefinitelyTyped",
"pr": 641
}
]
},

View File

@@ -1,5 +1,5 @@
declare module 'ethers' {
import { TxData } from '@0xproject/types';
import { TxData } from 'ethereum-types';
export interface TransactionDescription {
name: string;
@@ -31,4 +31,7 @@ declare module 'ethers' {
public static getDeployTransaction(bytecode: string, abi: any, ...args: any[]): Partial<TxData>;
constructor(address: string, abi: any, provider: any);
}
const enum errors {
INVALID_ARGUMENT = 'INVALID_ARGUMENT',
}
}