Skip to content

Releases: rmrk-team/substra-hooks

@substra-hooks/[email protected]

14 Dec 14:29
Compare
Choose a tag to compare

Breaking change:

The balance is now returned in the following format

interface BalanceDataType {
  raw: bigint | null;
  formatted: string | null;
}

export interface BalanceReturnType {
  balanceRaw: bigint | null;
  balanceFormatted: string | null;
  balance: BalanceDataType;
  locked?: BalanceDataType;
  reserved?: BalanceDataType;
  total?: BalanceDataType;
}

What's Changed

  • add types to provider config by @2075 in #8
  • Update README with missing dependencies by @matt-paul in #9
  • subtract locked tokens from balance by @Evilshoot in #11

New Contributors

Full Changelog: https://github.com/rmrk-team/substra-hooks/commits/@substra-hooks/[email protected]