Commit Graph

41 Commits

Author SHA1 Message Date
tiagosiebler
a4945d1caf chore(): updates for pre-V5 deprecations 2025-01-24 15:35:11 +00:00
tiagosiebler
03169b324c chore(): deprecate pre-V5 authentication workflows 2025-01-24 15:28:28 +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
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
d508655136 chore(): refactor ws events into organised dir 2024-12-18 14:32:42 +00:00
tiagosiebler
d7c2c02648 v3.10.18: feat(#368) add config for HTTP keep alive via axios 2024-09-09 11:11:42 +01:00
tiagosiebler
c83b2ffa51 feat(): add support for other API domains via easy config 2024-09-09 09:58:50 +01:00
tiagosiebler
f14365d8e2 v3.10.1: fix(#333) v5 time endpoint 2024-04-15 10:44:19 +01:00
tiagosiebler
cc362c469b v3.9.9: feat() support demo trading apis 2024-04-09 17:47:46 +01:00
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
a790fcaf04 feat(#251): add optional bapi rate limit parsing to REST clients 2023-10-30 13:47:40 +00: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
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
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
8e54ecbaf5 fix linter configuration & jest type dependency 2023-02-17 13:51:40 +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
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
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
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
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
d2ba5d3e01 usdc options public ws test 2022-09-16 13:13:49 +01:00
tiagosiebler
3a984594dc refactoring in new classes around consistency. Add spotv3 REST client 2022-09-10 12:23:32 +01:00
tiagosiebler
5187350878 add USDC perp client with tests 2022-09-08 16:48:33 +01:00
tiagosiebler
63201b465c add account asset & USDC options clients 2022-09-08 13:39:07 +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
d1cb97176a cleaning, fix and add spot post tests 2022-05-12 00:48:23 +01:00
tiagosiebler
326caac96a cleaning around api response types 2022-05-11 23:58:53 +01:00
tiagosiebler
38f5a6286c fixes for private spot GET calls, improve signing process, add private read tests for spot & linear 2022-05-08 01:00:12 +01:00
tiagosiebler
d11fbfa227 add coverage for inverse futures private getter endpoints, migrate private getter methods to base class 2022-05-06 22:06:32 +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
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
Stefan Aebischer
082633a5ca reduce browser bundle size
reduces browser bundle size by ~612k or ~92%.
2021-05-15 19:34:32 +02:00
tiagosiebler
b6a17dcffe cleaning unnecessary optionals 2021-03-06 17:17:13 +00:00
tiagosiebler
26602cfa05 rename rest client options to be more generic 2021-02-14 16:29:35 +00:00
tiagosiebler
2b112b9879 implement linear websockets 2021-02-06 23:54:45 +00:00
peepopoggers
e35a6a5780 Fixed Function 2021-01-29 16:31:29 +00:00
CryptoCompiler
b3b327004b Added isPublicEndpoint Function Export 2021-01-29 14:32:32 +00:00
tiagosiebler
0606525e96 1.3.0-beta.1: introduce typescript, webpack, better overall browser support, deprecate assert calls 2020-12-13 17:19:18 +00:00