Skip to content

Casper JS SDK v2.11.0

Compare
Choose a tag to compare
@hoffmannjan hoffmannjan released this 13 Feb 18:29
f23f9ad

2.11.0

Added

  • Support for checksumed mixed-case publickeys
  • Support for HTTPS EventStream

Changed

  • CLPublicKey.toHex() now by default returns checksummed value. You can use it in legacy mode by calling it CLPublicKey.toHex(false) that way
  • CLPublicKey.fromHex() now can get two arguments. The first one is string containing hex encoded public key, and the second one is a boolean value that indicates if you want to run checksum validation. When true is passed it will throw an error. Otherwise it will log warn to the console. We added this because we want to support users who store the non-checksumed publickeys and need time to adapt
  • AccountHash now can be serialized to bytes

Fixed

  • Issues with parsing broken deploys