fixes for private spot GET calls, improve signing process, add private read tests for spot & linear

This commit is contained in:
tiagosiebler
2022-05-08 01:00:12 +01:00
parent 7840829454
commit 38f5a6286c
9 changed files with 176 additions and 41 deletions

View File

@@ -3,6 +3,7 @@ import {
GenericAPIResponse,
getRestBaseUrl,
RestClientOptions,
REST_CLIENT_TYPE_ENUM,
} from './util/requestUtils';
import RequestWrapper from './util/requestWrapper';
import {
@@ -46,7 +47,8 @@ export class LinearClient extends BaseRestClient {
secret,
getRestBaseUrl(useLivenet, restClientOptions),
restClientOptions,
requestOptions
requestOptions,
REST_CLIENT_TYPE_ENUM.linear
);
this.requestWrapper = new RequestWrapper(