Minor Changes
-
Introduce
updateClerkOptions()utility function to update Clerk options on the fly. (#5235) by @wobsorianoUsage:
<script setup> import { updateClerkOptions } from '@clerk/vue'; import { dark } from '@clerk/themes'; import { frFR } from '@clerk/localizations'; function enableDarkTheme() { updateClerkOptions({ appearance: { baseTheme: dark, }, }); } function changeToFrench() { updateClerkOptions({ localization: frFR, }); } </script> <template> <button @click="enableDarkTheme">Enable Dark Theme</button> <button @click="changeToFrench">Change to French</button> </template>
-
Surface new
pendingsession as a signed-in state (#5136) by @LauraBeatris
Patch Changes
-
The
exportsmap insidepackage.jsonhas been slightly adjusted to allow forrequire(esm)to work correctly. The"import"conditions have been changed to"default". (#5188) by @LekoArtsYou shouldn't see any change in behavior/functionality on your end.
-
Updated dependencies [
28179323d9891bd13625e32c5682a3276e73cdae,7ae77b74326e378bf161e29886ee82e1556d9840,c5c246ce91c01db9f1eaccbd354f646bcd24ec0a,bcbe5f6382ebcc70ef4fddb950d052bf6b7d693a,382c30240f563e58bc4d4832557c6825da40ce7f]:- @clerk/types@4.47.0
- @clerk/shared@3.0.0