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

Fix adapter imports for sdk #89

Conversation

nandito
Copy link
Contributor

@nandito nandito commented Mar 11, 2024

There's a confusion in ESM and CJS, let's try to fix them by using default wrapper removal for adapter (as suggested here: reduxjs/redux-toolkit#1960).

📦 Published PR as canary version: 1.9.8--canary.89.8267611592.0

✨ Test out this PR locally via:

npm install @whereby/jslib-media@1.9.8--canary.89.8267611592.0
# or 
yarn add @whereby/jslib-media@1.9.8--canary.89.8267611592.0

@nandito nandito self-assigned this Mar 11, 2024
@nandito nandito force-pushed the nandor/cob-454-use-wherebycomcore-instead-of-wherebycombrowser-sdkcore branch 2 times, most recently from fa4fed3 to d99ea24 Compare March 11, 2024 13:32
@nandito nandito force-pushed the nandor/cob-454-use-wherebycomcore-instead-of-wherebycombrowser-sdkcore branch 4 times, most recently from b0ba44b to f09910d Compare March 12, 2024 15:28
@nandito nandito changed the title Fix adapter and uuid imports for sdk Fix adapter imports for sdk Mar 12, 2024
@nandito nandito force-pushed the nandor/cob-454-use-wherebycomcore-instead-of-wherebycombrowser-sdkcore branch from f09910d to 8d6c0ed Compare March 12, 2024 15:31
@nandito nandito marked this pull request as ready for review March 12, 2024 16:01
Copy link
Contributor

@kevinwhereby kevinwhereby left a comment

Choose a reason for hiding this comment

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

Tested PWA e2e, joining rooms and stuff, as well as SDK storybook / test apps working. SDK e2e tests seem to be failing for me for unrelated reasons, but if they are passing on your end all gravy 👍

There's a confusion in ESM and CJS, let's try to fix them by using
`default` wrapper removal for `adapter`
(as suggested here: reduxjs/redux-toolkit#1960)
@nandito nandito force-pushed the nandor/cob-454-use-wherebycomcore-instead-of-wherebycombrowser-sdkcore branch from 8d6c0ed to bd19195 Compare March 13, 2024 15:49
@nandito nandito merged commit f8a1972 into main Mar 13, 2024
3 checks passed
@nandito nandito deleted the nandor/cob-454-use-wherebycomcore-instead-of-wherebycombrowser-sdkcore branch March 13, 2024 15:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants