HomePhabricator
Diffusion Comm b443a8224f54

[lib] Introduce `SIWEMessage` type

Tags
None
Referenced Files
F304013: 8115ce.png
Dec 27 2022, 12:47 AM
File Not Attached
Subscribers
None

Description

[lib] Introduce SIWEMessage type

Summary:
Effectively copied from the TypeScript types:

8115ce.png (1×1 px, 391 KB)

Will be helpful to type return value of new SiweMessage(message) in siweAuthResponder as SIWEMessage.


Depends on D6029

Test Plan: Careful reading

Reviewers: tomek, ashoat

Reviewed By: ashoat

Differential Revision: https://phab.comm.dev/D6030

Details

Provenance
atulAuthored on Dec 27 2022, 12:45 AM
Reviewer
ashoat
Differential Revision
D6030: [lib] Introduce `SIWEMessage` type
Parents
rCOMM4c73fbabf863: [keyserver] Introduce `isValidEthereumAddress`
Branches
Unknown
Tags
Unknown