fix(kamino): pin @kamino-finance/farms-sdk to 3.2.24 - #64
Open
avneesh0612 wants to merge 5 commits into
Open
Conversation
farms-sdk@3.2.25 removed dist/@codegen/farms/programId.js, but klend-sdk@7.3.22 still requires that exact path. The unbounded range (^3.2.24) resolves to the broken 3.2.25 on a clean install, breaking `next build` with "Module not found" — local builds only passed because of a stale, unpruned programId.js in node_modules. Pin the direct dependency to exact 3.2.24 and add a pnpm override so klend-sdk's transitive copy resolves to 3.2.24 too. Add .gitignore for the Vercel link directory. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Deployment failed with the following error: |
jsolinsky-fb
approved these changes
Jun 2, 2026
Removed pnpm overrides for specific packages.
avneesh0612
force-pushed
the
fix/kamino-farms-sdk-pin
branch
from
June 18, 2026 18:56
aa867ef to
3863dba
Compare
@dynamic-labs-sdk/solana pulls in 1.98.1 alongside the project's 1.98.4, causing TypeScript to see incompatible VersionedTransaction types. The override forces all transitive deps to a single version. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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.
Problem
next buildforexamples/nextjs-stablecoin-yield-kaminofails on a clean install (e.g. Vercel) with:Root cause:
klend-sdk@7.3.22hard-require()s@kamino-finance/farms-sdk/dist/@codegen/farms/programId.farms-sdk@3.2.25(latest) removed that file — a breaking change shipped in a patch release.^3.2.24, which resolves to the broken3.2.25on a fresh install.Local builds only passed because a stale
programId.jsfrom a pre-3.2.25 install was left behind innode_modules(pnpm didn't prune it). A clean install drops it and the build breaks.Fix
@kamino-finance/farms-sdkto exact3.2.24.pnpm.overridesentry forcingfarms-sdk→3.2.24so klend-sdk's transitive copy stays on the good version too..gitignorefor the Vercel link directory.Pinning exact (not
^) is deliberate here since a patch release proved capable of breaking the API.Verification
farms-sdk@3.2.24;programId.jsis present.pnpm buildpasses from a cleannode_modules.dynamic-xyz/kamino) — builds green, site serves 200.🤖 Generated with Claude Code