File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff 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/**
You can’t perform that action at this time.
0 commit comments