You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bumps @nktkas/hyperliquid from 0.30.2 to 0.32.2 (latest). No breaking changes were found affecting the codebase — all existing type imports and runtime behavior remain compatible. Sub-dependencies updated: @nktkas/rews 1.2.3 → 2.1.0, valibot 1.2.0 → 1.3.1. The CLI binary and micro-eth-signer dependency were removed from the SDK in this release.
Feature: Hyperliquid SDK updateScenario: user opens the perps market listGiven the wallet is unlocked and perps feature is enabled
When user navigates to the PerpsTrendingView
Then market data loads successfully (229+ markets including BTC)
And prices are displayed correctly
I've completed the PR template to the best of my ability
I've included tests if applicable
I've documented my code using JSDoc format if applicable
I've applied the right labels on the PR (see labeling guidelines). Not required for external contributors.
Pre-merge reviewer checklist
I've manually tested the PR (e.g. pull and build branch, run the app, test code being changed).
I confirm that this PR addresses all acceptance criteria described in the ticket it closes and includes the necessary testing evidence such as recordings and or screenshots.
Medium Risk
Dependency-only upgrade, but it updates a perps trading SDK and its transitive deps (and removes some previously shipped modules), which could affect runtime behavior or build resolution if the app relied on them implicitly.
Overview
Updates the @nktkas/hyperliquid dependency from 0.30.2 to 0.32.2.
Refreshes the lockfile for the new SDK release, including transitive dependency changes such as @nktkas/rews moving to major version 2 and valibot bumping to 1.3.1, and drops previously included packages that are no longer required by the SDK.
Reviewed by Cursor Bugbot for commit 7327cb4. Bugbot is set up for automated code reviews on this repo. Configure here.
Updated @nktkas/hyperliquid from 0.30.2 to 0.32.2. No API-breaking changes were found affecting the codebase — all existing type imports and method signatures remain compatible. All 288 perps test suites pass (1467 controller + 5503 UI tests).
Changes
File
Change
package.json
Bumped @nktkas/hyperliquid from ^0.30.2 to ^0.32.2
yarn.lock
Updated lock entry; @nktkas/rews bumped from 1.2.3 → 2.1.0, valibot from 1.2.0 → 1.3.1, micro-eth-signer removed (no longer a dep), CLI bin removed
Test Plan
TypeScript: tsc --noEmit — no errors
Unit tests: yarn jest app/controllers/perps/ — 29 suites, 1467 tests passed
Unit tests: yarn jest app/components/UI/Perps/ — 259 suites, 5503 tests passed
Recipe: 5/5 steps passed (navigate → wait route → wait market data → assert BTC found → screenshot)
Evidence Artifacts
evidence-market-loaded.png — markets list loaded successfully with SDK 0.32.2
E2E Test Selection:
The only code change in this PR is a version bump of @nktkas/hyperliquid from ^0.30.2 to ^0.32.2 in package.json (with yarn.lock updated accordingly). This package is the HyperLiquid SDK used exclusively by the Perps feature. Investigation confirmed it is imported in: app/controllers/perps/services/HyperLiquidClientService.ts, HyperLiquidSubscriptionService.ts, hyperLiquidOrderBookProcessor.ts, standaloneInfoClient.ts, and hyperliquid-types.ts. A two-minor-version bump (0.30 → 0.32) could introduce API changes affecting Perps trading functionality. Selected tags: SmokePerps (directly affected), SmokeWalletPlatform (required by SmokePerps description — Perps is a section inside Trending), SmokeConfirmations (required by SmokePerps description — Add Funds deposits are on-chain transactions).
Performance Test Selection:
The @nktkas/hyperliquid SDK version bump could affect perps market loading, position management, add funds flow, and order execution performance — all covered by @PerformancePreps. The SDK is used in core HyperLiquid client services that handle real-time data and trading operations.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Bumps
@nktkas/hyperliquidfrom0.30.2to0.32.2(latest). No breaking changes were found affecting the codebase — all existing type imports and runtime behavior remain compatible. Sub-dependencies updated:@nktkas/rews1.2.3 → 2.1.0,valibot1.2.0 → 1.3.1. The CLI binary andmicro-eth-signerdependency were removed from the SDK in this release.Changelog
CHANGELOG entry: null
Related issues
Fixes: https://consensyssoftware.atlassian.net/browse/TAT-2906
Manual testing steps
Screenshots/Recordings
Before
No UI changes — dependency update only.
After
Pre-merge author checklist
Pre-merge reviewer checklist
## **Validation Recipe**
{ "title": "Hyperliquid SDK update — verify market data loads with SDK 0.32.2", "description": "Smoke test: validates that the Hyperliquid SDK 0.32.2 integration works correctly by confirming market data is available via the perps controller.", "validate": { "runtime": { "pre_conditions": [ "wallet.unlocked", "perps.feature_enabled" ], "steps": [ { "id": "nav-market-list", "action": "navigate", "target": "PerpsTrendingView" }, { "id": "wait-route", "action": "wait_for", "route": "PerpsTrendingView" }, { "id": "wait-market-data", "action": "wait_for", "expression": "Engine.context.PerpsController.getMarketDataWithPrices().then(function(ms){return JSON.stringify({count:ms.length})})", "assert": { "operator": "gt", "field": "count", "value": 0 }, "timeout_ms": 30000 }, { "id": "assert-btc-in-markets", "action": "eval_async", "expression": "Engine.context.PerpsController.getMarketDataWithPrices().then(function(ms){var m=ms.find(function(x){return x.symbol==='BTC'});return JSON.stringify({found:!!m,symbol:m?m.symbol:null})})", "assert": { "operator": "eq", "field": "found", "value": true } }, { "id": "evidence-market-loaded", "action": "screenshot", "filename": "evidence-market-loaded.png" } ] } } }Result: 5/5 steps passed ✅
Note
Medium Risk
Dependency-only upgrade, but it updates a perps trading SDK and its transitive deps (and removes some previously shipped modules), which could affect runtime behavior or build resolution if the app relied on them implicitly.
Overview
Updates the
@nktkas/hyperliquiddependency from0.30.2to0.32.2.Refreshes the lockfile for the new SDK release, including transitive dependency changes such as
@nktkas/rewsmoving to major version2andvalibotbumping to1.3.1, and drops previously included packages that are no longer required by the SDK.Reviewed by Cursor Bugbot for commit 7327cb4. Bugbot is set up for automated code reviews on this repo. Configure here.