I faced that issue when I saw that error:
if (!(0, siwe_parser_1.isEIP55Address)(this.address)) {
TypeError: (0 , siwe_parser_1.isEIP55Address) is not a function
I started to look into that and noticed that function isEIP55Address was introduced in @spruceid/siwe-parser version 2.0.0.
And right now there's no dependency rule for that in siwe package.json:
|
"@spruceid/siwe-parser": "*", |
I believe that it must be set to ^2.0.0
A quick fix
If you're facing the same problem in your project, just install @spruceid/siwe-parser@^2.0.0. This will force siwe to use a newer version and the problem will be solved
I faced that issue when I saw that error:
I started to look into that and noticed that function
isEIP55Addresswas introduced in@spruceid/siwe-parserversion 2.0.0.And right now there's no dependency rule for that in siwe package.json:
siwe/packages/siwe/package.json
Line 26 in e3ca3ce
I believe that it must be set to
^2.0.0A quick fix
If you're facing the same problem in your project, just install
@spruceid/siwe-parser@^2.0.0. This will forcesiweto use a newer version and the problem will be solved