2.2.0 (2024-12-16)
What's changed?
Proof of Ownership Authentication
We've implemented a new authentication mechanism that enables wallets to verify specific accounts or identities (personas). This feature is particularly valuable for scenarios requiring user re-authentication or permission elevation within your application. For detailed implementation guidelines, please refer to our documentation.
Preauthorization Support
The toolkit now includes comprehensive support for preauthorization requests to wallets. Developers can utilize the new sendPreAuthorizationRequest
method to handle subintents, as detailed in our preauthorization documentation. Upon wallet response, RDT automatically monitors the inclusion of subintents within successful transactions until either submission or expiration.
Dependency Updates
We've updated the version ranges for neverthrow
and valibot
dependencies. Please ensure your codebase uses compatible versions to prevent potential conflicts.
Browser Detection Enhancement
As part of our ongoing optimization efforts to reduce bundle size, we've replaced the bowser
dependency with a more efficient custom regular expression for mobile browser detection. The isMobile
function is no longer directly exported from RDT; instead, this functionality is now available through the EnvironmentModule
.
Others
- Connect Button Customization: Introduced a custom theme option, enabling styling through CSS variables
- Documentation: Enhanced documentation and README for improved clarity and usability
- UI Fixes: Resolved backdrop-filter issues for desktop environments and provided workaround examples for dApps utilizing
- UI Fixes: Connect Button hanging up in weird pending state, without interactions or "connect now" button
- UI Fixes: Deep link issue for telegram mini apps
- Test: Greatly improved test coverage
See full list of commits here