@clerk/shared
4.45.1 · 14 Nov 2026MIT11.8M / weekRepositorynpmAtom feed
4.48.3 is the newest release of 4.x.
In short
1 new2 fixed
Release note
The section about @clerk/shared of a note shared by several packages.
Minor Changes
Add
<InviteMembersButton />, a control component that opens the organization invite-members form in a modal when clicked, working like<SignInButton mode="modal">.Wrap your own button (or omit children for a default one). The button requires an active organization and should be rendered for members who can manage memberships (
org:sys_memberships:manage). Opening it without an active organization or that permission is a no-op in production, and throws a descriptive error in development.import { InviteMembersButton } from '@clerk/nextjs'; <InviteMembersButton> <button>Invite members</button> </InviteMembersButton>;This also adds
Clerk.openInviteMembers()andClerk.closeInviteMembers()for opening and closing the modal programmatically.
Patch Changes
Improve generated API reference links, expose
BillingSubscriptionItemStatus, and clarify thecreateUser()identification status documentation.Rename "Client Trust" to "Device Trust" in documentation strings and links. This is a naming change only — the
needs_client_trustsign-in status, theclientTrustStateproperty, and every other API value keep their existing names, so no integration changes are required.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.