Skip to content

v3.0.0

Latest
Compare
Choose a tag to compare
@ukjinjang ukjinjang released this 12 Aug 02:59
· 2 commits to master since this release
a8d1ca1

Breaking Changes

  • API changes: By following the latest Channel IO SDK and using the @channel.io/channel-web-sdk-loader package to handle internal typing and logic, some APIs have been added or removed. Please refer to their documentation to see which APIs have changed.
  • CustomEvent ponyfill removed: Since Channel IO no longer supports IE, we have removed the CustomEvent ponyfill and now use only the native implementation.

Chores

  • chore: Add @channel.io/channel-web-sdk-loader as a dependency to handle internal logic and typings.
  • chore: Update tslib@^2.6.2.

Features

  • New Component: <ReactChannelIOLauncher /> has been added, allowing you to use APIs related to the launcher button as a component rather than a hook.
    <ReactChannelIOLauncher>
      {({ isBooted, isOpen, toggle }) => (
        <button disabled={!isBooted} onClick={toggle}>
          Into the Unknown!
        </button>
      )}
    </ReactChannelIOLauncher>

Bug Fixes

  • fix: resolve some issues