Syncs the SDK with the latest Hyperliquid API changes.
New API
InfoClient: new methodsoutcomeTemplates(#171),usdcRouting(#187)ExchangeClient: new methodactivateOutcomeDeployer(#172)exchange.spotDeploy(): add outcome deployer actionsregisterStandaloneOutcomeFromTemplate,registerQuestionFromTemplate,settleOutcome,settleQuestion2(#173)exchange.twapOrder(): add optionaldetailscarrying the trigger (t) and stop (s) prices (#178)exchange.order(): priority groupingpnow allows up to1e8(#169)exchange.reserveRequestWeight(): add optionaldestinationto reserve weight for another user (#170)info.marginTable(): add optionaldex(#186)
Schema changes
info.borrowLendUserState():healthwidened to"healthy" | "atRisk" | "marketLiquidatable" | "backstopLiquidatable", andhealthFactoris nowstring | null(wasnull) (#174)TwapState: addstopPxandtrigger(#175)info.twapHistory():statusadds"waitingForTrigger"and"stopped"(#175)info.outcomeMeta(): add optionaldeployer(#176)info.validatorL1Votes(): addregisterTemplateandsettleQuestion2action variants (#177)FrontendOpenOrder.orderType: add"Twap Slice","Vault Close","Spot Dust Conversion"(#179)OrderProcessingStatus: add"outcomeSettledCanceled","internalCancel","tooManyOpenOrdersRejected"(#179)info.spotClearinghouseState(): outcomecoinwidened to`+${number}` | `o${number}`(oNis a settled outcome), and add optionaltokenToPortfolioSupplyRatio(#180)info.userFees():nextTrialAvailableTimestampis nownumber | null(wasunknown | null), andstakingLinkis now discriminated bytype—stakingUserfor"requested"/"tradingUser",tradingUserfor"stakingUser"(#181)info.legalCheck():restrictionsis now required and resolves to"n" | "a" | "o" | "u"(#182)UserFill: add optionalfeeTrialEscrow(#183)info.userFills(): liquidationliquidatedUseris now optional (#183)info.settledOutcome(): add optionalspec.deployerandquestion(#184)info.subAccounts2(): add optionalabstraction(#185)
Full Changelog: v0.33.2...v0.33.3