Page MenuHomePhabricator

[lib] Introduce `SIWEMessage` type
ClosedPublic

Authored by atul on Dec 24 2022, 7:58 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Apr 10, 2:52 PM
Unknown Object (File)
Wed, Mar 19, 8:26 PM
Unknown Object (File)
Sat, Mar 15, 11:02 PM
Unknown Object (File)
Sat, Mar 15, 11:02 PM
Unknown Object (File)
Sat, Mar 15, 11:02 PM
Unknown Object (File)
Sat, Mar 15, 11:01 PM
Unknown Object (File)
Sat, Mar 15, 10:48 PM
Unknown Object (File)
Mar 13 2025, 9:16 AM
Subscribers
None

Details

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

Diff Detail

Repository
rCOMM Comm
Branch
arcpatch-D6030 (branched from master)
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

atul requested review of this revision.Dec 24 2022, 8:13 PM

Will type the parts of siwe library we use properly w/ flow-typed in a subsequent diff once everything is working.

This revision is now accepted and ready to land.Dec 25 2022, 7:25 PM
This revision was landed with ongoing or failed builds.Dec 27 2022, 12:47 AM
This revision was automatically updated to reflect the committed changes.