Skip to main content
November 7, 2026
  • Sends User-Agent: hedginxyz-sdk/<version> on every Manager API request, so Hedgin can see which SDK version each key runs.
  • Prints one console.warn per client when the API’s x-hedge-sdk-latest response header names a newer release, with the upgrade command. Nothing updates on its own.
  • Adds HedgeVault, a depositor client that reads vaults and positions from chain and builds deposit and withdrawal requests locally. It needs no API key.
November 5, 2026
  • The signing policy caps the total priority fee, not the price per compute unit. It refuses a transaction whose price × compute unit limit exceeds maxPriorityFeeLamports, which defaults to 0.001 SOL (DEFAULT_MAX_PRIORITY_FEE_LAMPORTS, the app’s automatic-fee budget). A priced transaction with no compute unit limit counts as 1.4M CU.
  • Fixes refusals such as Priority fee 102853 microLamports/CU is above the cap on swaps whose total fee was well inside the budget.
  • maxComputeUnitPriceMicroLamports is now an optional extra cap, unset by default. DEFAULT_MAX_COMPUTE_UNIT_PRICE_MICROLAMPORTS rises to 500_000n.
November 3, 2026
  • Adds request approval: approvalRequired on vault/initialize and vault/update, and the deposit/approve, withdrawal/approve, deposit/reject, and withdrawal/reject actions.
  • Adds child vaults: escrow/create, escrow/fund, escrow/defund, escrow/transfer, and escrow/close. A confirmed escrow/create reports the new child as created.child.
  • Adds minOutAmount to jupiter/swap, and outputMint, minOut, followUpMinOut, and separateSwap to dlmm/zap-out. dlmm/remove zaps when given slippageBps.
  • Vault summaries carry optional approvalRequired, parent, and childCount. Vault detail carries shareSymbol. Requests carry awaitingApproval and a new frozen state.
October 28, 2026
  • Adds optional outputMint to dlmm/zap-out so you can receive either pool token. It defaults to the vault’s deposit token.
  • Fixes signing for Jupiter swaps that require Pump.fun AMM account setup. The manager pays the account’s rent.
October 18, 2026
  • Adds the phoenix/tpsl action, which replaces or removes a market’s take-profit and stop-loss.
  • getVault accepts a response that omits unmanagedHoldings. A missing list means unknown, not empty.
October 14, 2026
  • First tagged release, published to npm as @hedginxyz/sdk.
  • Parses DLMM limit orders as the dlmm_limit_order strategy type, with the dlmm/limit-order/place and dlmm/limit-order/cancel actions.
  • Adds tpSl and disarmTpSl to phoenix/order.
  • Lists a strategy type the SDK does not know as unreadable instead of failing the whole read.
  • Includes jupiter/sweep, bin ranges on dlmm/add and dlmm/remove, dlmm/flip, Phoenix and vault admin actions, token lookup, and the unit and price-to-bin helpers.