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

Use explicit defaults for room and connect options #436

Merged
merged 6 commits into from
Sep 13, 2022

Conversation

lukasIO
Copy link
Contributor

@lukasIO lukasIO commented Sep 12, 2022

In order to not have to pipe through config parameters as optional until they are actually used and (even more so) to have a single place in the code base where the default options are defined.

@changeset-bot
Copy link

changeset-bot bot commented Sep 12, 2022

🦋 Changeset detected

Latest commit: 4151c27

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

Copy link
Member

@davidzhao davidzhao left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

great cleanup!

@lukasIO lukasIO merged commit 1715877 into main Sep 13, 2022
@lukasIO lukasIO deleted the lukas/explicit-option-defaults branch September 13, 2022 07:45
@github-actions github-actions bot mentioned this pull request Sep 13, 2022
max-b pushed a commit to Invisv-Privacy/client-sdk-js that referenced this pull request Oct 4, 2022
* use explicit defaults for room and connect options

* indicate reconnect

* use user facing room options in constructor

* adaptiveStream default to false

* changeset

* consolidate defaults in one file
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