aboutsummaryrefslogtreecommitdiffstats
path: root/packages/connect
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2018-07-16 20:38:27 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2018-07-16 20:38:27 +0800
commitacff177c547dee049b97e4b051fe22e1efaf992c (patch)
tree4580187592aac7695c1edae15a6f68eea5b1078c /packages/connect
parentffeb3194a8f5e68c266f0bc6c70c6c9ba0754ec6 (diff)
parent6bdee26c3037733ad198d54c1e88f3c7647ad230 (diff)
downloaddexon-sol-tools-acff177c547dee049b97e4b051fe22e1efaf992c.tar
dexon-sol-tools-acff177c547dee049b97e4b051fe22e1efaf992c.tar.gz
dexon-sol-tools-acff177c547dee049b97e4b051fe22e1efaf992c.tar.bz2
dexon-sol-tools-acff177c547dee049b97e4b051fe22e1efaf992c.tar.lz
dexon-sol-tools-acff177c547dee049b97e4b051fe22e1efaf992c.tar.xz
dexon-sol-tools-acff177c547dee049b97e4b051fe22e1efaf992c.tar.zst
dexon-sol-tools-acff177c547dee049b97e4b051fe22e1efaf992c.zip
Merge branch 'v2-prototype' into feature/order-watcher-v2
Diffstat (limited to 'packages/connect')
-rw-r--r--packages/connect/package.json1
-rw-r--r--packages/connect/src/http_client.ts4
2 files changed, 2 insertions, 3 deletions
diff --git a/packages/connect/package.json b/packages/connect/package.json
index c604b511b..4148f9d57 100644
--- a/packages/connect/package.json
+++ b/packages/connect/package.json
@@ -56,7 +56,6 @@
"@0xproject/types": "^0.8.2",
"@0xproject/typescript-typings": "^0.4.2",
"@0xproject/utils": "^0.7.2",
- "isomorphic-fetch": "^2.2.1",
"lodash": "^4.17.4",
"query-string": "^5.0.1",
"sinon": "^4.0.0",
diff --git a/packages/connect/src/http_client.ts b/packages/connect/src/http_client.ts
index f6503835a..f3800d581 100644
--- a/packages/connect/src/http_client.ts
+++ b/packages/connect/src/http_client.ts
@@ -1,7 +1,7 @@
import { assert } from '@0xproject/assert';
import { schemas } from '@0xproject/json-schemas';
import { SignedOrder } from '@0xproject/types';
-import 'isomorphic-fetch';
+import { fetchAsync } from '@0xproject/utils';
import * as _ from 'lodash';
import * as queryString from 'query-string';
@@ -167,7 +167,7 @@ export class HttpClient implements Client {
const headers = new Headers({
'content-type': 'application/json',
});
- const response = await fetch(url, {
+ const response = await fetchAsync(url, {
method: requestType,
body: JSON.stringify(payload),
headers,