Commit Graph

96 Commits

Author SHA1 Message Date
tiagosiebler
7fcf4b0bf4 v3.9.0: feat() upgrade to node lts, feat() upgrade axios, jest and other dependencies, chore(): move some dependencies to optional 2024-01-25 14:42:39 +00:00
tiagosiebler
9cb22d192e v3.8.1: feat() add type guard and type for ws orderbook events 2024-01-17 11:41:36 +00: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
a790fcaf04 feat(#251): add optional bapi rate limit parsing to REST clients 2023-10-30 13:47:40 +00:00
tiagosiebler
eb33084b7f chore(): fix jsdoc param 2023-10-30 12:48:42 +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
4b854ddb39 #218 Returning a promise when subscribing to topics 2023-05-09 03:37:26 +02:00
tiagosiebler
70adfd646a v3.5.8: feat() easier env-controlled HTTP traces. Add missing properties for asset v5 types. 2023-05-01 12:11:09 +01:00
Tiago
b399ec4497 Merge pull request #247 from Tindtily/master
Add syncTimeBeforePrivateRequests option
2023-04-25 15:18:17 +01:00
Morphling
6b1863c289 Add syncTimeBeforePrivateRequest option
Add syncTimeBeforePrivateRequest option to determines whether to perform time synchronization before sending private requests
2023-04-18 04:37:11 +08:00
tiagosiebler
fbd9235eb0 chore(): run trailing comma linter, disable noisy test while in discussion with bybit 2023-04-13 12:23:36 +01: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
985652bf9e fix(#240): remove another pointer mutation 2023-03-21 12:20:44 +00:00
tiagosiebler
802c02a553 fix(#240): fix sign error on parallel requests due to pointer mutation 2023-03-21 12:17:48 +00:00
tiagosiebler
dff34b6a46 v3.5.2: feat() add missing v5 internal deposit records endpoint. fix(#233) return type for v5 wallet balance endpoint, fix(#232) timestamp resolution for v5 fetch time endpoint 2023-03-03 16:02:44 +00:00
tiagosiebler
c4176baa24 clean redundant comment 2023-02-27 12:00:39 +00:00
tiagosiebler
0a1cc4ed2b v3.5.1: feat() add support for V5 public & private websockets 2023-02-24 15:59:05 +00:00
tiagosiebler
bf602c8d58 fix tests and incorrect v5 endpoint 2023-02-21 12:31:40 +00:00
tiagosiebler
8193f5a5ce fix linting errors 2023-02-17 14:06:58 +00:00
tiagosiebler
8e54ecbaf5 fix linter configuration & jest type dependency 2023-02-17 13:51:40 +00:00
tiagosiebler
6fa204e8bd v3.4.0: feat(#219) add support for account asset v3 REST endpoints 2023-02-13 17:20:03 +00:00
tiagosiebler
8010b2cebf v3.3.10: fix(#220): correctly detecting usdc pairs for unified perp ws market 2023-01-24 11:04:50 +00:00
tiagosiebler
fc2b096ba1 v3.3.6: add response type for contract ticker 2022-12-28 13:07:29 +00:00
tiagosiebler
57e24dc035 v3.3.5: fix typo in contract endpoint order request interfaces 2022-12-07 17:23:38 +00:00
tiagosiebler
1515ce5067 disable serialised value encoding for keyInBody method endpoints 2022-11-16 15:07:07 +00:00
tiagosiebler
909e36347e fix additional encoding issue for cursor with equals symbol. Add contract client return type. Add additional cursor e2e test. 2022-11-16 14:58:56 +00:00
tiagosiebler
c3f7ecb30e v3.3.1: fix(#199) wrong endpoint for contract.getOpenInterestLimitInfo 2022-11-16 12:03:36 +00:00
tiagosiebler
7b10ae08a2 v3.2.1: fix sign error when using cursor containing percent symbols. URI encode request parameters by default when serialising during sign. 2022-11-15 16:22:04 +00:00
tiagosiebler
9d464be3b2 add example and test for private contract v3 websocket topics 2022-11-12 13:29:12 +00:00
tiagosiebler
5df19e83bc add support for contract v3 websockets 2022-11-12 12:40:43 +00:00
tiagosiebler
bdd1d760f5 fix(#187): signature fails sometimes for spot v3 with param GET requests. add example for query spot tpsl orders 2022-10-24 19:48:57 +01:00
Wei-Chieh Hsia
7069c30c9c missing unifiedPrivate in WS_AUTH_ON_CONNECT_KEYS
the fix of getting 3303001 from WebSocket
2022-10-11 23:14:43 +01:00
tiagosiebler
1f19306477 batch subscribe for spot v3 2022-09-28 10:11:29 +01:00
tiagosiebler
22c0de50b0 fix test and jsdoc 2022-09-20 00:01:59 +01:00
tiagosiebler
0ad221fe5a cleaning in the base rest client 2022-09-19 23:58:02 +01:00
tiagosiebler
6e2ba00730 readme cleaning 2022-09-19 23:53:01 +01:00
tiagosiebler
d3fa937cdf refactor tests for new constructor pattern 2022-09-19 23:48:35 +01:00
tiagosiebler
5894e45393 wsstore note 2022-09-18 10:57:15 +01:00
tiagosiebler
679e54eb42 cleaning in spot client 2022-09-17 11:36:57 +01:00
tiagosiebler
34884b236f detect pong for unified ws 2022-09-17 11:13:48 +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
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
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
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