diff options
author | fragosti <francesco.agosti93@gmail.com> | 2018-07-25 07:02:21 +0800 |
---|---|---|
committer | fragosti <francesco.agosti93@gmail.com> | 2018-07-25 07:02:21 +0800 |
commit | 9c81692d48fed4942fe6482949d6eed3629d4037 (patch) | |
tree | aefc2a71dcfce2589c1e8505e6b64f2e6c9a9dfe /packages/utils/src/fetchAsync.ts | |
parent | c505ba6f3e05f4bb415f50352fbb124fec3a71ad (diff) | |
parent | fac90c446cc3a79ffe57ae13c685e7555714cf23 (diff) | |
download | dexon-sol-tools-9c81692d48fed4942fe6482949d6eed3629d4037.tar dexon-sol-tools-9c81692d48fed4942fe6482949d6eed3629d4037.tar.gz dexon-sol-tools-9c81692d48fed4942fe6482949d6eed3629d4037.tar.bz2 dexon-sol-tools-9c81692d48fed4942fe6482949d6eed3629d4037.tar.lz dexon-sol-tools-9c81692d48fed4942fe6482949d6eed3629d4037.tar.xz dexon-sol-tools-9c81692d48fed4942fe6482949d6eed3629d4037.tar.zst dexon-sol-tools-9c81692d48fed4942fe6482949d6eed3629d4037.zip |
Merge branch 'v2-prototype' of https://github.com/0xProject/0x-monorepo into feature/website/upgrade-allowance-toggles-to-locks-and-checks
Diffstat (limited to 'packages/utils/src/fetchAsync.ts')
-rw-r--r-- | packages/utils/src/fetchAsync.ts | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/packages/utils/src/fetchAsync.ts b/packages/utils/src/fetchAsync.ts index c02e5baba..b4c85718d 100644 --- a/packages/utils/src/fetchAsync.ts +++ b/packages/utils/src/fetchAsync.ts @@ -1,5 +1,8 @@ import isNode = require('detect-node'); import 'isomorphic-fetch'; +// WARNING: This needs to be imported after isomorphic-fetch: https://github.com/mo/abortcontroller-polyfill#using-it-on-browsers-without-fetch +// tslint:disable-next-line:ordered-imports +import 'abortcontroller-polyfill/dist/abortcontroller-polyfill-only'; export const fetchAsync = async ( endpoint: string, |