Lens SDK 1.2 - Improvements in this release
Snaphost Integration
Support for Wagmi V1
Bug fixes and improvements
What's new?
Snapshot Integration
Integrate Snapshot voting directly into your Lens app by using convenience react hooks.
Extract and visualize Snapshot proposal details with the usePoolDetails
hook.
Allow users to vote on a given proposal with usePoolVote
hook.
Refer to the docs for more details: docs.lens.xyz/docs/snapshot-integration
Support for Wagmi V1
The latest stable wagmi
version could be now used with the Lens SDK by installing the latest [localhost:3000/u/lens-protocol/wagmi
](@lens-protocol/wagmi%60) version. Your older wagmi is still supported by the SDK on the [localhost:3000/u/lens-protocol/wagmi^1
](@lens-protocol/wagmi%5E1%60) release track.
Bug fixes and improvements
Better caching for publication/profile details, should no longer refetch if was fetched already from feed.
Improved dev-friendly error messages when providing malformed URL's to the upload
handler when creating new publications.
Support for sandbox environment.
useActiveWallet
and useActiveProfile
state changes are synchronized to happen at the same time.
How do I comment on a post shared by Momoka?
#Momoka #Lenster #Question #Answerme