v0.0.4
ic_siwe
Aligning version numbers with ic_siwe_provider
Added
EthAddress
andEthSignature
structs for type safety.- Added basic validation of delegation targets. Duplicate targets are now rejected.
Changed
- Library functions now mostly returns custom error types instead of strings. As a result, many error messages now differ slighlty to previous version.
prepare_login
andlogin
now requiresEthAddress
andEthSignature
structs instead of strings.- Replaced
create_user_canister_pubkey
with a more readable implementation.
ic_siwe_provider
Changed
- Service functions
prepare_login
,login
andget_delegation
have been renamedsiwe_prepare_login
,siwe_login
andsiwe_get_delegation
respectively. See ic_siwe_provider.did for details.