hevy-shared 1.0.616 → 1.0.618

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -93,10 +93,11 @@ const trimWorkout = (workout, exerciseTypeMap) => {
93
93
  exports.trimWorkout = trimWorkout;
94
94
  const isEmptySet = (set, exerciseType) => {
95
95
  switch (exerciseType) {
96
+ case 'reps_only':
97
+ return set.reps === undefined;
96
98
  case 'weight_reps':
97
99
  case 'bodyweight_reps':
98
100
  case 'bodyweight_assisted_reps':
99
- case 'reps_only':
100
101
  return !set.reps && !set.weight;
101
102
  case 'distance_duration':
102
103
  case 'duration':
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hevy-shared",
3
- "version": "1.0.616",
3
+ "version": "1.0.618",
4
4
  "description": "",
5
5
  "main": "built/index.js",
6
6
  "types": "built/index.d.ts",