v0.5.0
Changes:
- Wallets/services are now handled as "modules" (a module is basically a driver for a wallet/service) and they all share a common interface. This way wallets' developers can create their own modules and make their products compatible with this kit.
- BREAKING: Modules now need to be imported when starting the kit, a function called
allowAllModulesis included and this one will inject all the builtin modules - BREAKING: When creating a new instance of
StellarWalletsKit, you now send the wallet id (provided either by this kit or by the third party module) instead ofWalletType. - BREAKING: When using the modal, you need to pass the id of the selected wallet instead of the type. Check
README.mdfor an example - BREAKING:
allowedWalletsis no longer a valid parameter for the integrated modal, instead the modal uses the modules from the kit. - BREAKING: WalletConnect support has been dropped, the integration got outdated and needs to be upgraded before we add it again.