Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Guard against overriding newly set key when auto-ratcheting #895

Merged
merged 5 commits into from
Oct 20, 2023

Conversation

lukasIO
Copy link
Contributor

@lukasIO lukasIO commented Oct 20, 2023

Before updating the keys after auto-ratcheting, we want to make sure that the keySet used for this frame is still the same as the currently set key. If it's not the same, a new key might have been set already, which we don't want to override with a ratcheted version.

@changeset-bot
Copy link

changeset-bot bot commented Oct 20, 2023

🦋 Changeset detected

Latest commit: 1470bc6

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

This PR includes changesets to release 1 package
Name Type
livekit-client 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

@github-actions
Copy link
Contributor

github-actions bot commented Oct 20, 2023

size-limit report 📦

Path Size
dist/livekit-client.esm.mjs 76.6 KB (0%)
dist/livekit-client.umd.js 82.17 KB (0%)

@lukasIO lukasIO merged commit 3ed61a8 into main Oct 20, 2023
@lukasIO lukasIO deleted the lukas/fix-key-set-race branch October 20, 2023 18:25
@github-actions github-actions bot mentioned this pull request Oct 20, 2023
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.

2 participants