From 8f7497d6bdb2833e14af610808684e09e3d3cefa Mon Sep 17 00:00:00 2001 From: Connie-Wild Date: Sat, 19 Jan 2019 23:55:58 +0900 Subject: [PATCH 1/2] api.liquid.com --- src/Quoine/BrokerApi.ts | 2 +- src/__tests__/Quoine/nocksetup.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Quoine/BrokerApi.ts b/src/Quoine/BrokerApi.ts index 85c26f21..0113ab5a 100644 --- a/src/Quoine/BrokerApi.ts +++ b/src/Quoine/BrokerApi.ts @@ -16,7 +16,7 @@ import { import * as jwt from 'jsonwebtoken'; export default class BrokerApi { - private readonly baseUrl = 'https://api.quoine.com'; + private readonly baseUrl = 'https://api.liquid.com'; private readonly webClient: WebClient = new WebClient(this.baseUrl); constructor(private readonly key: string, private readonly secret: string) {} diff --git a/src/__tests__/Quoine/nocksetup.ts b/src/__tests__/Quoine/nocksetup.ts index 02ab5ea2..12abdf63 100644 --- a/src/__tests__/Quoine/nocksetup.ts +++ b/src/__tests__/Quoine/nocksetup.ts @@ -3,7 +3,7 @@ import * as nock from 'nock'; function nocksetup() { - const quoine = nock('https://api.quoine.com'); + const quoine = nock('https://api.liquid.com'); quoine.get('/orders/118573146').reply(200, { id: 118573146, order_type: 'limit', From 42e2ade74acc6407bb5670798699c6e9d28b725a Mon Sep 17 00:00:00 2001 From: Connie-Wild Date: Sun, 20 Jan 2019 01:14:48 +0900 Subject: [PATCH 2/2] api.bitflyer.com --- src/Bitflyer/BrokerApi.ts | 2 +- src/__tests__/Bitflyer/nocksetup.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Bitflyer/BrokerApi.ts b/src/Bitflyer/BrokerApi.ts index c4f5b03a..560b6a45 100644 --- a/src/Bitflyer/BrokerApi.ts +++ b/src/Bitflyer/BrokerApi.ts @@ -17,7 +17,7 @@ import { } from './types'; export default class BrokerApi { - private readonly baseUrl = 'https://api.bitflyer.jp'; + private readonly baseUrl = 'https://api.bitflyer.com'; private readonly webClient: WebClient = new WebClient(this.baseUrl); constructor(private readonly key: string, private readonly secret: string) {} diff --git a/src/__tests__/Bitflyer/nocksetup.ts b/src/__tests__/Bitflyer/nocksetup.ts index 6305048d..2232ce60 100644 --- a/src/__tests__/Bitflyer/nocksetup.ts +++ b/src/__tests__/Bitflyer/nocksetup.ts @@ -2,7 +2,7 @@ import * as nock from 'nock'; function nocksetup() { - const api = nock('https://api.bitflyer.jp'); + const api = nock('https://api.bitflyer.com'); api .get('/v1/me/getbalance') .reply(200, [