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 commit was created on GitHub.com and signed with GitHub’s verified signature.
The key has expired.
Improved typing for requirements
The type field of a requirement is now a union type of all the possible requirement types
The data field is implemented for the following requirement types: FREE, ALLOWLIST, POINTS_TOTAL_AMOUNT, POINTS_AMOUNT, POINTS_RANK, EMAIL_DOMAIN, EMAIL_VERIFIED
Note, that requirements will also be more strictly validated within the SDK itself, for example, submitting a { type: "ALLOWLIST", data: { addresses: [""] } } as a requirement won't pass validation, as each entry must be a valid address