Skip to content

Conversation

@0xh3rman
Copy link
Collaborator

No description provided.

Bump @orca-so/whirlpools and @orca-so/whirlpools-client to 6.0.0, @ston-fi/api to 0.29.0, and @ton/ton to 15.4.0 in swapper package. Also update related Solana program dependencies to latest versions in pnpm-lock.yaml for compatibility and improvements.
@semanticdiff-com
Copy link

semanticdiff-com bot commented Dec 24, 2025

Review changes with  SemanticDiff

Changed Files
File Status
  packages/swapper/package.json  83% smaller
  package.json  60% smaller
  apps/api/src/index.ts  29% smaller
  pnpm-lock.yaml  13% smaller
  .gitignore Unsupported file format
  apps/api/tsconfig.json  0% smaller
  packages/swapper/src/stonfi/integration.test.ts  0% smaller
  packages/swapper/src/stonfi/testkit.ts  0% smaller
  scripts/generate-version.js  0% smaller

@gemini-code-assist
Copy link

Summary of Changes

Hello @0xh3rman, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request primarily focuses on updating critical dependencies for Orca and Stonfi within the swapper package to ensure compatibility and leverage the latest features and fixes. Alongside these updates, a comprehensive suite of integration tests has been introduced for the Stonfi provider, significantly enhancing test coverage and reliability for TON-based swaps.

Highlights

  • Dependency Updates: Key dependencies including @orca-so/whirlpools, @orca-so/whirlpools-client, @ston-fi/api, and @ton/ton have been updated to their latest versions, ensuring compatibility and leveraging new features.
  • Stonfi Integration Tests: New integration tests have been added for the Stonfi provider, covering various swap scenarios such as TON to USDT, USDT to TON, and Jetton to Jetton swaps, enhancing test coverage and reliability.
  • Stonfi Test Utilities: Dedicated utility functions and asset definitions for Stonfi testing have been introduced, streamlining the creation and management of test cases.

🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console.

Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request updates several dependencies, including major version bumps for @orca-so/whirlpools (v5 to v6) and various @solana/* packages. While new integration tests have been added for the Stonfi provider, which is excellent, there are no corresponding tests for the Orca provider. Major version updates often introduce breaking changes, and merging this without verifying the Orca integration is risky and could break functionality in production. This is a critical issue. I strongly recommend adding integration tests for the Orca provider to ensure it works correctly with the new dependencies before this PR is merged.

I've also left a couple of comments on the new test files with suggestions for improving code clarity and maintainability.

0xh3rman and others added 3 commits December 25, 2025 08:31
Separates from_asset and to_asset from other overrides to ensure nested properties are merged correctly, improving the flexibility and reliability of testkit quote request creation.
Introduced a version.json file to provide version and commit information in the API root endpoint. Updated the build process to generate this file before building, adjusted .gitignore and tsconfig.json to handle the new file.
The script was previously ignored by *.js in .gitignore. Updated .gitignore to allow scripts/*.js files.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <[email protected]>
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.

2 participants