Update ethers typings & changelog
This commit is contained in:
@@ -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
|
||||
}
|
||||
]
|
||||
},
|
||||
|
@@ -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',
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user