Fix/issue 018 resolved anchor types#279
Conversation
- Accept AnchorCapabilities and evaluate sep24/sep38 flags - Short-circuit with `source: 'unavailable'` without making network calls - Add tests to ensure 0 requests are made when capabilities are lacking
- Elevate `ResolvedAnchor` in `types/index.ts` to extend `Anchor` with strict `capabilities` - Update `resolveAllAnchors` to return cleanly formed `ResolvedAnchor`s - Make `DiscoveredAnchor` extend `ResolvedAnchor` - Switch `useAnchorRates` to reliably accept the whole `ResolvedAnchor` - Upgrade capability gating test mocks to furnish full phantom `ResolvedAnchor` objects
…, amount sanitisation, corridor expansion, anchor registry consolidation
…ks with linting improvements
…ration, and add git hooks
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Add 'Planned' status banners to SDK, MCP, and INTENT_API so readers know these describe intended surfaces, not shipped code. Add a 'what ships today' note to the README and drop the missing hero image. Create the CANONICAL_JSON, NON_CUSTODY, and JURISDICTIONAL stub docs that existing links referenced.
Sprint Review — NOT READY TO MERGECritical: PR template left blank The body was submitted as an unfilled template. Every required section is empty or contains only placeholder text:
Required fixes before this can merge:
Substantive notes (for when the template is filled in):
Please address the template and CI items, then re-request review. |
|
Sprint re-review — still blocked on the same three issues flagged last cycle. 1. Title does not follow Conventional Commits. 2. Linked issue section is blank. 3. PR is CONFLICTING against Action items:
|
Summary
Linked issue
Closes #
Changes
Testing notes
Automated
npm run typecheck· ⏳ not run / ✅ green / ❌ failingnpm run lint· ⏳ not run / ✅ green / ❌ failingnpm run test· ⏳ not run / ✅ green / ❌ failingnpm run build· ⏳ not run / ✅ green / ❌ failingNew / modified tests
Manual verification (if applicable)
Screenshots / recordings
Checklist
Correctness
npm run typecheckpassesnpm run lintpasses with zero new warnings (we run--max-warnings 0in CI)npm run testpasses; new behaviour has a testnpm run buildpassesData integrity
issue.md #005)isMock,// MOCK,// TODO: replace with real data, or commented-out real codestellar.tomlis publicly resolvable athttps://{domain}/.well-known/stellar.tomland containsTRANSFER_SERVER_SEP0024AbortControllertimeout is intact on anchor fetchescompleted | refunded | error) still stop the SWR loopSecurity & non-custody (see
docs/NON_CUSTODY.mdonce it lands).env.localis unchanged; new env vars are added to.env.exampleDocs
CHANGELOG.mdentry under[Unreleased]docs/*.mdupdated in the same PRdocs/ARCHITECTURE.mdupdated (file map, diagram, or invariants as applicable)docs/showcase/images/when relevant.env.example+ README env table updatedRelease hygiene
[ ]indocs/ROADMAP.mdis updatedBreaking changes
None.
For reviewers