Packages

@clerk/backend

3.29.0 · 14 Nov 2026MIT8.4M / weekRepositoryHomepagenpmAtom feed

Your version

1.29.0

16 Apr 2025Where it was published

1.34.0 is the newest release of 1.x.

In short

7 new4 fixed2 internal

Release note

Minor Changes

  • Adds the following functionality for Instances to the Backend API client.

      import { createClerkClient } from '@clerk/backend';
    
      const clerkClient = createClerkClient(...);
    
      await clerkClient.instance.get();
      await clerkClient.instance.update({...});
      await clerkClient.instance.updateRestrictions({...});
      await clerkClient.instance.updateOrganizationSettings({...});
  • Adds the ability to perform CRUD operations on OAuth Applications to the Backend API client.

      import { createClerkClient } from '@clerk/backend';
    
      const clerkClient = createClerkClient(...);
    
      await clerkClient.oauthApplications.list({...});
      await clerkClient.oauthApplications.get('templateId');
      await clerkClient.oauthApplications.create({...});
      await clerkClient.oauthApplications.update({...});
      await clerkClient.oauthApplications.delete('templateId');
      await clerkClient.oauthApplications.rotateSecret('templateId');
  • Adds domain endpoints to the Backend API client.

      import { createClerkClient } from '@clerk/backend';
    
      const clerkClient = createClerkClient(...);
      await clerkClient.domains.list();
      await clerkClient.domains.add({...});
      await clerkClient.domains.update({...});
      await clerkClient.domains.delete('satelliteDomainId');
  • Adds the ability to retrieve and update Sign Up Attempts to the Backend API client.

      import { createClerkClient } from '@clerk/backend';
    
      const clerkClient = createClerkClient(...);
    
      await clerkClient.signUps.get('signUpAttemptId');
      await clerkClient.signUps.update({...});
  • Adds the ability to change production domains [beta] to the Backend API client.

      import { createClerkClient } from '@clerk/backend';
    
      const clerkClient = createClerkClient(...);
    
      await clerkClient.betaFeatures.changeDomain({
        homeUrl: 'https://www.example.com',
        isSecondary: false,
      });

Patch Changes

  • Append expired status to invitation types

  • Improve JSDoc comments

  • Include expiresAt in OAuth access token resource

  • Update typing of Organization.slug

  • Adds the ability to list and create waitlist entries to the Backend API client.

      import { createClerkClient } from '@clerk/backend';
    
      const clerkClient = createClerkClient(...);
    
      await clerkClient.waitlistEntries.list({...});
      await clerkClient.waitlistEntries.create({
        emailAddress: 'you@yourdomain.com',
        notify: true
      });
  • Adds the ability to create and revoke actor tokens to the Backend API client.

      import { createClerkClient } from '@clerk/backend';
    
      const clerkClient = createClerkClient(...);
    
      const { id } = await clerkClient.actorTokens.create({...});
      await clerkClient.actorTokens.revoke(id);

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.