Skip to content

Conversation

@rhlsthrm
Copy link
Contributor

No description provided.

akv2011 and others added 19 commits April 17, 2025 23:48
…mponent

- Updated various package dependencies in package.json and pnpm-lock.yaml to their latest versions for improved performance and security.
- Refactored the HyperliquidOrderInvocation component to enhance readability and maintainability, including adjustments to the market selection logic and added console logs for debugging purposes.
…position-market-finding-for-pepe

Update package dependencies and improve HyperliquidOrderInvocation co…
…ndling and improve error messaging

- Removed the agentWalletClientHL state and related references.
- Updated the approveAgentIfNeeded function to create and return a new agent client on demand.
- Simplified error handling for wallet connection checks.
- Adjusted order placement logic to utilize the newly approved agent client.
- Enhanced placeholder text for input fields for better user guidance.
…and enhance balance calculations

- Introduced new types for margin and cross margin summaries.
- Updated props to accept account state instead of positions.
- Extracted positions and margin summary from account state for easier access.
- Calculated total balance and available balance based on margin summary.
- Adjusted displayed values to reflect unrealized PnL and added total balance information.
…d component

- Introduced state management for the selected symbol to display the TradingView chart.
- Implemented useEffect to set the initial symbol based on loaded positions.
- Created a dropdown for unique symbols to allow users to select different positions for charting.
- Enhanced the layout to include the TradingView widget and symbol selector within the card structure.
- Removed unused Address import from viem.
- Cleaned up the code by removing unnecessary blank lines for improved readability.
…ng and error messaging

- Replaced agentWalletClientHL with walletClientHL for clarity.
- Updated handleCancelOrder to use the newly approved agent client.
- Enhanced error handling for agent client retrieval and order cancellation.
- Removed unnecessary checks related to agentWalletClientHL.
…ity and maintainability

- Cleaned up import statements by consolidating related imports.
- Removed unnecessary blank lines to improve overall code structure.
- Ensured consistent formatting by adding a newline at the end of the file.
- Upgraded @ai-sdk/google from 1.2.11 to 1.2.12.
- Updated various @radix-ui/react components to their latest versions for improved functionality and performance.
- Incremented versions for lucide-react, react-hook-form, vitest, and pnpm package manager for better compatibility and features.
…osition-creation-with-wallet-checks-and-bridging-guidance

Hyperliquid enhancements
@vercel
Copy link

vercel bot commented Apr 21, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
terminal ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 22, 2025 4:00pm

@rhlsthrm rhlsthrm merged commit 98dc26d into main Apr 23, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants