Closed marthendalnunes closed 1 year ago
@marthendalnunes is attempting to deploy a commit to the District Labs Team on Vercel.
A member of the Team first needs to authorize it.
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
turbo-eth | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Apr 13, 2023 10:31am |
Description:
In this Pull Request, the SIWE message formatting and signing have been separated from the
siweLogin
function and moved to a newsiweMessage
function. ThesiweLogin
function now imports and runs thesiweMessage
function, retaining its original functionality.This modularization of the
siweMessage
function allows other integrations to use SIWE authentication without requiring the login and logout functions. For example, the upcoming Lit Protocol integration can make use of this functionality.Changes:
siweMessage
function to handle SIWE message creation and signing.siweLogin
function to use thesiweMessage
function.signMessageAsync
function argument in theSiweMessageOptions
interface.