Open Jair-SDSharp opened 2 months ago
Hey @Jair-SDSharp, I just saw this issue. Is this still an issue?
To begin with, make sure you are using the latest versions of the provider canister and React hook. I just made some small upgrades and also updated the example app: https://github.com/kristoferlund/ic-siws-react-demo-rust
Compare your settings with that app.
Summary
Using new ic-use-siwe-identity package 0.1.0, I'm getting an error in the in the callPrepareLogin function. The error shows the following message : "type mismatch: type on the wire rec_3, expect type text".
I'm using this packages:
and also the latest candid and wasm:
When using the 0.0.6 candid version of the files, the preparation function (callPrepareLogin) works normally but in this case the function login doesn't showing the error:
You can give it a validation in my project: icrc1-wallet Branch: icrc1-new-features