hevy-shared 1.0.654 → 1.0.655

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,11 +93,10 @@ 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;
98
96
  case 'weight_reps':
99
97
  case 'bodyweight_reps':
100
98
  case 'bodyweight_assisted_reps':
99
+ case 'reps_only':
101
100
  return !set.reps && !set.weight;
102
101
  case 'distance_duration':
103
102
  case 'duration':
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hevy-shared",
3
- "version": "1.0.654",
3
+ "version": "1.0.655",
4
4
  "description": "",
5
5
  "main": "built/index.js",
6
6
  "types": "built/index.d.ts",