Skip to content

Version Packages - #159

Merged
Bccorb merged 1 commit into
mainfrom
changeset-release/main
Nov 8, 2026
Merged

Bccorb merged 1 commit into
mainfrom
changeset-release/main

Conversation

@github-actions

@github-actions github-actions Bot commented Nov 8, 2026

Copy link
Copy Markdown
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@seamless-auth/types@0.40.0

Minor Changes

  • e531f89: Fill the gaps the API and OpenID Provider found while adopting the extensibility schemas.

    • AUTH_EVENT_TYPES lists session_created, custom_claims_omitted, admin_oidc_application_link_added and admin_oidc_application_link_removed, which the API already writes.
    • OidcAccountClaimsSchema carries the permission claims (permissions, permissions_omitted, org_roles, org_permissions) and customClaims, which defaults to {} for an API that does not send it.
    • OidcSignRefusalCodeSchema adds claims_mismatch, which /oidc/sign answers when the account claims in a signing input are not what the API computes now, so the provider reads the account again and retries once. OIDC_EDGE_CONTRACT_VERSION stays at 3: an older provider does not parse the code and fails the sign, as it did for the subject_mismatch the API sent before.
    • CustomClaimValueSchema spells out its three levels of nesting instead of using the recursive z.json(), so OpenAPI generators such as @asteasolutions/zod-to-openapi no longer overflow their stack on it. It accepts and refuses exactly what it did before. CustomClaimSourceSchema now reads stored claims with it too. CustomClaimValue is now a type nested three levels deep rather than zod's JSONType, so code that assigns an arbitrary JSONType to it needs a cast or a parse.
    • CalloutFailureSchema adds misconfigured, for a destination whose own configuration cannot be used, such as a secret it names that the server does not have.
    • LoginDeniedErrorSchema and LoginHookUnavailableErrorSchema describe the 403 and 503 a sign-in answers when a login hook stops it.

@github-actions
github-actions Bot requested a review from Bccorb as a code owner November 8, 2026 02:30
@Bccorb
Bccorb merged commit 6fbb9cd into main Nov 8, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant