Skip to content

v5.6.0

Compare
Choose a tag to compare
@KtorZ KtorZ released this 11 Aug 16:48
· 587 commits to master since this release
v5.6.0
a8aab6b

Photo: Delaney Van

Added

  • TypeScript Add a new helper function unsafeMetatumAsJSON which converts a detailed metadata schema into plain JavaScript, whenever possible.
    For example:

    { "list": [ { "string": "foo" }, { "int": 42 } ] }["foo", 42]

    This should work for any CIP-0025 metadata, and few other formats. Yet it is unsound in the general case since not every on-chain metadata can actually be represented as JavaScript objects.

Changed

  • TypeScript Now targets ES2020.

  • TypeScript Fixed a bug in the JSON parser where coins quantities from all eras prior to Mary would be parsed as Number instead of BigInt. See #301 (:hammer: @mkazlauskas).

Removed

N/A

Details

v5.5.8...v5.6.0