Skip to content

refactor(api): harden invoice, auth, and escrow services - #422

Open
Calebux wants to merge 1 commit into
StellarState:devfrom
Calebux:refactor/harden-api-services-304-307
Open

refactor(api): harden invoice, auth, and escrow services#422
Calebux wants to merge 1 commit into
StellarState:devfrom
Calebux:refactor/harden-api-services-304-307

Conversation

@Calebux

@Calebux Calebux commented Aug 29, 2026

Copy link
Copy Markdown

Summary

  • optimize invoice batch publishing with a set-based lookup and bulk transactional save
  • sanitize invoice updates, isolate repository failures, and restore admin invoice rejection support
  • keep auth challenge and verification rate-limit budgets independent while preserving 401 behavior for invalid signatures
  • validate escrow inputs and add structured RPC errors with configurable timeouts
  • repair baseline CI fixtures discovered during full validation

Validation

  • npm run lint
  • npm run type-check
  • npm run build
  • npm run test:ci (94 suites passed; 755 tests passed; 2 skipped)

Closes #304
Closes #305
Closes #306
Closes #307

@drips-wave

drips-wave Bot commented Aug 29, 2026

Copy link
Copy Markdown

@Calebux Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment