What's Changed
- Handle room session id by @thyal in #191
- Add workflow Dependabot PR -> Linear issue by @havardholvik in #190
- Send a dummy insightsStats event to rtc stats by @thyal in #193
- Final tweaks before removing the beta tag by @havardholvik in #192
Full Changelog: 2.0.0-beta4...2.0.0
Migrating from v1 to v2
Migration from v1 to v2 is only relevant for users of the <whereby-embed />
web component. The following changes are necessary when upgrading to v2:
- If you import the web component in your app, you need to add
/embed
to the
import path, like soimport "whereby.com/browser-sdk/embed"
- If you load the web component using a
<script>
tag, the src needs to be
changed tohttps://cdn.srv.whereby.com/embed/v2-embed.js
. In addition, the
type="module"
attribute is no longer required and can be removed.
The functionality of the web component should be exactly as the latest version
on the v1 branch, but a TypeScript definition is now available for projects
using this language.