Skip to content

v2.0.0

Latest
Compare
Choose a tag to compare
@havardholvik havardholvik released this 18 Jan 11:42
· 19 commits to main since this release
697da2a

What's Changed

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 so import "whereby.com/browser-sdk/embed"
  • If you load the web component using a <script> tag, the src needs to be
    changed to https://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.