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

Make js-sdk imports consistent #2590

Merged
merged 1 commit into from
Aug 29, 2024
Merged

Make js-sdk imports consistent #2590

merged 1 commit into from
Aug 29, 2024

Conversation

richvdh
Copy link
Member

@richvdh richvdh commented Aug 29, 2024

We need to be consistent about whether we import matrix-js-sdk from src or lib, otherwise we get two copies of matrix-js-sdk, and everything explodes.

This fixes a long-standing bug which meant that element-call couldn't be successfully built against release versions of matrix-js-sdk. That bug recently became more acute due to matrix-org/matrix-js-sdk#4357, which brought non-release versions of matrix-js-sdk into line with release versions.

We need to be consistent about whether we import matrix-js-sdk from `src` or
`lib`, otherwise we get two copies of matrix-js-sdk, and everything explodes.
Copy link
Member

@AndrewFerr AndrewFerr left a comment

Choose a reason for hiding this comment

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

This indeed fixes some build / import issues with EC, and unblocks it from being able to use newer js-sdk versions. Thanks for this!

@AndrewFerr AndrewFerr merged commit b79a405 into livekit Aug 29, 2024
3 checks passed
@AndrewFerr AndrewFerr deleted the rav/fix_js_sdk_imports branch August 30, 2024 12:14
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