aboutsummaryrefslogtreecommitdiffstats
path: root/packages/connect/src/http_client.ts
diff options
context:
space:
mode:
authorfragosti <francesco.agosti93@gmail.com>2018-08-21 02:53:49 +0800
committerfragosti <francesco.agosti93@gmail.com>2018-08-21 02:53:49 +0800
commit44cc5e45cc3a3ed7db2691a287500e5d61a2d0c1 (patch)
tree97e962f71e58064411fdc11986d804c242340cbf /packages/connect/src/http_client.ts
parent1ae11ed8ae2cbe0f60a70925c9c8d348745c96c7 (diff)
downloaddexon-sol-tools-44cc5e45cc3a3ed7db2691a287500e5d61a2d0c1.tar
dexon-sol-tools-44cc5e45cc3a3ed7db2691a287500e5d61a2d0c1.tar.gz
dexon-sol-tools-44cc5e45cc3a3ed7db2691a287500e5d61a2d0c1.tar.bz2
dexon-sol-tools-44cc5e45cc3a3ed7db2691a287500e5d61a2d0c1.tar.lz
dexon-sol-tools-44cc5e45cc3a3ed7db2691a287500e5d61a2d0c1.tar.xz
dexon-sol-tools-44cc5e45cc3a3ed7db2691a287500e5d61a2d0c1.tar.zst
dexon-sol-tools-44cc5e45cc3a3ed7db2691a287500e5d61a2d0c1.zip
Run prettier
Diffstat (limited to 'packages/connect/src/http_client.ts')
-rw-r--r--packages/connect/src/http_client.ts13
1 files changed, 10 insertions, 3 deletions
diff --git a/packages/connect/src/http_client.ts b/packages/connect/src/http_client.ts
index 4fdcfc338..93f4eeb05 100644
--- a/packages/connect/src/http_client.ts
+++ b/packages/connect/src/http_client.ts
@@ -59,7 +59,9 @@ export class HttpClient implements Client {
* @param requestOpts Options specifying assetData information to retrieve and page information, defaults to { page: 1, perPage: 100 }
* @return The resulting AssetPairsItems that match the request
*/
- public async getAssetPairsAsync(requestOpts?: RequestOpts & AssetPairsRequestOpts & PagedRequestOpts): Promise<AssetPairsResponse> {
+ public async getAssetPairsAsync(
+ requestOpts?: RequestOpts & AssetPairsRequestOpts & PagedRequestOpts,
+ ): Promise<AssetPairsResponse> {
if (!_.isUndefined(requestOpts)) {
assert.doesConformToSchema('requestOpts', requestOpts, clientSchemas.assetPairsRequestOptsSchema);
assert.doesConformToSchema('requestOpts', requestOpts, clientSchemas.pagedRequestOptsSchema);
@@ -77,7 +79,9 @@ export class HttpClient implements Client {
* @param requestOpts Options specifying orders to retrieve and page information, defaults to { page: 1, perPage: 100 }
* @return The resulting SignedOrders that match the request
*/
- public async getOrdersAsync(requestOpts?: RequestOpts & OrdersRequestOpts & PagedRequestOpts): Promise<OrdersResponse> {
+ public async getOrdersAsync(
+ requestOpts?: RequestOpts & OrdersRequestOpts & PagedRequestOpts,
+ ): Promise<OrdersResponse> {
if (!_.isUndefined(requestOpts)) {
assert.doesConformToSchema('requestOpts', requestOpts, clientSchemas.ordersRequestOptsSchema);
assert.doesConformToSchema('requestOpts', requestOpts, clientSchemas.pagedRequestOptsSchema);
@@ -134,7 +138,10 @@ export class HttpClient implements Client {
* @param request A OrderConfigRequest instance describing the specific fees to retrieve
* @return The resulting OrderConfigResponse that matches the request
*/
- public async getOrderConfigAsync(request: OrderConfigRequest, requestOpts?: RequestOpts): Promise<OrderConfigResponse> {
+ public async getOrderConfigAsync(
+ request: OrderConfigRequest,
+ requestOpts?: RequestOpts,
+ ): Promise<OrderConfigResponse> {
if (!_.isUndefined(requestOpts)) {
assert.doesConformToSchema('requestOpts', requestOpts, clientSchemas.requestOptsSchema);
}