Skip to content

v1.4.1

Choose a tag to compare

@thebriangao thebriangao released this 07 Jun 21:00
· 3 commits to main since this release

Bug-fix release for #2.

Fixed: whoop_journal always returned behaviors: [] even when entries were logged + confirmed in the app. The v3 drafts endpoint nests each logged behavior as { behavior_tracker:{id,…}, tracker_input:{behavior_tracker_id, answered_yes, magnitude_input_*,…} }, but the projection read behavior_tracker_id off the top level of each entry (always undefined) and dropped them all — while cycle_id, read from a different field, still came through. Now reads the nested shape (and still handles the flat one). Added a populated-draft fixture + regression tests; suite 212 → 219.

Get it: totem update, or npm i -g @briangaoo/totem (1.4.1), or pull main.