@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.modern.mjs
CHANGED
|
@@ -1341,7 +1341,7 @@ const UserAchievementTransform = items => {
|
|
|
1341
1341
|
claim_button_action: r.ach_public_meta.claim_button_action
|
|
1342
1342
|
};
|
|
1343
1343
|
if (r.ach_status_id === AchievementStatus.Recurring) {
|
|
1344
|
-
x.next_recurrence_date_ts = r.
|
|
1344
|
+
x.next_recurrence_date_ts = Date.now() + (r == null ? void 0 : r.milliseconds_till_available);
|
|
1345
1345
|
}
|
|
1346
1346
|
if (r.ach_status_id === AchievementStatus.RecurringUponCompletion) {
|
|
1347
1347
|
x.completion_count = r.completed_count;
|