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

Replace RPC call with near-api-js when checking account existence #136

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

Conversation

Pessina
Copy link
Collaborator

@Pessina Pessina commented Jan 1, 2024

No description provided.

@Pessina Pessina requested a review from esaminu January 1, 2024 19:49
Copy link

vercel bot commented Jan 1, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
fast-auth-signer ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 10, 2024 1:55pm

@Pessina Pessina requested a review from hcho112 January 8, 2024 15:16
path: context.path
});
}
if (username && await window.fastAuthController.accountExist(username)) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

I believe this part of logic has been re-written recently

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

By what I checked, we only changed the e-mail validation logic. The username validation remains the same.

@hcho112
Copy link
Collaborator

hcho112 commented Jan 21, 2024

Is this PR still relevant? @Pessina

@Pessina
Copy link
Collaborator Author

Pessina commented Jan 22, 2024

Is this PR still relevant? @Pessina

I believe yes @hcho112 .

We will replace the RPC call and rely on the already implemented function in near-api-js simplifying the code and saving us some lines.

What do you think?

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