---
title: "SDK Releases, Page 6 | Siebly"
description: "SDK release archive, page 6 of 6: dated changelogs and repository links for JavaScript and TypeScript exchange API clients."
canonical: "https://siebly.io/releases/page/6"
robots: "index,follow"
---

# SDK Releases and Updates

Combined release notes across all Siebly JavaScript SDK repositories, sorted by most recent.

Release cache generated: 2026-11-22T11:47:24.743Z.

Showing releases 251 to 277 of 277. Page 6 of 6.

## Archive pages

- [Page 1](/releases)
- [Page 2](/releases/page/2)
- [Page 3](/releases/page/3)
- [Page 4](/releases/page/4)
- [Page 5](/releases/page/5)
- [Page 6](/releases/page/6)

## SDK archives

- [All SDKs](/releases)
- [Binance JavaScript SDK](/releases/sdk/binance)
- [Bybit JavaScript SDK](/releases/sdk/bybit-api)
- [OKX JavaScript SDK](/releases/sdk/okx-api)
- [Gate JavaScript SDK](/releases/sdk/gateio-api)
- [Bitget JavaScript SDK](/releases/sdk/bitget-api)
- [KuCoin JavaScript SDK](/releases/sdk/kucoin-api)
- [Coinbase JavaScript SDK](/releases/sdk/coinbase-api)
- [Kraken JavaScript SDK](/releases/sdk/kraken-api)
- [HTX JavaScript SDK](/releases/sdk/htx-api)
- [Hyperliquid JavaScript SDK](/releases/sdk/hyperliquid-api)

## Releases

### [Binance JavaScript SDK v3.0.7](https://github.com/sieblyio/binance/releases/tag/v3.0.7)

v3.0.7: introduce MM subdomains for enrolled users. Published: 2025-08-25T14:52:05Z.

#### What's Changed

- feat(): added mm urls by @JJ-Cro in [https://github.com/tiagosiebler/binance/pull/579](https://github.com/sieblyio/binance/pull/579)

**Full Changelog**: [https://github.com/tiagosiebler/binance/compare/v3.0.6...v3.0.7](https://github.com/sieblyio/binance/compare/v3.0.6...v3.0.7)

[Repository](https://github.com/sieblyio/binance)

[SDK docs](/sdk/binance/javascript)

### [Bybit JavaScript SDK v4.2.6](https://github.com/sieblyio/bybit-api/releases/tag/v4.2.6)

v4.2.6: fix deduping workflow for websockets introduced in 4.2.5. Published: 2025-08-25T14:34:37Z.

- Fixes deduping workflow introduced in previous release

**Full Changelog**: [https://github.com/tiagosiebler/bybit-api/compare/v4.2.5...v4.2.6](https://github.com/sieblyio/bybit-api/compare/v4.2.5...v4.2.6)

[Repository](https://github.com/sieblyio/bybit-api)

[SDK docs](/sdk/bybit/javascript)

### [Bybit JavaScript SDK v4.2.5](https://github.com/sieblyio/bybit-api/releases/tag/v4.2.5)

v4.2.5: automatically dedupe subscribe requests. Published: 2025-08-25T11:28:57Z.

#### What's Changed

- fix(v4.2.5, #477): automatically dedupe topic requests if already subscribed by @tiagosiebler in [https://github.com/tiagosiebler/bybit-api/pull/478](https://github.com/sieblyio/bybit-api/pull/478)

This provides convenience in calling the subscribe method, where it will only emit subscribe events to bybit for the topics that haven't been subscribed to yet, preventing the scenario in #477 (which will cause non-duplicate topic subs to fail)

**Full Changelog**: [https://github.com/tiagosiebler/bybit-api/compare/v4.2.4...v4.2.5](https://github.com/sieblyio/bybit-api/compare/v4.2.4...v4.2.5)

[Repository](https://github.com/sieblyio/bybit-api)

[SDK docs](/sdk/bybit/javascript)

### [OKX JavaScript SDK v3.0.5](https://github.com/sieblyio/okx-api/releases/tag/v3.0.5)

v3.0.5: Fix isAuthRequired handling for business connections. Published: 2025-08-25T09:22:44Z.

#### What's Changed

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

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

**Full Changelog**: [https://github.com/tiagosiebler/okx-api/compare/v3.0.4...v3.0.5](https://github.com/sieblyio/okx-api/compare/v3.0.4...v3.0.5)

[Repository](https://github.com/sieblyio/okx-api)

[SDK docs](/sdk/okx/javascript)

### [OKX JavaScript SDK v3.0.4](https://github.com/sieblyio/okx-api/releases/tag/v3.0.4)

v3.0.4: Fix response data for WS API generic type. Published: 2025-08-21T20:17:22Z.

#### What's Changed

- fix(v3.0.4, #135): ws api response data generic by @tiagosiebler in [https://github.com/tiagosiebler/okx-api/pull/136](https://github.com/sieblyio/okx-api/pull/136)

**Full Changelog**: [https://github.com/tiagosiebler/okx-api/compare/v3.0.3...v3.0.4](https://github.com/sieblyio/okx-api/compare/v3.0.3...v3.0.4)

[Repository](https://github.com/sieblyio/okx-api)

[SDK docs](/sdk/okx/javascript)

### [OKX JavaScript SDK v3.0.3](https://github.com/sieblyio/okx-api/releases/tag/v3.0.3)

v3.0.3: fixes demo wskey resolution for private wss. Published: 2025-08-21T16:24:11Z.

#### What's Changed

- fix(v3.0.3, fixes #133): fixes demo wskey resolution for private wss by @tiagosiebler in [https://github.com/tiagosiebler/okx-api/pull/134](https://github.com/sieblyio/okx-api/pull/134)

**Full Changelog**: [https://github.com/tiagosiebler/okx-api/compare/v3.0.2...v3.0.3](https://github.com/sieblyio/okx-api/compare/v3.0.2...v3.0.3)

[Repository](https://github.com/sieblyio/okx-api)

[SDK docs](/sdk/okx/javascript)

### [OKX JavaScript SDK v3.0.2](https://github.com/sieblyio/okx-api/releases/tag/v3.0.2)

v3.0.2: fix market resolution in new ws client. Published: 2025-08-21T15:43:58Z.

#### What's Changed

- fix(v3.0.2, #131): fix market resolution in new ws client by @tiagosiebler in [https://github.com/tiagosiebler/okx-api/pull/132](https://github.com/sieblyio/okx-api/pull/132)

**Full Changelog**: [https://github.com/tiagosiebler/okx-api/compare/v3.0.1...v3.0.2](https://github.com/sieblyio/okx-api/compare/v3.0.1...v3.0.2)

[Repository](https://github.com/sieblyio/okx-api)

[SDK docs](/sdk/okx/javascript)

### [Binance JavaScript SDK v3.0.6](https://github.com/sieblyio/binance/releases/tag/v3.0.6)

v3.0.6: Improved warnings if exceeding binance WS topics limits. Published: 2025-08-19T13:41:01Z.

There are documented limits to how many topics binance allows on a single connection. There are also limits to how many topics can be subscribed to in a single request(ws event). This release introduces two core changes:

- Warnings if you are subscribed to more than 200 topics on one connection. Recommendation is to instance multiple WS clients (1 instance per 200 topics on one connection).
- Upstream WS requests (subscribing to topics) are now automatically batched into groups of 250 topics, in an attempt to stay within per-request message limits.

#### What's Changed

- feat(v3.0.6): enhance WebSocket client with topic subscription warnings by @JJ-Cro in [https://github.com/tiagosiebler/binance/pull/578](https://github.com/sieblyio/binance/pull/578)

**Full Changelog**: [https://github.com/tiagosiebler/binance/compare/v3.0.5...v3.0.6](https://github.com/sieblyio/binance/compare/v3.0.5...v3.0.6)

[Repository](https://github.com/sieblyio/binance)

[SDK docs](/sdk/binance/javascript)

### [OKX JavaScript SDK v3.0.1](https://github.com/sieblyio/okx-api/releases/tag/v3.0.1)

v3.0.1: Introduce WebSocket API, upgrade sign to use Web Crypto API, misc WebSocket upgrades, bump build to Node LTS. Published: 2025-08-18T11:50:56Z.

#### 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 [https://github.com/tiagosiebler/okx-api/pull/123](https://github.com/sieblyio/okx-api/pull/123)
- feat(): upgrade SDK to hybrid esm/cjs module. update import/export statements for new structure by @tiagosiebler in [https://github.com/tiagosiebler/okx-api/pull/126](https://github.com/sieblyio/okx-api/pull/126)
- Update endpoint map & llms by @JJ-Cro in [https://github.com/tiagosiebler/okx-api/pull/127](https://github.com/sieblyio/okx-api/pull/127)
- chore(v3.0.1): bump version for release by @tiagosiebler in [https://github.com/tiagosiebler/okx-api/pull/130](https://github.com/sieblyio/okx-api/pull/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**: [https://github.com/tiagosiebler/okx-api/compare/v2.0.8...v3.0.1](https://github.com/sieblyio/okx-api/compare/v2.0.8...v3.0.1)

[Repository](https://github.com/sieblyio/okx-api)

[SDK docs](/sdk/okx/javascript)

### [OKX JavaScript SDK v3.0.0](https://github.com/sieblyio/okx-api/releases/tag/v3.0.0)

v3.0.0: Introduce WebSocket API, upgrade sign to use Web Crypto API, misc WebSocket upgrades, bump build to Node LTS. Published: 2025-08-18T11:43:03Z.

#### 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 [https://github.com/tiagosiebler/okx-api/pull/123](https://github.com/sieblyio/okx-api/pull/123)
- feat(): upgrade SDK to hybrid esm/cjs module. update import/export statements for new structure by @tiagosiebler in [https://github.com/tiagosiebler/okx-api/pull/126](https://github.com/sieblyio/okx-api/pull/126)
- Update endpoint map & llms by @JJ-Cro in [https://github.com/tiagosiebler/okx-api/pull/127](https://github.com/sieblyio/okx-api/pull/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**: [https://github.com/tiagosiebler/okx-api/compare/v2.0.8...v3.0.0](https://github.com/sieblyio/okx-api/compare/v2.0.8...v3.0.0)

[Repository](https://github.com/sieblyio/okx-api)

[SDK docs](/sdk/okx/javascript)

### [Bybit JavaScript SDK v4.2.4](https://github.com/sieblyio/bybit-api/releases/tag/v4.2.4)

v4.2.4: Add full support for RFQ endpoints. Published: 2025-08-13T14:33:59Z.

#### What's Changed

- feat(v4.2.4): add full support for RFQ endpoints by @JJ-Cro in [https://github.com/tiagosiebler/bybit-api/pull/474](https://github.com/sieblyio/bybit-api/pull/474)
- feat(v4.2.4): add full support for RFQ endpoints by @tiagosiebler in [https://github.com/tiagosiebler/bybit-api/pull/475](https://github.com/sieblyio/bybit-api/pull/475)

**Full Changelog**: [https://github.com/tiagosiebler/bybit-api/compare/v4.2.3...v4.2.4](https://github.com/sieblyio/bybit-api/compare/v4.2.3...v4.2.4)

[Repository](https://github.com/sieblyio/bybit-api)

[SDK docs](/sdk/bybit/javascript)

### [Coinbase JavaScript SDK v1.1.5](https://github.com/sieblyio/coinbase-api/releases/tag/v1.1.5)

v1.1.5: Introduce modern token-less publishing workflow. Published: 2025-08-12T10:52:01Z.

#### 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

- feat(v1.1.0): Add support for ES256 & Ed25519 keys via jose library by @tiagosiebler in [https://github.com/tiagosiebler/coinbase-api/pull/84](https://github.com/sieblyio/coinbase-api/pull/84)
- chore(v1.1.1): add llms.txt for AI optimization, update tsconfig, bump version, bump dependencies by @JJ-Cro in [https://github.com/tiagosiebler/coinbase-api/pull/89](https://github.com/sieblyio/coinbase-api/pull/89)
- chore(v1.1.2): update README for improved documentation by @JJ-Cro in [https://github.com/tiagosiebler/coinbase-api/pull/90](https://github.com/sieblyio/coinbase-api/pull/90)
- \[Snyk] Upgrade nanoid from 3.3.8 to 3.3.11 by @tiagosiebler in [https://github.com/tiagosiebler/coinbase-api/pull/92](https://github.com/sieblyio/coinbase-api/pull/92)
- \[Snyk] Upgrade axios from 1.8.2 to 1.10.0 by @tiagosiebler in [https://github.com/tiagosiebler/coinbase-api/pull/91](https://github.com/sieblyio/coinbase-api/pull/91)
- chore(v1.1.3): update README to include 'Used By' section and improve formatting, bump nanoid  & axios by @JJ-Cro in [https://github.com/tiagosiebler/coinbase-api/pull/93](https://github.com/sieblyio/coinbase-api/pull/93)
- chore(1.1.4): update intentional wsclose cleanup by @JJ-Cro in [https://github.com/tiagosiebler/coinbase-api/pull/94](https://github.com/sieblyio/coinbase-api/pull/94)
- chore: update GitHub Actions workflow for NPM publishing by @JJ-Cro in [https://github.com/tiagosiebler/coinbase-api/pull/95](https://github.com/sieblyio/coinbase-api/pull/95)
- chore(v1.1.5): bump version to 1.1.5 in package.json and package-lock… by @JJ-Cro in [https://github.com/tiagosiebler/coinbase-api/pull/96](https://github.com/sieblyio/coinbase-api/pull/96)

**Full Changelog**: [https://github.com/tiagosiebler/coinbase-api/commits/v1.1.5](https://github.com/sieblyio/coinbase-api/commits/v1.1.5)

[Repository](https://github.com/sieblyio/coinbase-api)

[SDK docs](/sdk/coinbase/javascript)

### [KuCoin JavaScript SDK v2.1.21](https://github.com/sieblyio/kucoin-api/releases/tag/v2.1.21)

v2.1.21: Introduce modern token-less publishing workflow. Published: 2025-08-12T10:47:12Z.

#### 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.1.17): update readme for modern and performant look by @JJ-Cro in [https://github.com/tiagosiebler/kucoin-api/pull/74](https://github.com/sieblyio/kucoin-api/pull/74)
- fix(v2.1.18, #77): delete params passed as query string by @tiagosiebler in [https://github.com/tiagosiebler/kucoin-api/pull/78](https://github.com/sieblyio/kucoin-api/pull/78)
- feat(2.1.19): added cross margin new endpoint by @JJ-Cro in [https://github.com/tiagosiebler/kucoin-api/pull/79](https://github.com/sieblyio/kucoin-api/pull/79)
- \[Snyk] Upgrade nanoid from 3.3.8 to 3.3.11 by @tiagosiebler in [https://github.com/tiagosiebler/kucoin-api/pull/76](https://github.com/sieblyio/kucoin-api/pull/76)
- \[Snyk] Upgrade axios from 1.8.2 to 1.10.0 by @tiagosiebler in [https://github.com/tiagosiebler/kucoin-api/pull/75](https://github.com/sieblyio/kucoin-api/pull/75)
- feat(v2.1.20): add Web Crypto API check for authentication by @JJ-Cro in [https://github.com/tiagosiebler/kucoin-api/pull/80](https://github.com/sieblyio/kucoin-api/pull/80)
- chore(): Update GitHub Actions workflow for NPM publishing by @JJ-Cro in [https://github.com/tiagosiebler/kucoin-api/pull/81](https://github.com/sieblyio/kucoin-api/pull/81)
- chore(): Bump version to 2.1.21 in package.json and package-lock.json by @JJ-Cro in [https://github.com/tiagosiebler/kucoin-api/pull/82](https://github.com/sieblyio/kucoin-api/pull/82)

**Full Changelog**: [https://github.com/tiagosiebler/kucoin-api/commits/v2.1.21](https://github.com/sieblyio/kucoin-api/commits/v2.1.21)

[Repository](https://github.com/sieblyio/kucoin-api)

[SDK docs](/sdk/kucoin/javascript)

### [Bitget JavaScript SDK v3.0.5](https://github.com/sieblyio/bitget-api/releases/tag/v3.0.5)

v3.0.5: Introduce modern token-less publishing workflow. Published: 2025-08-12T10:38:38Z.

#### 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

Since the most recent major release:

- feat(): V3 examples, v3 readme  by @JJ-Cro in [https://github.com/tiagosiebler/bitget-api/pull/78](https://github.com/sieblyio/bitget-api/pull/78)
- feat(): added all examles and endpoint map by @JJ-Cro in [https://github.com/tiagosiebler/bitget-api/pull/79](https://github.com/sieblyio/bitget-api/pull/79)
- feat(): added v3 tests by @JJ-Cro in [https://github.com/tiagosiebler/bitget-api/pull/80](https://github.com/sieblyio/bitget-api/pull/80)
- Upgrade SDK to hybrid esm/cjs module by @tiagosiebler in [https://github.com/tiagosiebler/bitget-api/pull/81](https://github.com/sieblyio/bitget-api/pull/81)
- feat(v3.0.0): add V3 REST APIs & WebSockets. add RSA support. Move to Web Crypto API for sign. Publish Hybrid CJS/ESM module. by @tiagosiebler in [https://github.com/tiagosiebler/bitget-api/pull/77](https://github.com/sieblyio/bitget-api/pull/77)
- chore(v3.0.1): update version to 3.0.1, add llms.txt for AI optimization, update readme by @JJ-Cro in [https://github.com/tiagosiebler/bitget-api/pull/82](https://github.com/sieblyio/bitget-api/pull/82)
- chore(v3.0.2):  enhance README with detailed usage instructions by @JJ-Cro in [https://github.com/tiagosiebler/bitget-api/pull/83](https://github.com/sieblyio/bitget-api/pull/83)
- feat(v3.0.3): add new V3 endpoints by @JJ-Cro in [https://github.com/tiagosiebler/bitget-api/pull/85](https://github.com/sieblyio/bitget-api/pull/85)
- \[Snyk] Upgrade ws from 8.18.0 to 8.18.3 by @tiagosiebler in [https://github.com/tiagosiebler/bitget-api/pull/84](https://github.com/sieblyio/bitget-api/pull/84)
- feat(v3.0.4): implement mechanism to disable heartbeat by @tiagosiebler in [https://github.com/tiagosiebler/bitget-api/pull/86](https://github.com/sieblyio/bitget-api/pull/86)
- feat(v3.0.4): added check for webcryptoapi support by @JJ-Cro in [https://github.com/tiagosiebler/bitget-api/pull/87](https://github.com/sieblyio/bitget-api/pull/87)
- chore: update npm publish workflow to enhance security and version verification by @JJ-Cro in [https://github.com/tiagosiebler/bitget-api/pull/88](https://github.com/sieblyio/bitget-api/pull/88)
- chore: bump version to 3.0.5 in package.json and package-lock.json by @JJ-Cro in [https://github.com/tiagosiebler/bitget-api/pull/89](https://github.com/sieblyio/bitget-api/pull/89)

**Full Changelog**: [https://github.com/tiagosiebler/bitget-api/commits/v3.0.5](https://github.com/sieblyio/bitget-api/commits/v3.0.5)

[Repository](https://github.com/sieblyio/bitget-api)

[SDK docs](/sdk/bitget/javascript)

### [Binance JavaScript SDK v3.0.5](https://github.com/sieblyio/binance/releases/tag/v3.0.5)

v3.0.5: Introduce modern token-less publishing workflow. Published: 2025-08-12T10:36:18Z.

#### 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

Since the most recent major release:

- feat(v3.0.0): Introduce Binance WebSocket API, introduce multiplex WebSocket client, bump dependencies, remove some deprecated endpoints by @tiagosiebler in [https://github.com/tiagosiebler/binance/pull/509](https://github.com/sieblyio/binance/pull/509)
- feat(3.0.1): added new Institutional Loan endpoints and On Chain Staking endpoints by @JJ-Cro in [https://github.com/tiagosiebler/binance/pull/567](https://github.com/sieblyio/binance/pull/567)
- chore(): added lint git action by @JJ-Cro in [https://github.com/tiagosiebler/binance/pull/568](https://github.com/sieblyio/binance/pull/568)
- chore(): update .gitignore and add llms.txt for AI integration by @JJ-Cro in [https://github.com/tiagosiebler/binance/pull/569](https://github.com/sieblyio/binance/pull/569)
- docs(readme): add users info by @gouravkhunger in [https://github.com/tiagosiebler/binance/pull/570](https://github.com/sieblyio/binance/pull/570)
- feat(): added alpha endpoints, added inst loan endpoints by @JJ-Cro in [https://github.com/tiagosiebler/binance/pull/573](https://github.com/sieblyio/binance/pull/573)
- \[Snyk] Upgrade nanoid from 3.3.8 to 3.3.11 by @tiagosiebler in [https://github.com/tiagosiebler/binance/pull/572](https://github.com/sieblyio/binance/pull/572)
- \[Snyk] Upgrade axios from 1.8.3 to 1.10.0 by @tiagosiebler in [https://github.com/tiagosiebler/binance/pull/571](https://github.com/sieblyio/binance/pull/571)
- feat(v3.0.4): update package version to 3.0.4, bump axios & nanoid, add Web Crypto API support checks in BaseRestClient and BaseWSClient, and implement error handling for unsupported Node.js versions by @JJ-Cro in [https://github.com/tiagosiebler/binance/pull/574](https://github.com/sieblyio/binance/pull/574)
- chore: update NPM publish workflow to trigger on version tags, enhance security checks, and verify package version against tag by @JJ-Cro in [https://github.com/tiagosiebler/binance/pull/575](https://github.com/sieblyio/binance/pull/575)
- chore: bump package version to 3.0.5 in package.json and package-lock… by @JJ-Cro in [https://github.com/tiagosiebler/binance/pull/576](https://github.com/sieblyio/binance/pull/576)

**Full Changelog**: [https://github.com/tiagosiebler/binance/commits/v3.0.5](https://github.com/sieblyio/binance/commits/v3.0.5)

[Repository](https://github.com/sieblyio/binance)

[SDK docs](/sdk/binance/javascript)

### [OKX JavaScript SDK v2.0.8](https://github.com/sieblyio/okx-api/releases/tag/v2.0.8)

v2.0.8: Introduce modern token-less publishing workflow. Published: 2025-08-12T10:31:08Z.

#### 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 [https://github.com/tiagosiebler/okx-api/pull/120](https://github.com/sieblyio/okx-api/pull/120)
- chore(): update ESLint configuration and bump dependencies by @JJ-Cro in [https://github.com/tiagosiebler/okx-api/pull/121](https://github.com/sieblyio/okx-api/pull/121)
- chore(v2.0.7): add llms.txt, update tsconfig, bumpd dependencies by @JJ-Cro in [https://github.com/tiagosiebler/okx-api/pull/124](https://github.com/sieblyio/okx-api/pull/124)
- chore: update npm publish workflow to enhance security and version verification by @JJ-Cro in [https://github.com/tiagosiebler/okx-api/pull/128](https://github.com/sieblyio/okx-api/pull/128)
- chore(v2.0.8): bump version to 2.0.8 in package.json and package-lock.json by @JJ-Cro in [https://github.com/tiagosiebler/okx-api/pull/129](https://github.com/sieblyio/okx-api/pull/129)

**Full Changelog**: [https://github.com/tiagosiebler/okx-api/commits/v2.0.8](https://github.com/sieblyio/okx-api/commits/v2.0.8)

[Repository](https://github.com/sieblyio/okx-api)

[SDK docs](/sdk/okx/javascript)

### [Bybit JavaScript SDK v4.2.3](https://github.com/sieblyio/bybit-api/releases/tag/v4.2.3)

v4.2.3: Introduce modern token-less publishing workflow. Published: 2025-08-12T10:25:31Z.

#### 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

Note: these are since the last "release" / tag on GitHub.

- Batch sub/unsubscribe to topics for spot v3 by @tiagosiebler in [https://github.com/tiagosiebler/bybit-api/pull/176](https://github.com/sieblyio/bybit-api/pull/176)
- fix(shared/types): `max_leverage` typo by @iam4x in [https://github.com/tiagosiebler/bybit-api/pull/180](https://github.com/sieblyio/bybit-api/pull/180)
- v3.1.0: fix typo in types (#180), fix tests, fix repeating subscribe/unsubscribe WS events to active connections by @tiagosiebler in [https://github.com/tiagosiebler/bybit-api/pull/182](https://github.com/sieblyio/bybit-api/pull/182)
- missing unifiedPrivate in WS\_AUTH\_ON\_CONNECT\_KEYS by @twxia in [https://github.com/tiagosiebler/bybit-api/pull/183](https://github.com/sieblyio/bybit-api/pull/183)
- chore(): fix changed test error code by @tiagosiebler in [https://github.com/tiagosiebler/bybit-api/pull/184](https://github.com/sieblyio/bybit-api/pull/184)
- feat(#187, v3.1.2): add support for new orderCategory param for spotv3 by @tiagosiebler in [https://github.com/tiagosiebler/bybit-api/pull/188](https://github.com/sieblyio/bybit-api/pull/188)
- v3.1.3: fix(#187) rare signature failure for spotv3 GET with parameters by @tiagosiebler in [https://github.com/tiagosiebler/bybit-api/pull/190](https://github.com/sieblyio/bybit-api/pull/190)
- v3.2.0: Contract V3 REST & WebSocket Clients. Improve websocket reconnection resilience by @tiagosiebler in [https://github.com/tiagosiebler/bybit-api/pull/196](https://github.com/sieblyio/bybit-api/pull/196)
- update tests for copy trading client by @tiagosiebler in [https://github.com/tiagosiebler/bybit-api/pull/197](https://github.com/sieblyio/bybit-api/pull/197)
- v3.3.0: fix rare sign error when using cursors in private unified margin API calls. expand unified margin response types. expand tests. by @tiagosiebler in [https://github.com/tiagosiebler/bybit-api/pull/198](https://github.com/sieblyio/bybit-api/pull/198)
- v3.3.1: fix(#199) wrong endpoint for contract.getOpenInterestLimitInfo by @tiagosiebler in [https://github.com/tiagosiebler/bybit-api/pull/201](https://github.com/sieblyio/bybit-api/pull/201)
- missing api by @JustMankus in [https://github.com/tiagosiebler/bybit-api/pull/203](https://github.com/sieblyio/bybit-api/pull/203)
- v3.3.2: feat(#203) add execution history list endpoint for linear by @tiagosiebler in [https://github.com/tiagosiebler/bybit-api/pull/204](https://github.com/sieblyio/bybit-api/pull/204)
- new param Type for getHistoryTradeRecordsRequest. by @JustMankus in [https://github.com/tiagosiebler/bybit-api/pull/205](https://github.com/sieblyio/bybit-api/pull/205)
- v3.3.4: fix optional param in contract client, add js/ts samples for contract client, fix e2e open interest limit test, update readme by @tiagosiebler in [https://github.com/tiagosiebler/bybit-api/pull/208](https://github.com/sieblyio/bybit-api/pull/208)
- v3.3.5: fix typo in contract endpoint order request interfaces by @tiagosiebler in [https://github.com/tiagosiebler/bybit-api/pull/209](https://github.com/sieblyio/bybit-api/pull/209)
- v3.3.6: add response type for contract ticker by @tiagosiebler in [https://github.com/tiagosiebler/bybit-api/pull/210](https://github.com/sieblyio/bybit-api/pull/210)
- v3.3.7: fix nesting in contract list result type by @tiagosiebler in [https://github.com/tiagosiebler/bybit-api/pull/211](https://github.com/sieblyio/bybit-api/pull/211)
- fix contract symbol ticker response typo by @tiagosiebler in [https://github.com/tiagosiebler/bybit-api/pull/212](https://github.com/sieblyio/bybit-api/pull/212)
- v3.3.9: fix copy trading close order endpoint. add ws log for topic sub request. add example for rest copy closing. by @tiagosiebler in [https://github.com/tiagosiebler/bybit-api/pull/216](https://github.com/sieblyio/bybit-api/pull/216)
- v3.3.10: fix(#220): correctly detecting usdc pairs for unified perp ws market by @tiagosiebler in [https://github.com/tiagosiebler/bybit-api/pull/221](https://github.com/sieblyio/bybit-api/pull/221)
- Bump json5 from 2.1.3 to 2.2.3 by @dependabot\[bot] in [https://github.com/tiagosiebler/bybit-api/pull/215](https://github.com/sieblyio/bybit-api/pull/215)
- Bump loader-utils from 2.0.0 to 2.0.4 by @dependabot\[bot] in [https://github.com/tiagosiebler/bybit-api/pull/200](https://github.com/sieblyio/bybit-api/pull/200)
- v3.4.0: feat(#219) add support for account asset v3 REST endpoints by @tiagosiebler in [https://github.com/tiagosiebler/bybit-api/pull/223](https://github.com/sieblyio/bybit-api/pull/223)
- string type error in createSubAPIKeyRequest by @mlake in [https://github.com/tiagosiebler/bybit-api/pull/225](https://github.com/sieblyio/bybit-api/pull/225)
- v3.4.1: fix(#225) fix typos in account asset v3 client by @tiagosiebler in [https://github.com/tiagosiebler/bybit-api/pull/226](https://github.com/sieblyio/bybit-api/pull/226)
- v3.4.2: fix() missing property from linear client set trading stop method by @tiagosiebler in [https://github.com/tiagosiebler/bybit-api/pull/229](https://github.com/sieblyio/bybit-api/pull/229)
- v3.5.0: RestClientV5 with end-to-end tests by @tiagosiebler in [https://github.com/tiagosiebler/bybit-api/pull/224](https://github.com/sieblyio/bybit-api/pull/224)
- v3.5.1: Support for V5 WebSockets by @tiagosiebler in [https://github.com/tiagosiebler/bybit-api/pull/230](https://github.com/sieblyio/bybit-api/pull/230)
- v3.5.2: feat() add missing v5 internal deposit records endpoint. fix(#233) return type for v5 wallet balance endpoint, fix(#232) timestamp resolution for v5 fetch time endpoint by @tiagosiebler in [https://github.com/tiagosiebler/bybit-api/pull/234](https://github.com/sieblyio/bybit-api/pull/234)
- fix(#240): fix sign error on parallel requests due to pointer mutation by @tiagosiebler in [https://github.com/tiagosiebler/bybit-api/pull/241](https://github.com/sieblyio/bybit-api/pull/241)
- Support triggerPrice in ContractModifyOrderRequest by @sangnv-ptit in [https://github.com/tiagosiebler/bybit-api/pull/242](https://github.com/sieblyio/bybit-api/pull/242)
- v3.5.4: feat(#242) add request param to contract replace order endpoint by @tiagosiebler in [https://github.com/tiagosiebler/bybit-api/pull/243](https://github.com/sieblyio/bybit-api/pull/243)
- v3.5.5: fix() add missing wallet balance response type properties by @tiagosiebler in [https://github.com/tiagosiebler/bybit-api/pull/245](https://github.com/sieblyio/bybit-api/pull/245)
- v3.5.6, feat(#249): add 10-per-event limiter to spot v5 subscriptions, chore(): enable trailing comma linting rule by @tiagosiebler in [https://github.com/tiagosiebler/bybit-api/pull/250](https://github.com/sieblyio/bybit-api/pull/250)
- Add syncTimeBeforePrivateRequests option by @Tindtily in [https://github.com/tiagosiebler/bybit-api/pull/247](https://github.com/sieblyio/bybit-api/pull/247)
- v3.5.7: feat(#247) add optional flag to sync time before every api call by @tiagosiebler in [https://github.com/tiagosiebler/bybit-api/pull/252](https://github.com/sieblyio/bybit-api/pull/252)
- v3.5.8: feat() easier env-controlled HTTP traces. Add missing properties for asset v5 types. by @tiagosiebler in [https://github.com/tiagosiebler/bybit-api/pull/254](https://github.com/sieblyio/bybit-api/pull/254)
- chore(): update tests for compatibility with new testing sub account by @tiagosiebler in [https://github.com/tiagosiebler/bybit-api/pull/262](https://github.com/sieblyio/bybit-api/pull/262)
- \#218 Returning a promise when subscribing to topic(s) by @caiusCitiriga in [https://github.com/tiagosiebler/bybit-api/pull/256](https://github.com/sieblyio/bybit-api/pull/256)
- build(deps-dev): bump webpack from 5.13.0 to 5.76.0 by @dependabot\[bot] in [https://github.com/tiagosiebler/bybit-api/pull/239](https://github.com/sieblyio/bybit-api/pull/239)
- v3.6.0: feat(#218, #256) returning a promise when subscribing by @tiagosiebler in [https://github.com/tiagosiebler/bybit-api/pull/263](https://github.com/sieblyio/bybit-api/pull/263)
- feat(): add copy trading ws topic example by @tiagosiebler in [https://github.com/tiagosiebler/bybit-api/pull/265](https://github.com/sieblyio/bybit-api/pull/265)
- v3.7.0: add missing v5 endpoints, add new tpsl request/response v3 & v5 parameters, add rest api samples for docs by @tiagosiebler in [https://github.com/tiagosiebler/bybit-api/pull/267](https://github.com/sieblyio/bybit-api/pull/267)
- v3.7.1: chore() naming consistency for interface, pass through logger for ws url getter by @tiagosiebler in [https://github.com/tiagosiebler/bybit-api/pull/273](https://github.com/sieblyio/bybit-api/pull/273)
- v3.7.2: fix() response type for v5 open interest endpoint by @tiagosiebler in [https://github.com/tiagosiebler/bybit-api/pull/283](https://github.com/sieblyio/bybit-api/pull/283)
- fix(#286): automatic type determination for instrument info by @ThijMau in [https://github.com/tiagosiebler/bybit-api/pull/287](https://github.com/sieblyio/bybit-api/pull/287)
- v3.7.3: feat(#286) improved type flowing for instrument info v5 by @tiagosiebler in [https://github.com/tiagosiebler/bybit-api/pull/288](https://github.com/sieblyio/bybit-api/pull/288)
- v3.7.4: feat(#251, #291) add optional endpoint rate limit parsing, add deprecation warnings for v1/v2 rest clients, improve v5 types, bump dependencies by @tiagosiebler in [https://github.com/tiagosiebler/bybit-api/pull/293](https://github.com/sieblyio/bybit-api/pull/293)
- v3.7.5: fix() optional properties in AccountOrderV5 response interface by @tiagosiebler in [https://github.com/tiagosiebler/bybit-api/pull/294](https://github.com/sieblyio/bybit-api/pull/294)
- v3.7.6: feat() update batch order types & categories by @tiagosiebler in [https://github.com/tiagosiebler/bybit-api/pull/295](https://github.com/sieblyio/bybit-api/pull/295)
- feat(types): adds WSAccountOrderEventV5 & WSAccountOrderV5 interfaces by @caiusCitiriga in [https://github.com/tiagosiebler/bybit-api/pull/300](https://github.com/sieblyio/bybit-api/pull/300)
- type fixing by @t0chk in [https://github.com/tiagosiebler/bybit-api/pull/302](https://github.com/sieblyio/bybit-api/pull/302)
- Minor docs updates, add recv window for ws client by @tiagosiebler in [https://github.com/tiagosiebler/bybit-api/pull/304](https://github.com/sieblyio/bybit-api/pull/304)
- v3.8.0: Safer WS timer cleanup & teardown, add proxy/rate limits example, docs... by @tiagosiebler in [https://github.com/tiagosiebler/bybit-api/pull/306](https://github.com/sieblyio/bybit-api/pull/306)
- v3.8.1: feat() add type guard and type for ws orderbook events by @tiagosiebler in [https://github.com/tiagosiebler/bybit-api/pull/309](https://github.com/sieblyio/bybit-api/pull/309)
- v3.8.2: feat(#310) add set collateral coin endpoints by @tiagosiebler in [https://github.com/tiagosiebler/bybit-api/pull/311](https://github.com/sieblyio/bybit-api/pull/311)
- v3.9.0: Upgrades to dependencies (axios, node build version, typescript, jest, etc) by @tiagosiebler in [https://github.com/tiagosiebler/bybit-api/pull/312](https://github.com/sieblyio/bybit-api/pull/312)
- v3.9.1: feat(user): add methods to delete submember by @ThijMau in [https://github.com/tiagosiebler/bybit-api/pull/314](https://github.com/sieblyio/bybit-api/pull/314)
- v3.9.2: fix(#315) orderbook level type by @tiagosiebler in [https://github.com/tiagosiebler/bybit-api/pull/316](https://github.com/sieblyio/bybit-api/pull/316)
- Add `marketUnit` optional property to `OrderParamsV5` interface by @will2022 in [https://github.com/tiagosiebler/bybit-api/pull/317](https://github.com/sieblyio/bybit-api/commit/d3a9bc97f8de4a1fa474ffa978a191c002a5a776)
- v3.9.4: feat() update test & publish actions, update public ws example, disable test for deprecated endpoint by @tiagosiebler in [https://github.com/tiagosiebler/bybit-api/pull/318](https://github.com/sieblyio/bybit-api/pull/318)
- v3.9.5: chore() add permissions needed for provenance generation by @tiagosiebler in [https://github.com/tiagosiebler/bybit-api/pull/319](https://github.com/sieblyio/bybit-api/pull/319)
- v3.9.6: feat(#322) add nextPageCursor type via generic by @tiagosiebler in [https://github.com/tiagosiebler/bybit-api/pull/323](https://github.com/sieblyio/bybit-api/pull/323)
- v3.9.7: feat(#324) add new account order v5 properties by @tiagosiebler in [https://github.com/tiagosiebler/bybit-api/pull/325](https://github.com/sieblyio/bybit-api/pull/325)
- v3.9.8: Updated V5 `InstrumentInfo` types by @Mnjongen in [https://github.com/tiagosiebler/bybit-api/pull/330](https://github.com/sieblyio/bybit-api/pull/330)
- chore(): remove UM tests covering dead endpoints, fix v5 test by @tiagosiebler in [https://github.com/tiagosiebler/bybit-api/pull/331](https://github.com/sieblyio/bybit-api/pull/331)
- v3.10.0: feat() add v5 demo trading  by @tiagosiebler in [https://github.com/tiagosiebler/bybit-api/pull/334](https://github.com/sieblyio/bybit-api/pull/334)
- v3.10.1: fix(#333) v5 time endpoint by @tiagosiebler in [https://github.com/tiagosiebler/bybit-api/pull/335](https://github.com/sieblyio/bybit-api/pull/335)
- v3.10.2: Added and updated V5 types. Added type guards. by @will2022 in [https://github.com/tiagosiebler/bybit-api/pull/338](https://github.com/sieblyio/bybit-api/commit/00261a2380be129ab3b838939b1f47d1f60ccd88)
- v3.10.3: feat(#340) fix pass-through headers for proxying via nginx. add second proxy example. by @tiagosiebler in [https://github.com/tiagosiebler/bybit-api/pull/343](https://github.com/sieblyio/bybit-api/pull/343)
- v3.10.4: Introduce `getSubAccountAllApiKeys`, update `deleteSubApiKey` by @karimsan in [https://github.com/tiagosiebler/bybit-api/pull/346](https://github.com/sieblyio/bybit-api/pull/346)
- v3.10.5: Update `UpdateApiKeyParamsV5` by @karimsan in [https://github.com/tiagosiebler/bybit-api/pull/347](https://github.com/sieblyio/bybit-api/pull/347)
- v3.10.6: chore() readme & logo updates, fix() bump dependencies by @tiagosiebler in [https://github.com/tiagosiebler/bybit-api/pull/348](https://github.com/sieblyio/bybit-api/pull/348)
- chore(): update license by @tiagosiebler in [https://github.com/tiagosiebler/bybit-api/pull/352](https://github.com/sieblyio/bybit-api/pull/352)
- feat(): Added all missing endpoints by @JJ-Cro in [https://github.com/tiagosiebler/bybit-api/pull/350](https://github.com/sieblyio/bybit-api/pull/350)
- v3.10.9: chore() bump dependencies, fix() strict test, chore() run linter by @tiagosiebler in [https://github.com/tiagosiebler/bybit-api/pull/353](https://github.com/sieblyio/bybit-api/pull/353)
- v3.10.10: feat() Update type `AccountMarginModeV5` and interface `CollateralInfoV5` by @karimsan in [https://github.com/tiagosiebler/bybit-api/pull/354](https://github.com/sieblyio/bybit-api/pull/354)
- v3.10.11: fix() deprecated endpoints (copy trading & unified margin client) by @JJ-Cro in [https://github.com/tiagosiebler/bybit-api/pull/357](https://github.com/sieblyio/bybit-api/pull/357)
- v3.10.12: feat() Add convert endpoints, convert examples, small updates to request/response types by @JJ-Cro in [https://github.com/tiagosiebler/bybit-api/pull/359](https://github.com/sieblyio/bybit-api/pull/359)
- chore(): deprecate unified margin private test by @tiagosiebler in [https://github.com/tiagosiebler/bybit-api/pull/360](https://github.com/sieblyio/bybit-api/pull/360)
- v3.10.13: feat() add updated withdraw request params by @tiagosiebler in [https://github.com/tiagosiebler/bybit-api/pull/362](https://github.com/sieblyio/bybit-api/pull/362)
- fix(): Comma/semicolon fix in params by @JJ-Cro in [https://github.com/tiagosiebler/bybit-api/pull/364](https://github.com/sieblyio/bybit-api/pull/364)
- feat(): Added endpoint, updated types by @JJ-Cro in [https://github.com/tiagosiebler/bybit-api/pull/366](https://github.com/sieblyio/bybit-api/pull/366)
- v3.10.15: feat(): updated missing examples and endpoints by @JJ-Cro in [https://github.com/tiagosiebler/bybit-api/pull/367](https://github.com/sieblyio/bybit-api/pull/367)
- v3.10.16: feat(): added missing API examples, deprecated abandoned functions by @JJ-Cro in [https://github.com/tiagosiebler/bybit-api/pull/369](https://github.com/sieblyio/bybit-api/pull/369)
- v3.10.17: chore() update dependencies, feat() add apiRegion config for changing regional API URL by @tiagosiebler in [https://github.com/tiagosiebler/bybit-api/pull/370](https://github.com/sieblyio/bybit-api/pull/370)
- v3.10.18: feat(#368) add config for HTTP keep alive via axios by @tiagosiebler in [https://github.com/tiagosiebler/bybit-api/pull/371](https://github.com/sieblyio/bybit-api/pull/371)
- feat(): added automatic Readme actions by @JJ-Cro in [https://github.com/tiagosiebler/bybit-api/pull/373](https://github.com/sieblyio/bybit-api/pull/373)
- chore(): README.md template sections by @tiagosiebler in [https://github.com/tiagosiebler/bybit-api/pull/376](https://github.com/sieblyio/bybit-api/pull/376)
- chore(): cleaned up old tests by @JJ-Cro in [https://github.com/tiagosiebler/bybit-api/pull/377](https://github.com/sieblyio/bybit-api/pull/377)
- feat(): added new endpoints by @JJ-Cro in [https://github.com/tiagosiebler/bybit-api/pull/378](https://github.com/sieblyio/bybit-api/pull/378)
- feat(): extend demo trading sample to include more ws logic by @tiagosiebler in [https://github.com/tiagosiebler/bybit-api/pull/379](https://github.com/sieblyio/bybit-api/pull/379)
- feat(): added Crypto Loan endpoints by @JJ-Cro in [https://github.com/tiagosiebler/bybit-api/pull/381](https://github.com/sieblyio/bybit-api/pull/381)
- feat(): added links to endpoint map by @JJ-Cro in [https://github.com/tiagosiebler/bybit-api/pull/382](https://github.com/sieblyio/bybit-api/pull/382)
- feat(): added latency check, updated example by @JJ-Cro in [https://github.com/tiagosiebler/bybit-api/pull/384](https://github.com/sieblyio/bybit-api/pull/384)
- feat(#385): updated createSubAPIKey params to match docs by @JJ-Cro in [https://github.com/tiagosiebler/bybit-api/pull/386](https://github.com/sieblyio/bybit-api/pull/386)
- chore(): marked clients for deprecation by @JJ-Cro in [https://github.com/tiagosiebler/bybit-api/pull/387](https://github.com/sieblyio/bybit-api/pull/387)
- fix(type): fixed #391 by @soranoo in [https://github.com/tiagosiebler/bybit-api/pull/392](https://github.com/sieblyio/bybit-api/pull/392)
- fix(): failing tests, failing eslint configuration, chore(): run linter by @tiagosiebler in [https://github.com/tiagosiebler/bybit-api/pull/393](https://github.com/sieblyio/bybit-api/pull/393)
- fix(types): add missing 'mmDeduction' prop to RiskLimitV5 by @fireflies1988 in [https://github.com/tiagosiebler/bybit-api/pull/394](https://github.com/sieblyio/bybit-api/pull/394)
- v3.10.27 feat(): updated request params by @JJ-Cro in [https://github.com/tiagosiebler/bybit-api/pull/395](https://github.com/sieblyio/bybit-api/pull/395)
- v3.10.28 feat(): added new endpoints, updated examples by @JJ-Cro in [https://github.com/tiagosiebler/bybit-api/pull/401](https://github.com/sieblyio/bybit-api/pull/401)
- feat(): added nextPageCursor example by @JJ-Cro in [https://github.com/tiagosiebler/bybit-api/pull/403](https://github.com/sieblyio/bybit-api/pull/403)
- fix(): updated test parameters so it can pass by @JJ-Cro in [https://github.com/tiagosiebler/bybit-api/pull/404](https://github.com/sieblyio/bybit-api/pull/404)
- fix(): adjusted type definitions for instruments endpoint by @LanPRD in [https://github.com/tiagosiebler/bybit-api/pull/406](https://github.com/sieblyio/bybit-api/pull/406)
- Fix submit order example by @tiagosiebler in [https://github.com/tiagosiebler/bybit-api/pull/408](https://github.com/sieblyio/bybit-api/pull/408)
- v3.10.30: add missing WSExecutionV5 execPnl property. Bump npm audit dependency. by @tiagosiebler in [https://github.com/tiagosiebler/bybit-api/pull/410](https://github.com/sieblyio/bybit-api/pull/410)
- fix(v3.10.31, #411): demo trading wss should only be used for private topics.  by @tiagosiebler in [https://github.com/tiagosiebler/bybit-api/pull/412](https://github.com/sieblyio/bybit-api/pull/412)
- feat(v3.10.32): add params for GetDeliveryRecord, fixed e2e tests by @JJ-Cro in [https://github.com/tiagosiebler/bybit-api/pull/415](https://github.com/sieblyio/bybit-api/pull/415)
- chore(): fix env vars for test split by @tiagosiebler in [https://github.com/tiagosiebler/bybit-api/pull/416](https://github.com/sieblyio/bybit-api/pull/416)
- feat(3.10.33): Updated return types for getSubDepositAddress, createUniversalTransfer and createInternalTransfer by @JJ-Cro in [https://github.com/tiagosiebler/bybit-api/pull/418](https://github.com/sieblyio/bybit-api/pull/418)
- feat(): added/updated types with latest documentation changes by @JJ-Cro in [https://github.com/tiagosiebler/bybit-api/pull/419](https://github.com/sieblyio/bybit-api/pull/419)
- feat(): added new Earn REST endpoints by @JJ-Cro in [https://github.com/tiagosiebler/bybit-api/pull/420](https://github.com/sieblyio/bybit-api/pull/420)
- feat(v3.10.34): added slippage tolerance types to order endpoints by @JJ-Cro in [https://github.com/tiagosiebler/bybit-api/pull/421](https://github.com/sieblyio/bybit-api/pull/421)
- fix(v3.11.0): ensure private GET requests use serialised/encoded params appended to URL. Update slippage tolerance type to optional. by @tiagosiebler in [https://github.com/tiagosiebler/bybit-api/pull/422](https://github.com/sieblyio/bybit-api/pull/422)
- v4.0.0: WebSocket API, WebsocketClient upgrades, decommission deprecated v1-v3 API groups by @tiagosiebler in [https://github.com/tiagosiebler/bybit-api/pull/398](https://github.com/sieblyio/bybit-api/pull/398)
- fix(v4.0.1, #425): fix WSOrderbookEventV5 type definition. Bump dependencies. by @tiagosiebler in [https://github.com/tiagosiebler/bybit-api/pull/426](https://github.com/sieblyio/bybit-api/pull/426)
- feat(v4.1.0): Add full support for P2P trading, Add suffix to recent Earn types (minor breaking change) by @JJ-Cro in [https://github.com/tiagosiebler/bybit-api/pull/429](https://github.com/sieblyio/bybit-api/pull/429)
- chore(v4.1.1): update travel rule request params by @JJ-Cro in [https://github.com/tiagosiebler/bybit-api/pull/430](https://github.com/sieblyio/bybit-api/pull/430)
- feat(v4.1.2): added websocket types for all topics by @JJ-Cro in [https://github.com/tiagosiebler/bybit-api/pull/431](https://github.com/sieblyio/bybit-api/pull/431)
- feat(v4.1.3): full support for demo endpoints by @JJ-Cro in [https://github.com/tiagosiebler/bybit-api/pull/432](https://github.com/sieblyio/bybit-api/pull/432)
- fix(types): change response v5-asset CoinInfoV5.name by @zororaka00 in [https://github.com/tiagosiebler/bybit-api/pull/433](https://github.com/sieblyio/bybit-api/pull/433)
- feat(v4.1.4): full spread trading support by @JJ-Cro in [https://github.com/tiagosiebler/bybit-api/pull/434](https://github.com/sieblyio/bybit-api/pull/434)
- feat(v4.1.5): updated latency check to look at absolute values, fixed batch order responses, updated new endpoints by @tiagosiebler in [https://github.com/tiagosiebler/bybit-api/pull/439](https://github.com/sieblyio/bybit-api/pull/439)
- chore(v4.1.6): updated post to postPrivate for getP2POnlineAds by @JJ-Cro in [https://github.com/tiagosiebler/bybit-api/pull/440](https://github.com/sieblyio/bybit-api/pull/440)
- feat(v4.1.7): fast execution topics should use authenticated stream by @tiagosiebler in [https://github.com/tiagosiebler/bybit-api/pull/442](https://github.com/sieblyio/bybit-api/pull/442)
- fix typo by @batrudinych in [https://github.com/tiagosiebler/bybit-api/pull/443](https://github.com/sieblyio/bybit-api/pull/443)
- feat(): added bybit wsapi client all functions by @JJ-Cro in [https://github.com/tiagosiebler/bybit-api/pull/445](https://github.com/sieblyio/bybit-api/pull/445)
- feat(): added wsapiclient examples, updated endpoint map, updated lin… by @JJ-Cro in [https://github.com/tiagosiebler/bybit-api/pull/446](https://github.com/sieblyio/bybit-api/pull/446)
- feat(v4.1.8): introduce websocket API client wrapper, chore(): misc typo fixes & cleaning by @tiagosiebler in [https://github.com/tiagosiebler/bybit-api/pull/444](https://github.com/sieblyio/bybit-api/pull/444)
- feat(v4.1.9): new ws topic, updated response and request types by @JJ-Cro in [https://github.com/tiagosiebler/bybit-api/pull/449](https://github.com/sieblyio/bybit-api/pull/449)
- Update README.md by @JJ-Cro in [https://github.com/tiagosiebler/bybit-api/pull/451](https://github.com/sieblyio/bybit-api/pull/451)
- feat(4.1.10): add new WSTickerOptionV5 and WSTickerSpotV5 interfaces for enhanced websocket event handling by @JJ-Cro in [https://github.com/tiagosiebler/bybit-api/pull/453](https://github.com/sieblyio/bybit-api/pull/453)
- feat(v4.1.11): add preCheckOrder method with corresponding types and example usage, add txId and Id to deposit records by @JJ-Cro in [https://github.com/tiagosiebler/bybit-api/pull/454](https://github.com/sieblyio/bybit-api/pull/454)
- feat(v4.1.12): added new endpoints,new ws topic updated types for existing endpoints, added examples for new endpoints, updated endpoint map, bumped version by @JJ-Cro in [https://github.com/tiagosiebler/bybit-api/pull/457](https://github.com/sieblyio/bybit-api/pull/457)
- chore(v4.1.13): bump dependency. Update readme with rate limits note. by @tiagosiebler in [https://github.com/tiagosiebler/bybit-api/pull/459](https://github.com/sieblyio/bybit-api/pull/459)
- feat(v4.1.14): Add new fields to response types for account, position, execution, spread trading, and websocket events. by @JJ-Cro in [https://github.com/tiagosiebler/bybit-api/pull/460](https://github.com/sieblyio/bybit-api/pull/460)
- chore(v4.1.15):  marked removed functions for deprecation, updated tests by @JJ-Cro in [https://github.com/tiagosiebler/bybit-api/pull/461](https://github.com/sieblyio/bybit-api/pull/461)
- feat(v4.1.16): add keepAlive, add lint script, edit lint errors by @JJ-Cro in [https://github.com/tiagosiebler/bybit-api/pull/462](https://github.com/sieblyio/bybit-api/pull/462)
- feat(v4.1.17): update dependencies and ESLint configuration, fix all linter errors by @JJ-Cro in [https://github.com/tiagosiebler/bybit-api/pull/463](https://github.com/sieblyio/bybit-api/pull/463)
- chore(): update readme by @tiagosiebler in [https://github.com/tiagosiebler/bybit-api/pull/467](https://github.com/sieblyio/bybit-api/pull/467)
- feat(v4.2.0): RSA, llm.txt, bump dependencies  by @JJ-Cro in [https://github.com/tiagosiebler/bybit-api/pull/466](https://github.com/sieblyio/bybit-api/pull/466)
- feat(v4.2.0): RSA, llm.txt, bump dependencies by @tiagosiebler in [https://github.com/tiagosiebler/bybit-api/pull/468](https://github.com/sieblyio/bybit-api/pull/468)
- feat(v4.2.1): added new crypto loan endpoints and examples, updates types  by @JJ-Cro in [https://github.com/tiagosiebler/bybit-api/pull/470](https://github.com/sieblyio/bybit-api/pull/470)
- \[Snyk] Upgrade axios from 1.8.3 to 1.10.0 by @tiagosiebler in [https://github.com/tiagosiebler/bybit-api/pull/469](https://github.com/sieblyio/bybit-api/pull/469)
- feat(v4.2.2): add webcryptoapi support check and update readme, bump axios by @JJ-Cro in [https://github.com/tiagosiebler/bybit-api/pull/471](https://github.com/sieblyio/bybit-api/pull/471)
- chore():Update GitHub Actions workflow for NPM publishing by @JJ-Cro in [https://github.com/tiagosiebler/bybit-api/pull/472](https://github.com/sieblyio/bybit-api/pull/472)
- chore(): bump version to 4.2.3 in package.json and package-lock.json by @JJ-Cro in [https://github.com/tiagosiebler/bybit-api/pull/473](https://github.com/sieblyio/bybit-api/pull/473)

#### New Contributors

- @iam4x made their first contribution in [https://github.com/tiagosiebler/bybit-api/pull/180](https://github.com/sieblyio/bybit-api/pull/180)
- @twxia made their first contribution in [https://github.com/tiagosiebler/bybit-api/pull/183](https://github.com/sieblyio/bybit-api/pull/183)
- @JustMankus made their first contribution in [https://github.com/tiagosiebler/bybit-api/pull/203](https://github.com/sieblyio/bybit-api/pull/203)
- @mlake made their first contribution in [https://github.com/tiagosiebler/bybit-api/pull/225](https://github.com/sieblyio/bybit-api/pull/225)
- @sangnv-ptit made their first contribution in [https://github.com/tiagosiebler/bybit-api/pull/242](https://github.com/sieblyio/bybit-api/pull/242)
- @Tindtily made their first contribution in [https://github.com/tiagosiebler/bybit-api/pull/247](https://github.com/sieblyio/bybit-api/pull/247)
- @caiusCitiriga made their first contribution in [https://github.com/tiagosiebler/bybit-api/pull/256](https://github.com/sieblyio/bybit-api/pull/256)
- @ThijMau made their first contribution in [https://github.com/tiagosiebler/bybit-api/pull/287](https://github.com/sieblyio/bybit-api/pull/287)
- @t0chk made their first contribution in [https://github.com/tiagosiebler/bybit-api/pull/302](https://github.com/sieblyio/bybit-api/pull/302)
- @will2022 made their first contribution in [https://github.com/tiagosiebler/bybit-api/pull/317](https://github.com/sieblyio/bybit-api/commit/d3a9bc97f8de4a1fa474ffa978a191c002a5a776)
- @Mnjongen made their first contribution in [https://github.com/tiagosiebler/bybit-api/pull/330](https://github.com/sieblyio/bybit-api/pull/330)
- @karimsan made their first contribution in [https://github.com/tiagosiebler/bybit-api/pull/346](https://github.com/sieblyio/bybit-api/pull/346)
- @JJ-Cro made their first contribution in [https://github.com/tiagosiebler/bybit-api/pull/350](https://github.com/sieblyio/bybit-api/pull/350)
- @soranoo made their first contribution in [https://github.com/tiagosiebler/bybit-api/pull/392](https://github.com/sieblyio/bybit-api/pull/392)
- @fireflies1988 made their first contribution in [https://github.com/tiagosiebler/bybit-api/pull/394](https://github.com/sieblyio/bybit-api/pull/394)
- @LanPRD made their first contribution in [https://github.com/tiagosiebler/bybit-api/pull/406](https://github.com/sieblyio/bybit-api/pull/406)
- @zororaka00 made their first contribution in [https://github.com/tiagosiebler/bybit-api/pull/433](https://github.com/sieblyio/bybit-api/pull/433)
- @batrudinych made their first contribution in [https://github.com/tiagosiebler/bybit-api/pull/443](https://github.com/sieblyio/bybit-api/pull/443)

**Full Changelog**: [https://github.com/tiagosiebler/bybit-api/compare/v3.0.1...v4.2.3](https://github.com/sieblyio/bybit-api/compare/v3.0.1...v4.2.3)

[Repository](https://github.com/sieblyio/bybit-api)

[SDK docs](/sdk/bybit/javascript)

### [Gate JavaScript SDK v1.2.8](https://github.com/sieblyio/gateio-api/releases/tag/v1.2.8)

v1.2.8: Transition to tokenless publishing automation. Published: 2025-08-11T14:42:36Z.

#### What's Changed

This release deprecates the previous automation for publishing releases to NPM, to a more secure tokenless trusted-publisher workflow.

#### Release notes

- chore(): update GitHub Actions workflow for NPM publishing by @JJ-Cro in [https://github.com/tiagosiebler/gateio-api/pull/72](https://github.com/sieblyio/gateio-api/pull/72)
- chore(): bump version to 1.2.8 in package.json and package-lock.json by @JJ-Cro in [https://github.com/tiagosiebler/gateio-api/pull/73](https://github.com/sieblyio/gateio-api/pull/73)

**Full Changelog**: [https://github.com/tiagosiebler/gateio-api/commits/v1.2.8](https://github.com/sieblyio/gateio-api/commits/v1.2.8)

[Repository](https://github.com/sieblyio/gateio-api)

[SDK docs](/sdk/gate/javascript)

### [Bybit JavaScript SDK v3.0.1](https://github.com/sieblyio/bybit-api/releases/tag/v3.0.1)

Refer to npm for latest releases. Published: 2022-09-19T23:37:03Z.

For an up to date list of releases and updates, refer to:

- Closed Pull Requests: [https://github.com/tiagosiebler/bybit-api/pulls?q=is%3Apr+is%3Aclosed](https://github.com/sieblyio/bybit-api/pulls?q=is%3Apr+is%3Aclosed)
- NPM: <https://www.npmjs.com/package/bybit-api?activeTab=versions>

The above links are the best place to stay up to date on the latest releases for this SDK.

***

***

***

***

***

***

***

***

***

***

***

***

***

***

***

***

***

***

***

***

***

***

***

***

***

***

***

***

***

***

***

***

***

***

***

***

***

***

***

***

[![connector logo](https://siebly.io/wideLogoBannerSieblyDarkNoFooter.svg?v=20261029)][1]

[1]: https://www.npmjs.com/package/bybit-api

Node.js connector for the Bybit APIs and WebSockets:

- Complete integration with all bybit APIs.
- TypeScript support (with type declarations for most API requests & responses).
- Over 300 integration tests making real API calls & WebSocket connections, validating any changes before they reach npm.
- Robust WebSocket integration with configurable connection heartbeats & automatic reconnect then resubscribe workflows.
- Browser support (via webpack bundle - see "Browser Usage" below).

This major release introduces 6 new REST clients and hundreds of integration tests. The `bybit-api` npm connector now supports **all** REST API and WebSocket categories, including the very recently added unified margin and copy trading categories.

#### REST APIs

Each REST API group has a dedicated REST client. To avoid confusion, here are the available REST clients and the corresponding API groups:

|                                                            Class                                                           |                                                                   Description                                                                  |
| :------------------------------------------------------------------------------------------------------------------------: | :--------------------------------------------------------------------------------------------------------------------------------------------: |
|                  [InverseClient](https://github.com/sieblyio/bybit-api/blob/v3.0.1/src/inverse-client.ts)                  |  [Inverse Perpetual Futures (v2) APIs](https://github.com/bybit-exchange/docs-legacy/tree/master/source/includes/futuresV2/inverse_perpetual)  |
|                   [LinearClient](https://github.com/sieblyio/bybit-api/blob/v3.0.1/src/linear-client.ts)                   |    [USDT Perpetual Futures (v2) APIs](https://github.com/bybit-exchange/docs-legacy/tree/master/source/includes/futuresV2/linear_perpetual)    |
|           [InverseFuturesClient](https://github.com/sieblyio/bybit-api/blob/v3.0.1/src/inverse-futures-client.ts)          |        [Inverse Futures (v2) APIs](https://github.com/bybit-exchange/docs-legacy/tree/master/source/includes/futuresV2/inverse_futures)        |
|            [USDCPerpetualClient](https://github.com/sieblyio/bybit-api/blob/v3.0.1/src/usdc-perpetual-client.ts)           |     [USDC Perpetual APIs](https://github.com/bybit-exchange/docs-legacy/blob/master/source/includes/usdc/option/_account_trading.md#L1361)     |
|               [USDCOptionClient](https://github.com/sieblyio/bybit-api/blob/v3.0.1/src/usdc-option-client.ts)              |                    [USDC Option APIs](https://github.com/bybit-exchange/docs-legacy/tree/master/source/includes/usdc/option)                   |
|            [UnifiedMarginClient](https://github.com/sieblyio/bybit-api/blob/v3.0.1/src/unified-margin-client.ts)           | [Derivatives (v3) unified margin APIs](https://github.com/bybit-exchange/docs-legacy/tree/master/source/includes/derivativesV3/unified_margin) |
|                   [SpotClientV3](https://github.com/sieblyio/bybit-api/blob/v3.0.1/src/spot-client-v3.ts)                  |                   [Spot Market (v3) APIs](https://github.com/bybit-exchange/docs-legacy/tree/master/source/includes/spot/v3)                   |
| [~~SpotClient~~](https://github.com/sieblyio/bybit-api/blob/v3.0.1/src/spot-client.ts) (deprecated, v3 client recommended) |                   [Spot Market (v1) APIs](https://github.com/bybit-exchange/docs-legacy/tree/master/source/includes/spot/v1)                   |
|             [AccountAssetClient](https://github.com/sieblyio/bybit-api/blob/v3.0.1/src/account-asset-client.ts)            |                [Account Asset APIs](https://github.com/bybit-exchange/docs-legacy/tree/master/source/includes/account_asset/v1)                |
|              [CopyTradingClient](https://github.com/sieblyio/bybit-api/blob/v3.0.1/src/copy-trading-client.ts)             |                   [Copy Trading APIs](https://github.com/bybit-exchange/docs-legacy/tree/master/source/includes/copy_trading)                  |
|                [WebsocketClient](https://github.com/sieblyio/bybit-api/blob/v3.0.1/src/websocket-client.ts)                |                                         All WebSocket Events (Public & Private for all API categories)                                         |

Examples for using each client can be found in:

- the [examples](https://github.com/sieblyio/bybit-api/tree/v3.0.1/examples) folder.
- the [awesome-crypto-examples](https://github.com/sieblyio/awesome-crypto-examples) repository.

If you're missing an example, you're welcome to request one. Priority will be given to [github sponsors](https://github.com/sponsors/tiagosiebler).

#### WebSockets

For WebSockets, all API groups can be used via a shared `WebsocketClient`. However, to listen to multiple API groups at once, you will need to make one WebsocketClient instance per API group (for now).

The WebsocketClient can be configured to a specific API group using the market parameter. These are the currently available API groups:

|         API Category         |           Market          | Description                                                                                                                                                                                                                                                                                   |
| :--------------------------: | :-----------------------: | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|   Unified Margin - Options   | `market: 'unifiedOption'` | The [derivatives v3](https://github.com/bybit-exchange/docs-legacy/blob/master/source/includes/derivativesV3/unified_margin/_websockets.md) category for unified margin. Note: public topics only support options topics. If you need USDC/USDT perps, use `unifiedPerp` instead.             |
|    Unified Margin - Perps    |  `market: 'unifiedPerp'`  | The [derivatives v3](https://github.com/bybit-exchange/docs-legacy/blob/master/source/includes/derivativesV3/unified_margin/_websockets.md) category for unified margin. Note: public topics only support USDT/USDC perpetual topics - use `unifiedOption` if you need public options topics. |
|  Futures v2 - Inverse Perps  |    `market: 'inverse'`    | The [inverse v2 perps](https://github.com/bybit-exchange/docs-legacy/blob/master/source/includes/futuresV2/inverse_perpetual/_websockets.md) category.                                                                                                                                        |
|    Futures v2 - USDT Perps   |     `market: 'linear'`    | The [USDT/linear v2 perps](https://github.com/bybit-exchange/docs-legacy/blob/master/source/includes/futuresV2/linear_perpetual/_websockets.md) category.                                                                                                                                     |
| Futures v2 - Inverse Futures |    `market: 'inverse'`    | The [inverse futures v2](https://github.com/bybit-exchange/docs-legacy/blob/master/source/includes/futuresV2/inverse_futures/_websockets.md) category uses the same market as inverse perps.                                                                                                  |
|            Spot v3           |     `market: 'spotv3'`    | The [spot v3](https://github.com/bybit-exchange/docs-legacy/blob/master/source/includes/spot/v3/_websockets.md) category.                                                                                                                                                                     |
|            Spot v1           |      `market: 'spot'`     | The older [spot v1](https://github.com/bybit-exchange/docs-legacy/blob/master/source/includes/spot/v1/_websockets.md) category. Use the `spotv3` market if possible, as the v1 category does not have automatic re-subscribe if reconnected.                                                  |
|         Copy Trading         |     `market: 'linear'`    | The [copy trading](https://github.com/bybit-exchange/docs-legacy/blob/master/source/includes/copy_trading/_websockets.md) category. Use the linear market to listen to all copy trading topics.                                                                                               |
|          USDC Perps          |    `market: 'usdcPerp`    | The [USDC perps](https://github.com/bybit-exchange/docs-legacy/blob/master/source/includes/usdc/perp/perp_websockets.md) category.                                                                                                                                                            |
|         USDC Options         |   `market: 'usdcOption'`  | The [USDC options](https://github.com/bybit-exchange/docs-legacy/blob/master/source/includes/usdc/option/_websockets.md) category.                                                                                                                                                            |

Check the readme for an example. More examples will be added in the future, and will be found in the following locations:

- the [examples](https://github.com/sieblyio/bybit-api/tree/v3.0.1/examples) folder.
- the [awesome-crypto-examples](https://github.com/sieblyio/awesome-crypto-examples) repository (note, these will be updated shortly).

#### Issues & Discussion

- Issues? Check the [issues tab](https://github.com/sieblyio/bybit-api/issues).
- Discuss & collaborate with other node devs? Join our [Node.js Algo Traders](https://t.me/nodetraders) engineering community on telegram.

#### Breaking Changes

While I have tried to avoid any breaking changes as much as possible, I have decided to accept some as part of this major release as an opportunity for improvement. If you notice any other breaking changes not listed below, please let me know.

##### REST Clients

- The `SpotClient` is now deprecated in favour of the new `SpotClientV3` (which uses the newer v3 spot APIs).
- The `key` parameter has been moved into the restOptions object.
- The `secret` parameter has been moved into the restOptions object.
- The `useLivenet` parameter has been renamed to `testnet` and moved into the restOptions object.
- The REST clients now connect to the live environment by default, unless `testnet: true` is provided in `restOptions`.

All REST clients now accept only two parameters:

```typescript
  constructor(
    restOptions: RestClientOptions = {},
    networkOptions: AxiosRequestConfig = {}
  ) 
```

API credentials are passed into the first parameter.

- `disable_time_sync` has been removed from the rest client options, since time sync is now disabled by default.
- To re-enable time sync, use `enable_type_sync: true` in the rest options object parameter.

##### Websocket-Client

- The WS client now connects to the live environment by default, unless `testnet: true` is provided in the ws client options.
- The `market` parameter is now required in the ws client config. It tells the websocket client which websocket URL to use, since there's variation between spotv1, spotv3, futures, unified margin and other markets. Check the `APIMarket` union type for a list of possible values (which your IDE should also be able to show, if you're using typescript).
- Constant parameters such as `wsKeySpotPublic` have been grouped under a `WS_KEY_MAP` object.
  - The WsKey values remain the same, with some new additions.
  - If you were using the exported constant (e.g. wsKeySpotPublic), you will need to update your code to use `WS_KEY_MAP.spotPublic` instead.
  - If you were using the spot market, the `spotv3` market is very much recommended (it supports automatic re-subscribe if the connection drops & reconnects)
- The `livenet` parameter has been deprecated in favour of `testnet: boolean`.
- The websocket client now connects to livenet by default. If you want to use testnet, include the parameter `testnet: true` in your client options.
  - This is consistent with my other api connectors, which connect to livenet by default.
  - In future, the REST clients will also connect to the live environment by default.

[Repository](https://github.com/sieblyio/bybit-api)

[SDK docs](/sdk/bybit/javascript)

### [Bybit JavaScript SDK v2.1.0](https://github.com/sieblyio/bybit-api/releases/tag/v2.1.0)

Spot clients for REST & Websockets. Published: 2021-08-15T11:23:17Z.

#### Summary

This expands the library to support the spot REST & Websocket APIs.

```
npm install bybit-api@2.1.0
```

#### Deprecation Notices

The WebSocket client now accepts a new parameter for `market`.

This should be used instead of the boolean `linear` parameter, which will be removed in a future release. Check the readme for examples.

#### Changelog

- Fix inversed secondary URLs (#106)
- Add support for Spot APIs (#99)

[Repository](https://github.com/sieblyio/bybit-api)

[SDK docs](/sdk/bybit/javascript)

### [Bybit JavaScript SDK v2.0.5](https://github.com/sieblyio/bybit-api/releases/tag/v2.0.5)

Reduced webpack bundle & missing inverse APIs.. Published: 2021-06-12T21:59:18Z.

#### Summary

This adds the missing mode/switch APIs for the inverse client, see #98 for details. This also significantly reduces the size of the webpack bundle for use in web browsers, see #59 for details.

```
npm install bybit-api@2.0.5
```

#### Changelog

- Add API to set position mode (hedge)
- Add API to set SL/TP partial/full mode.
- Add API to set margin type.
- Significant reduction in webpack bundle size.

[Repository](https://github.com/sieblyio/bybit-api)

[SDK docs](/sdk/bybit/javascript)

### [Bybit JavaScript SDK v2.0.3](https://github.com/sieblyio/bybit-api/releases/tag/v2.0.3)

Inverse Futures Support. Published: 2021-03-06T19:13:27Z.

#### Summary

See #83 for details. This adds support for Inverse Futures REST endpoints, currently only available for quarterly BTC futures on testnet.

```
npm install bybit-api@2.0.3
```

#### Changelog

- Introduce a new REST client: `InverseFuturesClient`. Resolves #82.
- Update & clean readme.
- Add missing `trailing_stop` parameter for inverse client `setTradingStop()`.

[Repository](https://github.com/sieblyio/bybit-api)

[SDK docs](/sdk/bybit/javascript)

### [Bybit JavaScript SDK v2.0.1](https://github.com/sieblyio/bybit-api/releases/tag/v2.0.1)

Fix custom base URL parameter. Published: 2021-02-18T23:23:37Z.

#### Changelog

See #80 for details. This fixes a pass-through parameter to pass a custom base URL in the REST constructors.

```
npm install bybit-api@2.0.1
```

[Repository](https://github.com/sieblyio/bybit-api)

[SDK docs](/sdk/bybit/javascript)

### [Bybit JavaScript SDK v2.0.0](https://github.com/sieblyio/bybit-api/releases/tag/v2.0.0)

Linear USDT Support. Published: 2021-02-16T08:35:59Z.

See #75 for details. This primarily introduces support for the Linear USDT APIs and WebSockets, although two minimal changes were introduced to how the existing inverse client (previously RestClient) is imported and when websockets start connecting.

```
npm install bybit-api@2.0.0
```

#### Changelog

##### Summary

- Introduced LinearClient as the abstraction for all available Linear USDT Rest APIs.
- Enhanced WebSocket Client to support multiple linear websockets (public & private).
  - To use linear websockets make a new instance of the Websocket-Client, passing the constructor option "linear: true".
- Removed deprecated API methods abandoned in December 2020.
- Renamed exported `RestClient` to `InverseClient`. Implementation remains unchanged.

##### Breaking Changes

This release only has one major change affecting existing usage.

- Rename dexported `RestClient` to `InverseClient`. Implementation remains unchanged.

Simply rename any existing `RestClient` import to continue using Inverse Rest APIs.

##### Behavioural Changes

The following are not expected to cause any issues but are a notable change in behaviour:

- Previously the Websocket Client automatically opens a websocket connection as soon as it is instanced.
  - As of version `2.0.0` (this release), websocket connections are automatically opened as soon as any topics are subscribed to.
  - If needed, manually trigger websocket connection attempts before subscribing to a topic using the `websocketClient.connectAll()` method. See Websocket-Client.ts for details.

[Repository](https://github.com/sieblyio/bybit-api)

[SDK docs](/sdk/bybit/javascript)

### [Bybit JavaScript SDK v1.3.2](https://github.com/sieblyio/bybit-api/releases/tag/v1.3.2)

Fix error handler for failed API requests. Published: 2021-01-21T08:57:02Z.

Small fix to the error handler when API requests fail.

[Repository](https://github.com/sieblyio/bybit-api)

[SDK docs](/sdk/bybit/javascript)

### [Bybit JavaScript SDK v1.3.1](https://github.com/sieblyio/bybit-api/releases/tag/v1.3.1)

TypeScript, browser support, loose types. Published: 2020-12-26T18:09:47Z.

See #45 for details. This was a major transition from a pureJS library into one that is loosely typed, at least as a first iteration.

`npm install bybit-api@1.3.1`

Copied from the pull request:

#### Changelog

##### Summary

- Introduce typescript declarations. API methods are typed including optional parameters. Resolves #18.
- Introduce webpack, although not published to npm yet. TODO: log issue to trim bundle size.
- Deprecate `assert()` calls. This caused a nuisance when API parameter requirements changed.
- Fix browser websocket support. Resolves #33.
- Organise API methods per API documentation, including the categories also used in official documentation.
- Mark deprecated API methods.

##### Breaking Changes

These changes were enforced by bybit:

- getActiveOrder() uses deprecated endpoint. Use getActiveOrderList() instead.
  - Requires symbol param. Otherwise it's the same.
- getPositions() uses deprecated endpoint. Use getPosition() instead.

##### Deprecations

These are a consequence of module improvements:

- getPublicTradingRecords() deprecated. Use getTrades() instead.
  - Same params & response.
- getPublicLiquidations() deprecated. Use getLiquidations() instead.
  - Same params & response.
- getLatestInformation() deprecated. Use getTickers() instead.
  - Same params & response.
- changeUserLeverage() deprecated. Use setUserLeverage() instead.
  - Same params & response.

[Repository](https://github.com/sieblyio/bybit-api)

[SDK docs](/sdk/bybit/javascript)

### [Bybit JavaScript SDK v1.2.0](https://github.com/sieblyio/bybit-api/releases/tag/v1.2.0)

Replace deprecated HTTP request library with modern standard. Proxy support.. Published: 2020-10-08T07:54:02Z.

The primary goal was to transition to axios, since the npm module request is both deprecated and carries a ton of dependency baggage. This version does not change any high level functionality, ensuring no integration changes are required to upgrade to this release.

#### Difference in dependency baggage

<img width="1047" alt="Screenshot 2020-10-14 at 09 57 39" src="https://user-images.githubusercontent.com/14090872/95967098-c5bb2880-0e03-11eb-8d93-cbfde97183ae.png">

As well as a smaller memory footprint, an additional bonus of this adoption of `axios` is support for proxied requests as well as other customizations to how HTTP requests are made by the library. See the [axios request config](https://github.com/axios/axios#request-config) for a detailed list of options.

#### Action Required to Upgrade

None

#### Summary

- [x] replace the deprecated npm request module with the much lighter axios module. Resolves #4.
  - [x] huge reduction in module footprint (see step to 1.2.0): [https://bundlephobia.com/result?p=bybit-api@1.2.0](https://bundlephobia.com/package/bybit-api@1.2.0)
  - [x] expose request options in constructor, allowing proxy support (among [other settings](https://github.com/axios/axios#request-config))
- [x] bump websocket connectivity dependency to latest version.
- [x] validated #12 is not an issue.
- [x] misc refactoring & cleaning.

[Repository](https://github.com/sieblyio/bybit-api)

[SDK docs](/sdk/bybit/javascript)
