Skip to content

API Change

Compare
Choose a tag to compare
@lnbc1QWFyb24 lnbc1QWFyb24 released this 22 Nov 07:01
c08c07c

This release has some big changes since version 0.2.7.

Changes to the initialization API are as follows:

  • Onboard is called directly (like a constructor) to initialize instead of Onboard.init
  • Init object no longer contains the nested modules object, but now contains the walletSelect and walletCheck parameter.
  • walletReady has been renamed to walletCheck in all places
  • The wallet init objects now have a parameter of walletName instead of just name
  • The wallet check init objects now have a parameter of checkName instead of just name

Onboard now uses code splitting for all of the modules so that the bundle size only increases as needed when the user selects a wallet.

For more details on changes check out the docs

Changelog:

  • Add opera wallet (#59)
  • Feature - Code Splitting (#100)
  • Change architecture for better dx (#115)
  • Allow ability to change networkId after initialization (#118)