Skip to content

Commit 6d00d24

Browse files
authored
Merge pull request #181 from JJ-Cro/update02112026
feat(v3.2.8): Stock+ max-purchase, UTA parameter channels, nullable lists
2 parents 9ec1120 + 56f7c06 commit 6d00d24

23 files changed

Lines changed: 14380 additions & 12244 deletions

‎docs/endpointFunctionList.md‎

Lines changed: 495 additions & 463 deletions
Large diffs are not rendered by default.

‎llms.txt‎

Lines changed: 12741 additions & 11757 deletions
Large diffs are not rendered by default.

‎package-lock.json‎

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "bitget-api",
3-
"version": "3.2.7",
3+
"version": "3.2.8",
44
"description": "Complete Node.js & JavaScript SDK for Bitget V1-V3 REST APIs & WebSockets, with TypeScript & end-to-end tests.",
55
"scripts": {
66
"test": "jest",

‎src/index.ts‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ export * from './types/request/v2/futures.js';
1010
export * from './types/request/v2/margin.js';
1111
export * from './types/request/v2/spot.js';
1212
export * from './types/request/v3/account.js';
13+
export * from './types/request/v3/affiliate.js';
1314
export * from './types/request/v3/broker.js';
1415
export * from './types/request/v3/cfd.js';
1516
export * from './types/request/v3/copytrading.js';
@@ -30,6 +31,7 @@ export * from './types/response/v2/futures.js';
3031
export * from './types/response/v2/margin.js';
3132
export * from './types/response/v2/spot.js';
3233
export * from './types/response/v3/account.js';
34+
export * from './types/response/v3/affiliate.js';
3335
export * from './types/response/v3/broker.js';
3436
export * from './types/response/v3/cfd.js';
3537
export * from './types/response/v3/copytrading.js';

‎src/rest-client-v2.ts‎

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1758,7 +1758,11 @@ export class RestClientV2 extends BaseRestClient {
17581758

17591759
getFuturesOpenOrders(params: FuturesGetOpenOrdersRequestV2): Promise<
17601760
APIResponse<{
1761-
entrustedList: FuturesOpenOrderV2[];
1761+
/**
1762+
* Undocumented but staff-confirmed: null and [] can both represent an empty page.
1763+
* @see https://t.me/bitgetOpenapi/153977
1764+
*/
1765+
entrustedList: FuturesOpenOrderV2[] | null;
17621766
endId: string;
17631767
}>
17641768
> {
@@ -1844,7 +1848,11 @@ export class RestClientV2 extends BaseRestClient {
18441848

18451849
getFuturesPlanOrders(params: FuturesGetPlanOrdersRequestV2): Promise<
18461850
APIResponse<{
1847-
entrustedList: FuturesPendingPlanOrderV2[];
1851+
/**
1852+
* Undocumented but staff-confirmed: null and [] can both represent an empty page.
1853+
* @see https://t.me/bitgetOpenapi/153977
1854+
*/
1855+
entrustedList: FuturesPendingPlanOrderV2[] | null;
18481856
endId: string;
18491857
}>
18501858
> {

0 commit comments

Comments
 (0)