Releases: nktkas/hyperliquid
Releases · nktkas/hyperliquid
v0.30.2
v0.30.1
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
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
twapStatesmethod 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.ValiErroris possible instead ofApiRequestError) - Error message slightly changed due to new Lint rules
Full Changelog: v0.29.1...v0.30.0
v0.29.1
v0.29.0
- refactor(exchange)!: rename
wallettosignersfor multi-sig (447128c) - refactor(exchange)!: use
ExchangeSingleWalletConfigas default type inExchangeClient(447128c) - feat(subscription): add allDexsAssetCtxs method (b0a147b)
- feat(subscription): add allDexsClearinghouseState method (b0a147b)
Full Changelog: v0.28.0...v0.29.0
v0.28.0
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
v0.27.0
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
Changes and Features
- feat(exchange): add
setFeeScaleaction toperpDeploy(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
AbstractWalletErrorfor wallet-related errors (e75137b)
BREAKING CHANGES
- refactor!: reconnecting WebSocket moved to separate package
@nktkas/rews(24654f6)- Breaking changes if you interacted with
ReconnectingWebSocketdirectly; If you simply specified parameters inWebSocketTransport.reconnect, everything will be fine.
- Breaking changes if you interacted with
- refactor(wallet)!: require
AbstractWalletto 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.
- Node.js >=20.19.0 supports
Full Changelog: v0.25.9...v0.26.0
v0.25.9
- fix(transport): websocket post error (by @chrisling-dev in #74)
- feat(exchange): add
setSubDeployersaction toperpDeploy(in bb9dd3c for #75)
Full Changelog: v0.25.8...v0.25.9