Commit Graph

80 Commits

Author SHA1 Message Date
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
tiagosiebler
3f5039ef8b cleaning around websocket client 2022-09-15 12:20:39 +01:00
tiagosiebler
0e05a8d0ef tidying ws client 2022-09-14 23:55:24 +01:00
tiagosiebler
d1ed7971ad v2.4.0-beta.1. remove circleci, cleaning in ws client 2022-09-14 23:12:44 +01:00
tiagosiebler
a1c0887417 copy trading API 2022-09-09 15:26:47 +01:00
tiagosiebler
43c1f91b50 v2.3.0: fix(#158), disable time sync by default. Optionally avoid hitting time API when connecting authenticated websocket. 2022-07-12 11:32:17 +01:00
tiagosiebler
18977499f8 v2.2.1: fix ws & rest authentication issues caused by time-sync mechanism 2022-05-28 20:39:37 +01:00
tiagosiebler
51aa7ae1f5 - Returned type improvements.
- Start migrating to base rest client.
- Remove deprecated methods.
- Run linter.
- Deprecate shared endpoints for readibility. All methods are replicated within each client (there's not much duplication).
- Expand test coverage for public inverse endpoints.
2022-05-05 21:25:28 +01:00
tiagosiebler
352f58e09a clear pong timer for any incoming data 2021-12-31 00:45:50 +00:00
keith
b22e3fbc84 fix: pass http.Agent through connect 2021-11-04 11:09:54 -07:00
tiagosiebler
72c7630a29 feat(#99): introduce spot REST client 2021-08-15 12:12:10 +01:00
tiagosiebler
10ac2ec384 expand spot public socket support 2021-08-15 11:11:33 +01:00
tiagosiebler
572bd19abd v2.1.0: deprecate boolean props for websocket market. Expand types. Implement spot ws ping/pong 2021-08-15 10:50:10 +01:00