aboutsummaryrefslogtreecommitdiffstats
path: root/packages/connect/src/http_client.ts
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2018-09-25 18:47:31 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2018-09-25 19:12:12 +0800
commitb85db17e75e818b5b554cc2b8068aba980d95804 (patch)
tree8e612ecbcf7dab56efc74f9b7bdde2be079f33b0 /packages/connect/src/http_client.ts
parent408f5731880d61877964275301ad10d522aad6a7 (diff)
downloaddexon-sol-tools-b85db17e75e818b5b554cc2b8068aba980d95804.tar
dexon-sol-tools-b85db17e75e818b5b554cc2b8068aba980d95804.tar.gz
dexon-sol-tools-b85db17e75e818b5b554cc2b8068aba980d95804.tar.bz2
dexon-sol-tools-b85db17e75e818b5b554cc2b8068aba980d95804.tar.lz
dexon-sol-tools-b85db17e75e818b5b554cc2b8068aba980d95804.tar.xz
dexon-sol-tools-b85db17e75e818b5b554cc2b8068aba980d95804.tar.zst
dexon-sol-tools-b85db17e75e818b5b554cc2b8068aba980d95804.zip
Move SRA types from @0xproject/connect to @0xproject/sra-types
Diffstat (limited to 'packages/connect/src/http_client.ts')
-rw-r--r--packages/connect/src/http_client.ts18
1 files changed, 8 insertions, 10 deletions
diff --git a/packages/connect/src/http_client.ts b/packages/connect/src/http_client.ts
index bdcfdd8d2..8a68d6c23 100644
--- a/packages/connect/src/http_client.ts
+++ b/packages/connect/src/http_client.ts
@@ -1,19 +1,10 @@
import { assert } from '@0xproject/assert';
import { schemas } from '@0xproject/json-schemas';
-import { SignedOrder } from '@0xproject/types';
-import { fetchAsync } from '@0xproject/utils';
-import * as _ from 'lodash';
-import * as queryString from 'query-string';
-
-import { schemas as clientSchemas } from './schemas/schemas';
import {
APIOrder,
AssetPairsRequestOpts,
AssetPairsResponse,
- Client,
FeeRecipientsResponse,
- HttpRequestOptions,
- HttpRequestType,
OrderbookRequest,
OrderbookResponse,
OrderConfigRequest,
@@ -22,7 +13,14 @@ import {
OrdersResponse,
PagedRequestOpts,
RequestOpts,
-} from './types';
+ SignedOrder,
+} from '@0xproject/types';
+import { fetchAsync } from '@0xproject/utils';
+import * as _ from 'lodash';
+import * as queryString from 'query-string';
+
+import { schemas as clientSchemas } from './schemas/schemas';
+import { Client, HttpRequestOptions, HttpRequestType } from './types';
import { relayerResponseJsonParsers } from './utils/relayer_response_json_parsers';
const TRAILING_SLASHES_REGEX = /\/+$/;