Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/claim with signature #83

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
Open

Conversation

Douglasacost
Copy link
Collaborator

No description provided.

@Douglasacost Douglasacost changed the title WIP Feat/claim with signature Feat/claim with signature Mar 14, 2025
@Douglasacost Douglasacost requested a review from Copilot March 14, 2025 18:16
@Douglasacost Douglasacost marked this pull request as ready for review March 14, 2025 18:16
Copy link

@Copilot 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 adds new endpoints for domain name registration with signature verification and message hash generation while improving validation and error handling across the gateway service. Key changes include new POST endpoints (/name/register-l2 and /name/register/message) with additional validators, integration of a custom HttpError class and global error middleware, and enhancements to helper functions with updated JSDoc comments.

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
clk-gateway/src/index.ts Added new endpoints for domain registration and message hash generation along with improved error handling.
clk-gateway/src/helpers.ts Updated helper functions with detailed JSDoc comments and restructured imports.
clk-gateway/src/types.ts Introduced the HttpError custom error class for consistent error response handling.

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