Skip to content

feat: schema changes#165

Merged
Philippoes merged 1 commit intomainfrom
feat/schema-changes
Oct 29, 2025
Merged

feat: schema changes#165
Philippoes merged 1 commit intomainfrom
feat/schema-changes

Conversation

@petar-omni
Copy link
Collaborator

This pull request updates the @stakekit/api-hooks package to version 0.0.112 and expands support for additional blockchain networks across multiple schema files. The main focus is on adding the plasma and sui networks to the relevant network lists, ensuring broader compatibility and feature coverage.

Network support expansion:

  • Added plasma to the EvmNetworks in evmNetworks.ts.
  • Added plasma and sui to the Networks in networks.ts. [1] [2]
  • Added plasma and sui to YieldV2YieldsNetwork in yieldV2YieldsNetwork.ts. [1] [2]

Version bump:

  • Bumped package version from 0.0.111 to 0.0.112 in package.json.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds support for two new blockchain networks - Plasma (an EVM network) and Sui - to the API hooks package. The changes include updating the network schema definitions and bumping the package version.

  • Added plasma to EVM networks list (as it's an EVM-compatible chain)
  • Added sui to non-EVM networks list (Sui is a non-EVM blockchain)
  • Updated both general and yield-specific network schemas

Reviewed Changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

File Description
packages/api-hooks/src/api/schemas/yieldV2YieldsNetwork.ts Added plasma and sui to yield network schema
packages/api-hooks/src/api/schemas/networks.ts Added plasma and sui to general networks schema
packages/api-hooks/src/api/schemas/evmNetworks.ts Added plasma to EVM networks schema
packages/api-hooks/package.json Bumped version from 0.0.111 to 0.0.112

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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.
@Philippoes Philippoes merged commit e14928d into main Oct 29, 2025
11 of 12 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.

3 participants