Minor Changes
-
Add support for feature or plan based authorization. (#5582) by @panteliselef
-
Adds the ability to grab an instance's JWKS to the Backend API client. (#5588) by @tmilewski
import { createClerkClient } from '@clerk/backend'; const clerkClient = createClerkClient(...); await clerkClient.jwks.getJWKS();
-
Adds the Blocklist Identifier endpoints to the Backend API client. (#5617) by @tmilewski
import { createClerkClient } from '@clerk/backend'; const clerkClient = createClerkClient(...); await clerkClient.blocklistIdentifiers.getBlocklistIdentifierList(); await clerkClient.blocklistIdentifiers.createBlocklistIdentifier({ identifier }); await clerkClient.blocklistIdentifiers.deleteBlocklistIdentifier('blocklistIdentifierId');
Updates the ability paginate Allowlist Identifier reponses and access
identifierTypeandinstanceIdfrom the response.import { createClerkClient } from '@clerk/backend'; const clerkClient = createClerkClient(...); const res = await clerkClient.blocklistIdentifiers.getAllowlistIdentifierList({ limit, offset });
Corrects the type of the Allowlist Identifier
DeletedObject -
Adds webhooks endpoints to the Backend API client. (#5619) by @tmilewski
import { createClerkClient } from '@clerk/backend'; const clerkClient = createClerkClient(...); await clerkClient.webhooks.createSvixApp(); await clerkClient.webhooks.generateSvixAuthURL(); await clerkClient.webhooks.deleteSvixApp();
-
Adds the ability to perform CRUD operations on JWT Templates to the Backend API client. (#5598) by @tmilewski
import { createClerkClient } from '@clerk/backend'; const clerkClient = createClerkClient(...); await clerkClient.jwtTemplates.list({...}); await clerkClient.jwtTemplates.get('templateId'); await clerkClient.jwtTemplates.create({...}); await clerkClient.jwtTemplates.update({...}); await clerkClient.jwtTemplates.delete('templateId');
-
Adds the ability to create an active session to the Backend API client. (#5592) by @tmilewski
import { createClerkClient } from '@clerk/backend'; const clerkClient = createClerkClient(...); await clerkClient.sessions.createSession({ userId: 'user_xxxxxx', });
Patch Changes
-
Add support for phpass_md5 and ldap_ssha hashers (#5583) by @Nikpolik
-
Adds the ability to verify proxy checks to the Backend API client. (#5589) by @tmilewski
import { createClerkClient } from '@clerk/backend'; const clerkClient = createClerkClient(...); await clerkClient.proxyChecks.verify({ domainId: 'dmn_xxxxxx', proxyUrl: 'https://[your-domain].com' });
-
Adds the following User-centric functionality to the Backend API client. (#5593) by @tmilewski
import { createClerkClient } from '@clerk/backend'; const clerkClient = createClerkClient(...); await clerkClient.users.getOrganizationInvitationList({ userId: 'user_xxxxxx', status: 'pending', }); await clerkClient.users.deleteUserPasskey({ userId: 'user_xxxxxx', passkeyIdentificationId: 'xxxxxxx', }); await clerkClient.users.deleteUserWeb3Wallet({ userId: 'user_xxxxxx', web3WalletIdentificationId: 'xxxxxxx', }); await clerkClient.users.deleteUserExternalAccount({ userId: 'user_xxxxxx', externalAccountId: 'xxxxxxx', }); await clerkClient.users.deleteUserBackupCodes('user_xxxxxx'); await clerkClient.users.deleteUserTOTP('user_xxxxxx');
-
Updated dependencies [
e4d04ae,431a821,93068ea,431a821,431a821,103bc03,48438b4,196dcb4]:- @clerk/types@4.54.0
- @clerk/shared@3.7.0