feat: Smart Bag deposit session engine & Vercel deploy fix (SOL2-04) - #4
Merged
Merged
Conversation
- Created lib/smart-bags/session-engine.ts with typed deposit sessions, base-unit decimal parsing, allocation splitting, quote snapshots, and local receipt storage - Created lib/smart-bags/catalog.ts with Solana-native Smart Bag templates (Solana Core, Liquidity Leaders, Stable Reserve) - Reworked deposit modal into session flow: prepare → quote → simulate → sign → confirm with per-swap slippage caps - Removed @next/swc-darwin-arm64 from dependencies (macOS-only, broke Vercel Linux builds with EBADPLATFORM) - Fixed vercel.json: removed redundant npm install from buildCommand that was deleting typescript before next.config.ts loaded - Updated bags page and card to use Solana-native catalog metadata - Added gitnexus skill files for code intelligence
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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.
Changes
Smart Bag Session Engine
lib/smart-bags/session-engine.tswith typed deposit sessions, base-unit decimal parsing, allocation splitting, quote snapshots, and local receipt storagelib/smart-bags/catalog.tswith 3 Solana-native Smart Bag templates (Solana Core, Liquidity Leaders, Stable Reserve)Vercel Deploy Fix
@next/swc-darwin-arm64from dependencies (macOS-only package broke Vercel Linux builds with EBADPLATFORM)vercel.json: removed redundantnpm installfrombuildCommandthat deletedtypescriptbeforenext.config.tsloadedVerification
npm install --legacy-peer-deps✅npm run lint✅ (0 errors, 2 pre-existing warnings)npm run build✅