rename option client. update docs

This commit is contained in:
tiagosiebler
2022-09-08 18:34:49 +01:00
parent 557ddc90f5
commit c100c4af6f
5 changed files with 21 additions and 18 deletions

View File

@@ -1,4 +1,4 @@
import { USDCOptionsClient } from '../../../src';
import { USDCOptionClient } from '../../../src';
import {
successResponseObject,
successUSDCResponseObject,
@@ -15,7 +15,7 @@ describe('Private Account Asset REST API Endpoints', () => {
expect(API_SECRET).toStrictEqual(expect.any(String));
});
const api = new USDCOptionsClient(API_KEY, API_SECRET, useLivenet);
const api = new USDCOptionClient(API_KEY, API_SECRET, useLivenet);
const category = 'OPTION';
it('getActiveRealtimeOrders()', async () => {

View File

@@ -1,4 +1,4 @@
import { API_ERROR_CODE, USDCOptionsClient } from '../../../src';
import { API_ERROR_CODE, USDCOptionClient } from '../../../src';
import { successUSDCResponseObject } from '../../response.util';
describe('Private Account Asset REST API Endpoints', () => {
@@ -11,7 +11,7 @@ describe('Private Account Asset REST API Endpoints', () => {
expect(API_SECRET).toStrictEqual(expect.any(String));
});
const api = new USDCOptionsClient(API_KEY, API_SECRET, useLivenet);
const api = new USDCOptionClient(API_KEY, API_SECRET, useLivenet);
const currency = 'USDC';
const symbol = 'BTC-30SEP22-400000-C';

View File

@@ -1,4 +1,4 @@
import { USDCOptionsClient } from '../../../src';
import { USDCOptionClient } from '../../../src';
import {
successResponseObject,
successUSDCResponseObject,
@@ -9,7 +9,7 @@ describe('Public USDC Options REST API Endpoints', () => {
const API_KEY = undefined;
const API_SECRET = undefined;
const api = new USDCOptionsClient(API_KEY, API_SECRET, useLivenet);
const api = new USDCOptionClient(API_KEY, API_SECRET, useLivenet);
const symbol = 'BTC-30SEP22-400000-C';
it('getOrderBook()', async () => {