Repository navigation
v3.2.9: Fix WS snapshot guards, withdrawal path, switch status, WS requestTime; ins-loan fields. New docs page & guides!
LatestWhat's Changed
- feat(v3.2.9): fix WS snapshot guards, withdrawal path, switch status, WS requestTime; ins-loan fields by @JJ-Cro in #186
- Introducing a new dedicated documentation page for our Bitget JavaScript & Node.js SDK
- Powered by our rich request & response types.
- Detailed examples for the leading JavaScript & Node.js runtimes, included but not limited to Node, JavaScript, TypeScript, React, Vite, Next.js, iOS & Android (via React Native), Bun, Deno and Cloudflare Workers. These fully tested quickstart guides include everything needed to make full use of Bitget's REST APIs & WebSockets with any leading JavaScript runtime.
- Fix #182, fix #183, fix #184 and fix #185.
Changelog
- WS snapshot type guards now recognise matching account and position snapshot events (Fixes #182)
RestClientV3.submitWithdrawposts to/api/v3/account/withdrawal(Fixes #183)getUnifiedAccountSwitchStatusstatus is'process' | 'success' | 'fail', with optionalreason(Fixes #184)- WS API order requests send a top-level
requestTimewhenreceiveWindowis set, so the window takes effect; it can be overridden withrequestFlags.requestTime(Fixes #185) - Institutional lending: optional
clientTypeon product infos,deltaThreshold/leverageThreshold(Hedge only),riskUnitListon risk unit,delta/leverageRatioon LTV convert - REST place-order
slippageToleranceJSDoc: range [0.001, 0.05], up to 3 decimals - Bump
.nvmrctov24.22.3 - Version 3.2.9
Full Changelog: v3.2.8...v3.2.9