Commit Graph

92 Commits

Author SHA1 Message Date
tiagosiebler
98d2331f0e feat(): add example for REST-like WS API usage for Bybit in Node.js/JavaScript/TypeScript. Update type flowing and docs for stricter types. 2025-01-22 12:07:05 +00:00
tiagosiebler
13cd799e7c feat(): use web crypto API by default for sign, expose param to inject custom sign function 2025-01-21 16:47:14 +00:00
tiagosiebler
50bae8b1c2 chore(): bump typescript and types/node versions 2025-01-21 15:26:40 +00:00
tiagosiebler
39ce4c4929 chore(): misc cleaning 2025-01-21 15:22:43 +00:00
tiagosiebler
fcffd852cc feat(): improve e2e WS API workflow 2025-01-21 14:26:03 +00:00
tiagosiebler
d0eba98e06 feat(): improve wiring on promise-subscribe workflows, fixes #399 (with caveat described in PR) 2025-01-20 14:22:08 +00:00
tiagosiebler
10b2af1c37 fix(): wsapi response mapping 2025-01-17 13:46:49 +00:00
tiagosiebler
56e945f591 feat(): include flag for parsed WS API responses 2025-01-16 20:19:59 +00:00
tiagosiebler
8a7c8ea274 feat(): upgrade WebSocket layer to extend BaseWS abstraction. feat(): add promisified WS workflows, feat(): add WS API integration 2025-01-16 16:47:09 +00:00
tiagosiebler
b613fd956d feat(): upgrade WsStore to latest iteration 2024-12-18 14:52:40 +00:00
tiagosiebler
d508655136 chore(): refactor ws events into organised dir 2024-12-18 14:32:42 +00:00
tiagosiebler
9f20a00ecc chore(): run linter, after fixing config 2024-11-08 13:11:24 +00:00
tiagosiebler
9a7b125f79 v3.10.9: chore() bump dependencies, fix() strict test, chore() run linter 2024-06-24 13:04:47 +01:00
tiagosiebler
cc362c469b v3.9.9: feat() support demo trading apis 2024-04-09 17:47:46 +01:00
tiagosiebler
afc099f4ac feat(): slight improvement around ws teardown. feat(#305): implement safe terminate for browsers 2023-12-22 12:00:42 +00:00
tiagosiebler
923b1b02e0 feat(): safer websocket timer cleanup 2023-12-22 10:53:22 +00:00
tiagosiebler
e0db4edddb v3.7.7: minor docs improvements. support for recvWindow for ws client 2023-12-11 09:29:59 +00:00
tiagosiebler
2d31bda1d7 v3.7.1: chore() naming consistency for interface, pass through logger for ws url getter 2023-06-27 11:13:54 +01:00
Caius Citiriga
4bf527bef8 using typeguards and removed useless logging 2023-05-10 20:48:02 +02:00
Caius Citiriga
75a97fc9d4 handling multiple subscriptions confirmations received at once 2023-05-09 04:02:13 +02:00
Caius Citiriga
4b854ddb39 #218 Returning a promise when subscribing to topics 2023-05-09 03:37:26 +02:00
tiagosiebler
3c9e063165 v3.5.6, feat(#249): add 10-per-event limiter to spot v5 subscriptions, enable trailing comma linting rule 2023-04-13 12:00:08 +01:00
tiagosiebler
cbba8c348b chore(): remove unused import 2023-02-27 12:08:08 +00:00
tiagosiebler
d6534a438c fix type for v5 sub/unsub method 2023-02-24 16:10:25 +00:00
tiagosiebler
0a1cc4ed2b v3.5.1: feat() add support for V5 public & private websockets 2023-02-24 15:59:05 +00:00
tiagosiebler
8e54ecbaf5 fix linter configuration & jest type dependency 2023-02-17 13:51:40 +00:00
tiagosiebler
48e62402b8 v3.3.9: fix copy trading close order endpoint. add ws log for topic sub request. add example for rest copy closing. 2023-01-07 12:05:32 +00:00
tiagosiebler
84b71f5c13 v3.3.4: fix optional param in contract client, add js/ts samples for contract client, fix e2e open interest limit test, update readme 2022-11-29 08:59:16 +00:00
tiagosiebler
d3b2c65c22 fix forceful close workflow 2022-11-12 17:56:52 +00:00
tiagosiebler
750db0232c fix(#192): potential crash if a ws network exception happens and there's no error listener in the client 2022-11-12 13:28:48 +00:00
tiagosiebler
5df19e83bc add support for contract v3 websockets 2022-11-12 12:40:43 +00:00
tiagosiebler
7c6d02ea8b fix(#192): add more resilience around ws reconnection workflow 2022-11-12 12:27:39 +00:00
tiagosiebler
9c3a37e7b0 fix ws subscribe/unsubscribe workflows, which were repeating requests to each active ws connection unintentionally 2022-10-09 19:21:46 +01:00
tiagosiebler
a19200d311 doc updates for ws client 2022-09-28 10:19:02 +01:00
tiagosiebler
1f19306477 batch subscribe for spot v3 2022-09-28 10:11:29 +01:00
tiagosiebler
7fa82e099a expose ws store 2022-09-28 09:55:48 +01:00
tiagosiebler
d3fa937cdf refactor tests for new constructor pattern 2022-09-19 23:48:35 +01:00
tiagosiebler
2d221aac14 error event from ws client 2022-09-19 00:13:11 +01:00
tiagosiebler
08674ab2fa fix error log when reconnect cycle fails 2022-09-17 11:05:20 +01:00
tiagosiebler
4ccaf853b6 cleaning around reconnect workflow 2022-09-17 10:56:39 +01:00
tiagosiebler
2766a17fe8 fix bug with mixing topics and wskeys 2022-09-16 19:39:33 +01:00
tiagosiebler
350ed53a65 unified margin support for ws 2022-09-16 17:06:27 +01:00
tiagosiebler
d16dee8caa usdc private test 2022-09-16 14:09:01 +01:00
tiagosiebler
f5232605a1 fixes 2022-09-16 13:26:29 +01:00
tiagosiebler
9b673f08d5 public usdc perp ws test 2022-09-16 13:25:25 +01:00
tiagosiebler
d2ba5d3e01 usdc options public ws test 2022-09-16 13:13:49 +01:00
tiagosiebler
2ada7eb664 ws test stability fixes 2022-09-16 00:43:57 +01:00
tiagosiebler
7902430a17 spot v3 ws support with tests 2022-09-16 00:16:44 +01:00
tiagosiebler
f61e79934d cleaning around tests 2022-09-15 19:06:35 +01:00
tiagosiebler
1b422a1beb add basic ws connectivity tests 2022-09-15 14:11:17 +01:00