Skip to content

feat(v3.1.5): update per release notes - #188

Merged
tiagosiebler merged 4 commits into
sieblyio:masterfrom
JJ-Cro:update
Jun 11, 2026
Merged

feat(v3.1.5): update per release notes #188
tiagosiebler merged 4 commits into
sieblyio:masterfrom
JJ-Cro:update

Conversation

@JJ-Cro

@JJ-Cro JJ-Cro commented Jun 7, 2026

Copy link
Copy Markdown
Contributor

2026-04-24 Stable Rewards

6 new endpoints: product info, quote, trade, balance, apy history, subscribe/redeem history
New types in stable-rewards.ts and private-stable-rewards.ts
2026-04-28 Precheck set delta neutral

Added risk_unit_type to UnmatchedInfo.type
2026-05-06 Slippage + post_only state

Added slippagePct to OrderRequest and WSAPIPlaceOrderRequestV5
Added post_only to instrument state comments on Instrument and AccountInstrument
2026-05-08 Affiliate

5 new endpoints: performance summary, invitee list, link list, co-inviter list, sub-affiliate list
getInviteeDetail typed with wdAmt and totalVol
New types in affiliate.ts and private-affiliate.ts
2026-05-20 REST base URL

Default global REST URL www.okx.com → openapi.okx.com in requestUtils.ts
2026-05-22 Asset bills

Added thirdPartyType to getAssetBillsDetails()

JJ-Cro added 3 commits June 7, 2026 20:36
…ds API support

- Bumped version in package.json and package-lock.json to 3.1.5.
- Introduced new API endpoints for affiliate and stable rewards functionalities.
- Added request and response types for affiliate and stable rewards in the respective files.
- Updated RestClient to include methods for the new endpoints.
- Updated `llms.txt` to reflect changes in directory structure and added new request/response types for affiliate and stable rewards.
- Removed deprecated dual investment request types from `src/types/rest/request/dual-investment.ts`.
- Added new request and response types for recurring buy functionality in `src/types/rest/response/private-recurring-buy.ts`.
- Updated multiple example scripts to use ES6 import syntax for the RestClient.
- Enhanced the API documentation in `docs/endpointFunctionList.md` to include new endpoints and examples.
- Updated WebsocketClient to handle OPENAPI_GLOBAL market.
- Enhanced documentation to include OPENAPI_GLOBAL in APIMarket and RestClientOptions.
- Added OPENAPI_GLOBAL base URL and WebSocket configurations.
- Ensured compatibility with existing GLOBAL market functionality.
Comment thread src/types/rest/response/private-account.ts Outdated

@tiagosiebler tiagosiebler left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks. FYI: Added an open issue to track the default url change when we do it with the next major release #190

@tiagosiebler
tiagosiebler merged commit 5ad5df8 into sieblyio:master Jun 11, 2026
4 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants