snaps
snaps copied to clipboard
Updating Snaps may cause websites to break
In a situation where a Snap updates to a new version, but certain websites don't support this version, the website could break.
- We can show a warning when the user updates the Snap.
- We can handle rolling back Snaps to the previous version (and keep state around of older Snaps versions).
- Potentially we just need to have documentation around how to handle breaking changes for Snaps developers.
This needs to be explored and thought about further.
To further clarify, this would only affect snaps that use the onRpcRequest export. Snaps not using this export are not interacting with a dapp, so there is nothing to break.