Block a user
fix: when decrypting file, have better error messages
The message should be The decryption key length or format is invalid.
fix: when decrypting file, have better error messages
signEvent
method returns a promise that resolves into signed event, and I think you should assign it to signedAuthEvent
constant
fix: when decrypting file, have better error messages
createNostrHttpAuthToken
method has only one param
fix: when decrypting file, have better error messages
I would change the error message to An error occurred while encoding signed auth event.