Skip to content

feat: support anchor and program metadata IDL sources - #4

Merged
dev-jodee merged 4 commits into
mainfrom
feat-idl-source-selection
Mar 26, 2026
Merged

feat: support anchor and program metadata IDL sources#4
dev-jodee merged 4 commits into
mainfrom
feat-idl-source-selection

Conversation

@dev-jodee

Copy link
Copy Markdown
Owner

Summary

  • parse and persist idlSource from the URL and API fetch flow
  • add program-metadata IDL fetching alongside the existing Anchor path
  • support auto source selection by comparing latest update timestamps and preferring PMP on ties
  • add coverage for explicit sources, auto selection, fallback, and URL parsing

Testing

  • npm test
  • npx eslint app/page.tsx app/api/fetch-idl/route.ts lib/fetch-idl.ts lib/idl-source.ts

@vercel

vercel Bot commented Mar 25, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
castaway Ready Ready Preview, Comment Mar 26, 2026 1:13pm

@dev-jodee
dev-jodee merged commit 25a85f0 into main Mar 26, 2026
3 checks passed
@dev-jodee
dev-jodee deleted the feat-idl-source-selection branch March 26, 2026 14:14
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.

1 participant