Skip to content

v3.2.9: Fix WS snapshot guards, withdrawal path, switch status, WS requestTime; ins-loan fields. New docs page & guides!

Latest

Choose a tag to compare

@tiagosiebler tiagosiebler released this 19 Nov 13:14
3fcc003

What'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.submitWithdraw posts to /api/v3/account/withdrawal (Fixes #183)
  • getUnifiedAccountSwitchStatus status is 'process' | 'success' | 'fail', with optional reason (Fixes #184)
  • WS API order requests send a top-level requestTime when receiveWindow is set, so the window takes effect; it can be overridden with requestFlags.requestTime (Fixes #185)
  • Institutional lending: optional clientType on product infos, deltaThreshold / leverageThreshold (Hedge only), riskUnitList on risk unit, delta / leverageRatio on LTV convert
  • REST place-order slippageTolerance JSDoc: range [0.001, 0.05], up to 3 decimals
  • Bump .nvmrc to v24.22.3
  • Version 3.2.9

Full Changelog: v3.2.8...v3.2.9