Releases: nktkas/hyperliquid
v0.32.2
What's Changed
- feat(info/userNonFundingLedgerUpdates): add
vaultLeaderCommissiondelta type (by @Ty-Sir in #124) - feat(api/perpAnnotation): add
displayNameandkeywords(by @damjankuznar in #123) - feat(info/userNonFundingLedgerUpdates): update regex pattern for
accountValueto allow negative numbers (7804b3a) - feat(info/outcomeMeta): make
tokenoptional and addsettledNamedOutcomesto schema (08a6286) - feat(info/perpConciseAnnotations): add
perpConciseAnnotationsmethod (b524bb5) - fix(subscription/spotState): pass
ignorePortfolioMarginparameter (9bdbcfd)
Full Changelog: v0.32.1...v0.32.2
v0.32.1
What's Changed
- feat(api): add
setPerpAnnotationinperpDeployaction andperpAnnotationinfo method (by @damjankuznar in #122)
Full Changelog: v0.32.0...v0.32.1
v0.32.0
BREAKING CHANGE
- refactor(schemas)!: replace
*Responseschemas with pure types (f2b6600, 08d7124) - refactor(cli)!: remove cli and
PrivateKeySigner(61e606c) - refactor!: replace
ValiErrorwithValidationError(9175a6a) - refactor(http)!: replace
bodyproperty with clonedResponseinHttpRequestError(1d10bf0) - chore(deps)!: update dependency versions (558d1bf)
Features
- feat(api/exchange): add
sendToEvmWithDatamethod (69cf06a) - feat(api/exchange): add
topUpIsolatedOnlyMarginmethod (af7c9f4) - feat(api/info): add
userAbstractionmethod (0777cf3) - feat(api/info): add
approvedBuildersmethod (5ddabf1) - feat(api/exchange): add
setFundingInterestRatestoperpDeploymethod (55c6337) - feat(api/info): add
perpCategoriesmethod (7970938) - feat(api/info): add
outcomeMetamethod (0b103f7) - feat(api/info): add
reversedparameter toUserFillsByTimeRequest(c0426b5)
Other Changes
- Fully rewritten web documentation: nktkas.gitbook.io/hyperliquid (3278bbc, 7042d7e)
Full Changelog: v0.31.0...v0.32.0
v0.31.0
What's Changed
- feat(info/userFills): adds missing builderFee in UserFillSchema type (by @0xwetzo in #113)
- feat(exchange): add new API method userSetAbstraction (by @shinitakunai in #114)
- feat(info/l2book): add spread field to L2BookResponse schemas (by @vipineth in #116)
- feat(exchange): add new API method agentSetAbstraction (by @nktkas in #118)
- feat(info/spotMeta): add questions array to SpotMetaResponse schema (in dbb5a8f)
- refactor(schemas)!: remove v.description (in c339911)
- refactor(cli)!: change arguments for twapOrder and spotUser methods (in 56a4192)
- refactor(exchange/client)!: rename userDexAbstraction types for consistency (in 1f3fa5d)
- refactor(cli): enhance cli (in c940ecf)
Explanation of breaking changes
refactor(schemas)!: remove v.description (in c339911)
The code that imports valibot schemes for v.description will be broken.
refactor(cli)!: change arguments for twapOrder and spotUser methods (in 56a4192)
Now the SDK does not ignore wrappers over parameters specified in the Hyperliquid API (to stay more raw).
refactor(exchange/client)!: rename userDexAbstraction types for consistency (in 1f3fa5d)
userDexAbstraction exists in the info and exchange endpoints. The renaming was done to make a clearer distinction between the endpoints.
Full Changelog: v0.30.3...v0.31.0
v0.30.3
What's Changed
- fix(exchange/approveAgent): correct calculation of max character limit for agentName by @umutkutlu in #106
- fix(info): change raw USD types from UnsignedDecimal to Decimal by @nktkas in #109
- feat: add new API methods by @nktkas in #111
- feat(info/userNonFundingLedgerUpdates): add new update types by @nktkas in #112
- feat(info/perpDexs): add funding interest rates mapping to PerpDexsResponse in 82fece3
- feat(info/spotMeta): add outcome markets metadata to SpotMetaResponse in e4d855a
Full Changelog: v0.30.2...v0.30.3
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