Uh oh!
There was an error while loading. Please reload this page.
feat(clerk-js): Allow Environment init with defaults - #5287
Conversation
🦋 Changeset detectedLatest commit: ecf070a The changes in this PR will be included in the next version bump. This PR includes changesets to release 3 packages
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 |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
jacekradko
commented
Mar 5, 2025
Marking it Ready for Review to get some feedback on the approach |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Co-authored-by: Lennart <lekoarts@gmail.com>
Description
Summary: This pull request introduces a feature that enables the initialization of the Clerk.js environment with default settings. By allowing defaults during environment setup, it allows us to instantiate the EnvironmentResource class even if the
/v1/environmentendpoint is downKey Changes:
• Modified the environment initialization process to support default parameters.
• Updated relevant documentation to reflect the new initialization capabilities.
• Added tests to ensure the default initialization functions as intended.
Checklist
pnpm testruns as expected.pnpm buildruns as expected.Type of change