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

chore(clerk-js, clerk-react,types): Rename assurance to reverification #4268

Merged
merged 7 commits into from
Oct 2, 2024

Conversation

panteliselef
Copy link
Member

@panteliselef panteliselef commented Oct 1, 2024

Description

Rename __experimental_assurance to __experimental_reverification.

  • Supported levels are now are firstFactor, secondFactor, multiFactor.
  • Support maxAge is now replaced by maxAgeMinutes and afterMinutes depending on usage.
  • Introduced ____experimental_SessionVerificationTypes that abstracts away the level and maxAge
    • Allowed values 'veryStrict' | 'strict' | 'moderate' | 'lax'

Checklist

  • npm test runs as expected.
  • npm run build runs as expected.
  • (If applicable) JSDoc comments have been added or updated for any package exports
  • (If applicable) Documentation has been updated

Type of change

  • 🐛 Bug fix
  • 🌟 New feature
  • 🔨 Breaking change
  • 📖 Refactoring / dependency upgrade / documentation
  • other:

@panteliselef panteliselef self-assigned this Oct 1, 2024
Copy link

changeset-bot bot commented Oct 1, 2024

🦋 Changeset detected

Latest commit: 83a0f88

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 18 packages
Name Type
@clerk/clerk-js Minor
@clerk/shared Minor
@clerk/clerk-react Minor
@clerk/types Minor
@clerk/chrome-extension Patch
@clerk/clerk-expo Patch
@clerk/astro Patch
@clerk/backend Patch
@clerk/elements Patch
@clerk/express Patch
@clerk/fastify Patch
@clerk/nextjs Patch
@clerk/remix Patch
@clerk/clerk-sdk-node Patch
@clerk/tanstack-start Patch
@clerk/testing Patch
@clerk/localizations Patch
@clerk/themes Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@@ -1,6 +1,6 @@
{
"files": [
{ "path": "./dist/clerk.browser.js", "maxSize": "65kB" },
{ "path": "./dist/clerk.browser.js", "maxSize": "64.5kB" },
Copy link
Member Author

Choose a reason for hiding this comment

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

I'll be working on UI components, and i want to closely monitor this change. Lowering the limit will help with that.

@panteliselef panteliselef merged commit fb932e5 into main Oct 2, 2024
23 checks passed
@panteliselef panteliselef deleted the elef/user-804-update-values-of-level-and-maxage branch October 2, 2024 12:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants