Repository navigation
Conversation
Clerk is adding an enterpriseConnection.created webhook whose payload is the Backend API enterprise connection object. Add it to WebhookEvent so verifyWebhook() narrows the event to EnterpriseConnectionJSON. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
🦋 Changeset detectedLatest commit: 6161697 The changes in this PR will be included in the next version bump. This PR includes changesets to release 11 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
@clerk/astro
@clerk/backend
@clerk/chrome-extension
@clerk/clerk-js
@clerk/electron
@clerk/electron-passkeys
@clerk/eslint-plugin
@clerk/expo
@clerk/expo-biometrics
@clerk/expo-google-signin
@clerk/expo-native-components
@clerk/expo-passkeys
@clerk/express
@clerk/fastify
@clerk/hono
@clerk/localizations
@clerk/mosaic
@clerk/nextjs
@clerk/nuxt
@clerk/react
@clerk/react-router
@clerk/shared
@clerk/tanstack-react-start
@clerk/testing
@clerk/ui
@clerk/upgrade
@clerk/vue
commit: |
|
API Changes Report
Summary
@clerk/backendCurrent version: 3.31.4 Subpath
|

Description
Clerk is adding an
enterpriseConnection.createdwebhook, sent whenever an enterprise (SSO) connection is created: through the Backend API, through organization self-serve SSO, or in the Dashboard.WebhookEventdoesn't know this event type, soverifyWebhook()can't narrow it, and a handler that switches onevt.typegets no typed payload for it.This adds
EnterpriseConnectionWebhookEventtoWebhookEventand exports it. The payload is the same enterprise connection object the Backend API returns, so it reuses the existingEnterpriseConnectionJSON.data.idkeeps thestring | undefinedtype existing handlers rely on across all events.Checklist
pnpm testruns as expected.pnpm buildruns as expected.Type of change
🤖 Generated with Claude Code