asciinema / discussions

Public open-ended discussions about asciinema
https://github.com/orgs/asciinema/discussions
1 stars 2 forks source link

Migration guide from v2 to v3 #227

Closed hossammourad closed 1 year ago

hossammourad commented 1 year ago

I'm working on a codebase that's on v2 of the package, and I want to upgrade to v3, is there any breaking changes between the two versions I should be aware of? any guide that I can use to facilitate the migration? I looked up the README and the existing issues but found nothing.

I'm currently using v2 as following:

asciinema.player.js.CreatePlayer(this.ref, this.props.src, this.props);
asciinema.player.js.UnmountPlayer(this.ref);

What's the equivalent of that in v3?