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.
Apologizing does not always mean you are wrong & the other person is right. It just means you value your relationship more than your ego.
Introducing LIP-3: Lens Share. A new standard to share Lens profiles and publications across the evergrowing Lens ecosystem.
The number of apps flourishing within the Lens ecosystem has highlighted a need for URL sharing across platforms in a manner that's app-agnostic. Users should be free to engage with their app of choice. However, there can be situations where the users content might not be accessible on their preferred Lens app. That's why we've looked into augmenting the user experience.
The solution? A standardized link-sharing strategy and an app-agnostic interface. This promises smoother integration across apps within the Lens ecosystem, all the while preserving the credit to the original app.
Meet Lens Share Link — a universal URL that's capable of sharing a profile or publication.
Lens apps should adopt a common link format such as:
We welcome all Lens app builders to contribute. Submit a PR against our repository with the app manifest(s) you'd like to see listed.
This is just the beginning of app-agnostic sharing on Lens. Stay tuned for more updates.
Check out our GitHub page to learn more about Lens Share: github.com/lens-protocol/lens-share
Dive into the dev docs: docs.lens.xyz/docs/lens-share
very much looking forward to
The worst way to miss someone is to be sitting right beside them knowing you can’t have them.