Skip to content

Releases: GoodDollar/GoodSDKs

Citizen-Sdk@1.2.1

25 Sep 13:20

Choose a tag to compare

Highlights

  • Added centralized chain configuration and definitions.
  • Now supports XDC (on development)

Note: breaking change for checkEntitlement. It now makes it easy to verify if there are claims available on alternative chains.
before:

const amount = await sdk.checkEntitlement()

after:

const { amount, altClaimAvailable, altChainId } =
await sdk.checkEntitlement()