diff options
Diffstat (limited to 'packages/web3-wrapper')
-rw-r--r-- | packages/web3-wrapper/package.json | 6 | ||||
-rw-r--r-- | packages/web3-wrapper/src/index.ts | 13 |
2 files changed, 4 insertions, 15 deletions
diff --git a/packages/web3-wrapper/package.json b/packages/web3-wrapper/package.json index 41ac6e71c..2b545732e 100644 --- a/packages/web3-wrapper/package.json +++ b/packages/web3-wrapper/package.json @@ -1,6 +1,6 @@ { "name": "@0xproject/web3-wrapper", - "version": "0.2.0", + "version": "0.2.1", "description": "Wraps around web3 and gives a nicer interface", "main": "lib/index.js", "types": "lib/index.d.ts", @@ -28,8 +28,8 @@ "typescript": "2.7.1" }, "dependencies": { - "@0xproject/types": "^0.3.0", - "@0xproject/utils": "^0.4.0", + "@0xproject/types": "^0.3.1", + "@0xproject/utils": "^0.4.1", "ethers-contracts": "^2.2.1", "ethers-typescript-typings": "^0.0.2", "lodash": "^4.17.4", diff --git a/packages/web3-wrapper/src/index.ts b/packages/web3-wrapper/src/index.ts index a07805344..64a19f531 100644 --- a/packages/web3-wrapper/src/index.ts +++ b/packages/web3-wrapper/src/index.ts @@ -1,19 +1,8 @@ -import { TransactionReceipt, TxData } from '@0xproject/types'; +import { RawLogEntry, TransactionReceipt, TxData } from '@0xproject/types'; import { BigNumber, promisify } from '@0xproject/utils'; import * as _ from 'lodash'; import * as Web3 from 'web3'; -interface RawLogEntry { - logIndex: string | null; - transactionIndex: string | null; - transactionHash: string; - blockHash: string | null; - blockNumber: string | null; - address: string; - data: string; - topics: string[]; -} - export class Web3Wrapper { private _web3: Web3; private _defaults: Partial<TxData>; |