SDK Releases & Updates

Combined release feed across all JavaScript SDK GitHub repositories, sorted by most recent. Navigate our most recent SDK releases, updates, and changelogs in one place. Filter by SDK to view specific release notes and stay up-to-date with the latest features and improvements.

Last refresh:

Showing releases 1 to 33 of 33 for OKX JavaScript SDK. Page 1 of 1.

OKX JavaScript SDK
v3.2.9

What's Changed

  • feat(v3.2.9): add RPI best bid and ask websocket channel by @JJ-Cro in okx-api PR #207

Full Changelog: okx-api compare v3.2.8...v3.2

OKX JavaScript SDK
v3.2.8

What's Changed

  • chore: update logo, readme, bump pinned versions by @tiagosiebler in okx-api PR #205
  • docs(v3.2.8): WS port 8443 dates and ELP to RPI deprecation by @JJ-Cro in okx-api PR #206

Full Changelog: okx-api compare v3.2.7...v3.2

OKX JavaScript SDK
v3.2.7

What's Changed

Full Changelog: okx-api compare v3.2.6...v3.2

OKX JavaScript SDK
v3.2.6

What's Changed

  • fix(v3.2.6): use default WebSocket port 443 by @JJ-Cro in okx-api PR #203

Full Changelog: okx-api compare v3.2.5...v3.2

OKX JavaScript SDK
v3.2.5

What's Changed

  • feat(v3.2.5): add activate-feature endpoint for USDC order book trading by @JJ-Cro in okx-api PR #202

Full Changelog: okx-api compare v3.2.4...v3.2

OKX JavaScript SDK
v3.2.4

What's Changed

  • feat(v3.2.4): add Delta Hedge Currencies endpoint and related types by @JJ-Cro in okx-api PR #201

Full Changelog: okx-api compare v3.2.3...v3.2

OKX JavaScript SDK
v3.2.3

What's Changed

Full Changelog: okx-api compare v3.2.2...v3.2

OKX JavaScript SDK
v3.2.2

What's Changed

  • fix: git url after siebly repo migration by @JJ-Cro in okx-api PR #197
  • chore(): README.md template sections by @tiagosiebler in okx-api PR #198
  • feat(v3.2.2): add RPI, OKUSD, GLP, and chase order API support by @JJ-Cro in okx-api PR #199

Full Changelog: okx-api compare v3.2.1...v3.2

OKX JavaScript SDK
v3.2.1

What's Changed

  • chore(v3.2.0): upgrade GitHub Actions to setup-node v7 and checkout v6 by @JJ-Cro in okx-api PR #195
  • chore(v3.2.1): pin ws to 8.x, remove webpack analyser and improve wsOptions type by @tiagosiebler in okx-api PR #196

Full Changelog: okx-api compare v3.2.0...v3.2

OKX JavaScript SDK
v3.2.0

What's Changed

  • chore(v3.2.0): pin npm to v11 and update Node to v24.18.0 by @JJ-Cro in okx-api PR #193

Full Changelog: okx-api compare v3.1.6...v3.2

OKX JavaScript SDK
v3.1.6

What's Changed

  • feat(v3.1.6): add move positions functionality and update event contract endpoints by @JJ-Cro in okx-api PR #191

Full Changelog: okx-api compare v3.1.5...v3.1

OKX JavaScript SDK
v3.1.5

What's Changed

Full Changelog: okx-api compare v3.1.4...v3.1

View all our OKX JavaScript SDK releases here: okx api release feed

OKX JavaScript SDK
v3.1.4

What's Changed

  • feat(v3.1.4): add dual investment API support and update examples by @JJ-Cro in okx-api PR #185
  • chore: bump lockfile dependencies after audit, add quickstart guide t… by @tiagosiebler in okx-api PR #187

Full Changelog: okx-api compare v3.1.3...v3.1

OKX JavaScript SDK
v3.1.3

What's Changed

  • feat(v3.1.3): enhance API request/response types with new fields and documentation by @JJ-Cro in okx-api PR #184

Full Changelog: okx-api compare v3.1.2...v3.1

OKX JavaScript SDK
v3.1.2

What's Changed

Full Changelog: okx-api compare v3.1.1...v3.1

OKX JavaScript SDK
v3.1.1

What's Changed

  • feat: add multiple examples for REST and WebSocket API usage, including demo trading, private trading, and public API calls by @JJ-Cro in okx-api PR #175
  • feat: add new examples for REST and WebSocket API usage, including private trading and public API calls, and restructure example directories by @JJ-Cro in okx-api PR #177
  • feat(v3.1.1): add coverage directory to .gitignore, and enhance isDeepObjectMatch function with null checks and new test case for nested object matching by @JJ-Cro in okx-api PR #178

Full Changelog: okx-api compare v3.1.0...v3.1

OKX JavaScript SDK
v3.1.0

What's Changed

  • chore: update NPM publish workflow to trigger on release events and h… by @JJ-Cro in okx-api PR #169
  • feat: update WebSocket wsOptions type, update WebPack configuration by @JJ-Cro in okx-api PR #170
  • chore(): README.md template sections by @tiagosiebler in okx-api PR #172
  • feat(v3.1.0): update WsOptions type, update WebPack config, update readme by @tiagosiebler in okx-api PR #173

Full Changelog: okx-api compare v3.0.14...v3.1

OKX JavaScript SDK
v3.0.14

What's Changed

  • chore(): README.md template sections by @tiagosiebler in okx-api PR #167
  • [Snyk] Upgrade axios from 1.13.1 to 1.13.2 by @tiagosiebler in okx-api PR #166
  • chore(v3.0.14): release for updated readme by @tiagosiebler in okx-api PR #168

Full Changelog: okx-api compare v3.0.13...v3.0

OKX JavaScript SDK
v3.0.13

What's Changed

  • [Snyk] Upgrade axios from 1.12.2 to 1.13.1 by @tiagosiebler in okx-api PR #157
  • [Snyk] Upgrade ts-loader from 9.3.1 to 9.5.4 by @tiagosiebler in okx-api PR #162
  • feat(v3.0.13): add cancelRedeemETHStaking endpoint and getAssetBillsHistoric endpoint; update package dependencies by @JJ-Cro in okx-api PR #164
  • feat: enhance OrderRequest interface with additional fields for options trading and advanced TP/SL configurations by @JJ-Cro in okx-api PR #165

Full Changelog: okx-api compare v3.0.12...v3.0

OKX JavaScript SDK
v3.0.12

What's Changed

  • chore(): README.md template sections by @tiagosiebler in okx-api PR #159
    • adds @siebly/kraken-api SDK to readme
  • feat(v3.0.12): add endpoint for fetching bills older than 30 days by @tiagosiebler in okx-api PR #160

Full Changelog: okx-api compare v3.0.11...v3.0

OKX JavaScript SDK
v3.0.11

What's Changed

  • feat(v3.0.11): add new API endpoints for trading configuration and delta neutral strategy by @JJ-Cro in okx-api PR #155
  • [Snyk] Upgrade axios from 1.12.0 to 1.12.2 by @tiagosiebler in okx-api PR #145
  • fix(v3.0.11): failing test from unnecessary parameter, WS orders-algo channel unintentionally skipping auth guard, bump lockfile dependencies by @tiagosiebler in okx-api PR #156

#155 brought in new endpoints and types relating to:

  • Delta Neutral Strategy endpoints and types
  • Enhanced deposit history tracking with masked sensitive data
  • Position limit parameters for instruments
  • Updated announcement types with business publish time
  • Enhanced interest rate and loan quota types

Full Changelog: okx-api compare v3.0.10...v3.0

OKX JavaScript SDK
v3.0.10

Previously running a JSON.stringify call within the WebsocketAPIClient exception handler could in rare circumstances lead to a circular reference. This handles that scenario in a safer way.

What's Changed

  • chore(3.0.10): update version to 3.0.10 and improve error handling in WebsocketAPIClient by @JJ-Cro in okx-api PR #154

Full Changelog: okx-api compare v3.0.9...v3.0

OKX JavaScript SDK
v3.0.9

What's Changed

  • Refactor attachAlgoOrds to use detailed structure by @dothanhlongtld in okx-api PR #152
  • fix(v3.0.9, #152): update type for attachAlgoOrds parameter by @tiagosiebler in okx-api PR #153

New Contributors

Full Changelog: okx-api compare v3.0.8...v3.0

OKX JavaScript SDK
v3.0.8

What's Changed

New Contributors

Full Changelog: okx-api compare v3.0.7...v3.0

OKX JavaScript SDK
v3.0.7

What's Changed

  • feat(v3.0.7): Expand RFQ types and settle/fee endpoints by @JJ-Cro in okx-api PR #144

Full Changelog: okx-api compare v3.0.6...v3.0

OKX JavaScript SDK
v3.0.6

What's Changed

  • feat(v3.0.6): handle reconnection notice automatically, allow authenticating for market data by @tiagosiebler in okx-api PR #142
  • Detects & tags books-l2-tbt and books50-l2-tbt requests as "auth required". Automatically authenticates public connection when these topics are requested. Resolves #140.
  • Automatically handle "connection will be closed soon for service upgrade" through automatic reconnect. Resolves #141.

Full Changelog: okx-api compare v3.0.5...v3.0

OKX JavaScript SDK
v3.0.5

What's Changed

  • chore(): update old example with a working one by @JJ-Cro in okx-api PR #138
  • fix(v3.0.5, #137): handling for mixed-auth connections should only auth once private topic is requested by @tiagosiebler in okx-api PR #139

Primarily fixes handling for topics on the business WS connection, where only some require auth.

Full Changelog: okx-api compare v3.0.4...v3.0

OKX JavaScript SDK
v3.0.4

What's Changed

  • fix(v3.0.4, #135): ws api response data generic by @tiagosiebler in okx-api PR #136

Full Changelog: okx-api compare v3.0.3...v3.0

OKX JavaScript SDK
v3.0.3

What's Changed

  • fix(v3.0.3, fixes #133): fixes demo wskey resolution for private wss by @tiagosiebler in okx-api PR #134

Full Changelog: okx-api compare v3.0.2...v3.0

OKX JavaScript SDK
v3.0.2

What's Changed

  • fix(v3.0.2, #131): fix market resolution in new ws client by @tiagosiebler in okx-api PR #132

Full Changelog: okx-api compare v3.0.1...v3.0

OKX JavaScript SDK
v3.0.1

WebSocket API & Hybrid ESM/CJS

Introducing the next major release, finally bringing full support for OKX's WebSocket API in a convenient REST-like API wrapper.

Key Pull Requests

  • feat(v3.0.0): introduce WebSocket API, upgrade sign to use Web Crypto API, misc WebSocket upgrades, bump build to Node LTS by @tiagosiebler in okx-api PR #123
  • feat(): upgrade SDK to hybrid esm/cjs module. update import/export statements for new structure by @tiagosiebler in okx-api PR #126
  • Update endpoint map & llms by @JJ-Cro in okx-api PR #127
  • chore(v3.0.1): bump version for release by @tiagosiebler in okx-api PR #130

Summary

  • Upgraded SDK to hybrid ESM/CJS module (via #126). No breaking changes expected from this.
  • Introduce full support for the OKX WebSocket API, including a new dedicated WebsocketAPIClient for a REST-like integration with OKX's WebSocket API. Check the examples folder for demonstrations!
  • Bump node build version to LTS.
  • Bump dependencies.
  • Upgrade underlying BaseWSClient architecture, to catch up with upgrades from other SDKs.
  • Transition to Web Crypto API for sign. This has better compatibility across browsers than node's native crypto module. For latency sensitive users, you can inject a custom sign method to continue using Node's native crypto for request sign. See the examples/auth/fasterHmacSign.ts example for a demonstration.
  • Introduced customSignMessageFn parameter (REST & WS) to inject custom sign method
    • This can be used by latency sensitive users to revert to Node's slightly faster createHmac sign method. See the fasterHmacSign example in examples/auth/ for a demonstration.
  • Split CI tests to run separately (first public then private).

Breaking Changes

This upgrade introduces the following breaking changes:

  • REST Client constructor options simplified, see #111 for more details.
  • The demo market for REST & WS has been removed.
    • Demo trading is now accessed via a demoTrading: true parameter (for REST & WS).
    • Added hard error to prevent any accidental usage of "market: demo" for non-typescript users.
  • WS Client options
    • Type has been updated to point to RestClientOptions.
    • To set a custom "agent" parameter, use wsOptions in the WSClientOptions instead.
  • The injectable custom logger has been simplified to 3 basic logging levels, consistent with our other SDKs.
    • error event has been refactored to exception
  • Not a breaking change but the underlying sign is now generated using Web Crypto API. More universal but slightly slower than node's native crypto module. Refer to fasterHmacSign above, if you're latency sensitive.

Full Changelog: okx-api compare v2.0.8...v3.0

OKX JavaScript SDK
v3.0.0

WebSocket API & Hybrid ESM/CJS

Introducing the next major release, finally bringing full support for OKX's WebSocket API in a convenient REST-like API wrapper.

Key Pull Requests

  • feat(v3.0.0): introduce WebSocket API, upgrade sign to use Web Crypto API, misc WebSocket upgrades, bump build to Node LTS by @tiagosiebler in okx-api PR #123
  • feat(): upgrade SDK to hybrid esm/cjs module. update import/export statements for new structure by @tiagosiebler in okx-api PR #126
  • Update endpoint map & llms by @JJ-Cro in okx-api PR #127

Summary

  • Upgraded SDK to hybrid ESM/CJS module (via #126). No breaking changes expected from this.
  • Introduce full support for the OKX WebSocket API, including a new dedicated WebsocketAPIClient for a REST-like integration with OKX's WebSocket API. Check the examples folder for demonstrations!
  • Bump node build version to LTS.
  • Bump dependencies.
  • Upgrade underlying BaseWSClient architecture, to catch up with upgrades from other SDKs.
  • Transition to Web Crypto API for sign. This has better compatibility across browsers than node's native crypto module. For latency sensitive users, you can inject a custom sign method to continue using Node's native crypto for request sign. See the examples/auth/fasterHmacSign.ts example for a demonstration.
  • Introduced customSignMessageFn parameter (REST & WS) to inject custom sign method
    • This can be used by latency sensitive users to revert to Node's slightly faster createHmac sign method. See the fasterHmacSign example in examples/auth/ for a demonstration.
  • Split CI tests to run separately (first public then private).

Breaking Changes

This upgrade introduces the following breaking changes:

  • REST Client constructor options simplified, see #111 for more details.
  • The demo market for REST & WS has been removed.
    • Demo trading is now accessed via a demoTrading: true parameter (for REST & WS).
    • Added hard error to prevent any accidental usage of "market: demo" for non-typescript users.
  • WS Client options
    • Type has been updated to point to RestClientOptions.
    • To set a custom "agent" parameter, use wsOptions in the WSClientOptions instead.
  • The injectable custom logger has been simplified to 3 basic logging levels, consistent with our other SDKs.
    • error event has been refactored to exception
  • Not a breaking change but the underlying sign is now generated using Web Crypto API. More universal but slightly slower than node's native crypto module. Refer to fasterHmacSign above, if you're latency sensitive.

Full Changelog: okx-api compare v2.0.8...v3.0

OKX JavaScript SDK
v2.0.8

What's Changed

Transitioned the release workflow to a token-less trusted publisher workflow, for a more secure way to publish new releases to npm.

Historic Changelog

  • chore(v2.0.6): add keepAlive options for REST API requests by @JJ-Cro in okx-api PR #120
  • chore(): update ESLint configuration and bump dependencies by @JJ-Cro in okx-api PR #121
  • chore(v2.0.7): add llms.txt, update tsconfig, bumpd dependencies by @JJ-Cro in okx-api PR #124
  • chore: update npm publish workflow to enhance security and version verification by @JJ-Cro in okx-api PR #128
  • chore(v2.0.8): bump version to 2.0.8 in package.json and package-lock.json by @JJ-Cro in okx-api PR #129

Full Changelog: okx-api on GitHub

Subscribe on Substack

Complete the Substack form below to join our newsletter. Substack handles all subscriber data directly.