feat(): use web crypto API by default for sign, expose param to inject custom sign function
This commit is contained in:
@@ -138,12 +138,6 @@ export interface WSClientConfigurableOptions {
|
||||
* Look in the examples folder for a demonstration on using node's createHmac instead.
|
||||
*/
|
||||
customSignMessageFn?: (message: string, secret: string) => Promise<string>;
|
||||
|
||||
/**
|
||||
* If you authenticated the WS API before, automatically try to
|
||||
* re-authenticate the WS API if you're disconnected/reconnected for any reason.
|
||||
*/
|
||||
reauthWSAPIOnReconnect?: boolean;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -158,5 +152,4 @@ export interface WebsocketClientOptions extends WSClientConfigurableOptions {
|
||||
recvWindow: number;
|
||||
authPrivateConnectionsOnConnect: boolean;
|
||||
authPrivateRequests: boolean;
|
||||
reauthWSAPIOnReconnect: boolean;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user