npm @polkadot/util 2.5.1

  • Breaking change (TypeScript only) The *.d.ts files now contain TypeScript 3.8 features, #private, which is not usable in older versions
  • Add isBigInt(value) to allow BigInt checks. Also add support in bnToBn as well as number conversion utils
  • Add isChildClass(Parent, Child?) to check if a class extends the parent, asserting Child is Parent
  • (internal) Use #<varname> instead of private _<varname> for private class variables
latest releases: 6.0.4, 6.0.4-0, 6.0.3...
12 months ago