Skip to content

fix(*): Correct type for authorizedParties - #4964

Merged
LekoArts merged 2 commits into
mainfrom
lekoarts/eco-314-authorizedparties-treated-as-array-of-undefined-in
Jan 22, 2025
Merged

LekoArts merged 2 commits into
mainfrom
lekoarts/eco-314-authorizedparties-treated-as-array-of-undefined-in

Conversation

@LekoArts

@LekoArts LekoArts commented Jan 22, 2025 •

Copy link
Copy Markdown
Contributor

Description

The authorizedParties TypeScript type was incorrectly set in three SDKs. This PR changes the type aliases to reuse the existing type from the Backend SDK which has the correct type.

authorizedParties?: string[];

Fixes #4960

Checklist

  • pnpm test runs as expected.
  • pnpm build runs as expected.
  • (If applicable) JSDoc comments have been added or updated for any package exports
  • (If applicable) Documentation has been updated

Type of change

  • 🐛 Bug fix
  • 🌟 New feature
  • 🔨 Breaking change
  • 📖 Refactoring / dependency upgrade / documentation
  • other:

@changeset-bot

changeset-bot Bot commented Jan 22, 2025

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: d450f71

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 3 packages
Name Type
@clerk/tanstack-start Patch
@clerk/react-router Patch
@clerk/remix Patch

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

@vercel

vercel Bot commented Jan 22, 2025 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
clerk-js-sandbox ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 22, 2025 8:48am

@LekoArts
LekoArts enabled auto-merge (squash) January 22, 2025 08:46
@LekoArts
LekoArts merged commit 49c38ef into main Jan 22, 2025
@LekoArts
LekoArts deleted the lekoarts/eco-314-authorizedparties-treated-as-array-of-undefined-in branch January 22, 2025 08:47

This branch was successfully deployed

1 active deployment
Preview — d450f71c Deployed Jan 22, 2025 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

authorizedParties treated as array of undefined in clerk/react-router

5 participants