diff options
author | Fabio Berger <me@fabioberger.com> | 2018-04-03 11:03:59 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-04-03 11:03:59 +0800 |
commit | 8281be235cf55b04f24297bf6606a8dc24d8fac7 (patch) | |
tree | ea1e9f4695b7a2aeb3b41b2eb49f28b1e0ce0b8f /packages/subproviders/src | |
parent | 9ce03e3515517e3f5fb5bd4b3dcafa57a3191e3d (diff) | |
download | dexon-sol-tools-8281be235cf55b04f24297bf6606a8dc24d8fac7.tar dexon-sol-tools-8281be235cf55b04f24297bf6606a8dc24d8fac7.tar.gz dexon-sol-tools-8281be235cf55b04f24297bf6606a8dc24d8fac7.tar.bz2 dexon-sol-tools-8281be235cf55b04f24297bf6606a8dc24d8fac7.tar.lz dexon-sol-tools-8281be235cf55b04f24297bf6606a8dc24d8fac7.tar.xz dexon-sol-tools-8281be235cf55b04f24297bf6606a8dc24d8fac7.tar.zst dexon-sol-tools-8281be235cf55b04f24297bf6606a8dc24d8fac7.zip |
Use @0xproject/utils promisify everywhere
Diffstat (limited to 'packages/subproviders/src')
-rw-r--r-- | packages/subproviders/src/globals.d.ts | 2 | ||||
-rw-r--r-- | packages/subproviders/src/subproviders/subprovider.ts | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/packages/subproviders/src/globals.d.ts b/packages/subproviders/src/globals.d.ts index 916fed807..580c5aaa5 100644 --- a/packages/subproviders/src/globals.d.ts +++ b/packages/subproviders/src/globals.d.ts @@ -1,5 +1,3 @@ -declare module 'es6-promisify'; - // tslint:disable:max-classes-per-file // tslint:disable:class-name // tslint:disable:async-suffix diff --git a/packages/subproviders/src/subproviders/subprovider.ts b/packages/subproviders/src/subproviders/subprovider.ts index 26ce19305..1490d37ba 100644 --- a/packages/subproviders/src/subproviders/subprovider.ts +++ b/packages/subproviders/src/subproviders/subprovider.ts @@ -1,5 +1,5 @@ import { JSONRPCRequestPayload, JSONRPCResponsePayload } from '@0xproject/types'; -import promisify = require('es6-promisify'); +import { promisify } from '@0xproject/utils'; import * as Web3 from 'web3'; import { JSONRPCRequestPayloadWithMethod } from '../types'; |