Minor Changes
- [Billing Beta] Stricter return type of
useCheckoutto improve inference of other properties. (#6473) by @panteliselef
Patch Changes
-
Propagate
treatPendingAsSignedOuttoauthfromclerkMiddleware(#6477) by @LauraBeatrisexport default clerkMiddleware(async (auth, req) => { // If the session has a `pending` status, `userId` will be `null` by default, treated as a signed-out state const { userId } = await auth(); });
export default clerkMiddleware(async (auth, req) => { // If the session has a `pending` status, `userId` will be defined, treated as a signed-in state const { userId } = await auth({ treatPendingAsSignedOut: false }); });
-
Updated dependencies [
9368daf,f93965f,7b6dcee,ef87617]:- @clerk/shared@3.18.0
- @clerk/clerk-react@5.39.0
- @clerk/types@4.73.0
- @clerk/backend@2.6.3