Skip to content

feat(jose): remove async keyword from HKDF implementations#21

Merged
halvaradop merged 3 commits intomasterfrom
feat/add-sync-derive-key
Dec 6, 2025
Merged

feat(jose): remove async keyword from HKDF implementations#21
halvaradop merged 3 commits intomasterfrom
feat/add-sync-derive-key

Conversation

@halvaradop
Copy link
Copy Markdown
Member

Description

This pull request removes the async keyword from the deriveKey and createDeriveKey functions in the @aura-stack/jose package. The async modifier was unnecessary because the logic inside these functions is entirely synchronous, so keeping async provided no benefit and could cause confusion about their behavior. Removing it makes the API more accurate and efficient.

Additionally, the José API Reference documentation has been updated to reflect this change.

@vercel
Copy link
Copy Markdown
Contributor

vercel Bot commented Dec 6, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
auth Ready Ready Preview Comment Dec 6, 2025 9:27pm

@halvaradop halvaradop merged commit bbee654 into master Dec 6, 2025
2 checks passed
@halvaradop halvaradop deleted the feat/add-sync-derive-key branch December 6, 2025 21:28
@halvaradop halvaradop added the feature New functionality label Jan 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature New functionality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant