Skip to content

Conversation

@1egoman
Copy link
Contributor

@1egoman 1egoman commented Nov 10, 2025

This function was adapted from a previous change that didn't end up being merged here: https://github.com/livekit/client-sdk-js/pull/1677/files#diff-22b723d0af595b5715d5a1f039d62bf3a1829350c8591d0486565a9a92ba33f4R38-R63

It is now needed for use in components-js so I can fix an issue reported by @thomasyuill-livekit here related to the useSession return not being a stable reference due to fetch options changing every render.

This function is needed for use in `components-js` so I can fix an issue
reported by Thom
[here](livekit-examples/agent-starter-react#298 (comment))
related to the useSession return not being a stable reference due to
fetch options changing every render.
@changeset-bot
Copy link

changeset-bot bot commented Nov 10, 2025

🦋 Changeset detected

Latest commit: 312b8a5

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

@1egoman 1egoman changed the title Add new areTokenSourceFetchOptionsEqual function Add new areTokenSourceFetchOptionsEqual function Nov 10, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Nov 10, 2025

size-limit report 📦

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

@1egoman 1egoman merged commit 8858c8b into main Nov 10, 2025
6 checks passed
@1egoman 1egoman deleted the add-token-source-fetch-options-equal branch November 10, 2025 08:07
@github-actions github-actions bot mentioned this pull request Nov 10, 2025
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.

3 participants