Skip to content

fix: add escrow scheme to AcceptsScheme enum#708

Open
Sigmabrogz wants to merge 1 commit intoMerit-Systems:mainfrom
Sigmabrogz:fix/add-escrow-scheme
Open

fix: add escrow scheme to AcceptsScheme enum#708
Sigmabrogz wants to merge 1 commit intoMerit-Systems:mainfrom
Sigmabrogz:fix/add-escrow-scheme

Conversation

@Sigmabrogz
Copy link
Copy Markdown

Summary

Adds the escrow scheme to AcceptsScheme enum and related Zod validation schemas to allow x402r escrow endpoints to be registered correctly.

Problem

Closes #663

Solution

  • Added escrow to Prisma AcceptsScheme
  • Updated z.enum schemas in apps/scan/src/services/db/resources/resource.ts and apps/scan/src/lib/x402/index.ts
  • Updated typescript casts to include 'exact' | 'escrow'

Checklist

  • Code builds without errors
  • No new dependencies added

Closes Merit-Systems#663

- Added 'escrow' to AcceptsScheme in Prisma schema
- Added 'escrow' to Zod scheme validation in resource db
- Added 'escrow' to Zod scheme validation in x402 discovery
- Updated type casts to allow 'escrow'
@vercel
Copy link
Copy Markdown
Contributor

vercel bot commented Mar 11, 2026

@Sigmabrogz is attempting to deploy a commit to the Merit Systems Team on Vercel.

A member of the Team first needs to authorize it.

@Sigmabrogz
Copy link
Copy Markdown
Author

Hi, the PR is ready for review. Thanks!

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.

Add "escrow" to AcceptsScheme enum (x402r escrow endpoints fail to register)

1 participant