Commit Graph

46 Commits

Author SHA1 Message Date
Tiago
dbdb5f60b4 Merge branch 'master' into wsapi 2025-02-28 11:29:50 +00:00
tiagosiebler
df047a0cdb fix(v3.11.0): ensure private GET requests use serialised/encoded params appended to URL. Update slippage tolerance type to optional. 2025-02-28 11:23:57 +00:00
tiagosiebler
8a692140e0 fix(4.0.0-beta.1): fix backwards compatibility with req_id usage for ws subscribe/unsubscribe 2025-01-24 16:20:12 +00:00
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
d7c2c02648 v3.10.18: feat(#368) add config for HTTP keep alive via axios 2024-09-09 11:11:42 +01:00
tiagosiebler
bd10bd9e63 v3.10.3: feat(#340) fix pass-through headers for proxying via nginx. add second proxy example. 2024-05-07 13:10:12 +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
tiagosiebler
eb33084b7f chore(): fix jsdoc param 2023-10-30 12:48:42 +00: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
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
bf602c8d58 fix tests and incorrect v5 endpoint 2023-02-21 12:31:40 +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
1515ce5067 disable serialised value encoding for keyInBody method endpoints 2022-11-16 15:07:07 +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
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
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
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
0cbdc5351c add unified margin client with request types 2022-09-10 18:57:48 +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
666720b27d deprecate redundant repeated constructors 2022-09-08 14:31:03 +01:00
tiagosiebler
63201b465c add account asset & USDC options clients 2022-09-08 13:39:07 +01:00
tiagosiebler
84f9d61891 fix spot post api call 2022-08-18 19:04:24 +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
f0088f32c2 run linter 2022-05-12 01:23:49 +01:00
codefactor-io
1a6b4cc269 [CodeFactor] Apply fixes 2022-05-12 00:19:44 +00: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
c6758b65cc remove dead inverse method, add write tests, update read tests, add error enums used by tests 2022-05-10 13:22:28 +01:00
tiagosiebler
c94b4d16ff small clean 2022-05-08 01:09:04 +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
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
72c7630a29 feat(#99): introduce spot REST client 2021-08-15 12:12:10 +01:00