Skip to content

Releases: guildxyz/guild-sdk

v2.4.0

16 Jan 11:46
e05522e
Compare
Choose a tag to compare
  • Added WEB3INBOX_SUBSCRIBERS requirement

v2.3.0

11 Jan 15:13
fd7ffa0
Compare
Choose a tag to compare

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