Skip to content

v1.0.0

Compare
Choose a tag to compare
@callmehiphop callmehiphop released this 01 Jun 20:00
· 6 commits to master since this release

Changes

  • feat(Value)!: attempt to find kind when kind field is absent (#10)
  • chore(deps)!: update all the things (#11)

Summary of Changes

This version introduces a couple of breaking changes.

  1. Dropped support for Node versions 8 and 10
  2. Upgraded TypeScript to 4.3
  3. Removed compile target (now compiling to ES3)
  4. Throw an exception if unable to determine kind when decoding messages.

We've add support for messages that are missing the kind field. If present they will be used as the ultimate source of truth, but if omitted we will attempt to look for a valid kind property (stringValue, structValue, etc.) and return the first one we find. You may experience unexpected issues if you have messages with no kind and multiple properties.