- Fixed formatting of unserializable data packets
- Added safety when adding non-serializable packets to a Flowtrace
- Fixed flowtrace-show command
- TypeScript definitions no longer rely on the esModuleInterop parameter
- Fixed EventEmitter typing in Flowtrace type defs
- Flowtrace source code now uses JS Modules, with CommonJS version distributed in the package
- This module now ships with basic TypeScript type definitions
- Flowtrace helper now includes methods for logging
stdout
and process error events
- Added a
clear
method to the Flowtracer for emptying the event buffer
- Added a fbp-protocol recorder to create Flowtraces client-side (for example in the fbp-spec tool or Flowhub)
- Data packets are now cloned to ensure they don't mutate later
- Some cleanup of dependencies
- Ported from CoffeeScript tp modern ES6
- Added a Flowtrace base library to make capturing traces easier to runtimes