Skip to content

Commit 0aa7899

Browse files
committed
chore: ordering
1 parent 2198d5c commit 0aa7899

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/types/websockets/ws-general.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -172,18 +172,18 @@ export interface WSClientConfigurableOptions {
172172

173173
wsUrl?: string;
174174

175-
/**
176-
* Optional custom JSON parser used for incoming WS messages.
177-
* Defaults to JSON.parse.
178-
*/
179-
customParseJSONFn?: (raw: string) => object;
180-
181175
/**
182176
* Allows you to provide a custom "signMessage" function, e.g. to use node's much faster createHmac method
183177
*
184178
* Look in the examples folder for a demonstration on using node's createHmac instead.
185179
*/
186180
customSignMessageFn?: (message: string, secret: string) => Promise<string>;
181+
182+
/**
183+
* Optional custom JSON parser used for incoming WS messages.
184+
* Defaults to JSON.parse.
185+
*/
186+
customParseJSONFn?: (raw: string) => object;
187187
}
188188

189189
/**

0 commit comments

Comments
 (0)