• Sanitizes a SIWE message by unescaping double-escaped newlines and replacing escaped double quotes with single quotes.

    Parameters

    • message: string

      The SIWE message to sanitize.

    Returns string

    The sanitized SIWE message.