Skip to content

feat(v1.0.7): futures WS limits and legacy USDT-M deprecation notes - #2

Merged
JJ-Cro merged 4 commits into
mainfrom
update26102026
Oct 28, 2026
Merged

JJ-Cro merged 4 commits into
mainfrom
update26102026

Conversation

@JJ-Cro

@JJ-Cro JJ-Cro commented Oct 26, 2026

Copy link
Copy Markdown
Owner

Summary

Monday SDK batch for @siebly/htx-api (v1.0.7). Branched from upstream main at 66e7c85 (sieblyio/htx-api PR sieblyio#15, update19102026, is already merged). This repo has no master branch. The PR targets main.

Docs only. No methods removed.

  • Futures public WebSocket (linearSwapPublic): 200 concurrent connections per IP per backend instance, no minute-level connect-rate limit, error 4000 over the cap, silent close after 25s with no ping. Noted on the README WebSocket section, WS_KEY_MAP.linearSwapPublic, and pingInterval (SDK default stays 10s).
  • Legacy USDT-M private methods that have a V5 equivalent are marked @deprecated. The note says error 6023 applies to accounts already on the unified V5 account, and accounts not yet upgraded can keep the old methods. Each tag points at the matching getMultiAsset* / submitMultiAsset* method (or the matching cancel, update, close, set, or adjust helper).

Changelog

  • Document futures public WS connection cap, error 4000, and the 25s no-ping close.
  • Deprecate legacy linear-swap private methods that have a V5 equivalent, for unified V5 accounts that receive 6023.

Checks

  • npm run lint
  • npm run test:types
  • npm run test:unit (5 suites, 37 tests)
  • npm run build

CHANGELOG.md, docs/endpointFunctionList.md, examples/apidoc/**, and llms.txt were not edited.

Skipped deprecation (no V5 equivalent in this client): account-type query/switch, asset valuation, fee rates, order limits, transfer limits, master/sub and inner transfers, sub-account reads and permissions, cross trade/transfer state, and isolated margin-adjustment history. Coin-M methods were left alone. Public market methods were left alone.

Open in Web Open in Cursor 

cursoragent and others added 4 commits October 26, 2026 08:09
- Document futures public WS limits: 200 connections per IP per backend instance, no minute-level connect-rate limit, error 4000 over the cap, and a silent close after 25s with no ping.
- Mark legacy linear-swap private methods that have a V5 equivalent as deprecated. Unified V5 accounts can get 6023. Accounts not yet upgraded can keep the old methods. Nothing removed.

Co-authored-by: Jerko J <JJ-Cro@users.noreply.github.com>
@JJ-Cro
JJ-Cro merged commit a05554b into main Oct 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants