You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This forces an undefined check before use. Is there a way to not have that be the case.
(caveat: Typescript is not my strong suit 😅 )
The text was updated successfully, but these errors were encountered:
derekpierre
changed the title
Should issuedAt for SiweMessage be a required member variable
Should issuedAt for SiweMessage be a required member variable?
Aug 27, 2024
According to the EIP4361 spec,
issuedAt
should be required - https://docs.login.xyz/general-information/siwe-overview/eip-4361#specification.However, the value of the
issuedAt
member variable is optional - https://github.com/spruceid/siwe/blob/main/packages/siwe/lib/client.ts#L49.This forces an undefined check before use. Is there a way to not have that be the case.
(caveat: Typescript is not my strong suit 😅 )
The text was updated successfully, but these errors were encountered: