Compare commits

...

3 Commits

Author SHA1 Message Date
Leonid Logvinov
7830d518e0 Add types for getData on a web3 contract 2018-01-11 14:40:16 +01:00
Leonid Logvinov
571b3c4da8 Add types for getData on a web3 contract 2018-01-11 14:25:49 +01:00
Leonid Logvinov
1f5dfd71d5 Add forgotten CHANGELOG changes 2018-01-11 13:16:58 +01:00
4 changed files with 9 additions and 5 deletions

View File

@@ -1,6 +1,6 @@
# CHANGELOG
## vx.x.x
## v0.4.0 - _January 11, 2017_
* Prevent getFeesAsync method on HttpClient from mutating input (#296)

View File

@@ -0,0 +1,5 @@
# CHANGELOG
## v0.9.2 - _January 11, 2018_
* Add type for getData on a contract

View File

@@ -107,6 +107,7 @@ declare module 'web3' {
interface Contract<A extends ContractInstance> {
at(address: string): A;
getData(...args: any[]): string;
'new'(...args: any[]): A;
}

View File

@@ -1,6 +1,6 @@
{
"name": "web3-typescript-typings",
"version": "0.9.1",
"version": "0.9.2",
"description": "Typescript type definitions for web3",
"main": "index.d.ts",
"types": "index.d.ts",
@@ -12,9 +12,7 @@
"url": "git+https://github.com/0xProject/web3-typescript-typings.git"
},
"author": "Fabio Berger",
"contributors": [
"Leonid Logvinov <logvinov.leon@gmail.com>"
],
"contributors": ["Leonid Logvinov <logvinov.leon@gmail.com>"],
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/0xProject/web3-typescript-typings/issues"