[CodeFactor] Apply fixes
This commit is contained in:
@@ -36,12 +36,19 @@ interface SignedRequest<T> {
|
|||||||
|
|
||||||
export default abstract class BaseRestClient {
|
export default abstract class BaseRestClient {
|
||||||
private timeOffset: number | null;
|
private timeOffset: number | null;
|
||||||
|
|
||||||
private syncTimePromise: null | Promise<any>;
|
private syncTimePromise: null | Promise<any>;
|
||||||
|
|
||||||
private options: RestClientOptions;
|
private options: RestClientOptions;
|
||||||
|
|
||||||
private baseUrl: string;
|
private baseUrl: string;
|
||||||
|
|
||||||
private globalRequestOptions: AxiosRequestConfig;
|
private globalRequestOptions: AxiosRequestConfig;
|
||||||
|
|
||||||
private key: string | undefined;
|
private key: string | undefined;
|
||||||
|
|
||||||
private secret: string | undefined;
|
private secret: string | undefined;
|
||||||
|
|
||||||
private clientType: RestClientType;
|
private clientType: RestClientType;
|
||||||
|
|
||||||
/** Function that calls exchange API to query & resolve server time, used by time sync */
|
/** Function that calls exchange API to query & resolve server time, used by time sync */
|
||||||
|
|||||||
Reference in New Issue
Block a user