github clerk/javascript @clerk/backend@1.29.0

latest releases: @clerk/types@4.92.0, @clerk/clerk-js@5.99.0, @clerk/fastify@2.4.37...
6 months ago

Minor Changes

  • Adds the following functionality for Instances to the Backend API client. (#5600) by @tmilewski

      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. (#5599) by @tmilewski

      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. (#5621) by @tmilewski

      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. (#5625) by @tmilewski

      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. (#5633) by @tmilewski

      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 (#5646) by @tmilewski

  • Improve JSDoc comments (#5630) by @LekoArts

  • Include expiresAt in OAuth access token resource (#5631) by @Nikpolik

  • Update typing of Organization.slug (#5636) by @tmilewski

  • Adds the ability to list and create waitlist entries to the Backend API client. (#5591) by @tmilewski

      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. (#5585) by @tmilewski

      import { createClerkClient } from '@clerk/backend';
    
      const clerkClient = createClerkClient(...);
    
      const { id } = await clerkClient.actorTokens.create({...});
      await clerkClient.actorTokens.revoke(id);
  • Updated dependencies [ab939fd, 03284da, 7389ba3, f6ef841, e634830, f8887b2]:

    • @clerk/types@4.54.1
    • @clerk/shared@3.7.1

Don't miss a new javascript release

NewReleases is sending notifications on new releases.