2.1.0
A lot of internal changes, nothing to outwards facing.
One breaking change:
- No longer exporting or using
flattenSegments()
, instead, just write this yourself. There's no need for it to be a permanent part of the library. This can easily be replaced with the following:
const data = getData({ path, segments, samples, precision });
const flattenedData = data.flatMap(({ samples }) => samples); // boom.