Merge branch 'master' into wsapi

This commit is contained in:
Tiago
2025-02-28 11:29:50 +00:00
committed by GitHub
4 changed files with 37 additions and 2 deletions

View File

@@ -64,6 +64,7 @@ interface SignedRequest<T> {
interface UnsignedRequest<T> {
originalParams: T;
paramsWithSign: T;
serializedParams: string;
sign?: string;
timestamp?: number;
recvWindow?: number;
@@ -276,7 +277,9 @@ export default abstract class BaseRestClient {
return {
...options,
headers,
params: signResult.originalParams,
url: signResult.serializedParams
? options.url + '?' + signResult.serializedParams
: options.url,
};
}