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

refactor(core): use template type for code verification #6687

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

wangsijie
Copy link
Contributor

Summary

Refactor the class CodeVerification, replace the property interactionEvent to templateType, directly mapping to the connector.

And add 2 types: UserPermissionValidation and BindNewIdentifier.

Testing

Existing tests should pass.

Checklist

  • .changeset
  • unit tests
  • integration tests
  • necessary TSDoc comments

Copy link

github-actions bot commented Oct 16, 2024

COMPARE TO master

Total Size Diff 📉 -24 Bytes

Diff by File
Name Diff
packages/core/src/routes/experience/classes/experience-interaction.test.ts 📉 -45 Bytes
packages/core/src/routes/experience/classes/libraries/sign-in-experience-validator.test.ts 📉 -45 Bytes
packages/core/src/routes/experience/classes/verifications/code-verification.ts 📉 -497 Bytes
packages/core/src/routes/experience/verification-routes/verification-code.ts 📉 -53 Bytes
packages/core/src/routes/verification/index.ts 📉 -24 Bytes
packages/toolkit/connector-kit/src/types/passwordless.ts 📉 -354 Bytes

@wangsijie wangsijie force-pushed the wangsijie-log-10148-new-interaction-event branch from fb875eb to def8051 Compare October 16, 2024 06:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Make it better size/s
Development

Successfully merging this pull request may close these issues.

1 participant