Commit Graph

188 Commits

Author SHA1 Message Date
JJ-Cro
49ddc43bf0 feat(): updated tests to pass properly 2025-03-27 10:33:24 +01:00
JJ-Cro
34aeea065a chore(): moved tests to subfolder 2025-03-25 17:31:55 +01:00
JJ-Cro
cde6f1b9a3 chore(): reuploaded tests for legacy client 2025-03-25 16:52:04 +01:00
JJ-Cro
1e7987a400 feat(): add comprehensive tests for Bitget Private and Public REST API endpoints
- Introduced new test files for private read and write endpoints, covering account, trade, funding, and futures functionalities.
- Added public API tests for server time, ticker, order book, and market trades - Enhanced error handling in tests with specific error codes and messages.
- Updated response utility functions to improve error response structure.
- Removed outdated broker tests to streamline the test suite.
2025-03-17 13:38:04 +01:00
Tiago
e31c5fa4af Merge pull request #67 from tiagosiebler/dependabot/npm_and_yarn/axios-1.8.2
chore(deps): bump axios from 1.7.4 to 1.8.2
2025-03-15 18:22:41 +00:00
dependabot[bot]
e850af63ad chore(deps): bump axios from 1.7.4 to 1.8.2
Bumps [axios](https://github.com/axios/axios) from 1.7.4 to 1.8.2.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v1.7.4...v1.8.2)

---
updated-dependencies:
- dependency-name: axios
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-15 17:59:25 +00:00
Tiago
3d649b4137 Merge pull request #66 from JJ-Cro/master
feat(): separated private and public tests
2025-03-15 17:58:30 +00:00
JJ-Cro
51d9131f17 feat(): separated private and public tests 2025-03-15 12:05:51 +01:00
Tiago
15931f6ed5 Merge pull request #65 from JJ-Cro/update280225
feat(v2.3.5): added missing affiliate endpoints to broker client
2025-03-03 15:59:46 +00:00
Tiago
b9e33d78cc Merge branch 'master' into update280225 2025-03-03 15:47:34 +00:00
Tiago
292c8afe17 Merge pull request #64 from JJ-Cro/master
feat(): updated all examples to use v2 clients
2025-03-03 15:46:33 +00:00
JJ-Cro
97012bc1ae feat(v2.3.5): added missing affiliate endpoints in broker client, updated examples and endpoint map 2025-02-28 09:51:19 +01:00
JJ-Cro
503baf3107 chore(): updated all examples to use v2 clients 2025-02-27 12:20:36 +01:00
Tiago
577ac8f4a5 Merge pull request #62 from JJ-Cro/update25022025
fix(v2.3.4): fixed typo for request types for getAgentCommissionDetail()
2025-02-25 09:52:36 +00:00
JJ-Cro
a5642a17e3 chore(): version bump 2025-02-25 10:50:23 +01:00
JJ-Cro
632e76263f fix(): fixed typo for request types for getAgentCommissionDetail() 2025-02-25 10:49:56 +01:00
Tiago
36ffb8651b Merge pull request #61 from tiagosiebler/safeterminate
fix(v2.3.3): fallback to ws.close in browsers
2025-02-24 12:23:05 +00:00
Tiago Siebler
0f8815e426 fix(v2.3.3): fallback to ws.close in browsers 2025-02-24 11:49:58 +00:00
Tiago
2faddea7c2 Merge pull request #60 from tiagosiebler/brokerquery
feat(v2.3.2): add v1 query broker detail endpoint
2025-02-21 17:21:57 +00:00
Tiago Siebler
b3915c6c61 feat(v2.3.2): add v1 query broker detail endpoint 2025-02-21 17:20:09 +00:00
Tiago
8c53f707c1 Merge pull request #57 from tiagosiebler/testfix0225
chore(): simple test fix
2025-02-09 11:35:47 +00:00
Tiago Siebler
1b0fe4334e chore(): simple test fix 2025-02-09 11:34:37 +00:00
Tiago
8e35d6ecec Merge pull request #56 from fireflies1988/feature/add-demo-trading-option
feat(v2.3.1): add demoTrading flag to REST Client for demo mode support
2025-02-09 11:32:10 +00:00
Thanh Tung
2c074b2cc6 refactor: replace useDemoTrading with demoTrading in RestClientOptions for consistency 2025-02-08 18:34:40 +07:00
Thanh Tung
f09e79edbd feat: add useDemoTrading flag to BaseRestClient for demo mode support 2025-02-08 09:56:52 +07:00
Tiago
59824c25c5 Merge pull request #55 from JJ-Cro/BitgetResponseTypes
v2.3.0 feat(): added all response types for all endpoints
2024-12-17 16:33:28 +00:00
JJ-Cro
0452aba3ec chore(): added comments to candle types 2024-12-17 17:32:16 +01:00
JJ-Cro
a835c793c8 chore(): updated candle types 2024-12-17 17:25:57 +01:00
JJ-Cro
7f79a57bf7 chore(): run linter 2024-12-17 16:42:20 +01:00
JJ-Cro
ba6b83aa14 feat(): updated types to be more readable 2024-12-17 13:44:14 +01:00
JJ-Cro
f35e32a836 chore(): version bump 2024-12-16 12:28:46 +01:00
JJ-Cro
c68899574a feat(): added all Earn response types 2024-12-16 12:26:57 +01:00
JJ-Cro
d2995530f1 feat(): added copytrading response types 2024-12-16 12:08:02 +01:00
JJ-Cro
8c736b0d3c feat(): added margin response types 2024-12-13 13:14:30 +01:00
JJ-Cro
6cabbe5edb feat(): added all broker response types 2024-12-13 12:12:16 +01:00
JJ-Cro
68c5d7d89d feat(): added futures response types 2024-12-13 11:54:14 +01:00
JJ-Cro
9add46e6fe feat(): added all spot response types 2024-12-13 10:17:51 +01:00
JJ-Cro
d3a392dea7 feat(): added common response types 2024-12-12 12:00:58 +01:00
JJ-Cro
8c8a7af2ac chore(): rearranged v1 so I can start adding v2 responses 2024-12-12 11:07:24 +01:00
Tiago
558f466f43 Merge pull request #54 from tiagosiebler/linter
feat(v2.2.0): bump build version to node LTS, fix linter, address linter conflicts, update gh action for linter check
2024-12-11 16:57:45 +00:00
Tiago Siebler
d96ce80228 feat(v2.2.0): bump build version to node LTS, fix linter, address linter conflicts, update gh action for linter check 2024-12-11 16:55:37 +00:00
Tiago Siebler
0299bf41d2 chore(): undo linter test 2024-12-11 16:54:15 +00:00
Tiago Siebler
ebf7f69a81 chore(): update e2e test action, with deliberate lint fail 2024-12-11 16:53:14 +00:00
Tiago Siebler
d363c51b2b chore(): fix and run linter, bump node version to LTS 2024-12-11 16:40:54 +00:00
Tiago Siebler
e92c083961 chore(): run linter fixes 2024-12-10 17:29:47 +00:00
Tiago
13255d467f Merge branch 'master' into linter 2024-12-10 16:59:13 +00:00
Tiago
25af21fa5d Merge pull request #53 from JJ-Cro/master
v2.1.0 feat(): added all request types
2024-12-10 16:58:37 +00:00
JJ-Cro
84f3849ee6 chore(): added V2 suffixes 2024-12-10 16:09:27 +01:00
JJ-Cro
d7aa53e2c1 chore(): added v2 suffixes 2024-12-10 14:50:27 +01:00
JJ-Cro
0c8813ec32 chore(): updated type suffixes, added V2 2024-12-10 14:31:23 +01:00