Skip to content

v0.0.4

Compare
Choose a tag to compare
@kristoferlund kristoferlund released this 31 Jan 10:30
· 59 commits to main since this release

ic_siwe

Aligning version numbers with ic_siwe_provider

Added

  • EthAddress and EthSignature 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 and login now requires EthAddress and EthSignature structs instead of strings.
  • Replaced create_user_canister_pubkey with a more readable implementation.

ic_siwe_provider

Changed

  • Service functions prepare_login, login and get_delegation have been renamed siwe_prepare_login, siwe_login and siwe_get_delegation respectively. See ic_siwe_provider.did for details.