Skip to content

fix/allow multipart form#2452

Merged
forgetso merged 2 commits intomainfrom
fix/allow-multipart-form
Mar 17, 2026
Merged

fix/allow multipart form#2452
forgetso merged 2 commits intomainfrom
fix/allow-multipart-form

Conversation

@forgetso
Copy link
Copy Markdown
Member

  • Change type from email
  • docs(changeset): Don't require email type

Copilot AI review requested due to automatic review settings March 17, 2026 13:33
@forgetso forgetso enabled auto-merge (squash) March 17, 2026 13:33
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR relaxes request validation in the shared @prosopo/types provider API schema so callers can send a non–RFC-compliant value in the email field during image captcha solution verification.

Changes:

  • Remove .email() format validation from VerifySolutionBody’s ApiParams.email field (still optional).
  • Add a changeset to publish @prosopo/types as a patch release reflecting the schema relaxation.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
packages/types/src/provider/api.ts Relaxes validation for email in VerifySolutionBody used by image captcha verification.
.changeset/happy-dogs-kiss.md Adds a patch changeset documenting the types change.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

You can also share your feedback on Copilot code review. Take the survey.

@forgetso forgetso merged commit d5082a9 into main Mar 17, 2026
13 of 15 checks passed
@forgetso forgetso deleted the fix/allow-multipart-form branch March 17, 2026 13:46
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.

2 participants