@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/dist/index.js CHANGED
@@ -1358,7 +1358,7 @@ var UserAchievementTransform = function UserAchievementTransform(items) {
1358
1358
  claim_button_action: r.ach_public_meta.claim_button_action
1359
1359
  };
1360
1360
  if (r.ach_status_id === exports.AchievementStatus.Recurring) {
1361
- x.next_recurrence_date_ts = r.next_recurrence_date_ts;
1361
+ x.next_recurrence_date_ts = Date.now() + (r == null ? void 0 : r.milliseconds_till_available);
1362
1362
  }
1363
1363
  if (r.ach_status_id === exports.AchievementStatus.RecurringUponCompletion) {
1364
1364
  x.completion_count = r.completed_count;