Merged
Conversation
There was a problem hiding this comment.
Pull request overview
This PR enhances the @stakekit/api-hooks package by expanding blockchain network support, adding new DeFi yield providers, introducing admin API key management DTOs, and adding a new action argument option. The changes follow existing patterns and maintain consistency across related schema files.
Key Changes:
- Added support for the Monad blockchain mainnet network across all relevant network constants
- Introduced two new yield providers (upshift and curve) for expanded DeFi protocol coverage
- Added comprehensive DTOs for admin API key management (create, update, and representation)
Reviewed changes
Copilot reviewed 11 out of 11 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
packages/api-hooks/src/api/schemas/evmNetworks.ts |
Added monad network to EVM networks list |
packages/api-hooks/src/api/schemas/networks.ts |
Added monad network to general networks list |
packages/api-hooks/src/api/schemas/yieldV2YieldsNetwork.ts |
Added monad network to yield networks list |
packages/api-hooks/src/api/schemas/yieldProviders.ts |
Added upshift and curve yield providers |
packages/api-hooks/src/api/schemas/yieldV2YieldsProviderId.ts |
Added upshift and curve provider IDs |
packages/api-hooks/src/api/schemas/adminApiKey.ts |
New interface for admin API key representation |
packages/api-hooks/src/api/schemas/createAdminApiKeyDto.ts |
New DTO for creating admin API keys |
packages/api-hooks/src/api/schemas/updateAdminApiKeyDto.ts |
New DTO for updating admin API keys |
packages/api-hooks/src/api/schemas/index.ts |
Exported new admin API key DTOs in alphabetical order |
packages/api-hooks/src/api/schemas/actionArgumentsDto.ts |
Added optional useMaxAmount boolean property |
packages/api-hooks/package.json |
Bumped version from 0.0.112 to 0.0.113 |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Philippoes
approved these changes
Nov 22, 2025
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
This pull request introduces several enhancements and additions to the
@stakekit/api-hookspackage, focusing on expanding network and provider support, improving DTOs for admin API key management, and adding new options for actions. The changes also include a version bump to reflect these updates.Network and Provider Support:
monadnetwork toEvmNetworks,Networks, andYieldV2YieldsNetworkconstants to support the Monad blockchain. [1] [2] [3]upshiftandcurveas yield providers in bothYieldProvidersandYieldV2YieldsProviderIdfor broader DeFi support. [1] [2] [3] [4]Admin API Key Management:
AdminApiKey,CreateAdminApiKeyDto, andUpdateAdminApiKeyDto, and exported them in the schemas index. This enables typed support for creating, updating, and representing admin API keys. [1] [2] [3] [4] [5] [6]Action Arguments Enhancement:
useMaxAmountto theActionArgumentsDtointerface, allowing actions to specify maximum amount usage.Versioning:
0.0.112to0.0.113to reflect these changes.