Trying to use ParsedMessage from '@spruceid/siwe-parser'; on our React Native app to parse the payload string received from WalletConnect. The error can be reproduced by implementing the snippet below and trying https://login.xyz/.
export function parseSiweMessageRequest(message: string) {
try {
const parsedMessage = new ParsedMessage(message);
return parsedMessage;
} catch (error) {
console.log({ parsedMessage: error });
return null;
}
}
