safe-global / safe-core-sdk

The Safe{Core} SDK allows builders to add account abstraction functionality into their apps.
https://docs.safe.global/sdk/overview
MIT License
242 stars 177 forks source link

[Passkeys] Testing Safe version compatibility #852

Closed dasanra closed 2 weeks ago

dasanra commented 2 weeks ago

Context / issue

Currently we are not checking the Safe version when trying to use passkeys. Passkeys are compatible with Safes v1.3.0 or up. We need to show an error if a lower version is intended to be used. Also currently we are not version locking specific passkeys tests,

Proposed solution

Check the Safe version when using passkeys and throw in those versions lower than 1.3.0