@vitalfit/sdk 0.4.2 → 0.4.3

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.
package/dist/index.cjs CHANGED
@@ -2730,6 +2730,7 @@ var RoutineService = class {
2730
2730
  this.getInstructorRoutines = this.getInstructorRoutines.bind(this);
2731
2731
  this.getRoutineById = this.getRoutineById.bind(this);
2732
2732
  this.getAllRoutines = this.getAllRoutines.bind(this);
2733
+ this.markRoutineCompletion = this.markRoutineCompletion.bind(this);
2733
2734
  }
2734
2735
  async createRoutine(data, jwt) {
2735
2736
  const response = await this.client.post({
@@ -2839,6 +2840,12 @@ var RoutineService = class {
2839
2840
  });
2840
2841
  return response;
2841
2842
  }
2843
+ async markRoutineCompletion(userRoutineId, jwt) {
2844
+ await this.client.post({
2845
+ url: `/routines/my-routines/${userRoutineId}/complete`,
2846
+ jwt
2847
+ });
2848
+ }
2842
2849
  };
2843
2850
 
2844
2851
  // src/types/auth.ts
@@ -3003,7 +3010,7 @@ var VitalFit = class _VitalFit {
3003
3010
  return _VitalFit.instance;
3004
3011
  }
3005
3012
  version() {
3006
- return "0.4.2";
3013
+ return "0.4.3";
3007
3014
  }
3008
3015
  };
3009
3016
  // Annotate the CommonJS export names for ESM import in node: