Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/api-hooks/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@stakekit/api-hooks",
"description": "React hooks for StakeKit API",
"version": "0.0.111",
"version": "0.0.112",
"type": "module",
"types": "./dist/index.d.ts",
"main": "./dist/index.js",
Expand Down
1 change: 1 addition & 0 deletions packages/api-hooks/src/api/schemas/evmNetworks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ export const EvmNetworks = {
viction: 'viction',
core: 'core',
sonic: 'sonic',
plasma: 'plasma',
Copy link

Copilot AI Oct 29, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The plasma network is added to evmNetworks.ts (EVM networks), but sui is not added here despite being added to the same position in networks.ts and yieldV2YieldsNetwork.ts. This is correct behavior since Sui is not an EVM-compatible blockchain. However, verify that plasma is indeed an EVM-compatible network. If Plasma refers to the Plasma blockchain that is not EVM-compatible, it should be removed from this file.

Suggested change
plasma: 'plasma',

Copilot uses AI. Check for mistakes.
katana: 'katana',
hyperevm: 'hyperevm',
} as const;
2 changes: 2 additions & 0 deletions packages/api-hooks/src/api/schemas/networks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ export const Networks = {
viction: 'viction',
core: 'core',
sonic: 'sonic',
plasma: 'plasma',
katana: 'katana',
hyperevm: 'hyperevm',
agoric: 'agoric',
Expand Down Expand Up @@ -92,6 +93,7 @@ export const Networks = {
'solana-devnet': 'solana-devnet',
stellar: 'stellar',
'stellar-testnet': 'stellar-testnet',
sui: 'sui',
tezos: 'tezos',
tron: 'tron',
ton: 'ton',
Expand Down
2 changes: 2 additions & 0 deletions packages/api-hooks/src/api/schemas/yieldV2YieldsNetwork.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ export const YieldV2YieldsNetwork = {
viction: 'viction',
core: 'core',
sonic: 'sonic',
plasma: 'plasma',
katana: 'katana',
hyperevm: 'hyperevm',
agoric: 'agoric',
Expand Down Expand Up @@ -93,6 +94,7 @@ export const YieldV2YieldsNetwork = {
'solana-devnet': 'solana-devnet',
stellar: 'stellar',
'stellar-testnet': 'stellar-testnet',
sui: 'sui',
tezos: 'tezos',
tron: 'tron',
ton: 'ton',
Expand Down
Loading