@smartico/public-api 0.0.306 → 0.0.307

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartico/public-api",
3
- "version": "0.0.306",
3
+ "version": "0.0.307",
4
4
  "description": "Smartico public API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -122,7 +122,7 @@ export const UserAchievementTransform = (items: UserAchievement[]): TMissionOrBa
122
122
  };
123
123
 
124
124
  if (r.ach_status_id === AchievementStatus.Recurring) {
125
- x.next_recurrence_date_ts = r.next_recurrence_date_ts;
125
+ x.next_recurrence_date_ts = Date.now() + r?.milliseconds_till_available;
126
126
  }
127
127
 
128
128
  if (r.ach_status_id === AchievementStatus.RecurringUponCompletion) {