Skip to content

Releases: nktkas/hyperliquid

v0.30.2

01 Jan 14:42
aa2333e

Choose a tag to compare

Forgot to update the version in deno.json

v0.30.1

01 Jan 14:37
7acae8c

Choose a tag to compare

What's Changed

  • fix(exchange/order): missing string in array of union type in OrderResponse type by @stoyanov-kaloyan in #96
  • fix(exchange/order): loosen overly strict builder fee validation by @benisgold in #98
  • feat(subscription/twapStates): add DEX name parameter by @nktkas in #99
  • fix(info/userFunding): update input argument types to make startTime optional by @nktkas in #103

Full Changelog: v0.30.0...v0.30.1

v0.30.0

16 Dec 13:38
158d34a

Choose a tag to compare

What's Changed

  • fix: match allDexsClearinghouseState user before invoking listener by @chrisling-dev in #90
  • fix: add DOMException polyfill by @nktkas in #94
  • feat(subscription): add twapStates method in 3267ffd
  • feat(userNonFundingLedgerUpdates): enhance response schema with new update types in 2539015
  • revert: restore basic transport interfaces in 96698c7
  • refactor(schemas)!: stricter schemes in 7c82575
  • refactor(lint)!: add custom lint plugin and fix lint in 7c82575

Explanation of breaking changes

  • Schemas are now more stringent to detect errors before sending a request (i.e., the error v.ValiError is possible instead of ApiRequestError)
  • Error message slightly changed due to new Lint rules

Full Changelog: v0.29.1...v0.30.0

v0.29.1

06 Dec 20:23
d78ff6c

Choose a tag to compare

  • fix(transport): count unique users instead of user subscriptions for limit check (ee88d9a)

Full Changelog: v0.29.0...v0.29.1

v0.29.0

05 Dec 06:55
daf02ad

Choose a tag to compare

  • refactor(exchange)!: rename wallet to signers for multi-sig (447128c)
  • refactor(exchange)!: use ExchangeSingleWalletConfig as default type in ExchangeClient (447128c)
  • feat(subscription): add allDexsAssetCtxs method (b0a147b)
  • feat(subscription): add allDexsClearinghouseState method (b0a147b)

Full Changelog: v0.28.0...v0.29.0

v0.28.0

04 Dec 14:32
3bbd97c

Choose a tag to compare

BREAKING CHANGE: major code refactoring (865ba1f)

  • new API methods
  • fix several bugs
  • client, config, transport redesign
  • add Gitbook documentation

Basic concept of individual API functions, Client and Transport, has been preserved, but their implementation has been redesigned.
Any advanced use of the SDK (e.g., accessing the configuration via the client) is likely to be broken.


Full Changelog: v0.27.1...v0.28.0

v0.27.1

26 Nov 17:43
8935799

Choose a tag to compare

  • refactor: Deno-first development (9b80b1e)
  • refactor(info): update MetaResponse schema (8935799)

Full Changelog: v0.27.0...v0.27.1

v0.27.0

19 Nov 19:59
826836e

Choose a tag to compare

Changes and Features

  • feat(exchange): add validatorL1Stream method (e67618d)
  • feat(subscription): add spotAssetCtxs method (in d9c3c9e for #82)
  • feat(exchange): add custom nonce manager (in 0c495f3 for #83)

BREAKING CHANGES

  • refactor(exchange)!: add typed response schemas for exchange methods (9c72433)
    • Breaking changes if you use the exchange response schema/type directly (runtime and types from functions without changes).

Full Changelog: v0.26.0...v0.27.0

v0.26.0

16 Nov 14:45
584c5fa

Choose a tag to compare

Changes and Features

  • feat(exchange): add setFeeScale action to perpDeploy (561ef13)
  • refactor(info): update response schema alignedQuoteTokenInfo (78ed81a)
  • refactor(info): update response schema perpDexs (c7f9766)
  • refactor(info): update response schema userRateLimit (952852d)
  • refactor(info): update response schema vaultDetails (d570991)
  • refactor: remove dependency on typescript-event-target (905f21a)
  • refactor(wallet): add AbstractWalletError for wallet-related errors (e75137b)

BREAKING CHANGES

  • refactor!: reconnecting WebSocket moved to separate package @nktkas/rews (24654f6)
  • refactor(wallet)!: require AbstractWallet to have an address (e75137b)
    • Only affects custom wallets; viem/ethers work as usual.
  • chore!: improve DX of source code for Node.js and ESM-only (005753f)
    • Node.js >=20.19.0 supports require(esm). If your environment doesn't support such import, open an issue.

Full Changelog: v0.25.9...v0.26.0

v0.25.9

05 Nov 09:17
d24bc2b

Choose a tag to compare

  • fix(transport): websocket post error (by @chrisling-dev in #74)
  • feat(exchange): add setSubDeployers action to perpDeploy (in bb9dd3c for #75)

Full Changelog: v0.25.8...v0.25.9