@smartico/public-api 0.0.82 → 0.0.83

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.
@@ -345,6 +345,8 @@ export interface TMissionOrBadgeTask {
345
345
  is_completed: boolean;
346
346
  /** The progress of the task in percents */
347
347
  progress: number;
348
+ /** Reward for completing the task in points */
349
+ points_reward: number;
348
350
  }
349
351
  /**
350
352
  * TMissionOptInResult describes the response of call to _smartico.api.requestMissionOptIn(mission_id) method
package/dist/index.js CHANGED
@@ -622,6 +622,7 @@ var UserAchievementTransform = function UserAchievementTransform(items) {
622
622
  return {
623
623
  id: t.task_id,
624
624
  name: (_t$task_public_meta = t.task_public_meta) == null ? void 0 : _t$task_public_meta.name,
625
+ points_reward: t.points_reward,
625
626
  is_completed: t.isCompleted,
626
627
  progress: t.userProgress
627
628
  };