readme formatting
This commit is contained in:
@@ -270,6 +270,8 @@ See [websocket-client.ts](./src/websocket-client.ts) for further information.
|
|||||||
|
|
||||||
Note: for linear websockets, pass `linear: true` in the constructor options when instancing the `WebsocketClient`. To connect to both linear and inverse websockets, make two instances of the WebsocketClient.
|
Note: for linear websockets, pass `linear: true` in the constructor options when instancing the `WebsocketClient`. To connect to both linear and inverse websockets, make two instances of the WebsocketClient.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
## Customise Logging
|
## Customise Logging
|
||||||
Pass a custom logger which supports the log methods `silly`, `debug`, `notice`, `info`, `warning` and `error`, or override methods from the default logger as desired.
|
Pass a custom logger which supports the log methods `silly`, `debug`, `notice`, `info`, `warning` and `error`, or override methods from the default logger as desired.
|
||||||
|
|
||||||
@@ -299,6 +301,8 @@ The bundle can be found in `dist/`. Altough usage should be largely consistent,
|
|||||||
|
|
||||||
However, note that browser usage will lead to CORS errors due Bybit. See [issue #79](#79) for more information & alternative suggestions.
|
However, note that browser usage will lead to CORS errors due Bybit. See [issue #79](#79) for more information & alternative suggestions.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
## Contributions & Thanks
|
## Contributions & Thanks
|
||||||
### Donations
|
### Donations
|
||||||
#### tiagosiebler
|
#### tiagosiebler
|
||||||
|
|||||||
Reference in New Issue
Block a user